Ignore:
Timestamp:
08/26/10 19:57:55 (10 years ago)
Author:
nikrou
Message:

Add permissions on add tags widget
Use default theme jquery library
Add help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/include/t4u_config.class.php

    r6798 r6806  
    6868  } 
    6969 
     70  public function setPermission($permission, $value) { 
     71    $this->config['permissions'][$permission] = $value; 
     72  } 
     73 
     74  public function getPermission($permission) { 
     75    return isset($this->config['permissions'][$permission])?$this->config['permissions'][$permission]:null; 
     76  } 
     77 
    7078  public function plugin_admin_menu($menu) { 
    7179    array_push($menu, 
     
    7583               ); 
    7684    return $menu; 
     85  } 
     86 
     87  public function get_admin_help($help_content, $page) { 
     88    return load_language('help/'.$page.'.html', $this->plugin_dir .'/', array('return'=>true) ); 
    7789  } 
    7890 
Note: See TracChangeset for help on using the changeset viewer.