From 718116eb30e8f0534b13275662212afc506a862c Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 2 Nov 2003 11:18:25 +0000 Subject: Modifying ../template in ./template since admin.php has moved to the PhpWebGallery root directory git-svn-id: http://piwigo.org/svn/trunk@225 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'admin/update.php') diff --git a/admin/update.php b/admin/update.php index 1c8b49634..ecff8c176 100644 --- a/admin/update.php +++ b/admin/update.php @@ -33,7 +33,7 @@ function insert_local_category( $cat_id ) $cat_directory.= '/'.get_local_dir( $cat_id ); $result = get_cat_info( $cat_id ); // 1. display the category name to update - $src = '../template/'.$user['template'].'/admin/images/puce.gif'; + $src = './template/'.$user['template'].'/admin/images/puce.gif'; $output = '>'; $output.= ''.$result['name'][0].''; $output.= ' [ '.$result['dir'].' ]'; @@ -381,7 +381,7 @@ function insert_remote_category( $xml_dir, $site_id, $id_uppercat, $level ) $dir = getAttribute( $list_dirs[$i], 'name' ); $categories[$i] = $dir; - $src = '../template/'.$user['template'].'/admin/images/puce.gif'; + $src = './template/'.$user['template'].'/admin/images/puce.gif'; $output.= '>'; $output.= ''.$dir.''; $output.= '
'; @@ -563,7 +563,7 @@ function insert_remote_image( $xml_dir, $category_id ) return $output; } //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/update.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/update.vtp' ); $tpl = array( 'update_default_title', 'update_only_cat', 'update_all', 'update_research_conclusion', 'update_deletion_conclusion', 'remote_site', 'update_part_research' ); -- cgit v1.2.3