From 36abf69637671a1cf65101212596118d155ef54a Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 12 Mar 2010 02:12:47 +0000 Subject: Rough first version of a new blog plugin. git-svn-id: http://code.elgg.org/elgg/trunk@5370 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/endpoint/index.php | 92 --------------------------------------------- 1 file changed, 92 deletions(-) delete mode 100644 mod/blog/endpoint/index.php (limited to 'mod/blog/endpoint/index.php') diff --git a/mod/blog/endpoint/index.php b/mod/blog/endpoint/index.php deleted file mode 100644 index 013770e36..000000000 --- a/mod/blog/endpoint/index.php +++ /dev/null @@ -1,92 +0,0 @@ -" . list_user_objects($user_object->guid,'blog',10,false, false) . "
"; - set_context('blog'); - - //get some user details - $user_name = $user_object->name; - $user_desc = $user_object->briefdescription; - $user_location = $user_object->location; - - //get archive list - if ($dates = get_entity_dates('object','blog',$user_object->guid)) { - foreach($dates as $date) { - $timestamplow = mktime(0,0,0,substr($date,4,2),1,substr($date,0,4)); - $timestamphigh = mktime(0,0,0,((int) substr($date,4,2)) + 1,1,substr($date,0,4)); - $link = $CONFIG->wwwroot . 'pg/blog/' . $page_owner->username . '/archive/' . $timestamplow . '/' . $timestamphigh; - $year = substr($date,0,-2); - $month = date('F',mktime(0, 0, 0, substr($date,4,2), 1)); //substr($date,4,2); - $display_date = $month . " " . $year; - $archive_list .= "
  • " . $display_date . "
  • "; - } - } -?> - - -Brighton news blog - - - - - -
    -
    - -
    -
    -
    -
    -
    - -
    - - - - \ No newline at end of file -- cgit v1.2.3