summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-04-19 01:17:35 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-04-19 01:18:57 +0200
commitc7d5e671acdcc73a9740a09249634be051c2968c (patch)
treec9769a66022a976d9b48c21454ebcb20bdc98e98 /templates
parentecd68e0c6e9a1ef4f77f117c9a564f4c99630bab (diff)
downloadnextcloud-server-c7d5e671acdcc73a9740a09249634be051c2968c.tar.gz
nextcloud-server-c7d5e671acdcc73a9740a09249634be051c2968c.zip
jQuery-value-hide-foo for the installation form as well
Diffstat (limited to 'templates')
-rw-r--r--templates/installation.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/templates/installation.php b/templates/installation.php
index 725c7f149ef..dc6dc5790fc 100644
--- a/templates/installation.php
+++ b/templates/installation.php
@@ -1,17 +1,17 @@
<div id="login">
- <img src="<?php echo image_path("", "owncloud-logo-medium-white.png"); ?>" alt="ownCloud" />
+ <img src="<?php echo image_path('', 'owncloud-logo-medium-white.png'); ?>" alt="ownCloud" />
<form action="#" method="post">
<input type='hidden' name='install' value='true'/>
<fieldset>
- <input type="text" name="login" value="admin username" />
- <input type="password" name="pass" value="password" />
+ <input type="text" name="login" id="admin" value="admin username" />
+ <input type="password" name="pass" id="password" value="password" />
</fieldset>
<fieldset>
<?php if(!$_['hasSQLite']): ?>
<legend><abbr title="to use SQLite instead, install it on your server">MySQL</abbr> Database</legend>
- <input type="text" name="dbuser" value="MySQL user" />
- <input type="password" name="dbpass" value="password" />
- <input type="text" name="dbname" value="database name" />
+ <input type="text" name="dbuser" id="dbuser" value="MySQL user" />
+ <input type="password" name="dbpass" id="dbpass" value="password" />
+ <input type="text" name="dbname" id="dbname" value="database name" />
<?php endif;?>
</fieldset>
<fieldset id="advanced">
@@ -22,24 +22,24 @@
<input type="radio" name="dbtype" value='sqlite' id="sqlite" checked="checked" /><label class="sqlite" for="sqlite">SQLite</label>
<input type="radio" name="dbtype" value='mysql' id="mysql"><label class="mysql" for="mysql">MySQL</label>
<div id="use_mysql">
- <input type="text" name="dbuser" value="MySQL user" />
- <input type="password" name="dbpass" value="password" />
- <input type="text" name="dbname" value="database name" />
+ <input type="text" name="dbuser" id="dbuser" value="MySQL user" />
+ <input type="password" name="dbpass" id="dbpass" value="password" />
+ <input type="text" name="dbname" id="dbname" value="database name" />
<?php endif;?>
<?php if($_['hasMySQL'] and !$_['hasSQLite']): ?>
- <input type='hidden' name='dbtype' value='mysql'/>
+ <input type="hidden" name="dbtype" value="mysql" />
<?php endif;?>
<?php if(!$_['hasMySQL'] and $_['hasSQLite']): ?>
- <input type='hidden' name='dbtype' value='sqlite'/>
+ <input type="hidden" name="dbtype" value="sqlite" />
<?php endif;?>
<?php if($_['hasMySQL'] and $_['hasSQLite']): ?>
- <label class="left">Database host</label><input type="text" name="dbhost" value="localhost" />
- <label class="left">Table prefix</label><input type="text" name="dbtableprefix" value="oc_" />
+ <label class="left">Database host</label><input type="text" name="dbhost" id="dbhost" value="localhost" />
+ <label class="left">Table prefix</label><input type="text" name="dbtableprefix" id="dbtableprefix" value="oc_" />
</div>
<?php endif;?>
<?php if($_['hasMySQL'] and !$_['hasSQLite']): ?>
- <label class="left">Host</label><input type="text" name="dbhost" value="localhost" />
- <label class="left">Table prefix</label><input type="text" name="dbtableprefix" value="oc_" />
+ <label class="left">Database host</label><input type="text" name="dbhost" id="dbhost" value="localhost" />
+ <label class="left">Table prefix</label><input type="text" name="dbtableprefix" id="dbtableprefix" value="oc_" />
<?php endif;?>
</div>
</fieldset>