Changeset 311

Show
Ignore:
Timestamp:
05/30/08 14:13:28 (6 months ago)
Author:
beni
Message:

Recently added bookmarks as a sub menu added to the project

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bookmarks/trunk/INSTALL

    r284 r311  
    1919RewriteRule ^bookmarks\/popular$ mod/bookmarks/popular.php 
    2020RewriteRule ^bookmarks\/popular\/skip/([0-9]+)$ mod/bookmarks/popular.php?skip=$1 
     21RewriteRule ^bookmarks\/recent$ mod/bookmarks/recent.php 
     22RewriteRule ^bookmarks\/recent\/skip/([0-9]+)$ mod/bookmarks/recent.php?skip=$1 
    2123RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/bookmarks\/rss\/?$ mod/newsclient/static.php?username=$1&userref=$2&type=bookmark 
    2224 
  • bookmarks/trunk/lib.php

    r284 r311  
    7171                        __gettext("Popular Bookmarks" 
    7272                ))); 
     73                $PAGE->menu_sub[] = array ( 
     74                        'name' => 'bookmarks:recent', 
     75                        'html' => a_href($CFG->wwwroot . "bookmarks/recent", 
     76                        __gettext("Recent Bookmarks" 
     77                ))); 
     78 
    7379                //} 
    7480 
  • bookmarks/trunk/lib/main.php

    r284 r311  
    3333$function['bookmarks:view'][] = dirname(__FILE__) . "/bookmarks_view.php"; 
    3434$function['bookmarks:view:all'][] = dirname(__FILE__) . "/bookmarks_view_all.php"; 
     35$function['bookmarks:view:recent'][] = dirname(__FILE__) . "/bookmarks_view_recent.php"; 
    3536// filter lay out 
    3637$function['bookmarks:filter:view'][] = dirname(__FILE__) . "/bookmark_filter.php";