- Timestamp:
- 02/14/08 14:53:16 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/plugins_internal/admin_menu/admin_menu.py
r1168 r1409 43 43 render the sub menu 44 44 """ 45 is_admin = self.request.user.is_superuser or self.request.user.is_staff 46 45 47 context = { 46 48 "PAGE" : self.context["PAGE"], 47 49 "commandURLprefix": self.URLs.get_command_base(), 48 50 "adminURLprefix" : self.URLs["adminBase"], 51 "is_admin" : is_admin, 49 52 } 50 53 self._render_template("sub_menu", context)#, debug=True)