aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin.php3
-rw-r--r--admin/configuration.php24
-rw-r--r--language/en_UK.iso-8859-1/admin.lang.php7
-rw-r--r--language/fr_FR.iso-8859-1/admin.lang.php9
-rw-r--r--language/fr_FR.iso-8859-1/common.lang.php2
-rw-r--r--template/yoga/admin.tpl4
-rw-r--r--template/yoga/admin/configuration.tpl28
-rw-r--r--template/yoga/admin/default-layout.css4
-rw-r--r--template/yoga/admin/permalinks.tpl2
9 files changed, 40 insertions, 43 deletions
diff --git a/admin.php b/admin.php
index 5505cb1c9..4373de70b 100644
--- a/admin.php
+++ b/admin.php
@@ -86,8 +86,7 @@ $template->assign_vars(
'U_MAINTENANCE'=> $link_start.'maintenance',
'U_NOTIFICATION_BY_MAIL'=> $link_start.'notification_by_mail',
'U_ADVANCED_FEATURE'=> $link_start.'advanced_feature',
- 'U_CONFIG_GENERAL'=> $conf_link.'general',
- 'U_CONFIG_COMMENTS'=> $conf_link.'comments',
+ 'U_CONFIG_GENERAL'=> $link_start.'configuration',
'U_CONFIG_DISPLAY'=> $conf_link.'default',
'U_CATEGORIES'=> $link_start.'cat_list',
'U_MOVE'=> $link_start.'cat_move',
diff --git a/admin/configuration.php b/admin/configuration.php
index fabc6b189..0c8b21aa5 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -41,14 +41,14 @@ check_status(ACCESS_ADMINISTRATOR);
//-------------------------------------------------------- sections definitions
if (!isset($_GET['section']))
{
- $page['section'] = 'general';
+ $page['section'] = 'main';
}
else
{
$page['section'] = $_GET['section'];
}
-$general_checkboxes = array(
+$main_checkboxes = array(
'email_admin_on_new_user',
'allow_user_registration',
);
@@ -72,13 +72,13 @@ if (isset($_POST['submit']) and !is_adviser())
$int_pattern = '/^\d+$/';
switch ($page['section'])
{
- case 'general' :
+ case 'main' :
{
if ( !url_is_remote($_POST['gallery_url']) )
{
array_push($page['errors'], $lang['conf_gallery_url_error']);
}
- foreach( $general_checkboxes as $checkbox)
+ foreach( $main_checkboxes as $checkbox)
{
$_POST[$checkbox] = empty($_POST[$checkbox])?'false':'true';
}
@@ -176,10 +176,10 @@ $template->set_filename('config', 'admin/configuration.tpl');
// TabSheet initialization
$page['tabsheet'] = array
(
- 'general' => array
+ 'main' => array
(
- 'caption' => l10n('conf_general_title'),
- 'url' => $conf_link.'general'
+ 'caption' => l10n('conf_main_title'),
+ 'url' => $conf_link.'main'
),
'history' => array
(
@@ -193,7 +193,7 @@ $page['tabsheet'] = array
),
'default' => array
(
- 'caption' => l10n('conf_default'),
+ 'caption' => l10n('conf_display'),
'url' => $conf_link.'default'
)
);
@@ -222,13 +222,13 @@ $html_check='checked="checked"';
switch ($page['section'])
{
- case 'general' :
+ case 'main' :
{
$lock_yes = ($conf['gallery_locked']==true)?'checked="checked"':'';
$lock_no = ($conf['gallery_locked']==false)?'checked="checked"':'';
$template->assign_block_vars(
- 'general',
+ 'main',
array(
'GALLERY_LOCKED_YES'=>$lock_yes,
'GALLERY_LOCKED_NO'=>$lock_no,
@@ -240,10 +240,10 @@ switch ($page['section'])
'CONF_GALLERY_URL' => $conf['gallery_url'],
));
- foreach( $general_checkboxes as $checkbox)
+ foreach( $main_checkboxes as $checkbox)
{
$template->merge_block_vars(
- 'general',
+ 'main',
array(
strtoupper($checkbox) => ($conf[$checkbox]==true)?$html_check:''
)
diff --git a/language/en_UK.iso-8859-1/admin.lang.php b/language/en_UK.iso-8859-1/admin.lang.php
index 2fbfbe748..985d63cf0 100644
--- a/language/en_UK.iso-8859-1/admin.lang.php
+++ b/language/en_UK.iso-8859-1/admin.lang.php
@@ -224,11 +224,10 @@ $lang['category'] = 'category';
$lang['conf_access'] = 'Access type';
$lang['conf_comments_title'] = 'Comments';
$lang['conf_confirmation'] = 'Information data registered in database';
-$lang['conf_default'] = 'Default display';
-$lang['conf_default_title'] = 'Default display';
+$lang['conf_display'] = 'Default display';
$lang['conf_history_title'] = 'History';
$lang['conf_gallery_url_error'] = 'The gallery URL is not valid.';
-$lang['conf_general_title'] = 'Main';
+$lang['conf_main_title'] = 'Main';
$lang['conf_nb_comment_page_error'] = 'The number of comments a page must be between 5 and 50 included.';
$lang['config'] = 'Configuration';
$lang['confirm'] = 'confirm';
@@ -249,7 +248,7 @@ $lang['file'] = 'file';
$lang['filesize'] = 'filesize';
$lang['first element added on %s'] = 'first element added on %s';
$lang['forbidden'] = 'Forbidden';
-$lang['general'] = 'General';
+$lang['conf_general'] = 'General';
$lang['global mode'] = 'global mode';
$lang['group "%s" added'] = 'group "%s" added';
$lang['group "%s" deleted'] = 'group "%s" deleted';
diff --git a/language/fr_FR.iso-8859-1/admin.lang.php b/language/fr_FR.iso-8859-1/admin.lang.php
index ba8ed4094..7d1d01c56 100644
--- a/language/fr_FR.iso-8859-1/admin.lang.php
+++ b/language/fr_FR.iso-8859-1/admin.lang.php
@@ -224,11 +224,10 @@ $lang['category'] = 'catégorie';
$lang['conf_access'] = 'Type d\'accès';
$lang['conf_comments_title'] = 'Commentaires';
$lang['conf_confirmation'] = 'Informations enregistrées dans la base de données';
-$lang['conf_default'] = 'Affichage par défaut';
-$lang['conf_default_title'] = 'Affichage par défaut';
+$lang['conf_display'] = 'Affichage par défaut';
$lang['conf_history_title'] = 'Historique';
$lang['conf_gallery_url_error'] = 'L\'adresse de la galerie n\'est pas valide.';
-$lang['conf_general_title'] = 'Principale';
+$lang['conf_main_title'] = 'Principale';
$lang['conf_nb_comment_page_error'] = 'Le nombre de commentaires d\'utilisateurs par page doit être compris entre 5 et 50.';
$lang['config'] = 'Configuration';
$lang['confirm'] = 'confirmer';
@@ -249,7 +248,7 @@ $lang['file'] = 'fichier';
$lang['filesize'] = 'poids';
$lang['first element added on %s'] = 'premier élément ajouté le %s';
$lang['forbidden'] = 'interdit';
-$lang['general'] = 'Général';
+$lang['conf_general'] = 'Générale';
$lang['global mode'] = 'mode global';
$lang['group "%s" added'] = 'groupe "%s" ajouté';
$lang['group "%s" deleted'] = 'groupe "%s" supprimé';
@@ -544,7 +543,7 @@ $lang['Comment to identify your partner clearly'] = 'Commentaire vous permettant
$lang['Add this access definition']= 'Ajouter cette définition d\'accès';
$lang['Web Services availability duration in days'] = 'Durée d\'ouverture des Services Web en jours';
$lang['Web Services under control'] = 'Les Services Web de PhpWebGallery sont totalement operationnels et toutes les requêtes sont contrôlées.';
-$lang['special_admin_menu'] = 'Spécials';
+$lang['special_admin_menu'] = 'Spéciales';
$lang['pictures_menu'] = 'Images';
$lang['note_check_exif'] = '%s doit être mis à "false" dans votre fichier config_local.inc.php parce que l\'exif n\'est pas supporté.';
$lang['note_check_more_info'] = 'Allez sur %s ou %s pour plus d\'informations.';
diff --git a/language/fr_FR.iso-8859-1/common.lang.php b/language/fr_FR.iso-8859-1/common.lang.php
index 1abe96485..b0c6ff5ba 100644
--- a/language/fr_FR.iso-8859-1/common.lang.php
+++ b/language/fr_FR.iso-8859-1/common.lang.php
@@ -579,7 +579,7 @@ $lang['slideshow'] = 'diaporama';
$lang['slideshow_stop'] = 'arrêter le diaporama';
$lang['special_categories'] = 'Spéciales';
$lang['sql_queries_in'] = 'requêtes SQL en';
-$lang['start_filter_hint'] = 'afficher que les éléments récents';
+$lang['start_filter_hint'] = 'n\'afficher que les éléments récents';
$lang['stop_filter_hint'] = 'retourner à l\'affichage de tous les éléments';
$lang['submit'] = 'Valider';
$lang['the beginning'] = 'le début';
diff --git a/template/yoga/admin.tpl b/template/yoga/admin.tpl
index be5ce7ff0..88975544c 100644
--- a/template/yoga/admin.tpl
+++ b/template/yoga/admin.tpl
@@ -14,8 +14,8 @@
<dt>{lang:config}</dt>
<dd>
<ul>
- <li><a href="{U_CONFIG_GENERAL}">{lang:general}</a></li>
- <li><a href="{U_CONFIG_DISPLAY}">{lang:conf_default}</a></li>
+ <li><a href="{U_CONFIG_GENERAL}">{lang:conf_general}</a></li>
+ <li><a href="{U_CONFIG_DISPLAY}">{lang:conf_display}</a></li>
</ul>
</dd>
</dl>
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl
index 5d2372587..52cb270e2 100644
--- a/template/yoga/admin/configuration.tpl
+++ b/template/yoga/admin/configuration.tpl
@@ -9,64 +9,64 @@
<form method="post" action="{F_ACTION}" class="properties">
-<!-- BEGIN general -->
-<fieldset id="generalConf">
+<!-- BEGIN main -->
+<fieldset id="mainConf">
<ul>
<li>
<span class="property">
<label for="gallery_title">{lang:Gallery title}</label>
</span>
- <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{general.CONF_GALLERY_TITLE}" />
+ <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{main.CONF_GALLERY_TITLE}" />
</li>
<li>
<span class="property">
<label for="page_banner">{lang:Page banner}</label>
</span>
- <textarea class="description" name="page_banner" id="page_banner">{general.CONF_PAGE_BANNER}</textarea>
+ <textarea class="description" name="page_banner" id="page_banner">{main.CONF_PAGE_BANNER}</textarea>
</li>
<li>
<span class="property">
<label for="gallery_url">{lang:Gallery URL}</label>
</span>
- <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{general.CONF_GALLERY_URL}" />
+ <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{main.CONF_GALLERY_URL}" />
</li>
<li>
<span class="property">{lang:Lock gallery}</span>
- <label><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}</label>
+ <label><input type="radio" class="radio" name="gallery_locked" value="true" {main.GALLERY_LOCKED_YES} />{lang:Yes}</label>
+ <label><input type="radio" class="radio" name="gallery_locked" value="false" {main.GALLERY_LOCKED_NO} />{lang:No}</label>
</li>
<li>
<span class="property">{lang:Rating}</span>
- <label><input type="radio" class="radio" name="rate" value="true" {general.RATE_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="rate" value="false" {general.RATE_NO} />{lang:No}</label>
+ <label><input type="radio" class="radio" name="rate" value="true" {main.RATE_YES} />{lang:Yes}</label>
+ <label><input type="radio" class="radio" name="rate" value="false" {main.RATE_NO} />{lang:No}</label>
</li>
<li>
<span class="property">{lang:Rating by guests}</span>
- <label><input type="radio" class="radio" name="rate_anonymous" value="true" {general.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
+ <label><input type="radio" class="radio" name="rate_anonymous" value="true" {main.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
+ <label><input type="radio" class="radio" name="rate_anonymous" value="false" {main.RATE_ANONYMOUS_NO} />{lang:No}</label>
</li>
<li>
<label>
<span class="property">{lang:Email admin when a new user registers}</span>
- <input type="checkbox" name="email_admin_on_new_user" {general.EMAIL_ADMIN_ON_NEW_USER} />
+ <input type="checkbox" name="email_admin_on_new_user" {main.EMAIL_ADMIN_ON_NEW_USER} />
</label>
</li>
<li>
<label for="allow_user_registration">
<span class="property">{lang:Allow user registration}</span>
- <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {general.ALLOW_USER_REGISTRATION} />
+ <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} />
</label>
</li>
</ul>
</fieldset>
-<!-- END general -->
+<!-- END main -->
<!-- BEGIN history -->
<fieldset id="historyConf">
diff --git a/template/yoga/admin/default-layout.css b/template/yoga/admin/default-layout.css
index edad24d3f..d6510b133 100644
--- a/template/yoga/admin/default-layout.css
+++ b/template/yoga/admin/default-layout.css
@@ -97,10 +97,10 @@ FORM#categoryPermissions LI {
white-space: nowrap;
}
-FIELDSET#generalConf SPAN.property {
+FIELDSET#mainConf SPAN.property {
width: 25%;
}
-FIELDSET#generalConf TEXTAREA.description {
+FIELDSET#mainConf TEXTAREA.description {
width: 70%;
}
diff --git a/template/yoga/admin/permalinks.tpl b/template/yoga/admin/permalinks.tpl
index dbbe4827f..3388cc40b 100644
--- a/template/yoga/admin/permalinks.tpl
+++ b/template/yoga/admin/permalinks.tpl
@@ -7,7 +7,7 @@
<form method="post" action="{F_ACTION}">
<fieldset><legend>{lang:Add/delete a permalink}</legend>
- <label>Category:
+ <label>{lang:Category}:
<select name="cat_id">
<option value="0">------</option>
<!-- BEGIN categories -->