Esempio n. 1
0
File: log.php Progetto: tomzt/tfwp
 /**
  * filter links
  */
 public static function list_links($url, $name, $current)
 {
     return tzn_tools::form_links($url, $name, array('all' => _x('All', 'updates', 'taskfreak')), $current) . tzn_tools::form_links($url, $name, self::get_option_list(), $current);
 }
Esempio n. 2
0
 public static function list_links($url, $name, $current)
 {
     return tzn_tools::form_links($url, $name, array('all' => _x('All', 'projects', 'taskfreak')), $current) . tzn_tools::form_links($url, $name, self::get_status_list(current_user_can('manage_options')), $current);
 }
Esempio n. 3
0
File: item.php Progetto: tomzt/tfwp
 /**
  * get a HTML li (list) of links to task statuses + "All tasks" for filtering status
  * @param unknown $url base URL
  * @param unknown $name name of the filter argument inside the query
  * @param unknown $current current filter
  * @return string
  */
 public static function list_links($url, $name, $current)
 {
     return tzn_tools::form_links($url, $name, array('all' => _x('All tasks', 'tasks', 'taskfreak')), $current) . tzn_tools::form_links($url, $name, self::get_status_list(is_user_logged_in()), $current);
 }