Changeset 671


Ignore:
Timestamp:
Jan 6, 2005, 5:33:04 PM (19 years ago)
Author:
gweltas
Message:
  • Group permission delivery
  • Reorganisation of common.lang.php
Location:
trunk
Files:
1 added
1 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/group_list.php

    r631 r671  
    136136//----------------------------------------------------- template initialization
    137137$template->set_filenames( array('groups'=>'admin/group_list.tpl') );
    138 $tpl = array( 'group_add','add','listuser_permission','delete',
    139               'group_confirm','yes','no','group_list_title' );
    140 
    141138$template->assign_vars(array(
    142139  'S_GROUP_SELECT'=>$groups_display,
    143140       
    144141  'L_GROUP_SELECT'=>$lang['group_list_title'],
    145         'L_GROUP_CONFIRM'=>$lang['group_confirm_delete'],
    146         'L_LOOK_UP'=>$lang['edit'],
    147         'L_GROUP_DELETE'=>$lang['delete'],
     142  'L_GROUP_CONFIRM'=>$lang['group_confirm_delete'],
     143  'L_LOOK_UP'=>$lang['edit'],
     144  'L_GROUP_DELETE'=>$lang['delete'],
    148145  'L_CREATE_NEW_GROUP'=>$lang['group_add'],
    149146  'L_GROUP_EDIT'=>$lang['group_edit'],
    150         'L_USER_NAME'=>$lang['login'],
    151         'L_USER_EMAIL'=>$lang['mail_address'],
    152         'L_USER_SELECT'=>$lang['Select'],
    153         'L_DENY_SELECTED'=>$lang['group_deny_user'],
    154         'L_ADD_MEMBER'=>$lang['group_add_user'],
     147  'L_USER_NAME'=>$lang['login'],
     148  'L_USER_EMAIL'=>$lang['mail_address'],
     149  'L_USER_SELECT'=>$lang['Select'],
     150  'L_DENY_SELECTED'=>$lang['group_deny_user'],
     151  'L_ADD_MEMBER'=>$lang['group_add_user'],
    155152  'L_FIND_USERNAME'=>$lang['Find_username'],
    156153       
    157         'S_GROUP_ACTION'=>add_session_id($action),
    158         'U_SEARCH_USER' => add_session_id(PHPWG_ROOT_PATH.'admin/search.php')
    159         ));
     154  'S_GROUP_ACTION'=>add_session_id($action),
     155  'U_SEARCH_USER' => add_session_id(PHPWG_ROOT_PATH.'admin/search.php')
     156  ));
    160157
    161158if ($groups_nb)
     
    168165{
    169166  // Retrieving the group name
    170         $query = 'SELECT id, name FROM '.GROUPS_TABLE;
     167  $query = 'SELECT id, name FROM '.GROUPS_TABLE;
    171168  $query.= " WHERE id = '".$_POST['group_id']."'";
    172169  $query.= ';';
     
    174171  $template->assign_block_vars('edit_group',array(
    175172          'GROUP_NAME'=>$result['name'],
    176                 'GROUP_ID'=>$result['id']
     173          'GROUP_ID'=>$result['id']
    177174                ));
    178175               
    179176  // Retrieving all the users
    180         $query = 'SELECT id, username, mail_address';
    181         $query.= ' FROM ('.USERS_TABLE.' as u';
    182         $query.= ' LEFT JOIN '.USER_GROUP_TABLE.' as ug ON ug.user_id=u.id)';
     177  $query = 'SELECT id, username, mail_address';
     178  $query.= ' FROM ('.USERS_TABLE.' as u';
     179  $query.= ' LEFT JOIN '.USER_GROUP_TABLE.' as ug ON ug.user_id=u.id)';
    183180  $query.= " WHERE ug.group_id = '".$_POST['group_id']."';";
    184         $result = pwg_query( $query );
    185         $i=0;
    186         while ( $row = mysql_fetch_array( $result ) )
    187         {
    188           $class = ($i % 2)? 'row1':'row2'; $i++;
    189           $template->assign_block_vars('edit_group.user',array(
    190                   'ID'=>$row['id'],
    191                         'NAME'=>$row['username'],
    192                         'EMAIL'=>$row['mail_address'],
    193                         'T_CLASS'=>$class
    194                 ));
    195         }
     181  $result = pwg_query( $query );
     182  $i=0;
     183  while ( $row = mysql_fetch_array( $result ) )
     184  {
     185    $class = ($i % 2)? 'row1':'row2'; $i++;
     186        $template->assign_block_vars('edit_group.user',array(
     187                'ID'=>$row['id'],
     188                'NAME'=>$row['username'],
     189                'EMAIL'=>$row['mail_address'],
     190                'T_CLASS'=>$class
     191        ));
     192  }
    196193}
    197194
  • trunk/admin/group_perm.php

    r642 r671  
    2525// | USA.                                                                  |
    2626// +-----------------------------------------------------------------------+
    27 include_once( './admin/include/isadmin.inc.php' );
     27if( !defined("PHPWG_ROOT_PATH") )
     28{
     29        die ("Hacking attempt!");
     30}
     31
     32include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' );
     33//--------------------------------------------------------------------- updates
     34if (isset($_POST['falsify'])
     35         and isset($_POST['cat_true'])
     36         and count($_POST['cat_true']) > 0)
     37{
     38  // if you forbid access to a category, all sub-categories become
     39  // automatically forbidden
     40  $subcats = get_subcat_ids($_POST['cat_true']);
     41  $query = 'DELETE FROM '.GROUP_ACCESS_TABLE.'
     42    WHERE group_id = '.$_POST['group_id'].'
     43    AND cat_id IN ('.implode(',', $subcats).');';
     44  pwg_query($query);
     45}
     46else if (isset($_POST['trueify'])
     47         and isset($_POST['cat_false'])
     48         and count($_POST['cat_false']) > 0)
     49{
     50  $uppercats = get_uppercat_ids($_POST['cat_false']);
     51  $private_uppercats = array();
     52
     53  $query = 'SELECT id
     54    FROM '.CATEGORIES_TABLE.'
     55    WHERE id IN ('.implode(',', $uppercats).')
     56    AND status = \'private\';';
     57  $result = pwg_query($query);
     58  while ($row = mysql_fetch_array($result))
     59  {
     60    array_push($private_uppercats, $row['id']);
     61  }
     62
     63  // retrying to authorize a category which is already authorized may cause
     64  // an error (in SQL statement), so we need to know which categories are
     65  // accesible
     66  $authorized_ids = array();
     67   
     68  $query = 'SELECT cat_id
     69  FROM '.GROUP_ACCESS_TABLE.'
     70  WHERE group_id = '.$_POST['group_id'].';';
     71  $result = pwg_query($query);
     72 
     73  while ($row = mysql_fetch_array($result))
     74  {
     75    array_push($authorized_ids, $row['cat_id']);
     76  }
     77 
     78  $inserts = array();
     79  $to_autorize_ids = array_diff($private_uppercats, $authorized_ids);
     80  foreach ($to_autorize_ids as $to_autorize_id)
     81  {
     82    array_push($inserts, array('group_id' => $_POST['group_id'],
     83                               'cat_id' => $to_autorize_id));
     84  }
     85
     86  mass_inserts(GROUP_ACCESS_TABLE, array('group_id','cat_id'), $inserts);
     87}
     88
    2889//----------------------------------------------------- template initialization
    29 $sub = $vtp->Open( './template/'.$user['template'].'/admin/group_perm.vtp' );
    30 $error = array();
    31 $tpl = array( 'permuser_authorized','permuser_forbidden','submit',
    32               'permuser_parent_forbidden','permuser_info_message',
    33               'adduser_info_back','permuser_only_private' );
    34 templatize_array( $tpl, 'lang', $sub );
    35 $vtp->setGlobalVar( $sub, 'user_template', $user['template'] );
    36 //--------------------------------------------------------------------- updates
    37 if ( isset( $_POST['submit'] ) )
    38 {
    39   // cleaning the user_access table for this group
    40   $query = 'DELETE FROM '.PREFIX_TABLE.'group_access';
    41   $query.= ' WHERE group_id = '.$_GET['group_id'];
    42   $query.= ';';
    43   pwg_query( $query );
    44   // selecting all private categories
    45   $query = 'SELECT id';
    46   $query.= ' FROM '.PREFIX_TABLE.'categories';
    47   $query.= " WHERE status = 'private'";
    48   $query.= ';';
    49   $result = pwg_query( $query );
    50   while ( $row = mysql_fetch_array( $result ) )
    51   {
    52     $radioname = 'access-'.$row['id'];
    53     if ( $_POST[$radioname] == 0 )
    54     {
    55       $query = 'INSERT INTO '.PREFIX_TABLE.'group_access';
    56       $query.= ' (group_id,cat_id) VALUES';
    57       $query.= ' ('.$_GET['group_id'].','.$row['id'].')';
    58       $query.= ';';
    59       pwg_query ( $query );
    60     }
    61   }
    62   // checking users favorites
    63   $query = 'SELECT id';
    64   $query.= ' FROM '.USERS_TABLE;
    65   $query.= ';';
    66   $result = pwg_query( $query );
    67   while ( $row = mysql_fetch_array( $result ) )
    68   {
    69     check_favorites( $row['id'] );
    70   }
    71   // synchronization of calculated data
    72   synchronize_group( $_GET['group_id'] );
    73   // confirmation display
    74   $vtp->addSession( $sub, 'confirmation' );
    75   $url = './admin.php?page=group_list';
    76   $vtp->setVar( $sub, 'confirmation.back_url', add_session_id( $url ) );
    77   $vtp->closeSession( $sub, 'confirmation' );
    78 }
    79 //---------------------------------------------------------------- form display
    80 $restrictions = get_group_restrictions( $_GET['group_id'] );
    81 $action = './admin.php?page=group_perm&group_id='.$_GET['group_id'];
    82 $vtp->setVar( $sub, 'action', add_session_id( $action ) );
    83 // only private categories are listed
    84 $query = 'SELECT id';
    85 $query.= ' FROM '.PREFIX_TABLE.'categories';
    86 $query.= " WHERE status = 'private'";
    87 $query.= ';';
     90$query = 'SELECT id,name FROM '.GROUPS_TABLE;
     91$query.= ' ORDER BY id ASC;';
    8892$result = pwg_query( $query );
     93$groups_display = '<select name="group_id">';
     94$groups_nb=0;
    8995while ( $row = mysql_fetch_array( $result ) )
    9096{
    91   $vtp->addSession( $sub, 'category' );
    92   $vtp->setVar( $sub, 'category.id', $row['id'] );
    93   $url = './admin.php?page=cat_perm&amp;cat_id='.$row['id'];
    94   $vtp->setVar( $sub, 'category.cat_perm_link', add_session_id( $url ) );
    95   // Is the group allowed to access this category
    96   $is_group_allowed = is_group_allowed( $row['id'], $restrictions );
    97   if ( $is_group_allowed == 0 )
     97  $groups_nb++;
     98  $selected = '';
     99  if (isset($_POST['group_id']) && $_POST['group_id']==$row['id'])
     100                $selected = 'selected';
     101  $groups_display .= '<option value="' . $row['id'] . '" '.$selected.'>' . $row['name']  . '</option>';
     102}
     103$groups_display .= '</select>';
     104
     105$action = PHPWG_ROOT_PATH.'admin.php?page=group_perm';
     106$template->set_filenames( array('groups'=>'admin/group_perm.tpl') );
     107$template->assign_vars(array(
     108  'S_GROUP_SELECT'=>$groups_display,
     109  'L_GROUP_SELECT'=>$lang['group_list_title'],
     110  'L_LOOK_UP'=>$lang['edit'],
     111  'S_GROUP_ACTION'=>add_session_id($action)
     112  ));
     113 
     114if ($groups_nb)
     115{
     116  $template->assign_block_vars('select_box',array());
     117}
     118
     119if ( isset( $_POST['edit']) || isset($_POST['falsify']) || isset($_POST['trueify']))
     120{
     121  $template->set_filenames(array('groups_auth'=>'admin/cat_options.tpl'));
     122  $template->assign_vars(array(
     123      'L_RESET'=>$lang['reset'],
     124      'L_CAT_OPTIONS_TRUE'=>$lang['authorized'],
     125      'L_CAT_OPTIONS_FALSE'=>$lang['forbidden'],
     126      'L_CAT_OPTIONS_INFO'=>$lang['permuser_info'],
     127     
     128      'HIDDEN_NAME'=> 'group_id',
     129      'HIDDEN_VALUE'=>$_POST['group_id'],
     130      'F_ACTION' => add_session_id(PHPWG_ROOT_PATH.'admin.php?page=group_perm'),
     131  ));
     132 
     133  // only private categories are listed
     134  $query_true = '
     135SELECT id,name,uppercats,global_rank
     136  FROM '.CATEGORIES_TABLE.' INNER JOIN '.GROUP_ACCESS_TABLE.' ON cat_id = id
     137  WHERE status = \'private\'
     138    AND group_id = '.$_POST['group_id'].'
     139;';
     140  display_select_cat_wrapper($query_true,array(),'category_option_true');
     141 
     142  $result = pwg_query($query_true);
     143  $authorized_ids = array();
     144  while ($row = mysql_fetch_array($result))
    98145  {
    99     $vtp->setVar( $sub, 'category.color', 'green' );
     146    array_push($authorized_ids, $row['id']);
    100147  }
    101   else
     148 
     149  $query_false = '
     150SELECT id,name,uppercats,global_rank
     151  FROM '.CATEGORIES_TABLE.'
     152  WHERE status = \'private\'';
     153  if (count($authorized_ids) > 0)
    102154  {
    103     $vtp->setVar( $sub, 'category.color', 'red' );
     155    $query_false.= '
     156    AND id NOT IN ('.implode(',', $authorized_ids).')';
    104157  }
    105   // category name
    106   $cat_infos = get_cat_info( $row['id'] );
    107   $name = get_cat_display_name($cat_infos['name']);
    108   $vtp->setVar( $sub, 'category.name', $name );
    109   // any subcat forbidden for this group ?
    110   if ( $is_group_allowed == 2 )
    111   {
    112     $vtp->addSession( $sub, 'parent_forbidden' );
    113     $vtp->closeSession( $sub, 'parent_forbidden' );
    114   }
    115   // forbidden or authorized access ?
    116   if ( $is_group_allowed == 0 or $is_group_allowed == 2 )
    117   {
    118     $vtp->setVar( $sub, 'category.authorized_checked', ' checked="checked"' );
    119   }
    120   else
    121   {
    122     $vtp->setVar( $sub, 'category.forbidden_checked', ' checked="checked"' );
    123   }
    124   $vtp->closeSession( $sub, 'category' );
     158  $query_false.= '
     159;';
     160  display_select_cat_wrapper($query_false,array(),'category_option_false');
     161 
     162  $template->assign_var_from_handle('ADMIN_CONTENT_2', 'groups_auth');
    125163}
    126164//----------------------------------------------------------- sending html code
    127 $vtp->Parse( $handle , 'sub', $sub );
     165$template->assign_var_from_handle('ADMIN_CONTENT', 'groups');
     166
    128167?>
  • trunk/admin/include/isadmin.inc.php

    r650 r671  
    3131{
    3232  echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
    33   echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['ident_title'].'</a></div>';
     33  echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['identification'].'</a></div>';
    3434  exit();
    3535}
  • trunk/category.php

    r663 r671  
    137137  'L_UPLOAD' => $lang['upload_picture'],
    138138  'L_COMMENT' => $lang['comments'],
    139   'L_IDENTIFY' => $lang['ident_title'],
     139  'L_IDENTIFY' => $lang['identification'],
    140140  'L_SUBMIT' => $lang['menu_login'],
    141141  'L_USERNAME' => $lang['login'],
  • trunk/identification.php

    r651 r671  
    6262// Start output of page
    6363//
    64 $title = $lang['ident_page_title'];
     64$title = $lang['identification'];
    6565include(PHPWG_ROOT_PATH.'include/page_header.php');
    6666
     
    7171    'MAIL_ADMIN' => $conf['mail_webmaster'],
    7272   
    73     'L_TITLE' => $lang['ident_title'],
     73    'L_TITLE' => $lang['identification'],
    7474    'L_USERNAME' => $lang['login'],
    7575    'L_PASSWORD' => $lang['password'],
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r670 r671  
    133133$lang['title_cat_options'] = 'Categories options';
    134134$lang['title_groups'] = 'Groups management';
     135$lang['title_cat_perm'] = 'Modify permissions for category';
    135136
    136137//Error messages
     
    215216
    216217// Image informations
     218$lang['title_picmod'] = 'Modify informations about a picture';
    217219$lang['infoimage_general'] = 'General options for the category';
    218220$lang['infoimage_useforall'] = 'use for all pictures ?';
     
    229231$lang['represents'] = 'represents';
    230232$lang['doesnt_represent'] = 'doesn\'t represent';
    231 $lang['waiting_update'] = 'Validated pictures will be displayed only once pictures database updated';
    232233$lang['cat_unknown_id'] = 'This category is unknown in the database';
     234$lang['dissociate'] = 'dissociate';
    233235
    234236// Thumbnails
     
    262264$lang['tn_dirs_title'] = 'Directories list';
    263265$lang['tn_dirs_alone'] = 'pictures without thumbnail';
     266
     267// Waiting files
     268$lang['waiting_update'] = 'Validated pictures will be displayed only once pictures database updated';
    264269
    265270// Update
     
    327332$lang['group_deny_user'] = 'Deny selected';
    328333$lang['group_add_user']= 'Add user';
    329 
    330 
    331 $lang['title_cat_perm'] = 'Modify permissions for category';
    332334$lang['title_group_perm'] = 'Modify permissions for group';
    333 $lang['title_picmod'] = 'Modify informations about a picture';
    334335?>
  • trunk/language/en_UK.iso-8859-1/common.lang.php

    r670 r671  
    6767$lang['delete'] = 'Delete';
    6868$lang['reset'] = 'Reset';
     69$lang['Close'] = 'Close the window';
     70$lang['Select'] = 'Select';
     71
     72// Error management
     73$lang['mandatory'] = 'obligatory';
     74$lang['err_date'] = 'wrong date';
    6975
    7076// Navigation
    7177$lang['home'] = 'Home';
     78$lang['title_menu'] = 'Menu';
    7279$lang['home_hint'] = 'Back to the home page';
    7380$lang['special_categories'] = 'Specials';
     
    7885$lang['best_rated_cat'] = 'best rated';
    7986$lang['best_rated_cat_hint'] = 'displays best rated items';
     87$lang['recent_image'] = 'Image within the';
    8088$lang['recent_pics_cat'] = 'Last pictures';
    8189$lang['recent_pics_cat_hint'] = 'Displays most recent pictures';
     
    9199$lang['first_page'] = 'First';
    92100$lang['last_page'] = 'Last';
     101$lang['hint_category'] = 'shows images at the root of this categry';
     102$lang['hint_customize'] = 'customize the appareance of the gallery';
     103$lang['hint_search'] = 'search';
     104$lang['upload_picture'] = 'Upload a picture';
     105$lang['favorites'] = 'Favorites';
     106$lang['random_cat'] = 'random pictures';
     107$lang['random_cat_hint'] = 'Displays a set of random pictures';
    93108
    94109// Identification
     
    100115$lang['identification'] = 'Identification';
    101116$lang['remember_me'] = 'Auto login';
     117$lang['only_members'] = 'Only members can access this page';
     118$lang['invalid_pwd'] = 'Invalid password!';
     119$lang['access_forbiden'] = 'You are not authorized to access this page';
     120$lang['ident_register'] = 'Register';
     121$lang['ident_forgotten_password'] = 'Forget your password ?';
     122$lang['ident_guest_visit'] = 'Go through the gallery as a visitor';
     123
     124// Registration
     125$lang['register_page_title'] = 'Registration';
     126$lang['register_title'] = 'Registration';
     127$lang['reg_err_login1'] = 'Please, enter a login';
     128$lang['reg_err_login2'] = 'login mustn\'t end with a space character';
     129$lang['reg_err_login3'] = 'login mustn\'t start with a space character';
     130$lang['reg_err_login4'] = 'login mustn\'t contain characters " and \'';
     131$lang['reg_err_login5'] = 'this login is already used';
     132$lang['reg_err_pass'] = 'please enter your password again';
     133$lang['reg_confirm'] = 'Confirm password';
     134$lang['reg_err_mail_address'] = 'mail address must be like xxx@yyy.eee (example : jack@altern.org)';
    102135
    103136//Calendar
     
    150183$lang['periods_error'] = 'Recent period must be a positive integer value';
    151184
    152 // Registration
    153 $lang['register_page_title'] = 'Registration';
    154 $lang['register_title'] = 'Registration';
    155 $lang['reg_err_login1'] = 'Please, enter a login';
    156 $lang['reg_err_login2'] = 'login mustn\'t end with a space character';
    157 $lang['reg_err_login3'] = 'login mustn\'t start with a space character';
    158 $lang['reg_err_login4'] = 'login mustn\'t contain characters " and \'';
    159 $lang['reg_err_login5'] = 'this login is already used';
    160 $lang['reg_err_pass'] = 'please enter your password again';
    161 $lang['reg_confirm'] = 'Confirm password';
    162 $lang['reg_err_mail_address'] = 'mail address must be like xxx@yyy.eee (example : jack@altern.org)';
    163 
    164185// search
    165186$lang['search_title'] = 'Search';
     
    188209$lang['search_one_clause_at_least'] = 'Empty query. No criteria has been entered.';
    189210$lang['search_result'] = 'Search results';
    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 
    195211$lang['Look_up_user'] = 'Seek user';
    196212$lang['Find_username'] = 'Find a username';
    197213$lang['No_match'] = 'No match';
    198214$lang['Select_username'] = 'Select a username';
    199 $lang['Close'] = 'Close the window';
    200 $lang['Select'] = 'Select';
    201 
    202 $lang['only_members'] = 'Only members can access this page';
    203 $lang['invalid_pwd'] = 'Invalid password!';
    204 $lang['access_forbiden'] = 'You are not authorized to access this page';
    205 $lang['diapo_default_page_title'] = 'No category selected';
    206 $lang['hint_category'] = 'shows images at the root of this categry';
    207 $lang['total_images'] = 'total';
    208 $lang['title_menu'] = 'Menu';
    209 $lang['change_login'] = 'change login';
    210 $lang['hint_login'] = 'identification enables site\'s appareance customization';
    211 $lang['hint_customize'] = 'customize the appareance of the gallery';
    212 $lang['hint_search'] = 'search';
    213 
    214 
    215 $lang['recent_image'] = 'Image within the';
    216 $lang['days'] = 'days';
    217 
    218 $lang['title_send_mail'] = 'A comment on your site';
     215
     216// Category
    219217$lang['sub-cat'] = 'subcategories';
    220218$lang['images_available'] = 'images in this category';
    221219$lang['total'] = 'images';
    222 $lang['upload_picture'] = 'Upload a picture';
    223 $lang['generation_time'] = 'Page generated in';
    224 $lang['favorites'] = 'Favorites';
     220
     221// About
    225222$lang['about_page_title'] = 'About PhpWebGallery';
    226223$lang['about_title'] = 'About...';
     
    231228  <li>If you have any suggestions or comments, please visit <a href="http://www.phpwebgallery.net" style="text-decoration:underline">PhpWebGallery</a> official site, and its dedicated <a href="http://forum.phpwebgallery.net" style="text-decoration:underline">forum</a>.</li>
    232229</ul>';
    233 $lang['ident_page_title'] = 'Identification';
    234 $lang['ident_title'] = 'Identification';
    235 $lang['ident_register'] = 'Register';
    236 $lang['ident_forgotten_password'] = 'Forget your password ?';
    237 $lang['ident_guest_visit'] = 'Go through the gallery as a visitor';
    238 
    239 $lang['previous_image'] = 'Previous';
    240 $lang['next_image'] = 'Next';
    241 $lang['info_image_title'] = 'Image information';
     230
     231// Picture
     232$lang['add_favorites_alt'] = 'Add to favorites';
     233$lang['add_favorites_hint'] = 'Add this picture to your favorites';
     234$lang['del_favorites_alt'] = 'Delete from favorites';
     235$lang['del_favorites_hint'] = 'Delete this picture from your favorites';
    242236$lang['link_info_image'] = 'Modify information';
    243237$lang['true_size'] = 'Real size';
     
    245239$lang['comments_del'] = 'delete this comment';
    246240$lang['comments_add'] = 'Add a comment';
    247 
    248 $lang['add_favorites_alt'] = 'Add to favorites';
    249 $lang['add_favorites_hint'] = 'Add this picture to your favorites';
    250 $lang['del_favorites_alt'] = 'Delete from favorites';
    251 $lang['del_favorites_hint'] = 'Delete this picture from your favorites';
    252 
     241$lang['slideshow'] = 'slideshow';
     242$lang['period_seconds'] = 'seconds per picture';
     243$lang['slideshow_stop'] = 'stop the slideshow';
     244$lang['download'] = 'download';
     245$lang['download_hint'] = 'download this file';
     246$lang['comment_added'] = 'Your comment has been registered';
     247$lang['comment_to_validate'] = 'An administrator must authorize your comment before it is visible.';
     248$lang['comment_anti-flood'] = 'Anti-flood system : please wait for a moment before trying to post another comment';
     249$lang['comment_user_exists'] = 'This login is already used by another user';
     250$lang['picture_show_metadata'] = 'Show file metadata';
     251$lang['picture_hide_metadata'] = 'Hide file metadata';
     252$lang['to_rate'] = 'Rate';
     253$lang['update_rate'] = 'Update your rating';
     254$lang['element_rate'] = 'rate';
     255$lang['already_rated'] = 'You\'ve already rated this item';
     256$lang['never_rated'] = 'You\'ve never rated this item';
     257$lang['no_rate'] = 'no rate';
     258$lang['rates'] = 'rates';
     259$lang['standard_deviation'] = 'STD';
     260$lang['picture_high'] = 'Click on the picture to see it in high definition';
     261$lang['visited'] = 'visited';
     262$lang['times'] = 'times';
     263
     264// Upload
    253265$lang['upload_forbidden'] = 'You can\'t upload pictures in this category';
    254266$lang['upload_file_exists'] = 'A picture\'s name already used';
     
    265277$lang['upload_username'] = 'Username';
    266278$lang['upload_successful'] = 'Picture uploaded with success, an administrator will validate it as soon as possible';
    267 
    268 $lang['guest'] = 'guest';
    269 $lang['add'] = 'add';
    270 $lang['dissociate'] = 'dissociate';
    271 $lang['mandatory'] = 'obligatory';
    272 $lang['err_date'] = 'wrong date';
    273 $lang['IP'] = 'IP';
    274 
    275 $lang['errors_title'] = 'Errors';
    276 $lang['infos_title'] = 'Informations';
    277 $lang['category_representative'] = 'representative';
    278 
    279 
    280 $lang['visited'] = 'visited';
    281 $lang['times'] = 'times';
    282 $lang['slideshow'] = 'slideshow';
    283 $lang['period_seconds'] = 'seconds per picture';
    284 $lang['slideshow_stop'] = 'stop the slideshow';
    285 $lang['download'] = 'download';
    286 $lang['download_hint'] = 'download this file';
    287 $lang['comment_added'] = 'Your comment has been registered';
    288 $lang['comment_to_validate'] = 'An administrator must authorize your comment before it is visible.';
    289 $lang['comment_anti-flood'] = 'Anti-flood system : please wait for a moment before trying to post another comment';
    290 $lang['comment_user_exists'] = 'This login is already used by another user';
    291 $lang['invalid_search'] = 'Searched words must be grater than 3 characters and must not contain punctuation mark';
    292279$lang['upload_name'] = 'Name of the picture';
    293280$lang['upload_author'] = 'Author (eg "Pierrick LE GALL")';
    294281$lang['upload_creation_date'] = 'Creation date (DD/MM/YYYY)';
    295 $lang['upload_comment'] = 'Comment';
     282
     283// Admin messages
     284$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>';
     285$lang['sql_queries_in'] = 'SQL queries in';
     286$lang['title_send_mail'] = 'A comment on your site';
     287$lang['generation_time'] = 'Page generated in';
    296288$lang['mail_hello'] = 'Hi,';
    297289$lang['mail_new_upload_subject'] = 'New picture on the website';
     
    299291$lang['mail_new_comment_subject'] = 'New comment on website';
    300292$lang['mail_new_comment_content'] = 'A new comment has been registered on the gallery. If you chose to validate each comment, you first have to validate this comment in the administration panel to make it visible in the gallery.'."\n\n".'You can see last comments in the administration panel';
    301 $lang['connected_user'] = 'connected user';
    302 $lang['title_comments'] = 'Users comments';
     293
     294
     295
     296// NOT YET VALIDATED
     297$lang['guest'] = 'guest';
     298$lang['add'] = 'add';
     299
    303300$lang['stats_last_days'] = 'last days';
    304301$lang['hint_comments'] = 'See last users comments';
     
    306303$lang['hello'] = 'Hello';
    307304
    308 $lang['picture_show_metadata'] = 'Show file metadata ?';
    309 $lang['picture_hide_metadata'] = 'Hide file metadata';
    310 $lang['to_rate'] = 'Rate';
    311 $lang['update_rate'] = 'Update your rating';
    312 $lang['element_rate'] = 'rate';
    313 $lang['already_rated'] = 'You\'ve already rated this item';
    314 $lang['never_rated'] = 'You\'ve never rated this item';
    315 $lang['no_rate'] = 'no rate';
    316 $lang['rates'] = 'rates';
    317 $lang['standard_deviation'] = 'STD';
    318 $lang['random_cat'] = 'random pictures';
    319 $lang['random_cat_hint'] = 'Displays a set of random pictures';
    320 $lang['picture_high'] = 'Click on the picture to see it in high definition';
    321 
    322 
    323305?>
  • trunk/language/fr_FR.iso-8859-1/admin.lang.php

    r670 r671  
    8686
    8787// Category words
     88$lang['title_cat_perm'] = 'Modifier les permissions pour la catégorie';
    8889$lang['cat_security'] = 'Sécurité';
    8990$lang['cat_options'] = 'Options de la catégorie';
     
    217218
    218219// Image informations
     220$lang['title_picmod'] = 'Modifier les informations d\'une image';
    219221$lang['infoimage_general'] = 'Options générale pour la catégorie';
    220222$lang['infoimage_useforall'] = 'utiliser pour toutes les images ?';
     
    232234$lang['doesnt_represent'] = 'Autres catégories';
    233235$lang['cat_unknown_id'] = 'Cette catégorie n\'existe pas dans la base de données';
     236$lang['dissociate'] = 'dissocier';
    234237
    235238// Thumbnails
     
    267270$lang['tn_dirs_title'] = 'Liste des répertoires';
    268271$lang['tn_dirs_alone'] = 'images sans miniatures';
     272
     273// Waiting files
     274$lang['waiting_update'] = 'Les images validées ne seront visibles qu\'après mise à jour de la base d\'images.';
    269275
    270276// Update
     
    334340$lang['group_deny_user'] = 'Supprimer la sélection';
    335341$lang['group_add_user']= 'Ajouter le membre';
    336 
    337 
    338 
    339 $lang['title_cat_perm'] = 'Modifier les permissions pour la catégorie';
    340342$lang['title_group_perm'] = 'Modifier les permissions pour le groupe';
    341 $lang['title_picmod'] = 'Modifier les informations d\'une image';
    342 $lang['waiting_update'] = 'Les images validées ne seront visibles qu\'après mise à jour de la base d\'images.';
    343343?>
  • trunk/language/fr_FR.iso-8859-1/common.lang.php

    r670 r671  
    5757$lang['webmaster'] = 'Webmaster';
    5858$lang['language'] = 'Langue';
     59$lang['send_mail'] = 'Contact';
    5960
    6061// Properties
     
    6667$lang['delete'] = 'Supprimer';
    6768$lang['reset'] = 'Rétablir';
     69$lang['Close'] = 'Fermer la fenêtre';
     70$lang['Select'] = 'Sélectionner';
     71
     72// Error management
     73$lang['mandatory'] = 'obligatoire';
     74$lang['err_date'] = 'date erronée';
    6875
    6976// Identification
     
    7582$lang['identification'] = 'Identification';
    7683$lang['remember_me'] = 'Connexion auto';
     84$lang['only_members'] = 'Seuls les membres du site peuvent accéder à cette page';
     85$lang['invalid_pwd'] = 'Le mot de passe rentré n\'est pas valide';
     86$lang['access_forbiden'] = 'Vous n\'êtes pas autorisé à aller dans cette section';
     87$lang['ident_register'] = 'S\'enregistrer';
     88$lang['ident_forgotten_password'] = 'Mot de passe oublié ?';
     89$lang['ident_guest_visit'] = 'Parcourir la galerie en tant que visiteur';
     90
     91// Register
     92$lang['register_page_title'] = 'Enregistrement';
     93$lang['register_title'] = 'Enregistrement';
     94$lang['reg_err_login1'] = 'veuillez rentrer un pseudo';
     95$lang['reg_err_login2'] = 'le pseudo ne doit pas se terminer par un espace';
     96$lang['reg_err_login3'] = 'le pseudo ne doit pas commencer par un espace';
     97$lang['reg_err_login4'] = 'le pseudo ne doit pas comporter les caractère " et \'';
     98$lang['reg_err_login5'] = 'ce pseudo est déjà utilisé';
     99$lang['reg_err_pass'] = 'veuillez retaper le mot de passe';
     100$lang['reg_confirm'] = 'Confirmer le mot de passe';
     101$lang['reg_err_mail_address'] = 'l\'adresse mail doit être de la forme xxx@yyy.eee (exemple : jack@altern.org)';
    77102
    78103// Navigation
    79104$lang['home'] = 'Accueil';
     105$lang['title_menu'] = 'Sommaire';
    80106$lang['home_hint'] = 'Retour à la page des miniatures';
    81107$lang['special_categories'] = 'Spécial';
     
    92118$lang['random_cat'] = 'Images au hasard';
    93119$lang['random_cat_hint'] = 'Affiche plusieurs images choisies au hasard';
     120$lang['recent_image'] = 'Image datant de moins de';
    94121$lang['about'] = 'A propos';
    95122$lang['hint_about'] = 'Quelques informations sur PhpWebGallery...';
     
    101128$lang['first_page'] = '<<';
    102129$lang['last_page'] = '>>';
     130$lang['hint_category'] = 'affiche les images à la racine de cette catégorie';
     131$lang['hint_customize'] = 'personnaliser votre affichage';
     132$lang['hint_search'] = 'lancer une recherche';
     133$lang['upload_picture'] = 'Ajouter une image';
     134$lang['favorites'] = 'Favoris';
    103135
    104136//Calendar
     
    151183$lang['maxheight_error'] = 'La hauteur maximum des images doit être un entier supérieur à 50';
    152184
    153 // Register
    154 $lang['register_page_title'] = 'Enregistrement';
    155 $lang['register_title'] = 'Enregistrement';
    156 $lang['reg_err_login1'] = 'veuillez rentrer un pseudo';
    157 $lang['reg_err_login2'] = 'le pseudo ne doit pas se terminer par un espace';
    158 $lang['reg_err_login3'] = 'le pseudo ne doit pas commencer par un espace';
    159 $lang['reg_err_login4'] = 'le pseudo ne doit pas comporter les caractère " et \'';
    160 $lang['reg_err_login5'] = 'ce pseudo est déjà utilisé';
    161 $lang['reg_err_pass'] = 'veuillez retaper le mot de passe';
    162 $lang['reg_confirm'] = 'Confirmer le mot de passe';
    163 $lang['reg_err_mail_address'] = 'l\'adresse mail doit être de la forme xxx@yyy.eee (exemple : jack@altern.org)';
    164 
    165185// search
    166186$lang['search_title'] = 'Rechercher';
     
    190210$lang['search_result'] = 'Résultats de la recherche';
    191211$lang['invalid_search'] = 'Les mots recherchés doivent comporter plus de 3 caractères et ne doivent pas inclure de caractères de ponctuation';
    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 
    198212$lang['Look_up_user'] = 'Rechercher l\'utilisateur';
    199213$lang['Find_username'] = 'Trouver un nom d\'utilisateur';
    200214$lang['No_match'] = 'Aucun enregistrement trouvé.';
    201215$lang['Select_username'] = 'Sélectionner un Nom d\'utilisateur';
    202 $lang['Close'] = 'Fermer la fenêtre';
    203 $lang['Select'] = 'Sélectionner';
    204 
    205 $lang['only_members'] = 'Seuls les membres du site peuvent accéder à cette page';
    206 $lang['invalid_pwd'] = 'Le mot de passe rentré n\'est pas valide';
    207 $lang['access_forbiden'] = 'Vous n\'êtes pas autorisé à aller dans cette section';
    208 $lang['diapo_default_page_title'] = 'Aucune catégorie séléctionnée';
    209 $lang['hint_category'] = 'affiche les images à la racine de cette catégorie';
    210 $lang['total_images'] = 'total';
    211 $lang['title_menu'] = 'Sommaire';
    212 $lang['change_login'] = 'changer de login';
    213 $lang['hint_login'] = 's&#039;identifier permet de personnaliser l&#039;apparence du site';
    214 $lang['hint_customize'] = 'personnaliser votre affichage';
    215 $lang['hint_search'] = 'lancer une recherche';
    216 
    217 
    218 
    219 $lang['nb_image_category'] = 'nombre d\'images dans la catégorie';
    220 $lang['recent_image'] = 'Image datant de moins de';
    221 $lang['send_mail'] = 'Contacter l\'adminstrateur';
    222 $lang['title_send_mail'] = '[phpwebgallery] une remarque sur ton site';
     216
     217// Category
    223218$lang['sub-cat'] = 'sous-catégories';
    224219$lang['images_available'] = 'images dans cette catégorie';
    225220$lang['total'] = 'images';
    226 $lang['upload_picture'] = 'Ajouter une image';
    227 $lang['generation_time'] = 'Page générée en';
    228 $lang['favorites'] = 'Favoris';
     221
     222// About
    229223$lang['about_page_title'] = 'A propos de PhpWebGallery';
    230224$lang['about_title'] = 'A propos...';
    231 $lang['about_return'] = 'Retour';
    232 $lang['ident_page_title'] = 'Identification';
    233 $lang['ident_title'] = 'Identification';
    234 $lang['ident_register'] = 'S\'enregistrer';
    235 $lang['ident_forgotten_password'] = 'Mot de passe oublié ?';
    236 $lang['ident_guest_visit'] = 'Parcourir la galerie en tant que visiteur';
    237 
    238 $lang['previous_image'] = 'Précédent';
    239 $lang['next_image'] = 'Suivant';
    240 $lang['info_image_title'] = 'Informations';
     225$lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informations sur le PhpWebGallery</div>
     226<ul>
     227<li>Ce site utilise la version '.PHPWG_VERSION.' de <a href="'.PHPWG_URL.'" style="text-decoration:underline">PhpWebGallery</a>. PhpWebGallery est une application web permettant de créer simplement une galerie d\'images en ligne.</li>
     228<li>D\'un point de vue technique, PhpWebGallery est entièrement développé en PHP (l\'elePHPant) avec une base de données MySQL(le mySQreuiL).</li>
     229<li>Si vous avez des suggestions ou des commentaires, n\'hésitez pas à visiter le site de <a href="'.PHPWG_URL.'" style="text-decoration:underline">PhpWebGallery</a> et son <a href="'.PHPWG_FORUM_URL.'" style="text-decoration:underline">forum</a>.</li>
     230</ul>';
     231
     232// Picture
     233$lang['add_favorites_alt'] = 'Ajouter aux favoris';
     234$lang['add_favorites_hint'] = 'ajouter cette image à vos favoris';
     235$lang['del_favorites_alt'] = 'Retirer des favoris';
     236$lang['del_favorites_hint'] = 'supprimer cette image de vos favoris';
    241237$lang['link_info_image'] = 'Modifier les informations de cette image';
    242238$lang['true_size'] = 'Taille réelle';
     
    244240$lang['comments_del'] = 'supprimer ce message';
    245241$lang['comments_add'] = 'Ajouter un commentaire';
    246 
    247 $lang['add_favorites_alt'] = 'Ajouter aux favoris';
    248 $lang['add_favorites_hint'] = 'ajouter cette image à vos favoris';
    249 $lang['del_favorites_alt'] = 'Retirer des favoris';
    250 $lang['del_favorites_hint'] = 'supprimer cette image de vos favoris';
    251 
     242$lang['slideshow'] = 'diaporama';
     243$lang['period_seconds'] = 'secondes par image';
     244$lang['slideshow_stop'] = 'stopper le diaporama';
     245$lang['download'] = 'Télécharger';
     246$lang['download_hint'] = 'Télécharger ce fichier';
     247$lang['comment_added'] = 'Votre commentaire a été enregistré';
     248$lang['comment_to_validate'] = 'Un administrateur doit valider votre commentaire pour qu\'il soit visible';
     249$lang['comment_anti-flood'] = 'Système anti-flood : attendez un moment avant de déposer un message';
     250$lang['comment_user_exists'] = 'Ce pseudo appartient à un autre utilisateur';
     251$lang['picture_show_metadata'] = 'Montrer les métadonnées';
     252$lang['picture_hide_metadata'] = 'Cacher les métadonnées';
     253$lang['to_rate'] = 'Vote';
     254$lang['update_rate'] = 'Mettre à jour votre vote';
     255$lang['element_rate'] = 'vote';
     256$lang['already_rated'] = 'Vous avez déja voté pour cette image';
     257$lang['never_rated'] = 'Vous n\'avez jamais voté pour cette image';
     258$lang['no_rate'] = 'Aucun vote';
     259$lang['rates'] = 'Votes';
     260$lang['standard_deviation'] = 'STD';
     261$lang['picture_high'] = 'Cliquez sur l\'image pour la voir en haute résolution';
     262$lang['visited'] = 'visité';
     263$lang['times'] = 'fois';
     264
     265// Upload
    252266$lang['upload_forbidden'] = 'On ne peut pas ajouter d\'image dans cette catégorie';
    253267$lang['upload_file_exists'] = 'Une image du même nom existe déjà';
     
    264278$lang['upload_username'] = 'Nom d\'utilisateur';
    265279$lang['upload_successful'] = 'Image uploadée avec succès, un administrateur validera celle-ci dès que possible.';
    266 
    267 // new or modified in release 1.3
    268 
    269 $lang['guest'] = 'visiteur';
    270 $lang['add'] = 'ajouter';
    271 $lang['dissociate'] = 'dissocier';
    272 $lang['mandatory'] = 'obligatoire';
    273 $lang['err_date'] = 'date erronée';
    274 $lang['IP'] = 'IP';
    275 
    276 $lang['errors_title'] = 'Erreurs';
    277 $lang['infos_title'] = 'Informations';
    278 $lang['category_representative'] = 'représentant';
    279 $lang['title_comments'] = 'Commentaires des visiteurs';
    280 $lang['stats_last_days'] = 'derniers jours';
    281 $lang['menu_login'] = 'Connexion';
    282 $lang['connected_user'] = 'utilisateur connecté';
    283 $lang['hint_comments'] = 'Voir les derniers commentaires des visiteurs';
    284 
    285 
    286 $lang['visited'] = 'visité';
    287 $lang['times'] = 'fois';
    288 
    289 $lang['slideshow'] = 'diaporama';
    290 $lang['period_seconds'] = 'secondes par image';
    291 $lang['slideshow_stop'] = 'stopper le diaporama';
    292 $lang['download'] = 'Télécharger';
    293 $lang['download_hint'] = 'Télécharger ce fichier';
    294 $lang['comment_added'] = 'Votre commentaire a été enregistré';
    295 $lang['comment_to_validate'] = 'Un administrateur doit valider votre commentaire pour qu\'il soit visible';
    296 $lang['comment_anti-flood'] = 'Système anti-flood : attendez un moment avant de déposer un message';
    297 $lang['comment_user_exists'] = 'Ce pseudo appartient à un autre utilisateur';
    298280$lang['upload_name'] = 'Nom de l\'image';
    299281$lang['upload_author'] = 'Auteur (eg "Pierrick LE GALL")';
    300282$lang['upload_creation_date'] = 'Date de création (JJ/MM/AAAA)';
    301 $lang['upload_comment'] = 'Commentaire';
     283
     284// Admin messages
     285$lang['gallery_locked_message'] = 'Cette galerie est actuellement inaccessible pour cause de maintenance.
     286Revenez plus tard ou connectez vous en tant qu\'administrateur: <a href="'.PHPWG_ROOT_PATH.'identification.php">Identification</a>';
     287$lang['sql_queries_in'] = 'requêtes SQL en';
     288$lang['title_send_mail'] = '[phpwebgallery] une remarque sur ton site';
     289$lang['generation_time'] = 'Page générée en';
    302290$lang['mail_hello'] = 'Bonjour,';
    303291$lang['mail_new_upload_subject'] = 'Nouvelle image sur le site';
     
    306294$lang['mail_new_comment_content'] = 'Un nouveau commentaire a été posté sur la galerie. Si vous avez activé la validation des commentaires, il faut d\'abord valider le commentaire dans la zone d\'administration pour le voir apparaître.'."\n\n".'Vous avez accès aux derniers commentaires dans la zone d\'administration.';
    307295
    308 $lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Informations sur le PhpWebGallery</div>
    309 <ul>
    310 <li>Ce site utilise la version '.PHPWG_VERSION.' de <a href="'.PHPWG_URL.'" style="text-decoration:underline">PhpWebGallery</a>. PhpWebGallery est une application web permettant de créer simplement une galerie d\'images en ligne.</li>
    311 <li>D\'un point de vue technique, PhpWebGallery est entièrement développé en PHP (l\'elePHPant) avec une base de données MySQL(le mySQreuiL).</li>
    312 <li>Si vous avez des suggestions ou des commentaires, n\'hésitez pas à visiter le site de <a href="'.PHPWG_URL.'" style="text-decoration:underline">PhpWebGallery</a> et son <a href="'.PHPWG_FORUM_URL.'" style="text-decoration:underline">forum</a>.</li>
    313 </ul>';
     296
     297// NOT YET VALIDATED
     298
     299$lang['guest'] = 'visiteur';
     300$lang['add'] = 'ajouter';
     301
     302$lang['title_comments'] = 'Commentaires des visiteurs';
     303$lang['stats_last_days'] = 'derniers jours';
     304$lang['menu_login'] = 'Connexion';
     305$lang['hint_comments'] = 'Voir les derniers commentaires des visiteurs';
    314306
    315307$lang['update_wrong_dirname'] = 'Le nom des fichiers et répertoires ne doivent être composé que de lettres, de chiffres et "-", "_" ou ".".';
    316308$lang['hello'] = 'Bonjour';
    317 
    318 
    319 
    320 $lang['picture_show_metadata'] = 'Montrer les métadonnées';
    321 $lang['picture_hide_metadata'] = 'Cacher les métadonnées';
    322 $lang['to_rate'] = 'Vote';
    323 $lang['update_rate'] = 'Mettre à jour votre vote';
    324 $lang['element_rate'] = 'vote';
    325 $lang['already_rated'] = 'Vous avez déja voté pour cette image';
    326 $lang['never_rated'] = 'Vous n\'avez jamais voté pour cette image';
    327 $lang['no_rate'] = 'Aucun vote';
    328 $lang['rates'] = 'Votes';
    329 $lang['standard_deviation'] = 'STD';
    330 $lang['picture_high'] = 'Cliquez sur l\'image pour la voir en haute résolution';
    331309?>
  • trunk/picture.php

    r668 r671  
    146146  $file_wo_ext = get_filename_wo_extension($row['file']);
    147147
    148   $icon = './template/'.$user['template'].'/mimetypes/';
     148  $icon = PHPWG_ROOT_PATH.'template/'.$user['template'].'/mimetypes/';
    149149  $icon.= strtolower(get_extension($row['file'])).'.png';
    150150
     
    454454  'L_SLIDESHOW' => $lang['slideshow'],
    455455  'L_STOP_SLIDESHOW' => $lang['slideshow_stop'],
    456   'L_PREV_IMG' =>$lang['previous_image'].' : ',
     456  'L_PREV_IMG' =>$lang['previous_page'].' : ',
     457  'L_NEXT_IMG' =>$lang['next_page'].' : ',
    457458  'L_ADMIN' =>$lang['link_info_image'],
    458459  'L_COMMENT_TITLE' =>$lang['comments_title'],
  • trunk/template/default/admin.tpl

    r655 r671  
    6464  <li><a class="adminMenu" href="{U_USERS_AUTH}">{L_USERS}</a></li>
    6565  <li><a class="adminMenu" href="{U_GROUPS_AUTH}">{L_GROUPS}</a></li>
    66   <li><a class="adminMenu" href="{U_CAT_AUTH}">{L_CATEGORIES}</a></li
    6766</ul>
    6867</div>
     
    7271<div class="home">
    7372  <div class="titrePage">{PAGE_TITLE}</div>
    74   <div align="center">{ADMIN_CONTENT}</div>
     73  <div align="center">{ADMIN_CONTENT}{ADMIN_CONTENT_2}</div>
    7574</div>
    7675        </td>
  • trunk/upload.php

    r667 r671  
    299299  'L_AUTHOR' =>  $lang['upload_author'],
    300300  'L_CREATION_DATE' =>  $lang['upload_creation_date'],
    301   'L_COMMENT' =>  $lang['upload_comment'],
     301  'L_COMMENT' =>  $lang['comment'],
    302302  'L_RETURN' =>  $lang['home'],
    303303  'L_RETURN_HINT' =>  $lang['home_hint'],
Note: See TracChangeset for help on using the changeset viewer.