Changeset 670
- Timestamp:
- Jan 4, 2005, 5:27:17 PM (20 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r657 r670 51 51 $title = $lang['title_groups']; $page_valide = true; break; 52 52 case 'group_perm' : 53 if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1;53 /*if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1; 54 54 $query = 'SELECT name FROM '.GROUPS_TABLE; 55 55 $query.= ' WHERE id = '.$_GET['group_id']; … … 58 58 if ( mysql_num_rows( $result ) > 0 ) 59 59 { 60 $row = mysql_fetch_array( $result ); 61 $title = $lang['title_group_perm'] .' "'.$row['name'].'"';60 $row = mysql_fetch_array( $result );*/ 61 $title = $lang['title_group_perm'];//.' "'.$row['name'].'"'; 62 62 $page_valide = true; 63 }63 /*} 64 64 else 65 65 { 66 66 $page_valide = false; 67 } 67 }*/ 68 68 break; 69 69 case 'stats': -
trunk/admin/include/functions.php
r657 r670 359 359 ;'; 360 360 pwg_query($query); 361 }362 363 // delete_group deletes a group identified by its $group_id.364 // It also deletes :365 // - all the access linked to this group366 // - all the links between this group and any user367 function delete_group( $group_id )368 {369 // destruction of the access linked to the group370 $query = 'DELETE FROM '.PREFIX_TABLE.'group_access';371 $query.= ' WHERE group_id = '.$group_id;372 $query.= ';';373 pwg_query( $query );374 375 // synchronize all users linked to the group376 synchronize_group( $group_id );377 378 // destruction of the users links for this group379 $query = 'DELETE FROM '.PREFIX_TABLE.'user_group';380 $query.= ' WHERE group_id = '.$group_id;381 $query.= ';';382 pwg_query( $query );383 384 // destruction of the group385 $query = 'DELETE FROM '.PREFIX_TABLE.'groups';386 $query.= ' WHERE id = '.$group_id;387 $query.= ';';388 pwg_query( $query );389 361 } 390 362 -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r660 r670 293 293 $lang['update_infos_title'] = 'Detailed informations'; 294 294 $lang['update_simulation_title'] = '[Simulation]'; 295 $lang['update_wrong_dirname'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."'; 296 $lang['update_wrong_dirname_short'] = 'wrong filename'; 297 $lang['update_wrong_dirname_info'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."'; 295 298 296 299 // History -
trunk/language/en_UK.iso-8859-1/common.lang.php
r659 r670 189 189 $lang['search_result'] = 'Search results'; 190 190 191 // Admin messages 192 $lang['gallery_locked_message'] = 'The gallery is locked for maintenance. Please, come back later or loggin as an administrator to enter the gallery : <a href="'.PHPWG_ROOT_PATH.'identification.php">Identification</a>'; 193 $lang['sql_queries_in'] = 'SQL queries in'; 194 191 195 $lang['Look_up_user'] = 'Seek user'; 192 196 $lang['Find_username'] = 'Find a username'; … … 300 304 $lang['hint_comments'] = 'See last users comments'; 301 305 $lang['menu_login'] = 'login'; 302 $lang['update_wrong_dirname'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';303 $lang['update_wrong_dirname_short'] = 'wrong filename';304 $lang['update_wrong_dirname_info'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';305 306 $lang['hello'] = 'Hello'; 306 307 … … 319 320 $lang['picture_high'] = 'Click on the picture to see it in high definition'; 320 321 321 $lang['gallery_locked_message'] = 'The gallery is locked for maintenance. Please, come back later or loggin as an administrator to enter the gallery : <a href="'.PHPWG_ROOT_PATH.'identification.php">Identification</a>'; 322 $lang['sql_queries_in'] = ' SQL queries in'; 322 323 323 ?> -
trunk/language/fr_FR.iso-8859-1/admin.lang.php
r657 r670 270 270 // Update 271 271 $lang['update_missing_tn'] = 'Il manque la miniature pour'; 272 $lang['update_missing_tn_short'] = 'Miniature manquante'; 273 $lang['update_missing_tn_info'] = 'Une image nécessite une miniature. 274 Celle ci doit être présente dans le répertoire "thumbnail" du repertoire de la catégorie. 275 Le nom de la miniature doit commencer par le préfixe défini par la configuration de la galerie et doit être du type :'; 272 276 $lang['update_disappeared_tn'] = 'La miniature n\'existe pas'; 273 277 $lang['update_disappeared'] = 'n\'existe pas'; … … 275 279 $lang['update_part_research'] = 'Recherche des nouvelles images dans les répertoires'; 276 280 $lang['update_research_added'] = 'ajouté'; 281 $lang['update_research_deleted'] = 'détruit'; 277 282 $lang['update_research_tn_ext'] = 'miniature en'; 278 283 $lang['update_default_title'] = 'Type de mise à jour'; … … 288 293 $lang['update_sync_metadata_all'] = 'Sur tous les éléments'; 289 294 $lang['update_cats_subset'] = 'Limiter la synchronisation aux catégories suivantes'; 295 $lang['update_nb_errors'] = 'erreurs durant la synchronisation'; 296 $lang['update_error_list_title'] = 'Liste d\'erreurs'; 297 $lang['update_errors_caption'] = 'Explications'; 298 $lang['update_display_info'] = 'Afficher des informations détaillées'; 299 $lang['update_simulate'] = 'Simuler (aucune opération ne sera sauvegardée)'; 300 $lang['update_infos_title'] = 'Informations détaillées'; 301 $lang['update_simulation_title'] = '[Simulation]'; 302 $lang['update_wrong_dirname'] = 'Le nom du répertoire peut être composé de lettres et des signes "-", "_" or "."'; 303 $lang['update_wrong_dirname_short'] = 'Nom incorrect'; 304 $lang['update_wrong_dirname_info'] = 'Le nom du répertoire peut être composé de lettres et des signes "-", "_" or "."'; 290 305 291 306 // History -
trunk/language/fr_FR.iso-8859-1/common.lang.php
r649 r670 130 130 $lang['today']='Aujourd\'hui'; 131 131 132 133 132 // Customization 134 133 $lang['customize_page_title'] = 'Personnalisation de votre galerie'; … … 192 191 $lang['invalid_search'] = 'Les mots recherchés doivent comporter plus de 3 caractères et ne doivent pas inclure de caractères de ponctuation'; 193 192 193 // Admin messages 194 $lang['gallery_locked_message'] = 'Cette galerie est actuellement inaccessible pour cause de maintenance. 195 Revenez plus tard ou connectez vous en tant qu\'administrateur: <a href="'.PHPWG_ROOT_PATH.'identification.php">Identification</a>'; 196 $lang['sql_queries_in'] = 'requêtes SQL en'; 197 194 198 $lang['Look_up_user'] = 'Rechercher l\'utilisateur'; 195 199 $lang['Find_username'] = 'Trouver un nom d\'utilisateur'; -
trunk/template/default/picture.tpl
r642 r670 38 38 </div> 39 39 <!-- END download --> 40 <!-- BEGIN ecard -->41 <div class="imgMenu" id="right">42 <a href="{ecard.U_ECARD}" title="{L_DOWNLOAD}">43 <img src="template/default/theme/eCard.gif" alt="{L_DOWNLOAD}" />44 </a>45 </div>46 <!-- END ecard -->47 40 <!-- BEGIN admin --> 48 41 <div class="imgMenu" id="right">
Note: See TracChangeset
for help on using the changeset viewer.