Index: trunk/core/admin_templates/categories/categories_edit_relations.tpl
===================================================================
diff -u -r6093 -r6669
--- trunk/core/admin_templates/categories/categories_edit_relations.tpl (.../categories_edit_relations.tpl) (revision 6093)
+++ trunk/core/admin_templates/categories/categories_edit_relations.tpl (.../categories_edit_relations.tpl) (revision 6669)
@@ -4,7 +4,7 @@
-
+
@@ -23,9 +23,9 @@
submit_event('c','OnCancelEdit');
}
) );
-
+
a_toolbar.AddButton( new ToolBarSeparator('sep1') );
-
+
a_toolbar.AddButton( new ToolBarButton('prev', '', function() {
go_to_id('c', '');
}
@@ -34,54 +34,54 @@
go_to_id('c', '');
}
) );
-
+
a_toolbar.AddButton( new ToolBarSeparator('sep2') );
-
+
//Relations related:
a_toolbar.AddButton( new ToolBarButton('new_relation', '',
function() {
openSelector('c-rel', '', 'TargetId', '950x600');
} ) );
-
+
function edit()
{
- std_edit_temp_item('c-rel', 'categories/relations_edit');
+ std_edit_temp_item('c-rel', 'in-portal/categories/relations_edit');
}
-
+
a_toolbar.AddButton( new ToolBarButton('edit', '', edit) );
a_toolbar.AddButton( new ToolBarButton('delete', '',
function() {
std_delete_items('c-rel')
} ) );
-
-
+
+
a_toolbar.AddButton( new ToolBarSeparator('sep3') );
-
+
a_toolbar.AddButton( new ToolBarButton('approve', '', function() {
submit_event('c-rel','OnMassApprove');
}
) );
-
+
a_toolbar.AddButton( new ToolBarButton('decline', '', function() {
submit_event('c-rel','OnMassDecline');
}
- ) );
-
+ ) );
+
a_toolbar.AddButton( new ToolBarSeparator('sep4') );
-
+
a_toolbar.AddButton( new ToolBarButton('view', '', function() {
show_viewmenu(a_toolbar,'view');
}
) );
-
+
a_toolbar.Render();
-
+
a_toolbar.HideButton('prev');
a_toolbar.HideButton('next');
a_toolbar.HideButton('sep1');
//a_toolbar.HideButton('sep2');
-
+
a_toolbar.DisableButton('next');