- Timestamp:
- Mar 12, 2007, 12:02:13 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r1881 r1894 87 87 'U_NOTIFICATION_BY_MAIL'=> $link_start.'notification_by_mail', 88 88 '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', 91 90 'U_CONFIG_DISPLAY'=> $conf_link.'default', 92 91 'U_CATEGORIES'=> $link_start.'cat_list', -
trunk/admin/configuration.php
r1884 r1894 42 42 if (!isset($_GET['section'])) 43 43 { 44 $page['section'] = ' general';44 $page['section'] = 'main'; 45 45 } 46 46 else … … 49 49 } 50 50 51 $ general_checkboxes = array(51 $main_checkboxes = array( 52 52 'email_admin_on_new_user', 53 53 'allow_user_registration', … … 73 73 switch ($page['section']) 74 74 { 75 case ' general' :75 case 'main' : 76 76 { 77 77 if ( !url_is_remote($_POST['gallery_url']) ) … … 79 79 array_push($page['errors'], $lang['conf_gallery_url_error']); 80 80 } 81 foreach( $ general_checkboxes as $checkbox)81 foreach( $main_checkboxes as $checkbox) 82 82 { 83 83 $_POST[$checkbox] = empty($_POST[$checkbox])?'false':'true'; … … 177 177 $page['tabsheet'] = array 178 178 ( 179 ' general' => array179 'main' => array 180 180 ( 181 'caption' => l10n('conf_ general_title'),182 'url' => $conf_link.' general'181 'caption' => l10n('conf_main_title'), 182 'url' => $conf_link.'main' 183 183 ), 184 184 'history' => array … … 194 194 'default' => array 195 195 ( 196 'caption' => l10n('conf_d efault'),196 'caption' => l10n('conf_display'), 197 197 'url' => $conf_link.'default' 198 198 ) … … 223 223 switch ($page['section']) 224 224 { 225 case ' general' :225 case 'main' : 226 226 { 227 227 $lock_yes = ($conf['gallery_locked']==true)?'checked="checked"':''; … … 229 229 230 230 $template->assign_block_vars( 231 ' general',231 'main', 232 232 array( 233 233 'GALLERY_LOCKED_YES'=>$lock_yes, … … 241 241 )); 242 242 243 foreach( $ general_checkboxes as $checkbox)243 foreach( $main_checkboxes as $checkbox) 244 244 { 245 245 $template->merge_block_vars( 246 ' general',246 'main', 247 247 array( 248 248 strtoupper($checkbox) => ($conf[$checkbox]==true)?$html_check:'' -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r1887 r1894 225 225 $lang['conf_comments_title'] = 'Comments'; 226 226 $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'; 229 228 $lang['conf_history_title'] = 'History'; 230 229 $lang['conf_gallery_url_error'] = 'The gallery URL is not valid.'; 231 $lang['conf_ general_title'] = 'Main';230 $lang['conf_main_title'] = 'Main'; 232 231 $lang['conf_nb_comment_page_error'] = 'The number of comments a page must be between 5 and 50 included.'; 233 232 $lang['config'] = 'Configuration'; … … 250 249 $lang['first element added on %s'] = 'first element added on %s'; 251 250 $lang['forbidden'] = 'Forbidden'; 252 $lang[' general'] = 'General';251 $lang['conf_general'] = 'General'; 253 252 $lang['global mode'] = 'global mode'; 254 253 $lang['group "%s" added'] = 'group "%s" added'; -
trunk/language/fr_FR.iso-8859-1/admin.lang.php
r1887 r1894 225 225 $lang['conf_comments_title'] = 'Commentaires'; 226 226 $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'; 229 228 $lang['conf_history_title'] = 'Historique'; 230 229 $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'; 232 231 $lang['conf_nb_comment_page_error'] = 'Le nombre de commentaires d\'utilisateurs par page doit être compris entre 5 et 50.'; 233 232 $lang['config'] = 'Configuration'; … … 250 249 $lang['first element added on %s'] = 'premier élément ajouté le %s'; 251 250 $lang['forbidden'] = 'interdit'; 252 $lang[' general'] = 'Général';251 $lang['conf_general'] = 'Générale'; 253 252 $lang['global mode'] = 'mode global'; 254 253 $lang['group "%s" added'] = 'groupe "%s" ajouté'; … … 545 544 $lang['Web Services availability duration in days'] = 'Durée d\'ouverture des Services Web en jours'; 546 545 $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écial s';546 $lang['special_admin_menu'] = 'Spéciales'; 548 547 $lang['pictures_menu'] = 'Images'; 549 548 $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 580 580 $lang['special_categories'] = 'Spéciales'; 581 581 $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'; 583 583 $lang['stop_filter_hint'] = 'retourner à l\'affichage de tous les éléments'; 584 584 $lang['submit'] = 'Valider'; -
trunk/template/yoga/admin.tpl
r1887 r1894 15 15 <dd> 16 16 <ul> 17 <li><a href="{U_CONFIG_GENERAL}">{lang: general}</a></li>18 <li><a href="{U_CONFIG_DISPLAY}">{lang:conf_d efault}</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> 19 19 </ul> 20 20 </dd> -
trunk/template/yoga/admin/configuration.tpl
r1887 r1894 10 10 <form method="post" action="{F_ACTION}" class="properties"> 11 11 12 <!-- BEGIN general-->13 <fieldset id=" generalConf">12 <!-- BEGIN main --> 13 <fieldset id="mainConf"> 14 14 <ul> 15 15 <li> … … 17 17 <label for="gallery_title">{lang:Gallery title}</label> 18 18 </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}" /> 20 20 </li> 21 21 … … 24 24 <label for="page_banner">{lang:Page banner}</label> 25 25 </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> 27 27 </li> 28 28 … … 31 31 <label for="gallery_url">{lang:Gallery URL}</label> 32 32 </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}" /> 34 34 </li> 35 35 36 36 <li> 37 37 <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> 40 40 </li> 41 41 42 42 <li> 43 43 <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> 46 46 </li> 47 47 48 48 <li> 49 49 <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> 52 52 </li> 53 53 … … 55 55 <label> 56 56 <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} /> 58 58 </label> 59 59 </li> … … 62 62 <label for="allow_user_registration"> 63 63 <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 --> 70 70 71 71 <!-- BEGIN history --> -
trunk/template/yoga/admin/default-layout.css
r1886 r1894 98 98 } 99 99 100 FIELDSET# generalConf SPAN.property {100 FIELDSET#mainConf SPAN.property { 101 101 width: 25%; 102 102 } 103 FIELDSET# generalConf TEXTAREA.description {103 FIELDSET#mainConf TEXTAREA.description { 104 104 width: 70%; 105 105 } -
trunk/template/yoga/admin/permalinks.tpl
r1873 r1894 8 8 <form method="post" action="{F_ACTION}"> 9 9 <fieldset><legend>{lang:Add/delete a permalink}</legend> 10 <label> Category:10 <label>{lang:Category}: 11 11 <select name="cat_id"> 12 12 <option value="0">------</option>
Note: See TracChangeset
for help on using the changeset viewer.