Show
Ignore:
Timestamp:
04/23/08 11:34:30 (7 months ago)
Author:
JensDiemer
Message:
  • autoamtic plugin menu:
  • first updates for show_internals (but only "system_info" updated)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/plugins_internal/show_internals/show_internals.py

    r1154 r1535  
    2828 
    2929class show_internals(PyLucidBasePlugin): 
    30     def link( self ): 
    31         return '<a href="%smenu">show_internals</a>' % self.URLs["action"] 
    32  
    33     #_______________________________________________________________________ 
    34  
    35     def lucidTag(self): 
    36 #        url = self.URLs.actionLink("menu") 
    37         url = "FIXME" 
    38         self.response.write('<a href="%s">show internals</a>' % url) 
    3930 
    4031    def menu(self): 
    41         self.response.write( 
    42             "<h4>show internals <small>(%s)</small></h4>" % \ 
    43                                                         __version__.strip("$ ") 
    44         ) 
    45         self.response.write(self.module_manager.build_menu()) 
     32        self.build_menu() 
    4633 
    4734    #_______________________________________________________________________ 
     
    195182        """ Allgemeine System Informationen """ 
    196183        self.menu() 
    197         from PyLucid.buildin_plugins.show_internals.system_info \ 
     184        from PyLucid.plugins_internal.show_internals.system_info \ 
    198185                                                            import SystemInfo 
    199         s = SystemInfo(self.request, self.response) 
     186        s = SystemInfo(self.context, self.response) 
    200187        s.display_all() 
    201188