diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-09 22:43:58 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-09 22:43:58 +0200 |
commit | 9e4fb257e39224b0860b171affa862c4bb1eda0c (patch) | |
tree | 819afa9ddd512178bdf474d4a3bd123c1fce740c /core/templates | |
parent | 34529b1c35bf14439b63ab0aca5bbbfc361738ee (diff) | |
download | nextcloud-server-9e4fb257e39224b0860b171affa862c4bb1eda0c.tar.gz nextcloud-server-9e4fb257e39224b0860b171affa862c4bb1eda0c.zip |
proper advanced options
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/installation.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index b578ed94c35..41fc4526d6d 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -59,8 +59,7 @@ <input type="text" name="dbuser" id="dbuser" value="<?php print OC_Helper::init_var('dbuser'); ?>" placeholder="<?php echo $l->t( 'Database user' ); ?>" /> <input type="password" name="dbpass" id="dbpass" value="<?php print OC_Helper::init_var('dbpass'); ?>" placeholder="<?php echo $l->t( 'Database password' ); ?>" /> <input type="text" name="dbname" id="dbname" value="<?php print OC_Helper::init_var('dbname'); ?>" placeholder="<?php echo $l->t( 'Database name' ); ?>" /> - <input type="text" name="dbhost" id="dbhost" value="<?php print OC_Helper::init_var('dbhost', 'localhost'); ?>" placeholder="<?php echo $l->t( 'Host' ); ?>" /> - <input type="text" name="dbtableprefix" id="dbtableprefix" value="<?php print OC_Helper::init_var('dbtableprefix', 'oc_'); ?>" placeholder="<?php echo $l->t( 'Table prefix' ); ?>" /> + </div> <?php endif; ?> @@ -70,8 +69,10 @@ <a id='showAdvanced'><strong><?php echo $l->t( 'Advanced' ); ?> ▾</strong></a> <fieldset id='datadirField'> - <legend><?php echo $l->t( 'Set data folder' ); ?></legend> - <input type="text" name="directory" id="directory" value="<?php print OC_Helper::init_var('directory', $_['directory']); ?>" placeholder="<?php echo $l->t( 'Data folder' ); ?>" required /></p> + <input type="text" name="dbhost" id="dbhost" value="<?php print OC_Helper::init_var('dbhost', 'localhost'); ?>" placeholder="<?php echo $l->t( 'Host' ); ?>" /> + <input type="text" name="dbtableprefix" id="dbtableprefix" value="<?php print OC_Helper::init_var('dbtableprefix', 'oc_'); ?>" placeholder="<?php echo $l->t( 'Table prefix' ); ?>" /> + + <label for="directory"><?php echo $l->t( 'Data folder' ); ?></label><input type="text" name="directory" id="directory" value="<?php print OC_Helper::init_var('directory', $_['directory']); ?>" placeholder="<?php echo $l->t( 'Data folder' ); ?>" /> </fieldset> <input type="submit" value="<?php echo $l->t( 'Finish setup' ); ?>" /> |