appdb/include sidebar_admin.php

WineHQ wineowner at wine.codeweavers.com
Sat Feb 3 13:04:41 CST 2007


ChangeSet ID:	30926
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/02/03 13:04:41

Modified files:
	include        : sidebar_admin.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Change url for add vendor in admin menu to use the objectManager

Patch: http://cvs.winehq.org/patch.py?id=30926

Old revision  New revision  Changes     Path
 1.25          1.26          +2 -1       appdb/include/sidebar_admin.php

Index: appdb/include/sidebar_admin.php
diff -u -p appdb/include/sidebar_admin.php:1.25 appdb/include/sidebar_admin.php:1.26
--- appdb/include/sidebar_admin.php:1.25	3 Feb 2007 19: 4:41 -0000
+++ appdb/include/sidebar_admin.php	3 Feb 2007 19: 4:41 -0000
@@ -10,7 +10,8 @@ function global_admin_menu() {
     $g = new htmlmenu("Global Admin");
     
     $g->add("Add Category", BASE."admin/addCategory.php");
-    $g->add("Add Vendor", BASE."admin/editVendor.php");
+    $g->add("Add Vendor", BASE."objectManager.php?sClass=vendor&bQueue=".
+    "false&sAction=add&sTitle=Add%20Vendor");
     
     $g->addmisc("&nbsp;");
     $g->add("View App Queue (".$_SESSION['current']->getQueuedAppCount()."/".$_SESSION['current']->getQueuedVersionCount().")", BASE."admin/adminAppQueue.php");



More information about the wine-cvs mailing list