aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/pages/pagelisting.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views/default/pages/pagelisting.php')
-rw-r--r--mod/pages/views/default/pages/pagelisting.php38
1 files changed, 0 insertions, 38 deletions
diff --git a/mod/pages/views/default/pages/pagelisting.php b/mod/pages/views/default/pages/pagelisting.php
deleted file mode 100644
index a04e53bd4..000000000
--- a/mod/pages/views/default/pages/pagelisting.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
- /**
- * Elgg Pages
- *
- * @package ElggPages
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
- */
-
- $icon = elgg_view(
- "graphics/icon", array(
- 'entity' => $vars['entity'],
- 'size' => 'small',
- )
- );
-
- $info .= "<p><b><a href=\"" . $vars['entity']->getUrl() . "\">" . $vars['entity']->title . "</a></b></p>";
-
-
- $latest = $vars['entity']->getAnnotations('page', 1, 0, 'desc');
- if ($latest) {
- $latest = $latest[0];
-
- $time_updated = $latest->time_created;
- $owner_guid = $latest->owner_guid;
- $owner = get_entity($owner_guid);
-
-
- $info .= "<p class=\"owner_timestamp\">".sprintf(elgg_echo("pages:strapline"),
- friendly_time($time_updated),
- "<a href=\"" . $owner->getURL() . "\">" . $owner->name ."</a>"
- ) . "</p>";
- }
-
- echo elgg_view_listing($icon, $info);
-?> \ No newline at end of file