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 40 40 $DEFCFG->config['dbpass']->important = true; 41 41 42 42 $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_'"); 44 44 $DEFCFG->config['prefix']->important = true; 45 45 46 46 $DEFCFG->config['sysadminemail']->name = __gettext("System administrator email"); … … 100 100 $DEFCFG->config['dbpersist']->noteditable = true; 101 101 102 102 $DEFCFG->config['debug']->name = __gettext("Debug"); 103 $DEFCFG->config['debug']->description = __gettext("Set this to 2047to get adodb error handling");103 $DEFCFG->config['debug']->description = __gettext("Set this to <em>Show all errors</em> to get adodb error handling"); 104 104 $DEFCFG->config['debug']->type = 'debug'; 105 105 106 106 $DEFCFG->config['rsspostsmaxage']->name = __gettext("RSS posts maximum age"); -
a/mod/elggadmin/lib/elggadmin.inc.php
old new 387 387 unset($attrs['name']); 388 388 unset($attrs['value']); 389 389 $_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', 393 393 ); 394 394 395 395 $options = array();
