aboutsummaryrefslogtreecommitdiffstats
path: root/admin/update.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-11-02 11:18:25 +0000
committerz0rglub <z0rglub@piwigo.org>2003-11-02 11:18:25 +0000
commit718116eb30e8f0534b13275662212afc506a862c (patch)
tree9552576e905ac881c71ad0d5cf4d109d81043adb /admin/update.php
parente6c4386182b97fb6efcaec71417daf2b97407c9c (diff)
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
Diffstat (limited to 'admin/update.php')
-rw-r--r--admin/update.php6
1 files changed, 3 insertions, 3 deletions
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 = '<img src="'.$src.'" alt="&gt;" />';
$output.= '<span style="font-weight:bold;">'.$result['name'][0].'</span>';
$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.= '<img src="'.$src.'" alt="&gt;" />';
$output.= '<span style="font-weight:bold;">'.$dir.'</span>';
$output.= '<div class="retrait">';
@@ -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' );