Index: trunk/kernel/admin_templates/stylesheets/stylesheets_list.tpl
===================================================================
diff -u -N -r6093 -r7391
--- trunk/kernel/admin_templates/stylesheets/stylesheets_list.tpl (.../stylesheets_list.tpl) (revision 6093)
+++ trunk/kernel/admin_templates/stylesheets/stylesheets_list.tpl (.../stylesheets_list.tpl) (revision 7391)
@@ -15,47 +15,47 @@
//do not rename - this function is used in default grid for double click!
function edit()
{
- std_edit_item('css', 'stylesheets/stylesheets_edit');
+ std_edit_item('css', 'in-portal/stylesheets/stylesheets_edit');
}
-
+
var a_toolbar = new ToolBar();
a_toolbar.AddButton( new ToolBarButton('new_style', '',
function() {
- std_precreate_item('css', 'stylesheets/stylesheets_edit')
+ std_precreate_item('css', 'in-portal/stylesheets/stylesheets_edit')
} ) );
-
+
a_toolbar.AddButton( new ToolBarButton('edit', '', edit) );
a_toolbar.AddButton( new ToolBarButton('delete', '',
function() {
std_delete_items('css')
} ) );
-
+
a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
+
a_toolbar.AddButton( new ToolBarButton('approve', '', function() {
submit_event('css','OnMassApprove');
}
) );
-
+
a_toolbar.AddButton( new ToolBarButton('decline', '', function() {
submit_event('css','OnMassDecline');
}
- ) );
-
+ ) );
+
a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
+
a_toolbar.AddButton( new ToolBarButton('clone', '', function() {
submit_event('css','OnMassClone');
}
) );
-
+
a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
+
a_toolbar.AddButton( new ToolBarButton('view', '', function() {
show_viewmenu(a_toolbar,'view');
}
) );
-
+
a_toolbar.Render();