Changeset 1894 for trunk


Ignore:
Timestamp:
Mar 12, 2007, 12:02:13 AM (18 years ago)
Author:
rub
Message:

Fix Mathias requests about French words.
Rename completely general tab into main tab.

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r1881 r1894  
    8787    'U_NOTIFICATION_BY_MAIL'=> $link_start.'notification_by_mail',
    8888    'U_ADVANCED_FEATURE'=> $link_start.'advanced_feature',
    89     'U_CONFIG_GENERAL'=> $conf_link.'general',
    90     'U_CONFIG_COMMENTS'=> $conf_link.'comments',
     89    'U_CONFIG_GENERAL'=> $link_start.'configuration',
    9190    'U_CONFIG_DISPLAY'=> $conf_link.'default',
    9291    'U_CATEGORIES'=> $link_start.'cat_list',
  • trunk/admin/configuration.php

    r1884 r1894  
    4242if (!isset($_GET['section']))
    4343{
    44   $page['section'] = 'general';
     44  $page['section'] = 'main';
    4545}
    4646else
     
    4949}
    5050
    51 $general_checkboxes = array(
     51$main_checkboxes = array(
    5252    'email_admin_on_new_user',
    5353    'allow_user_registration',
     
    7373  switch ($page['section'])
    7474  {
    75     case 'general' :
     75    case 'main' :
    7676    {
    7777      if ( !url_is_remote($_POST['gallery_url']) )
     
    7979        array_push($page['errors'], $lang['conf_gallery_url_error']);
    8080      }
    81       foreach( $general_checkboxes as $checkbox)
     81      foreach( $main_checkboxes as $checkbox)
    8282      {
    8383        $_POST[$checkbox] = empty($_POST[$checkbox])?'false':'true';
     
    177177$page['tabsheet'] = array
    178178(
    179   'general' => array
     179  'main' => array
    180180   (
    181     'caption' => l10n('conf_general_title'),
    182     'url' => $conf_link.'general'
     181    'caption' => l10n('conf_main_title'),
     182    'url' => $conf_link.'main'
    183183   ),
    184184  'history' => array
     
    194194  'default' => array
    195195   (
    196     'caption' => l10n('conf_default'),
     196    'caption' => l10n('conf_display'),
    197197    'url' => $conf_link.'default'
    198198   )
     
    223223switch ($page['section'])
    224224{
    225   case 'general' :
     225  case 'main' :
    226226  {
    227227    $lock_yes = ($conf['gallery_locked']==true)?'checked="checked"':'';
     
    229229
    230230    $template->assign_block_vars(
    231       'general',
     231      'main',
    232232      array(
    233233        'GALLERY_LOCKED_YES'=>$lock_yes,
     
    241241        ));
    242242
    243     foreach( $general_checkboxes as $checkbox)
     243    foreach( $main_checkboxes as $checkbox)
    244244    {
    245245      $template->merge_block_vars(
    246           'general',
     246          'main',
    247247          array(
    248248            strtoupper($checkbox) => ($conf[$checkbox]==true)?$html_check:''
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r1887 r1894  
    225225$lang['conf_comments_title'] = 'Comments';
    226226$lang['conf_confirmation'] = 'Information data registered in database';
    227 $lang['conf_default'] = 'Default display';
    228 $lang['conf_default_title'] = 'Default display';
     227$lang['conf_display'] = 'Default display';
    229228$lang['conf_history_title'] = 'History';
    230229$lang['conf_gallery_url_error'] = 'The gallery URL is not valid.';
    231 $lang['conf_general_title'] = 'Main';
     230$lang['conf_main_title'] = 'Main';
    232231$lang['conf_nb_comment_page_error'] = 'The number of comments a page must be between 5 and 50 included.';
    233232$lang['config'] = 'Configuration';
     
    250249$lang['first element added on %s'] = 'first element added on %s';
    251250$lang['forbidden'] = 'Forbidden';
    252 $lang['general'] = 'General';
     251$lang['conf_general'] = 'General';
    253252$lang['global mode'] = 'global mode';
    254253$lang['group "%s" added'] = 'group "%s" added';
  • trunk/language/fr_FR.iso-8859-1/admin.lang.php

    r1887 r1894  
    225225$lang['conf_comments_title'] = 'Commentaires';
    226226$lang['conf_confirmation'] = 'Informations enregistrées dans la base de données';
    227 $lang['conf_default'] = 'Affichage par défaut';
    228 $lang['conf_default_title'] = 'Affichage par défaut';
     227$lang['conf_display'] = 'Affichage par défaut';
    229228$lang['conf_history_title'] = 'Historique';
    230229$lang['conf_gallery_url_error'] = 'L\'adresse de la galerie n\'est pas valide.';
    231 $lang['conf_general_title'] = 'Principale';
     230$lang['conf_main_title'] = 'Principale';
    232231$lang['conf_nb_comment_page_error'] = 'Le nombre de commentaires d\'utilisateurs par page doit être compris entre 5 et 50.';
    233232$lang['config'] = 'Configuration';
     
    250249$lang['first element added on %s'] = 'premier élément ajouté le %s';
    251250$lang['forbidden'] = 'interdit';
    252 $lang['general'] = 'Général';
     251$lang['conf_general'] = 'Générale';
    253252$lang['global mode'] = 'mode global';
    254253$lang['group "%s" added'] = 'groupe "%s" ajouté';
     
    545544$lang['Web Services availability duration in days'] = 'Durée d\'ouverture des Services Web en jours';
    546545$lang['Web Services under control'] = 'Les Services Web de PhpWebGallery sont totalement operationnels et toutes les requêtes sont contrôlées.';
    547 $lang['special_admin_menu'] = 'Spécials';
     546$lang['special_admin_menu'] = 'Spéciales';
    548547$lang['pictures_menu'] = 'Images';
    549548$lang['note_check_exif'] = '%s doit être mis à "false" dans votre fichier config_local.inc.php parce que l\'exif n\'est pas supporté.';
  • trunk/language/fr_FR.iso-8859-1/common.lang.php

    r1869 r1894  
    580580$lang['special_categories'] = 'Spéciales';
    581581$lang['sql_queries_in'] = 'requêtes SQL en';
    582 $lang['start_filter_hint'] = 'afficher que les éléments récents';
     582$lang['start_filter_hint'] = 'n\'afficher que les éléments récents';
    583583$lang['stop_filter_hint'] = 'retourner à l\'affichage de tous les éléments';
    584584$lang['submit'] = 'Valider';
  • trunk/template/yoga/admin.tpl

    r1887 r1894  
    1515    <dd>
    1616      <ul>
    17         <li><a href="{U_CONFIG_GENERAL}">{lang:general}</a></li>
    18         <li><a href="{U_CONFIG_DISPLAY}">{lang:conf_default}</a></li>
     17        <li><a href="{U_CONFIG_GENERAL}">{lang:conf_general}</a></li>
     18        <li><a href="{U_CONFIG_DISPLAY}">{lang:conf_display}</a></li>
    1919      </ul>
    2020    </dd>
  • trunk/template/yoga/admin/configuration.tpl

    r1887 r1894  
    1010<form method="post" action="{F_ACTION}" class="properties">
    1111
    12 <!-- BEGIN general -->
    13 <fieldset id="generalConf">
     12<!-- BEGIN main -->
     13<fieldset id="mainConf">
    1414  <ul>
    1515    <li>
     
    1717        <label for="gallery_title">{lang:Gallery title}</label>
    1818      </span>
    19       <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{general.CONF_GALLERY_TITLE}" />
     19      <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{main.CONF_GALLERY_TITLE}" />
    2020    </li>
    2121
     
    2424        <label for="page_banner">{lang:Page banner}</label>
    2525      </span>
    26       <textarea class="description" name="page_banner" id="page_banner">{general.CONF_PAGE_BANNER}</textarea>
     26      <textarea class="description" name="page_banner" id="page_banner">{main.CONF_PAGE_BANNER}</textarea>
    2727    </li>
    2828
     
    3131        <label for="gallery_url">{lang:Gallery URL}</label>
    3232      </span>
    33       <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{general.CONF_GALLERY_URL}" />
     33      <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{main.CONF_GALLERY_URL}" />
    3434    </li>
    3535
    3636    <li>
    3737      <span class="property">{lang:Lock gallery}</span>
    38       <label><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}</label>
    39       <label><input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}</label>
     38      <label><input type="radio" class="radio" name="gallery_locked" value="true" {main.GALLERY_LOCKED_YES} />{lang:Yes}</label>
     39      <label><input type="radio" class="radio" name="gallery_locked" value="false" {main.GALLERY_LOCKED_NO} />{lang:No}</label>
    4040    </li>
    4141
    4242    <li>
    4343      <span class="property">{lang:Rating}</span>
    44       <label><input type="radio" class="radio" name="rate" value="true" {general.RATE_YES} />{lang:Yes}</label>
    45       <label><input type="radio" class="radio" name="rate" value="false" {general.RATE_NO} />{lang:No}</label>
     44      <label><input type="radio" class="radio" name="rate" value="true" {main.RATE_YES} />{lang:Yes}</label>
     45      <label><input type="radio" class="radio" name="rate" value="false" {main.RATE_NO} />{lang:No}</label>
    4646    </li>
    4747
    4848    <li>
    4949      <span class="property">{lang:Rating by guests}</span>
    50       <label><input type="radio" class="radio" name="rate_anonymous" value="true" {general.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
    51       <label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
     50      <label><input type="radio" class="radio" name="rate_anonymous" value="true" {main.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
     51      <label><input type="radio" class="radio" name="rate_anonymous" value="false" {main.RATE_ANONYMOUS_NO} />{lang:No}</label>
    5252    </li>
    5353
     
    5555      <label>
    5656        <span class="property">{lang:Email admin when a new user registers}</span>
    57         <input type="checkbox" name="email_admin_on_new_user" {general.EMAIL_ADMIN_ON_NEW_USER} />
     57        <input type="checkbox" name="email_admin_on_new_user" {main.EMAIL_ADMIN_ON_NEW_USER} />
    5858      </label>
    5959    </li>
     
    6262      <label for="allow_user_registration">
    6363        <span class="property">{lang:Allow user registration}</span>
    64         <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {general.ALLOW_USER_REGISTRATION} />
    65       </label>
    66     </li>
    67   </ul>
    68 </fieldset>
    69 <!-- END general -->
     64        <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} />
     65      </label>
     66    </li>
     67  </ul>
     68</fieldset>
     69<!-- END main -->
    7070
    7171<!-- BEGIN history -->
  • trunk/template/yoga/admin/default-layout.css

    r1886 r1894  
    9898}
    9999
    100 FIELDSET#generalConf SPAN.property {
     100FIELDSET#mainConf SPAN.property {
    101101  width: 25%;
    102102}
    103 FIELDSET#generalConf TEXTAREA.description {
     103FIELDSET#mainConf TEXTAREA.description {
    104104  width: 70%;
    105105}
  • trunk/template/yoga/admin/permalinks.tpl

    r1873 r1894  
    88<form method="post" action="{F_ACTION}">
    99<fieldset><legend>{lang:Add/delete a permalink}</legend>
    10   <label>Category:
     10  <label>{lang:Category}:
    1111    <select name="cat_id">
    1212      <option value="0">------</option>
Note: See TracChangeset for help on using the changeset viewer.