aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-13 17:46:45 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-13 17:46:45 +0000
commitece80595836be086201629824bceeae05892cd55 (patch)
tree9171c63c657bd4a511f8f1e4474eef96418d71f8 /mod/sitepages/views
parent2ac6d8f4d1738d299dab4fc5ac0cd28f7c3c00b5 (diff)
downloadelgg-ece80595836be086201629824bceeae05892cd55.tar.gz
elgg-ece80595836be086201629824bceeae05892cd55.tar.bz2
Removed ECML from Site Pages.
git-svn-id: http://code.elgg.org/elgg/trunk@5721 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages/views')
-rw-r--r--mod/sitepages/views/default/sitepages/keywords.php30
-rw-r--r--mod/sitepages/views/default/sitepages/keywords/user_list.php4
2 files changed, 2 insertions, 32 deletions
diff --git a/mod/sitepages/views/default/sitepages/keywords.php b/mod/sitepages/views/default/sitepages/keywords.php
deleted file mode 100644
index d7fb8ad97..000000000
--- a/mod/sitepages/views/default/sitepages/keywords.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * Lists available keywords
- *
- * @package SitePages
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.org/
- */
-
-$keywords = $vars['config']->sitepages_keywords;
-$title = elgg_echo('sitepages:keywords_title');
-$instructions = elgg_echo('sitepages:keywords_instructions');
-$more_info = elgg_echo('sitepages:keywords_instructions_more');
-
-$keywords_html = '';
-foreach ($keywords as $keyword => $info) {
- $desc = htmlentities($info['description']);
- $keywords_html .= "<li><acronym title=\"$desc\">[[$keyword]]</acronym></li>";
-}
-
-echo "
-<h3>$title</h3>
-<p>$instructions</p>
-$more_info
-<ul>
- $keywords_html
-</ul>
-"; \ No newline at end of file
diff --git a/mod/sitepages/views/default/sitepages/keywords/user_list.php b/mod/sitepages/views/default/sitepages/keywords/user_list.php
index 2f2f09c49..0961cb682 100644
--- a/mod/sitepages/views/default/sitepages/keywords/user_list.php
+++ b/mod/sitepages/views/default/sitepages/keywords/user_list.php
@@ -10,7 +10,7 @@
*/
$only_with_avatars = (isset($vars['only_with_avatars'])) ? $vars['only_with_avatars'] : TRUE;
-$list_type = (isset($vars['list_type'])) ? $vars['list_type'] : 'newest';
+$list_type = (isset($vars['list_type'])) ? $vars['list_type'] : 'new';
$limit = (isset($vars['limit'])) ? $vars['limit'] : 10;
$options = array(
@@ -23,7 +23,7 @@ if ($only_with_avatars == TRUE) {
}
switch ($list_type) {
- case 'newest':
+ case 'new':
$options['order_by'] = 'e.time_created DESC';
break;