diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-11-02 11:18:25 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-11-02 11:18:25 +0000 |
commit | 718116eb30e8f0534b13275662212afc506a862c (patch) | |
tree | 9552576e905ac881c71ad0d5cf4d109d81043adb /admin | |
parent | e6c4386182b97fb6efcaec71417daf2b97407c9c (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 '')
-rw-r--r-- | admin/cat_list.php | 2 | ||||
-rw-r--r-- | admin/cat_modify.php | 2 | ||||
-rw-r--r-- | admin/cat_perm.php | 2 | ||||
-rw-r--r-- | admin/comments.php | 2 | ||||
-rw-r--r-- | admin/configuration.php | 4 | ||||
-rw-r--r-- | admin/group_list.php | 2 | ||||
-rw-r--r-- | admin/group_perm.php | 2 | ||||
-rw-r--r-- | admin/help.php | 2 | ||||
-rw-r--r-- | admin/infos_images.php | 4 | ||||
-rw-r--r-- | admin/picture_modify.php | 2 | ||||
-rw-r--r-- | admin/stats.php | 2 | ||||
-rw-r--r-- | admin/thumbnail.php | 2 | ||||
-rw-r--r-- | admin/update.php | 6 | ||||
-rw-r--r-- | admin/user_list.php | 2 | ||||
-rw-r--r-- | admin/user_modify.php | 2 | ||||
-rw-r--r-- | admin/user_perm.php | 2 | ||||
-rw-r--r-- | admin/waiting.php | 2 |
17 files changed, 21 insertions, 21 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php index cc4d88929..0c0182f12 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -19,7 +19,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/cat_list.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/cat_list.vtp' ); $tpl = array( 'cat_edit','cat_up','cat_down','cat_image_info', 'cat_permission','cat_update','cat_add','cat_parent','submit', 'cat_virtual','delete','cat_first','cat_last' ); diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 5cd777979..2febea3d4 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -19,7 +19,7 @@ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/cat_modify.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/cat_modify.vtp' ); $tpl = array( 'remote_site','editcat_confirm','editcat_back','editcat_title1', 'editcat_name','editcat_comment','editcat_status', 'editcat_visible','editcat_visible_info', 'submit', diff --git a/admin/cat_perm.php b/admin/cat_perm.php index ac63e3b6e..43792227d 100644 --- a/admin/cat_perm.php +++ b/admin/cat_perm.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/cat_perm.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/cat_perm.vtp' ); $error = array(); $tpl = array( 'permuser_authorized','permuser_forbidden','menu_groups', 'submit','menu_users','permuser_parent_forbidden' ); diff --git a/admin/comments.php b/admin/comments.php index 1706897b8..ba0948425 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -159,7 +159,7 @@ if ( isset( $_POST['submit'] ) ) } } //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/comments.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/comments.vtp' ); $tpl = array( 'stats_last_days','delete','close','submit','open' ); templatize_array( $tpl, 'lang', $sub ); $vtp->setGlobalVar( $sub, 'user_template', $user['template'] ); diff --git a/admin/configuration.php b/admin/configuration.php index 4cf7ad347..bab200195 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -262,7 +262,7 @@ else } //----------------------------------------------------- template initialization $sub = $vtp->Open( - '../template/'.$user['template'].'/admin/configuration.vtp' ); + './template/'.$user['template'].'/admin/configuration.vtp' ); $tpl = array( 'conf_confirmation','remote_site','delete', 'conf_remote_site_delete_info','submit','errors_title' ); @@ -652,7 +652,7 @@ $vtp->addSession( $sub, 'param_line' ); $vtp->setVar( $sub, 'param_line.name', $lang['customize_theme'] ); $vtp->addSession( $sub, 'select' ); $vtp->setVar( $sub, 'select.name', 'template' ); -$option = get_dirs( '../template/' ); +$option = get_dirs( './template/' ); for ( $i = 0; $i < sizeof( $option ); $i++ ) { $vtp->addSession( $sub, 'option' ); diff --git a/admin/group_list.php b/admin/group_list.php index 2f61a2be2..683b593f0 100644 --- a/admin/group_list.php +++ b/admin/group_list.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/group_list.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/group_list.vtp' ); $tpl = array( 'group_add','add','listuser_permission','delete', 'group_confirm','yes','no','group_list_title' ); templatize_array( $tpl, 'lang', $sub ); diff --git a/admin/group_perm.php b/admin/group_perm.php index 12bba0745..52460fc47 100644 --- a/admin/group_perm.php +++ b/admin/group_perm.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/group_perm.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/group_perm.vtp' ); $error = array(); $tpl = array( 'permuser_authorized','permuser_forbidden','submit', 'permuser_parent_forbidden','permuser_info_message', diff --git a/admin/help.php b/admin/help.php index 2b5edbe1d..f59b23897 100644 --- a/admin/help.php +++ b/admin/help.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/help.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/help.vtp' ); $tpl = array( ); templatize_array( $tpl, 'lang', $sub ); //----------------------------------------------------- help categories display diff --git a/admin/infos_images.php b/admin/infos_images.php index 3a27b5496..18dc96b33 100644 --- a/admin/infos_images.php +++ b/admin/infos_images.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); -include_once( '../template/'.$user['template'].'/htmlfunctions.inc.php' ); +include_once( './template/'.$user['template'].'/htmlfunctions.inc.php' ); //-------------------------------------------------------------- initialization check_cat_id( $_GET['cat_id'] ); if ( isset( $page['cat'] ) ) @@ -222,7 +222,7 @@ if ( isset( $page['cat'] ) ) $cat['name'] = $result['name']; $cat['nb_images'] = $result['nb_images']; //----------------------------------------------------- template initialization - $sub = $vtp->Open('../template/'.$user['template'].'/admin/infos_image.vtp'); + $sub = $vtp->Open('./template/'.$user['template'].'/admin/infos_image.vtp'); $tpl = array( 'infoimage_general','author','infoimage_useforall','submit', 'infoimage_creation_date','infoimage_detailed','thumbnail', 'infoimage_title','infoimage_comment', diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 3eaa0748e..96e54e3d8 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -138,7 +138,7 @@ if ( isset( $_POST['submit'] ) ) } //----------------------------------------------------- template initialization $sub = $vtp->Open( - '../template/'.$user['template'].'/admin/picture_modify.vtp' ); + './template/'.$user['template'].'/admin/picture_modify.vtp' ); $tpl = array( 'submit','errors_title','picmod_update','picmod_back', 'default','file','size','filesize','registration_date', diff --git a/admin/stats.php b/admin/stats.php index 345d4c669..ba6965741 100644 --- a/admin/stats.php +++ b/admin/stats.php @@ -34,7 +34,7 @@ if ( isset( $_GET['act'] ) and $_GET['act'] == 'empty' ) mysql_query( $query ); } //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/stats.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/stats.vtp' ); $tpl = array( 'stats_last_days','date','login', 'IP','file','picture','category','stats_pages_seen', 'stats_visitors','stats_empty', 'stats_pages_seen_graph_title', diff --git a/admin/thumbnail.php b/admin/thumbnail.php index 171049a1c..856222a2c 100644 --- a/admin/thumbnail.php +++ b/admin/thumbnail.php @@ -259,7 +259,7 @@ function get_displayed_dirs( $dir, $indent ) } } //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/thumbnail.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/thumbnail.vtp' ); $tpl = array( 'tn_dirs_title','tn_dirs_alone','tn_params_title','tn_params_GD', 'tn_params_GD_info','tn_width','tn_params_width_info','tn_height', 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=">" />'; $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=">" />'; $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' ); diff --git a/admin/user_list.php b/admin/user_list.php index 270ea2f4b..92020cd67 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/user_list.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_list.vtp' ); $tpl = array( 'listuser_confirm','listuser_modify_hint','listuser_modify', 'listuser_permission','listuser_permission_hint', 'listuser_delete_hint','listuser_delete','yes','no', diff --git a/admin/user_modify.php b/admin/user_modify.php index 79425e5f8..d11858df5 100644 --- a/admin/user_modify.php +++ b/admin/user_modify.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/user_modify.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_modify.vtp' ); $error = array(); $tpl = array( 'adduser_info_message', 'adduser_info_back', 'adduser_fill_form', 'login', 'new', 'password', 'mail_address', 'adduser_status', diff --git a/admin/user_perm.php b/admin/user_perm.php index 7b4dc353b..fdca628f7 100644 --- a/admin/user_perm.php +++ b/admin/user_perm.php @@ -18,7 +18,7 @@ ***************************************************************************/ include_once( './include/isadmin.inc.php' ); //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/user_perm.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_perm.vtp' ); $error = array(); $tpl = array( 'permuser_authorized','permuser_forbidden','submit', 'permuser_parent_forbidden','permuser_info_message', diff --git a/admin/waiting.php b/admin/waiting.php index 9a5e79481..5d342052e 100644 --- a/admin/waiting.php +++ b/admin/waiting.php @@ -66,7 +66,7 @@ if ( isset( $_POST['submit'] ) ) } } //----------------------------------------------------- template initialization -$sub = $vtp->Open( '../template/'.$user['template'].'/admin/waiting.vtp' ); +$sub = $vtp->Open( './template/'.$user['template'].'/admin/waiting.vtp' ); $tpl = array( 'category','date','author','thumbnail','file','delete', 'submit','waiting_update' ); templatize_array( $tpl, 'lang', $sub ); |