| | |
| | | <div>The name of your service (used to compose page titles)</div> |
| | | </dd> |
| | | |
| | | <dt class="propname">skin_path</dt> |
| | | <dt class="propname">skin</dt> |
| | | <dd> |
| | | <?php |
| | | |
| | | $input_skinpath = new html_inputfield(array('name' => '_skin_path', 'size' => 30, 'id' => "cfgskinpath")); |
| | | echo $input_skinpath->show($RCI->getprop('skin_path')); |
| | | $input_skin = new html_inputfield(array('name' => '_skin', 'size' => 30, 'id' => "cfgskin")); |
| | | echo $input_skin->show($RCI->getprop('skin')); |
| | | |
| | | ?> |
| | | <div>Relative path to the skin folder</div> |
| | | <div>Name of interface skin (folder in /skins)</div> |
| | | </dd> |
| | | |
| | | <dt class="propname">temp_dir</dt> |
| | |
| | | <p>Database settings for read/write operations:</p> |
| | | <?php |
| | | |
| | | require_once 'DB.php'; |
| | | require_once 'MDB2.php'; |
| | | |
| | | $supported_dbs = array('MySQL' => 'mysql', 'MySQLi' => 'mysqli', |
| | | 'PgSQL' => 'pgsql', 'SQLite' => 'sqlite'); |
| | |
| | | $input_dbuser = new html_inputfield(array('name' => '_dbuser', 'size' => 20, 'id' => "cfgdbuser")); |
| | | $input_dbpass = new html_passwordfield(array('name' => '_dbpass', 'size' => 20, 'id' => "cfgdbpass")); |
| | | |
| | | $dsnw = DB::parseDSN($RCI->getprop('db_dsnw')); |
| | | $dsnw = MDB2::parseDSN($RCI->getprop('db_dsnw')); |
| | | |
| | | echo $select_dbtype->show($RCI->is_post ? $_POST['_dbtype'] : $dsnw['phptype']); |
| | | echo '<label for="cfgdbtype">Database type</label><br />'; |
| | |
| | | <legend>Display settings & user prefs</legend> |
| | | <dl class="configblock" id="cgfblockdisplay"> |
| | | |
| | | <dt class="propname">locale_string</dt> |
| | | <dt class="propname">language</dt> |
| | | <dd> |
| | | <?php |
| | | |
| | | $input_locale = new html_inputfield(array('name' => '_locale_string', 'size' => 6, 'id' => "cfglocale")); |
| | | echo $input_locale->show($RCI->getprop('locale_string')); |
| | | $input_locale = new html_inputfield(array('name' => '_language', 'size' => 6, 'id' => "cfglocale")); |
| | | echo $input_locale->show($RCI->getprop('language')); |
| | | |
| | | ?> |
| | | <div>The default locale setting. This also defines the language of the login screen.</div> |
| | | <p class="hint">Enter a <a href="http://www.faqs.org/rfcs/rfc1766">RFC1766</a> formatted locale name. Examples: en_US, de, de_CH, fr, pt_BR</p> |
| | | <p class="hint">Enter a <a href="http://www.faqs.org/rfcs/rfc1766">RFC1766</a> formatted language name. Examples: en_US, de_DE, de_CH, fr_FR, pt_BR</p> |
| | | </dd> |
| | | |
| | | <dt class="propname">pagesize <span class="userconf">*</span></dt> |