mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
- minor language changes and use template->assign instead of template->assign_var
git-svn-id: http://piwigo.org/svn/trunk@2288 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+3
-3
@@ -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']
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
@@ -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.= '&section='.$page['section'];
|
||||
|
||||
$template->assign_vars(
|
||||
$template->assign(
|
||||
array(
|
||||
'U_HELP' => get_root_url().'popuphelp.php?page=configuration',
|
||||
|
||||
'F_ACTION'=>$action
|
||||
));
|
||||
|
||||
|
||||
+3
-4
@@ -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) );
|
||||
?>
|
||||
|
||||
@@ -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',
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user