diff options
author | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-10-03 13:32:16 +0200 |
---|---|---|
committer | Marvin Thomas Rabe <m.rabe@echtzeitraum.de> | 2011-10-03 13:32:16 +0200 |
commit | 481a37fcf3ea574ad5e22ecb57cf0161081cf230 (patch) | |
tree | afb0a10e3dd924f5e42f09af489e3cdb7be40761 /core/templates | |
parent | a2bcbec791b7cd81e5a1d734691f9cff63d114e2 (diff) | |
download | nextcloud-server-481a37fcf3ea574ad5e22ecb57cf0161081cf230.tar.gz nextcloud-server-481a37fcf3ea574ad5e22ecb57cf0161081cf230.zip |
Show database only in advanced
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/installation.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index e15e81191a9..c1bfbdf1763 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -21,7 +21,14 @@ <input type="text" name="adminlogin" id="adminlogin" value="<?php print OC_Helper::init_var('adminlogin'); ?>" placeholder="<?php echo $l->t( 'Username' ); ?>" autocomplete="off" autofocus required /> <input type="password" name="adminpass" id="adminpass" value="<?php print OC_Helper::init_var('adminpass'); ?>" placeholder="<?php echo $l->t( 'Password' ); ?>" required /> </fieldset> - + + <fieldset id="datadirField"> + <legend><a id="showAdvanced"><?php echo $l->t( 'Advanced' ); ?> ▾</a></legend> + <div id="datadirContent"> + <input type="text" name="directory" id="directory" value="<?php print OC_Helper::init_var('directory', $_['directory']); ?>" placeholder="<?php echo $l->t( 'Data folder' ); ?>" /> + </div> + </fieldset> + <fieldset id='databaseField'> <?php if($_['hasMySQL'] or $_['hasPostgreSQL']) $hasOtherDB = true; //other than SQLite ?> <legend><?php echo $l->t( 'Configure the database' ); ?></legend> @@ -66,15 +73,8 @@ <input type="text" name="dbname" id="dbname" value="<?php print OC_Helper::init_var('dbname'); ?>" placeholder="<?php echo $l->t( 'Database name' ); ?>" autocomplete="off" /> </div> <?php endif; ?> - - </fieldset> - - <fieldset id="datadirField"> - <legend><a id="showAdvanced"><?php echo $l->t( 'Advanced' ); ?> ▾</a></legend> - <div id="datadirContent"> <input type="text" name="dbhost" id="dbhost" value="<?php print OC_Helper::init_var('dbhost', 'localhost'); ?>" placeholder="<?php echo $l->t( 'Database host' ); ?>" /> - <input type="text" name="directory" id="directory" value="<?php print OC_Helper::init_var('directory', $_['directory']); ?>" placeholder="<?php echo $l->t( 'Data folder' ); ?>" /> - </div> + </fieldset> <div class="buttons"><input type="submit" value="<?php echo $l->t( 'Finish setup' ); ?>" /></div> |