diff --git a/admin/cat_perm.php b/admin/cat_perm.php index bca45faa0..13da8e727 100644 --- a/admin/cat_perm.php +++ b/admin/cat_perm.php @@ -198,15 +198,15 @@ SELECT user_id, cat_id $template->set_filename('cat_perm', 'admin/cat_perm.tpl'); -$template->assign_vars( +$template->assign( array( 'CATEGORIES_NAV' => get_cat_display_name_from_id( $page['cat'], 'admin.php?page=cat_modify&cat_id=' ), - 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=cat_perm', - 'F_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=cat_perm&cat='.$page['cat'] + 'U_HELP' => get_root_url().'popuphelp.php?page=cat_perm', + 'F_ACTION' => get_root_url().'admin.php?page=cat_perm&cat='.$page['cat'] ) ); diff --git a/admin/configuration.php b/admin/configuration.php index 9f741ad89..772e2965b 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -4,8 +4,7 @@ // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) -// | file : $RCSfile$ +// | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ // | revision : $Revision$ @@ -173,10 +172,9 @@ $tabsheet->assign(); $action = get_root_url().'admin.php?page=configuration'; $action.= '§ion='.$page['section']; -$template->assign_vars( +$template->assign( array( 'U_HELP' => get_root_url().'popuphelp.php?page=configuration', - 'F_ACTION'=>$action )); diff --git a/admin/help.php b/admin/help.php index bc588ee22..4634a4d41 100644 --- a/admin/help.php +++ b/admin/help.php @@ -2,10 +2,9 @@ // +-----------------------------------------------------------------------+ // | PhpWebGallery - a PHP based picture gallery | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | +// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | // +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) -// | file : $RCSfile$ +// | file : $Id$ // | last update : $Date$ // | last modifier : $Author$ // | revision : $Revision$ @@ -32,5 +31,5 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); // +-----------------------------------------------------------------------+ check_status(ACCESS_ADMINISTRATOR); -$template->assign_var('ADMIN_CONTENT', load_language('help.html','','',true) ); +$template->assign('ADMIN_CONTENT', load_language('help.html','','',true) ); ?> diff --git a/admin/ws_checker.php b/admin/ws_checker.php index e50f17fdf..d820c5340 100644 --- a/admin/ws_checker.php +++ b/admin/ws_checker.php @@ -209,9 +209,9 @@ if (isset($_POST['wsX_submit'])) -$template->assign_vars( +$template->assign( array( - 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=web_service', + 'U_HELP' => get_root_url().'popuphelp.php?page=web_service', ) ); diff --git a/include/menubar.inc.php b/include/menubar.inc.php index 38c0b3fd0..abe4220ca 100644 --- a/include/menubar.inc.php +++ b/include/menubar.inc.php @@ -270,7 +270,7 @@ $template->append( 'summaries', array( 'TITLE'=>l10n('hint_search'), - 'NAME'=>l10n('search'), + 'NAME'=>l10n('Search'), 'U_SUMMARY'=> get_root_url().'search.php', 'REL'=> 'rel="search"' ) diff --git a/notification.php b/notification.php index 6d5d67ae3..a65411bd8 100644 --- a/notification.php +++ b/notification.php @@ -75,21 +75,19 @@ $template->append('head_elements', '' ); -include(PHPWG_ROOT_PATH.'include/page_header.php'); $template->set_filenames(array('notification'=>'notification.tpl')); -$template->assign_vars( +$template->assign( array( 'U_FEED' => $feed_url, 'U_FEED_IMAGE_ONLY' => $feed_image_only_url, - 'U_HOME' => make_index_url(), ) ); // +-----------------------------------------------------------------------+ // | html code display | // +-----------------------------------------------------------------------+ - +include(PHPWG_ROOT_PATH.'include/page_header.php'); $template->parse('notification'); include(PHPWG_ROOT_PATH.'include/page_tail.php'); diff --git a/template/yoga/admin/permalinks.tpl b/template/yoga/admin/permalinks.tpl index 2013666eb..f6a1d72ac 100644 --- a/template/yoga/admin/permalinks.tpl +++ b/template/yoga/admin/permalinks.tpl @@ -1,7 +1,7 @@ {* $Id$ *}
@@ -24,7 +24,7 @@- +
@@ -36,8 +36,8 @@