Update of /cvsroot/upcase-project/UpCase/admin
In directory usw-pr-cvs1:/tmp/cvs-serv11060
Modified Files:
repository.php
Log Message:
adjusted urls to site root
Index: repository.php
===================================================================
RCS file: /cvsroot/upcase-project/UpCase/admin/repository.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** repository.php 12 Nov 2002 17:53:13 -0000 1.1
--- repository.php 14 Nov 2002 10:35:59 -0000 1.2
***************
*** 22,26 ****
$user = $sess->getUser();
// other includes
- include_once("lib/uc_packages.php");
include_once("lib/uc_repository.php");
--- 22,25 ----
***************
*** 38,42 ****
$rep->update();
! $tmpl->MxUrl("repupdate", $ucConfig->wwwRoot . "/admin/repository.php?doupdate=1");
$tmpl->MxText("descr", $rep->description[$user->lang]);
--- 37,41 ----
$rep->update();
! $tmpl->MxUrl("repupdate", $ucConfig->upcaseUrl . "/admin/repository.php?doupdate=1");
$tmpl->MxText("descr", $rep->description[$user->lang]);
***************
*** 47,51 ****
$tmpl->MxText("categories.catname", $category->description[$user->lang]);
$tmpl->MxUrl("categories.caturl",
! $ucConfig->wwwRoot . "/admin/category.php",
array("catname" => $category->name));
$tmpl->MxBloc("categories", "loop");
--- 46,50 ----
$tmpl->MxText("categories.catname", $category->description[$user->lang]);
$tmpl->MxUrl("categories.caturl",
! $ucConfig->upcaseUrl . "/admin/category.php",
array("catname" => $category->name));
$tmpl->MxBloc("categories", "loop");
|