from plugins.messages import Messages
from plugins.querytable import QueryTable
-from ui.topmenu import topmenu_items, the_user
-from trash.trashutils import hard_wired_slice_names, hard_wired_list, lorem_p, lorem, quickfilter_criterias
+from ui.topmenu import topmenu_items_live, the_user
+from trashutils import hard_wired_slice_names, hard_wired_list, lorem_p, lorem, quickfilter_criterias
#might be useful or not depending on the context
#@login_required
# more general variables expected in the template
template_env [ 'title' ] = 'Single Plugin View'
- template_env [ 'topmenu_items' ] = topmenu_items('plugin', request)
+ template_env [ 'topmenu_items' ] = topmenu_items_live('plugin', page)
template_env [ 'username' ] = the_user (request)
# the prelude object in page contains a summary of the requirements() for all plugins