Ignore:
Timestamp:
Jan 30, 2008, 11:07:07 PM (16 years ago)
Author:
rub
Message:

Replace old use of $lang by l10n function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r2032 r2201  
    8282      if ( !url_is_remote($_POST['gallery_url']) )
    8383      {
    84         array_push($page['errors'], $lang['conf_gallery_url_error']);
     84        array_push($page['errors'], l10n('conf_gallery_url_error'));
    8585      }
    8686      foreach( $main_checkboxes as $checkbox)
     
    106106           or $_POST['nb_comment_page'] > 50)
    107107      {
    108         array_push($page['errors'], $lang['conf_nb_comment_page_error']);
     108        array_push($page['errors'], l10n('conf_nb_comment_page_error'));
    109109      }
    110110      foreach( $comments_checkboxes as $checkbox)
     
    148148      }
    149149    }
    150     array_push($page['infos'], $lang['conf_confirmation']);
     150    array_push($page['infos'], l10n('conf_confirmation'));
    151151  }
    152152
     
    193193$template->assign_vars(
    194194  array(
    195     'L_YES'=>$lang['yes'],
    196     'L_NO'=>$lang['no'],
    197     'L_SUBMIT'=>$lang['submit'],
    198     'L_RESET'=>$lang['reset'],
     195    'L_YES'=>l10n('yes'),
     196    'L_NO'=>l10n('no'),
     197    'L_SUBMIT'=>l10n('submit'),
     198    'L_RESET'=>l10n('reset'),
    199199
    200200    'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=configuration',
     
    282282        // Reload user
    283283        $edit_user = build_user($conf['default_user_id'], false);
    284         array_push($page['infos'], $lang['conf_confirmation']);
     284        array_push($page['infos'], l10n('conf_confirmation'));
    285285      }
    286286    }
Note: See TracChangeset for help on using the changeset viewer.