Changeset 1066
- Timestamp:
- Mar 7, 2006, 12:28:51 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_list.php
r1064 r1066 98 98 } 99 99 } 100 // save manual category ordering 100 101 else if (isset($_POST['submitOrder'])) 101 102 { 102 103 asort($_POST['catOrd'], SORT_NUMERIC); 103 104 save_categories_order(array_keys($_POST['catOrd'])); 104 } 105 106 array_push( 107 $page['infos'], 108 l10n('Categories manual order was saved') 109 ); 110 } 111 // sort categories alpha-numerically 112 else if (isset($_POST['submitOrderAlphaNum'])) 113 { 114 $query = ' 115 SELECT id, name 116 FROM '.CATEGORIES_TABLE.' 117 WHERE id_uppercat '. 118 (!isset($_GET['parent_id']) ? 'IS NULL' : '= '.$_GET['parent_id']).' 119 ;'; 120 $result = pwg_query($query); 121 while ($row = mysql_fetch_assoc($result)) 122 { 123 $categories[ $row['id'] ] = $row['name']; 124 } 125 126 asort($categories, SORT_REGULAR); 127 save_categories_order(array_keys($categories)); 128 129 array_push( 130 $page['infos'], 131 l10n('Categories ordered alphanumerically') 132 ); 133 } 134 105 135 // +-----------------------------------------------------------------------+ 106 136 // | Cache management | -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r1058 r1066 52 52 $lang['Caddie'] = 'Caddie'; 53 53 $lang['Categories authorized thanks to group associations'] = 'Categories authorized thanks to group associations'; 54 $lang['Categories manual order was saved'] = 'Categories manual order was saved'; 55 $lang['Categories ordered alphanumerically'] = 'Categories ordered alphanumerically'; 54 56 $lang['Check for upgrade failed for unknown reasons.'] = 'Check for upgrade failed for unknown reasons.'; 55 57 $lang['Check for upgrade'] = 'Check for upgrade'; … … 107 109 $lang['Operating system'] = 'Operating system'; 108 110 $lang['Options'] = 'Options'; 111 $lang['Order alphanumerically'] = 'Order alphanumerically'; 109 112 $lang['Order by'] = 'Order by'; 110 113 $lang['Other private categories'] = 'Other private categories'; … … 122 125 $lang['Random picture'] = 'Random picture'; 123 126 $lang['Rate date'] = 'Rate date'; 127 $lang['Rating by guests'] = 'Rating by guests'; 124 128 $lang['Rating'] = 'Rating'; 125 $lang['Rating by guests'] = 'Rating by guests';126 129 $lang['Recent period'] = 'Recent period'; 127 130 $lang['Registration date'] = 'Registration date'; … … 136 139 $lang['Select at least one picture'] = 'Select at least one picture'; 137 140 $lang['Select at least one user'] = 'Select at least one user'; 138 $lang['Site manager'] = 'Site manager';139 141 $lang['Show info'] = 'Show info'; 140 142 $lang['Show number of comments'] = 'Show number of comments'; 143 $lang['Site manager'] = 'Site manager'; 141 144 $lang['Status'] = 'Status'; 142 145 $lang['Storage category'] = 'Storage category'; … … 230 233 $lang['metadata_iptc'] = 'IPTC'; 231 234 $lang['name'] = 'name'; 235 $lang['nbm_%d mails were not sended.'] = '%d mails were not sended.'; 236 $lang['nbm_%d mails were sended.'] = '%d mails were sended.'; 237 $lang['nbm_Error when sending email to %s [%s].'] = 'Error when sending email to %s [%s].'; 238 $lang['nbm_Go to %s %s.'] = 'Go to %s %s.'; 239 $lang['nbm_Hello %s'] = 'Hello %s'; 240 $lang['nbm_Mail sended to %s [%s].'] = 'Mail sended to %s [%s].'; 241 $lang['nbm_New elements added'] = 'New elements added'; 242 $lang['nbm_New elements were added between %s and %s:'] = 'New elements were added between %s and %s:'; 243 $lang['nbm_New elements were added on %s:'] = 'New elements were added on %s:'; 244 $lang['nbm_No mail to send.'] = 'No mail to send.'; 245 $lang['nbm_No user to send notifications by mail.'] = 'No user to send notifications by mail.'; 246 $lang['nbm_Send mail to users'] = 'Send mail to users'; 247 $lang['nbm_To unsubscribe send a message to %s.'] = 'To unsubscribe send a message to %s.'; 248 $lang['nbm_User %s [%s] added.'] = 'User %s [%s] added.'; 249 $lang['nbm_item_notification'] = 'Notification'; 232 250 $lang['no_write_access'] = 'no write access'; 233 251 $lang['order_by'] = 'order by'; … … 336 354 $lang['update_default_title'] = 'Choose an option'; 337 355 $lang['update_display_info'] = 'display maximum informations (added categories and elements, deleted categories and elements)'; 338 $lang['update_missing_file_or_dir'] = 'File/directory read error';339 $lang['update_missing_file_or_dir_info'] = 'The file or directory cannot be accessed (either it does not exist or the access is denied)';340 356 $lang['update_err_pwg_version_differs'] = 'PhpWebGallery version differs on the remote site'; 341 357 $lang['update_err_pwg_version_differs_info'] = 'Version of create_listing_file.php on the remote site and PhpWebGallery must be the same'; … … 345 361 $lang['update_errors_caption'] = 'Errors caption'; 346 362 $lang['update_infos_title'] = 'Detailed informations'; 363 $lang['update_missing_file_or_dir'] = 'File/directory read error'; 364 $lang['update_missing_file_or_dir_info'] = 'The file or directory cannot be accessed (either it does not exist or the access is denied)'; 347 365 $lang['update_missing_tn_info'] = 'a picture filetype requires a thumbnail. The thumbnail must be present in the sub-directory "thumbnail" of the category directory. The thumbnail filename must start with the configured thumbnail prefix and the extension must be among the following list :'; 348 366 $lang['update_missing_tn_short'] = 'missing thumbnail'; … … 382 400 $lang['w_day'] = 'Day'; 383 401 $lang['waiting'] = 'Waiting'; 384 $lang['nbm_item_notification'] = 'Notification';385 $lang['nbm_User %s [%s] added.'] = 'User %s [%s] added.';386 $lang['nbm_New elements added'] = 'New elements added';387 $lang['nbm_Hello %s'] = 'Hello %s';388 $lang['nbm_New elements were added between %s and %s:'] = 'New elements were added between %s and %s:';389 $lang['nbm_New elements were added on %s:'] = 'New elements were added on %s:';390 $lang['nbm_Go to %s %s.'] = 'Go to %s %s.';391 $lang['nbm_To unsubscribe send a message to %s.'] = 'To unsubscribe send a message to %s.';392 $lang['nbm_Mail sended to %s [%s].'] = 'Mail sended to %s [%s].';393 $lang['nbm_Error when sending email to %s [%s].'] = 'Error when sending email to %s [%s].';394 $lang['nbm_%d mails were not sended.'] = '%d mails were not sended.';395 $lang['nbm_No mail to send.'] = 'No mail to send.';396 $lang['nbm_%d mails were sended.'] = '%d mails were sended.';397 $lang['nbm_No user to send notifications by mail.'] = 'No user to send notifications by mail.';398 $lang['nbm_Send mail to users'] = 'Send mail to users';399 402 ?> -
trunk/language/fr_FR.iso-8859-1/admin.lang.php
r1058 r1066 52 52 $lang['Caddie'] = 'Panier'; 53 53 $lang['Categories authorized thanks to group associations'] = 'Catégories accessibles grâce à l\'appartenance aux groupes'; 54 $lang['Categories manual order was saved'] = 'L\'ordre manuel des catégories a été sauvegardé'; 55 $lang['Categories ordered alphanumerically'] = 'Catégories ordonnées alphabético-numériquement'; 54 56 $lang['Check for upgrade failed for unknown reasons.'] = 'La vérification de la dernière version sur le serveur a échouée pour une raison inconnue.'; 55 57 $lang['Check for upgrade'] = 'Dernière version ?'; … … 107 109 $lang['Operating system'] = 'System d\'exploitation'; 108 110 $lang['Options'] = 'Options'; 111 $lang['Order alphanumerically'] = 'Ordonner alphabético-numériquement'; 109 112 $lang['Order by'] = 'Trier selon'; 110 113 $lang['Other private categories'] = 'Autres catégories privées'; … … 122 125 $lang['Random picture'] = 'Au hasard'; 123 126 $lang['Rate date'] = 'Date de notation'; 127 $lang['Rating by guests'] = 'Notation par les visiteurs'; 124 128 $lang['Rating'] = 'Notation'; 125 $lang['Rating by guests'] = 'Notation par les visiteurs';126 129 $lang['Recent period'] = 'Période récente'; 127 130 $lang['Registration date'] = 'Date d\'enregistrement'; … … 136 139 $lang['Select at least one picture'] = 'Sélectionner au moins une image'; 137 140 $lang['Select at least one user'] = 'Séléctionner au moins un utilisateur'; 138 $lang['Site manager'] = 'Gestionnaire des sites';139 141 $lang['Show info'] = 'Montrer les informations'; 140 142 $lang['Show number of comments'] = 'Montrer le nombre de commentaires'; 143 $lang['Site manager'] = 'Gestionnaire des sites'; 141 144 $lang['Status'] = 'Statut'; 142 145 $lang['Storage category'] = 'Catégorie de stockage'; … … 230 233 $lang['metadata_iptc'] = 'IPTC'; 231 234 $lang['name'] = 'nom'; 235 $lang['nbm_%d mails were not sended.'] = '%s mails n\'ont pas été envoyés.'; 236 $lang['nbm_%d mails were sended.'] = '%s mails ont été envoyés.'; 237 $lang['nbm_Error when sending email to %s [%s].'] = 'Erreur lors de l\'envoi du mail à %s [%s].'; 238 $lang['nbm_Go to %s %s.'] = 'Allez sur %s %s.'; 239 $lang['nbm_Hello %s'] = 'Bonjour %s'; 240 $lang['nbm_Mail sended to %s [%s].'] = 'Mail envoyé à %s [%s].'; 241 $lang['nbm_New elements added'] = 'Nouveaux éléments ajoutés'; 242 $lang['nbm_New elements were added between %s and %s:'] = 'Des nouveaux éléments ont été ajoutés entre le %s et le %s:'; 243 $lang['nbm_New elements were added on %s:'] = 'Des nouveaux éléments ont été ajoutés le %s:'; 244 $lang['nbm_No mail to send.'] = 'Pas de mail à envoyer.'; 245 $lang['nbm_No user to send notifications by mail.'] = 'Pas d\'utilisateur pour envoyer des notifications par mails.'; 246 $lang['nbm_Send mail to users'] = 'Envoi de mail aux utilisateurs'; 247 $lang['nbm_To unsubscribe send a message to %s.'] = 'Pour vous désinscrire, envoyer un mail à %s.'; 248 $lang['nbm_User %s [%s] added.'] = 'Utilisateur %s [%s] ajouté.'; 249 $lang['nbm_item_notification'] = 'Notification'; 232 250 $lang['no_write_access'] = 'pas d\'accès en écriture'; 233 251 $lang['order_by'] = 'trier selon'; … … 336 354 $lang['update_default_title'] = 'Choisir une option'; 337 355 $lang['update_display_info'] = 'afficher un maximum d\'informations (catégories ajoutées, éléments ajoutés, catégories et éléments supprimés)'; 338 $lang['update_missing_file_or_dir'] = 'Erreur d\'ouverture fichier/répertoire';339 $lang['update_missing_file_or_dir_info'] = 'Le fichier ou répertoire ne peut pas être accede (soit il n\'existe pas, soit l\'accés est refusé)';340 356 $lang['update_err_pwg_version_differs'] = 'La version PhpWebGallery sur le site distant est differente'; 341 357 $lang['update_err_pwg_version_differs_info'] = 'La version de create_listing_file.php sur le site distant et PhpWebGallery doit être la même'; … … 345 361 $lang['update_errors_caption'] = 'Légende des erreurs'; 346 362 $lang['update_infos_title'] = 'Informations détaillées'; 363 $lang['update_missing_file_or_dir'] = 'Erreur d\'ouverture fichier/répertoire'; 364 $lang['update_missing_file_or_dir_info'] = 'Le fichier ou répertoire ne peut pas être accede (soit il n\'existe pas, soit l\'accés est refusé)'; 347 365 $lang['update_missing_tn_info'] = 'Chaque fichier image requiert une miniature. La miniature doit être présente dans le sous-répertoire "thumbnail" du répertoire de la catégorie. Le nom du fichier de la miniature doit commencer avec le paramètre de configuration "prefix_thumbnail" et l\'extension du nom du fichier doit être parmi la liste suivante :'; 348 366 $lang['update_missing_tn_short'] = 'miniature manquante'; … … 382 400 $lang['w_day'] = 'Jour'; 383 401 $lang['waiting'] = 'En attente'; 384 $lang['nbm_item_notification'] = 'Notification';385 $lang['nbm_User %s [%s] added.'] = 'Utilisateur %s [%s] ajouté.';386 $lang['nbm_New elements added'] = 'Nouveaux éléments ajoutés';387 $lang['nbm_Hello %s'] = 'Bonjour %s';388 $lang['nbm_New elements were added between %s and %s:'] = 'Des nouveaux éléments ont été ajoutés entre le %s et le %s:';389 $lang['nbm_New elements were added on %s:'] = 'Des nouveaux éléments ont été ajoutés le %s:';390 $lang['nbm_Go to %s %s.'] = 'Allez sur %s %s.';391 $lang['nbm_To unsubscribe send a message to %s.'] = 'Pour vous désinscrire, envoyer un mail à %s.';392 $lang['nbm_Mail sended to %s [%s].'] = 'Mail envoyé à %s [%s].';393 $lang['nbm_Error when sending email to %s [%s].'] = 'Erreur lors de l\'envoi du mail à %s [%s].';394 $lang['nbm_%d mails were not sended.'] = '%s mails n\'ont pas été envoyés.';395 $lang['nbm_No mail to send.'] = 'Pas de mail à envoyer.';396 $lang['nbm_%d mails were sended.'] = '%s mails ont été envoyés.';397 $lang['nbm_No user to send notifications by mail.'] = 'Pas d\'utilisateur pour envoyer des notifications par mails.';398 $lang['nbm_Send mail to users'] = 'Envoi de mail aux utilisateurs';399 402 ?> -
trunk/template/yoga/admin/cat_list.tpl
r1064 r1066 4 4 <h3>{CATEGORIES_NAV}</h3> 5 5 6 <form id="categoryOrdering" action=" " method="post">6 <form id="categoryOrdering" action="{F_ACTION}" method="post"> 7 7 8 8 <ul class="categoryUl"> … … 39 39 40 40 </ul> 41 <p><input name="submitOrder" type="submit" value="{lang:Save order}" /></p> 41 <p> 42 <input name="submitOrder" type="submit" value="{lang:Save order}" /> 43 <input name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" /> 44 </p> 42 45 43 46 </form>
Note: See TracChangeset
for help on using the changeset viewer.