diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/user/default.php | 23 | ||||
-rw-r--r-- | views/rss/user/default.php | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/views/default/user/default.php b/views/default/user/default.php new file mode 100644 index 000000000..5684f0dfc --- /dev/null +++ b/views/default/user/default.php @@ -0,0 +1,23 @@ +<?php
+
+ /**
+ * Elgg user display
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ if ($vars['full']) {
+ echo elgg_view("profile/userdetails",$vars);
+ } else {
+ if (get_input('search_viewtype') == "gallery") {
+ echo elgg_view('profile/gallery',$vars);
+ } else {
+ echo elgg_view("profile/listing",$vars);
+ }
+ }
+
+?>
\ No newline at end of file diff --git a/views/rss/user/default.php b/views/rss/user/default.php index edc8bcd17..ac9205b4d 100644 --- a/views/rss/user/default.php +++ b/views/rss/user/default.php @@ -17,6 +17,6 @@ <guid isPermaLink='true'><?php echo $vars['entity']->getURL(); ?></guid>
<pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
<link><?php echo $vars['entity']->getURL(); ?></link>
- <title><![CDATA[<?php echo (autop($vars['entity']->name)); ?>]]></title>
+ <title><![CDATA[<?php echo (($vars['entity']->name)); ?>]]></title>
<description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
</item>
|