- French translation

- Deletion of the eCard template entry


git-svn-id: http://piwigo.org/svn/trunk@670 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas 2005-01-04 16:27:17 +00:00
commit 0d8918b7d8
7 changed files with 33 additions and 46 deletions

View file

@ -50,21 +50,21 @@ switch ( $_GET['page'] )
case 'group_list' : case 'group_list' :
$title = $lang['title_groups']; $page_valide = true; break; $title = $lang['title_groups']; $page_valide = true; break;
case 'group_perm' : case 'group_perm' :
if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1; /*if ( !is_numeric( $_GET['group_id'] ) ) $_GET['group_id'] = -1;
$query = 'SELECT name FROM '.GROUPS_TABLE; $query = 'SELECT name FROM '.GROUPS_TABLE;
$query.= ' WHERE id = '.$_GET['group_id']; $query.= ' WHERE id = '.$_GET['group_id'];
$query.= ';'; $query.= ';';
$result = pwg_query( $query ); $result = pwg_query( $query );
if ( mysql_num_rows( $result ) > 0 ) if ( mysql_num_rows( $result ) > 0 )
{ {
$row = mysql_fetch_array( $result ); $row = mysql_fetch_array( $result );*/
$title = $lang['title_group_perm'].' "'.$row['name'].'"'; $title = $lang['title_group_perm'];//.' "'.$row['name'].'"';
$page_valide = true; $page_valide = true;
} /*}
else else
{ {
$page_valide = false; $page_valide = false;
} }*/
break; break;
case 'stats': case 'stats':
$title = $lang['title_history']; $page_valide = true; break; $title = $lang['title_history']; $page_valide = true; break;

View file

@ -360,34 +360,6 @@ DELETE FROM '.USERS_TABLE.'
pwg_query($query); pwg_query($query);
} }
// delete_group deletes a group identified by its $group_id.
// It also deletes :
// - all the access linked to this group
// - all the links between this group and any user
function delete_group( $group_id )
{
// destruction of the access linked to the group
$query = 'DELETE FROM '.PREFIX_TABLE.'group_access';
$query.= ' WHERE group_id = '.$group_id;
$query.= ';';
pwg_query( $query );
// synchronize all users linked to the group
synchronize_group( $group_id );
// destruction of the users links for this group
$query = 'DELETE FROM '.PREFIX_TABLE.'user_group';
$query.= ' WHERE group_id = '.$group_id;
$query.= ';';
pwg_query( $query );
// destruction of the group
$query = 'DELETE FROM '.PREFIX_TABLE.'groups';
$query.= ' WHERE id = '.$group_id;
$query.= ';';
pwg_query( $query );
}
/** /**
* updates calculated informations about a set of categories : date_last and * updates calculated informations about a set of categories : date_last and
* nb_images. It also verifies that the representative picture is really * nb_images. It also verifies that the representative picture is really

View file

@ -292,6 +292,9 @@ $lang['update_display_info'] = 'display maximum informations (added categories a
$lang['update_simulate'] = 'only perform a simulation (no change in database will be made)'; $lang['update_simulate'] = 'only perform a simulation (no change in database will be made)';
$lang['update_infos_title'] = 'Detailed informations'; $lang['update_infos_title'] = 'Detailed informations';
$lang['update_simulation_title'] = '[Simulation]'; $lang['update_simulation_title'] = '[Simulation]';
$lang['update_wrong_dirname'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';
$lang['update_wrong_dirname_short'] = 'wrong filename';
$lang['update_wrong_dirname_info'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';
// History // History
$lang['stats_title'] = 'Last year statistics'; $lang['stats_title'] = 'Last year statistics';

View file

@ -188,6 +188,10 @@ $lang['search_descending'] = 'Descending';
$lang['search_one_clause_at_least'] = 'Empty query. No criteria has been entered.'; $lang['search_one_clause_at_least'] = 'Empty query. No criteria has been entered.';
$lang['search_result'] = 'Search results'; $lang['search_result'] = 'Search results';
// Admin messages
$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>';
$lang['sql_queries_in'] = 'SQL queries in';
$lang['Look_up_user'] = 'Seek user'; $lang['Look_up_user'] = 'Seek user';
$lang['Find_username'] = 'Find a username'; $lang['Find_username'] = 'Find a username';
$lang['No_match'] = 'No match'; $lang['No_match'] = 'No match';
@ -299,9 +303,6 @@ $lang['title_comments'] = 'Users comments';
$lang['stats_last_days'] = 'last days'; $lang['stats_last_days'] = 'last days';
$lang['hint_comments'] = 'See last users comments'; $lang['hint_comments'] = 'See last users comments';
$lang['menu_login'] = 'login'; $lang['menu_login'] = 'login';
$lang['update_wrong_dirname'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';
$lang['update_wrong_dirname_short'] = 'wrong filename';
$lang['update_wrong_dirname_info'] = 'The name of directories and files must be composed of letters, figures, "-", "_" or "."';
$lang['hello'] = 'Hello'; $lang['hello'] = 'Hello';
$lang['picture_show_metadata'] = 'Show file metadata ?'; $lang['picture_show_metadata'] = 'Show file metadata ?';
@ -318,6 +319,5 @@ $lang['random_cat'] = 'random pictures';
$lang['random_cat_hint'] = 'Displays a set of random pictures'; $lang['random_cat_hint'] = 'Displays a set of random pictures';
$lang['picture_high'] = 'Click on the picture to see it in high definition'; $lang['picture_high'] = 'Click on the picture to see it in high definition';
$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>';
$lang['sql_queries_in'] = ' SQL queries in';
?> ?>

View file

@ -269,11 +269,16 @@ $lang['tn_dirs_alone'] = 'images sans miniatures';
// Update // Update
$lang['update_missing_tn'] = 'Il manque la miniature pour'; $lang['update_missing_tn'] = 'Il manque la miniature pour';
$lang['update_missing_tn_short'] = 'Miniature manquante';
$lang['update_missing_tn_info'] = 'Une image nécessite une miniature.
Celle ci doit être présente dans le répertoire "thumbnail" du repertoire de la catégorie.
Le nom de la miniature doit commencer par le préfixe défini par la configuration de la galerie et doit être du type :';
$lang['update_disappeared_tn'] = 'La miniature n\'existe pas'; $lang['update_disappeared_tn'] = 'La miniature n\'existe pas';
$lang['update_disappeared'] = 'n\'existe pas'; $lang['update_disappeared'] = 'n\'existe pas';
$lang['update_part_deletion'] = 'Suppression des images de la base qui n\'ont pas de thumbnail ou qui n\'existent pas'; $lang['update_part_deletion'] = 'Suppression des images de la base qui n\'ont pas de thumbnail ou qui n\'existent pas';
$lang['update_part_research'] = 'Recherche des nouvelles images dans les répertoires'; $lang['update_part_research'] = 'Recherche des nouvelles images dans les répertoires';
$lang['update_research_added'] = 'ajouté'; $lang['update_research_added'] = 'ajouté';
$lang['update_research_deleted'] = 'détruit';
$lang['update_research_tn_ext'] = 'miniature en'; $lang['update_research_tn_ext'] = 'miniature en';
$lang['update_default_title'] = 'Type de mise à jour'; $lang['update_default_title'] = 'Type de mise à jour';
$lang['update_nb_new_elements'] = 'élément(s) ajouté(s)'; $lang['update_nb_new_elements'] = 'élément(s) ajouté(s)';
@ -287,6 +292,16 @@ $lang['update_sync_metadata'] = 'Synchroniser les m
$lang['update_sync_metadata_new'] = 'Seulement sur les nouveaux éléments'; $lang['update_sync_metadata_new'] = 'Seulement sur les nouveaux éléments';
$lang['update_sync_metadata_all'] = 'Sur tous les éléments'; $lang['update_sync_metadata_all'] = 'Sur tous les éléments';
$lang['update_cats_subset'] = 'Limiter la synchronisation aux catégories suivantes'; $lang['update_cats_subset'] = 'Limiter la synchronisation aux catégories suivantes';
$lang['update_nb_errors'] = 'erreurs durant la synchronisation';
$lang['update_error_list_title'] = 'Liste d\'erreurs';
$lang['update_errors_caption'] = 'Explications';
$lang['update_display_info'] = 'Afficher des informations détaillées';
$lang['update_simulate'] = 'Simuler (aucune opération ne sera sauvegardée)';
$lang['update_infos_title'] = 'Informations détaillées';
$lang['update_simulation_title'] = '[Simulation]';
$lang['update_wrong_dirname'] = 'Le nom du répertoire peut être composé de lettres et des signes "-", "_" or "."';
$lang['update_wrong_dirname_short'] = 'Nom incorrect';
$lang['update_wrong_dirname_info'] = 'Le nom du répertoire peut être composé de lettres et des signes "-", "_" or "."';
// History // History
$lang['stats_title'] = 'Historique de l\'année écoulée'; $lang['stats_title'] = 'Historique de l\'année écoulée';

View file

@ -129,7 +129,6 @@ $lang['w_day']='Jour';;
$lang['days']='Jours'; $lang['days']='Jours';
$lang['today']='Aujourd\'hui'; $lang['today']='Aujourd\'hui';
// Customization // Customization
$lang['customize_page_title'] = 'Personnalisation de votre galerie'; $lang['customize_page_title'] = 'Personnalisation de votre galerie';
$lang['customize_title'] = 'Personnalisation'; $lang['customize_title'] = 'Personnalisation';
@ -191,6 +190,11 @@ $lang['search_one_clause_at_least'] = 'Recherche vide. Aucun crit
$lang['search_result'] = 'Résultats de la recherche'; $lang['search_result'] = 'Résultats de la recherche';
$lang['invalid_search'] = 'Les mots recherchés doivent comporter plus de 3 caractères et ne doivent pas inclure de caractères de ponctuation'; $lang['invalid_search'] = 'Les mots recherchés doivent comporter plus de 3 caractères et ne doivent pas inclure de caractères de ponctuation';
// Admin messages
$lang['gallery_locked_message'] = 'Cette galerie est actuellement inaccessible pour cause de maintenance.
Revenez plus tard ou connectez vous en tant qu\'administrateur: <a href="'.PHPWG_ROOT_PATH.'identification.php">Identification</a>';
$lang['sql_queries_in'] = 'requêtes SQL en';
$lang['Look_up_user'] = 'Rechercher l\'utilisateur'; $lang['Look_up_user'] = 'Rechercher l\'utilisateur';
$lang['Find_username'] = 'Trouver un nom d\'utilisateur'; $lang['Find_username'] = 'Trouver un nom d\'utilisateur';
$lang['No_match'] = 'Aucun enregistrement trouvé.'; $lang['No_match'] = 'Aucun enregistrement trouvé.';

View file

@ -37,13 +37,6 @@
</a> </a>
</div> </div>
<!-- END download --> <!-- END download -->
<!-- BEGIN ecard -->
<div class="imgMenu" id="right">
<a href="{ecard.U_ECARD}" title="{L_DOWNLOAD}">
<img src="template/default/theme/eCard.gif" alt="{L_DOWNLOAD}" />
</a>
</div>
<!-- END ecard -->
<!-- BEGIN admin --> <!-- BEGIN admin -->
<div class="imgMenu" id="right"> <div class="imgMenu" id="right">
<a href="{U_ADMIN}" title="{L_ADMIN}"> <a href="{U_ADMIN}" title="{L_ADMIN}">