diff options
author | Dawid Opis <ncore@ncore.com.pl> | 2011-08-11 18:18:50 +0200 |
---|---|---|
committer | Dawid Opis <ncore@ncore.com.pl> | 2011-08-11 18:18:50 +0200 |
commit | ef5e253bf54fb3ec9f12d4d208fee18db05b16fe (patch) | |
tree | 018f21162df92ba680555741a5ee6dda336ea6a2 /core/templates | |
parent | aa582ec43a9060f5f9fba6540d1ea4e24bc70330 (diff) | |
download | nextcloud-server-ef5e253bf54fb3ec9f12d4d208fee18db05b16fe.tar.gz nextcloud-server-ef5e253bf54fb3ec9f12d4d208fee18db05b16fe.zip |
changed radiobuttons to jQuery UI buttons (restyled) on installation page
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/installation.php | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php index 180405860f8..c10e66ae2f5 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -25,16 +25,15 @@ <fieldset id='databaseField'> <?php if($_['hasMySQL'] or $_['hasPostgreSQL']) $hasOtherDB = true; //other than SQLite ?> <legend><?php echo $l->t( 'Configure the database' ); ?></legend> + <div id="selectDbType"> <?php if($_['hasSQLite']): ?> <input type='hidden' id='hasSQLite' value='true' /> <?php if(!$hasOtherDB): ?> <p><?php echo $l->t( 'SQLite will be used.' ); ?></p> <input type="hidden" id="dbtype" name="dbtype" value="sqlite" /> <?php else: ?> - <p> - <input type="radio" name="dbtype" value='sqlite' id="sqlite" <?php OC_Helper::init_radio('dbtype', 'sqlite', 'sqlite'); ?>/> - <label class="sqlite" for="sqlite"><?php echo $l->t( 'SQLite' ); ?></label> - </p> + <input type="radio" name="dbtype" value='sqlite' id="sqlite" <?php OC_Helper::init_radio('dbtype', 'sqlite', 'sqlite'); ?>/> + <label class="sqlite" for="sqlite"><?php echo $l->t( 'SQLite' ); ?></label> <?php endif; ?> <?php endif; ?> @@ -44,10 +43,8 @@ <p><?php echo $l->t( 'MySQL will be used.' ); ?></p> <input type="hidden" id="dbtype" name="dbtype" value="mysql" /> <?php else: ?> - <p> - <input type="radio" name="dbtype" value='mysql' id="mysql" <?php OC_Helper::init_radio('dbtype','pgsql', 'mysql', 'sqlite'); ?>/> - <label class="mysql" for="mysql">MySQL</label> - </p> + <input type="radio" name="dbtype" value='mysql' id="mysql" <?php OC_Helper::init_radio('dbtype','pgsql', 'mysql', 'sqlite'); ?>/> + <label class="mysql" for="mysql">MySQL</label> <?php endif; ?> <?php endif; ?> @@ -59,6 +56,7 @@ <p><label class="pgsql" for="pgsql">PostgreSQL</label><input type="radio" name="dbtype" value='pgsql' id="pgsql" <?php OC_Helper::init_radio('dbtype','pgsql', 'mysql', 'sqlite'); ?>/></p> <?php endif; ?> <?php endif; ?> + </div> <?php if($hasOtherDB): ?> <div id="use_other_db"> |