Ticket #311: 080215_config_debug_strings.diff

File 080215_config_debug_strings.diff, 1.9 kB (added by rho, 6 months ago)
  • a/mod/elggadmin/lib/configdef.php

    old new  
    4040            $DEFCFG->config['dbpass']->important = true; 
    4141 
    4242            $DEFCFG->config['prefix']->name = __gettext("Database table prefix"); 
    43             $DEFCFG->config['prefix']->description = __gettext("All database tables will start with this; we recommend 'elgg'"); 
     43            $DEFCFG->config['prefix']->description = __gettext("All database tables will start with this; we recommend 'elgg_'"); 
    4444            $DEFCFG->config['prefix']->important = true; 
    4545 
    4646            $DEFCFG->config['sysadminemail']->name = __gettext("System administrator email"); 
     
    100100            $DEFCFG->config['dbpersist']->noteditable = true; 
    101101 
    102102            $DEFCFG->config['debug']->name = __gettext("Debug"); 
    103             $DEFCFG->config['debug']->description = __gettext("Set this to 2047 to get adodb error handling"); 
     103            $DEFCFG->config['debug']->description = __gettext("Set this to <em>Show all errors</em> to get adodb error handling"); 
    104104            $DEFCFG->config['debug']->type = 'debug'; 
    105105 
    106106            $DEFCFG->config['rsspostsmaxage']->name = __gettext("RSS posts maximum age"); 
  • a/mod/elggadmin/lib/elggadmin.inc.php

    old new  
    387387            unset($attrs['name']); 
    388388            unset($attrs['value']); 
    389389            $_opts = array( 
    390                 'Off' => '0', 
    391                 'Warning' => '7', 
    392                 'Enabled' => '2047', 
     390                'Hide all errors' => '0', 
     391                'Only warnings' => '7', 
     392                'Show all errors' => '2047', 
    393393                ); 
    394394 
    395395            $options = array();