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.inc.php

    r2252 r2265  
    10851085  if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))
    10861086  {
    1087     echo '[l10n] language key "'.$key.'" is not defined<br />';
     1087    trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_NOTICE);
    10881088  }
    10891089
Note: See TracChangeset for help on using the changeset viewer.