示例#1
0
 public static function page_control_panel()
 {
     $a = array();
     $a[] = page::link("admin/modules", "Modules");
     $a[] = page::link("admin/themes", "Themes");
     $a[] = page::link("admin/permissions", "Permissions");
     return theme::t_list($a);
 }
示例#2
0
 public static function list_of_menus()
 {
     $array = array();
     foreach (self::get_all_menus() as $list) {
         $array[] = page::link($list->url, $list->name);
     }
     return "<h3>Links</h3>" . theme::t_list($array);
 }