Changeset 126

Show
Ignore:
Timestamp:
04/13/06 23:32:53 (3 years ago)
Author:
michiel
Message:

don't break interface when not in admin mode.
We need to redo this plugin register setup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/test.php

    r103 r126  
    44 */ 
    55register_plugin("test", "text_output"); 
    6 register_admin_plugin("test", "text_output"); 
    7  
     6if (function_exists("register_admin_plugin")) { 
     7        register_admin_plugin("test", "text_output"); 
     8} 
    89/* function to run when this plugin kicks in */ 
    910/* name is plugin_pluginname */