Changeset 670


Ignore:
Timestamp:
Jan 4, 2005, 5:27:17 PM (20 years ago)
Author:
gweltas
Message:
  • French translation
  • Deletion of the eCard template entry
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r657 r670  
    5151   $title = $lang['title_groups'];        $page_valide = true; break;
    5252 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;
    5454   $query = 'SELECT name FROM '.GROUPS_TABLE;
    5555   $query.= ' WHERE id = '.$_GET['group_id'];
     
    5858   if ( mysql_num_rows( $result ) > 0 )
    5959   {
    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'].'"';
    6262     $page_valide = true;
    63    }
     63   /*}
    6464   else
    6565   {
    6666     $page_valide = false;
    67    }
     67   }*/
    6868   break;
    6969 case 'stats':
  • trunk/admin/include/functions.php

    r657 r670  
    359359;';
    360360  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 group
    366 //     - all the links between this group and any user
    367 function delete_group( $group_id )
    368 {
    369   // destruction of the access linked to the group
    370   $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 group
    376   synchronize_group( $group_id );
    377 
    378   // destruction of the users links for this group
    379   $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 group
    385   $query = 'DELETE FROM '.PREFIX_TABLE.'groups';
    386   $query.= ' WHERE id = '.$group_id;
    387   $query.= ';';
    388   pwg_query( $query );
    389361}
    390362
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r660 r670  
    293293$lang['update_infos_title'] = 'Detailed informations';
    294294$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 "."';
    295298
    296299// History
  • trunk/language/en_UK.iso-8859-1/common.lang.php

    r659 r670  
    189189$lang['search_result'] = 'Search results';
    190190
     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
    191195$lang['Look_up_user'] = 'Seek user';
    192196$lang['Find_username'] = 'Find a username';
     
    300304$lang['hint_comments'] = 'See last users comments';
    301305$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 "."';
    305306$lang['hello'] = 'Hello';
    306307
     
    319320$lang['picture_high'] = 'Click on the picture to see it in high definition';
    320321
    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
    323323?>
  • trunk/language/fr_FR.iso-8859-1/admin.lang.php

    r657 r670  
    270270// Update
    271271$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.
     274Celle ci doit être présente dans le répertoire "thumbnail" du repertoire de la catégorie.
     275Le nom de la miniature doit commencer par le préfixe défini par la configuration de la galerie et doit être du type :';
    272276$lang['update_disappeared_tn'] = 'La miniature n\'existe pas';
    273277$lang['update_disappeared'] = 'n\'existe pas';
     
    275279$lang['update_part_research'] = 'Recherche des nouvelles images dans les répertoires';
    276280$lang['update_research_added'] = 'ajouté';
     281$lang['update_research_deleted'] = 'détruit';
    277282$lang['update_research_tn_ext'] = 'miniature en';
    278283$lang['update_default_title'] = 'Type de mise à jour';
     
    288293$lang['update_sync_metadata_all'] = 'Sur tous les éléments';
    289294$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 "."';
    290305
    291306// History
  • trunk/language/fr_FR.iso-8859-1/common.lang.php

    r649 r670  
    130130$lang['today']='Aujourd\'hui';
    131131
    132 
    133132// Customization
    134133$lang['customize_page_title'] = 'Personnalisation de votre galerie';
     
    192191$lang['invalid_search'] = 'Les mots recherchés doivent comporter plus de 3 caractères et ne doivent pas inclure de caractères de ponctuation';
    193192
     193// Admin messages
     194$lang['gallery_locked_message'] = 'Cette galerie est actuellement inaccessible pour cause de maintenance.
     195Revenez 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
    194198$lang['Look_up_user'] = 'Rechercher l\'utilisateur';
    195199$lang['Find_username'] = 'Trouver un nom d\'utilisateur';
  • trunk/template/default/picture.tpl

    r642 r670  
    3838</div>
    3939<!-- 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 -->
    4740<!-- BEGIN admin -->
    4841<div class="imgMenu" id="right">
Note: See TracChangeset for help on using the changeset viewer.