diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-07-24 18:02:36 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-07-24 19:56:57 +0200 |
commit | 284fb862589bb3a6441f464236abe735c6fe5dfc (patch) | |
tree | a39c1562b88e9f255045578ace91529439b120ba /core/templates/installation.php | |
parent | 18c565666e4125350ade84be0ce570e5d0d70114 (diff) | |
download | nextcloud-server-284fb862589bb3a6441f464236abe735c6fe5dfc.tar.gz nextcloud-server-284fb862589bb3a6441f464236abe735c6fe5dfc.zip |
show tablespace only for oracle, hide dbhost for sqlite, remove unnecessary js & html ids
Diffstat (limited to 'core/templates/installation.php')
-rw-r--r-- | core/templates/installation.php | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index 6de67a83d42..77c455304d3 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -121,7 +121,7 @@ <?php OC_Helper::init_radio('dbtype', 'oci', 'sqlite'); ?>/> <?php endif; ?> <?php endif; ?> - + <?php if($_['hasMSSQL']): ?> <input type='hidden' id='hasMSSQL' value='true'/> <?php if(!$_['hasSQLite'] and !$_['hasMySQL'] and !$_['hasPostgreSQL'] and !$_['hasOracle']): ?> @@ -131,7 +131,7 @@ <label class="mssql" for="mssql">MS SQL</label> <input type="radio" name="dbtype" value='mssql' id="mssql" <?php OC_Helper::init_radio('dbtype', 'mssql', 'sqlite'); ?>/> <?php endif; ?> - <?php endif; ?> + <?php endif; ?> </div> <?php if($hasOtherDB): ?> @@ -154,22 +154,22 @@ value="<?php p(OC_Helper::init_var('dbname')); ?>" autocomplete="off" pattern="[0-9a-zA-Z$_-]+" /> </p> - </div> - <?php endif; ?> - <?php if($_['hasOracle']): ?> - <div id="use_oracle_db"> - <p class="infield groupmiddle"> - <label for="dbtablespace" class="infield"><?php p($l->t( 'Database tablespace' )); ?></label> - <input type="text" name="dbtablespace" id="dbtablespace" placeholder="" - value="<?php p(OC_Helper::init_var('dbtablespace')); ?>" autocomplete="off" /> + <?php if($_['hasOracle']): ?> + <div id="use_oracle_db"> + <p class="infield groupmiddle"> + <label for="dbtablespace" class="infield"><?php p($l->t( 'Database tablespace' )); ?></label> + <input type="text" name="dbtablespace" id="dbtablespace" placeholder="" + value="<?php p(OC_Helper::init_var('dbtablespace')); ?>" autocomplete="off" /> + </p> + </div> + <?php endif; ?> + <p class="infield groupbottom"> + <label for="dbhost" class="infield"><?php p($l->t( 'Database host' )); ?></label> + <input type="text" name="dbhost" id="dbhost" placeholder="" + value="<?php p(OC_Helper::init_var('dbhost')); ?>" /> </p> </div> <?php endif; ?> - <p class="infield groupbottom"> - <label for="dbhost" class="infield" id="dbhostlabel"><?php p($l->t( 'Database host' )); ?></label> - <input type="text" name="dbhost" id="dbhost" placeholder="" - value="<?php p(OC_Helper::init_var('dbhost')); ?>" /> - </p> </fieldset> <div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" /></div> |