Ignore:
Timestamp:
Mar 8, 2008, 2:38:37 AM (16 years ago)
Author:
rvelices
Message:
  • upload.tpl goes smarty
  • start some language cleanup and a small attempt to standardize a bit ...
  • debug_language now calls trigger_error instead of echo when missing language key
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r2201 r2265  
    2727function get_icon($date, $is_child_date = false)
    2828{
    29   global $page, $user, $lang;
     29  global $page, $user;
    3030
    3131  if (empty($date))
     
    5555    {
    5656      $icons = array(false => 'recent', true => 'recent_by_child' );
    57       $title = l10n('recent_image').' '.$user['recent_period']
    58           .' '.l10n('days');
     57      $title = sprintf(
     58        l10n('elements posted during the last %d days'),
     59        $user['recent_period']
     60        );
    5961      foreach ($icons as $key => $icon)
    6062      {
     
    7981  )
    8082{
    81   global $lang, $conf;
     83  global $conf;
    8284
    8385  $pages_around = $conf['paginate_pages_around'];
     
    375377function get_html_menu_category($categories, $selected_category)
    376378{
    377   global $lang;
    378 
    379379  $ref_level = 0;
    380380  $level = 0;
     
    559559function access_denied()
    560560{
    561   global $user, $lang;
     561  global $user;
    562562
    563563  $login_url =
     
    650650        )
    651651      .'" title="'
    652       .l10n('See pictures linked to this tag only')
     652      .l10n('See elements linked to this tag only')
    653653      .'">'
    654654      .$page['tags'][$i]['name']
Note: See TracChangeset for help on using the changeset viewer.