diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-07-30 20:53:21 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-07-31 19:34:30 +0200 |
commit | 795e78809f55be762fb07d9a179bbdffa7aefbd9 (patch) | |
tree | f2ba0402ccb00165ef7b623aea5345fbc1ce2f5b /core/templates | |
parent | 3aff7a298c23837b070507a0644b89a8a5c026be (diff) | |
download | nextcloud-server-795e78809f55be762fb07d9a179bbdffa7aefbd9.tar.gz nextcloud-server-795e78809f55be762fb07d9a179bbdffa7aefbd9.zip |
add oracle to install & setup
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/installation.php | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index 4558f97bc08..1a05c3fb762 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -1,6 +1,7 @@ <input type='hidden' id='hasMySQL' value='<?php echo $_['hasMySQL'] ?>'></input> <input type='hidden' id='hasSQLite' value='<?php echo $_['hasSQLite'] ?>'></input> <input type='hidden' id='hasPostgreSQL' value='<?php echo $_['hasPostgreSQL'] ?>'></input> +<input type='hidden' id='hasOracle' value='<?php echo $_['hasOracle'] ?>'></input> <form action="index.php" method="post"> <input type="hidden" name="install" value="true" /> @@ -40,7 +41,7 @@ </fieldset> <fieldset id='databaseField'> - <?php if($_['hasMySQL'] or $_['hasPostgreSQL']) $hasOtherDB = true; else $hasOtherDB =false; //other than SQLite ?> + <?php if($_['hasMySQL'] or $_['hasPostgreSQL'] or $_['hasOracle']) $hasOtherDB = true; else $hasOtherDB =false; //other than SQLite ?> <legend><?php echo $l->t( 'Configure the database' ); ?></legend> <div id="selectDbType"> <?php if($_['hasSQLite']): ?> @@ -56,7 +57,7 @@ <?php if($_['hasMySQL']): ?> <input type='hidden' id='hasMySQL' value='true'/> - <?php if(!$_['hasSQLite'] and !$_['hasPostgreSQL']): ?> + <?php if(!$_['hasSQLite'] and !$_['hasPostgreSQL'] and !$_['hasOracle']): ?> <p>MySQL <?php echo $l->t( 'will be used' ); ?>.</p> <input type="hidden" id="dbtype" name="dbtype" value="mysql" /> <?php else: ?> @@ -66,7 +67,7 @@ <?php endif; ?> <?php if($_['hasPostgreSQL']): ?> - <?php if(!$_['hasSQLite'] and !$_['hasMySQL']): ?> + <?php if(!$_['hasSQLite'] and !$_['hasMySQL'] and !$_['hasOracle']): ?> <p>PostgreSQL <?php echo $l->t( 'will be used' ); ?>.</p> <input type="hidden" id="dbtype" name="dbtype" value="pgsql" /> <?php else: ?> @@ -74,6 +75,16 @@ <input type="radio" name="dbtype" value='pgsql' id="pgsql" <?php OC_Helper::init_radio('dbtype','pgsql', 'sqlite'); ?>/> <?php endif; ?> <?php endif; ?> + + <?php if($_['hasOracle']): ?> + <?php if(!$_['hasSQLite'] and !$_['hasMySQL'] and !$_['hasPostgreSQL']): ?> + <p>Oracle <?php echo $l->t( 'will be used' ); ?>.</p> + <input type="hidden" id="dbtype" name="dbtype" value="oci" /> + <?php else: ?> + <label class="oci" for="oci">Oracle</label> + <input type="radio" name="dbtype" value='oci' id="oci" <?php OC_Helper::init_radio('dbtype','oci', 'sqlite'); ?>/> + <?php endif; ?> + <?php endif; ?> </div> <?php if($hasOtherDB): ?> @@ -92,6 +103,14 @@ </p> </div> <?php endif; ?> + <?php if($_['hasOracle']): ?> + <div id="use_oracle_db"> + <p class="infield"> + <label for="dbtablespace" class="infield"><?php echo $l->t( 'Database tablespace' ); ?></label> + <input type="text" name="dbtablespace" id="dbtablespace" value="<?php print OC_Helper::init_var('dbtablespace'); ?>" autocomplete="off" /> + </p> + </div> + <?php endif; ?> <p class="infield"> <label for="dbhost" class="infield"><?php echo $l->t( 'Database host' ); ?></label> <input type="text" name="dbhost" id="dbhost" value="<?php print OC_Helper::init_var('dbhost', 'localhost'); ?>" /> |