From 3e3953bd1f26700bf427c0058d174cd657400435 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Fri, 6 Nov 2015 13:17:21 +0100
Subject: [PATCH] Update the rest of the submit buttons, except for those in
 modules.

---
 templates/attributequery.php     | 2 +-
 templates/login-ldapmulti.php    | 4 ++--
 templates/login.php              | 4 ++--
 templates/metadata-converter.php | 2 +-
 templates/post.php               | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/templates/attributequery.php b/templates/attributequery.php
index fc1459071..9c84eaeb4 100644
--- a/templates/attributequery.php
+++ b/templates/attributequery.php
@@ -59,7 +59,7 @@ assert('is_null($attributes) || is_array($attributes)');
 </p>
 
 <p>
-<input type="submit" name="send" value="Send query" />
+<button type="submit" name="send" class="btn">Send query</button>
 </p>
 </form>
 
diff --git a/templates/login-ldapmulti.php b/templates/login-ldapmulti.php
index b4430cbd8..6f73d5a5d 100644
--- a/templates/login-ldapmulti.php
+++ b/templates/login-ldapmulti.php
@@ -31,7 +31,7 @@
 
 					
 				<td style="padding: .4em;" rowspan="3">
-					<input type="submit" tabindex="3" id="regularsubmit" value="<?php echo $this->t('login_button'); ?>" />
+					<button type="submit" tabindex="3" id="regularsubmit" class="btn"><?php echo $this->t('login_button'); ?></button>
 					<input type="hidden" name="RelayState" value="<?php echo htmlspecialchars($this->data['relaystate']); ?>" />
 				</td>
 			</tr>
@@ -56,7 +56,7 @@
 				<td><input type="password" tabindex="2" name="password" /></td>
 			</tr>
 		<tr><td></td><td>
-		<input type="submit" tabindex="5" id="mobilesubmit" value="<?php echo $this->t('login_button'); ?>" />
+		<button type="submit" tabindex="5" id="mobilesubmit" class="btn"><?php echo $this->t('login_button'); ?></button>
 		</td></tr>
 		</table>
 		
diff --git a/templates/login.php b/templates/login.php
index bded6d6d1..1112a3f31 100644
--- a/templates/login.php
+++ b/templates/login.php
@@ -45,7 +45,7 @@
 			</td>
 
 			<td style="padding: .4em;" rowspan="2">
-				<input type="submit" class="regularsubmit" tabindex="3" value="<?php echo $this->t('login_button'); ?>" />
+				<button type="submit" class="regularsubmit" tabindex="3" class="btn"><?php echo $this->t('login_button'); ?></button>
 				<input type="hidden" name="RelayState" value="<?php echo htmlspecialchars($this->data['relaystate']); ?>" />
 			</td>
 		</tr>
@@ -54,7 +54,7 @@
 			<td><input id="password" type="password" tabindex="2" name="password" /></td>
 		</tr>
 	<tr><td></td><td>
-	<input type="submit" tabindex="5" id="mobilesubmit" value="<?php echo $this->t('login_button'); ?>" />
+	<button type="submit" tabindex="5" id="mobilesubmit" class="btn"><?php echo $this->t('login_button'); ?></button>
 	</td></tr>
 	</table>
 	
diff --git a/templates/metadata-converter.php b/templates/metadata-converter.php
index 13a580941..19fac27e4 100644
--- a/templates/metadata-converter.php
+++ b/templates/metadata-converter.php
@@ -13,7 +13,7 @@ $this->includeAtTemplateBase('includes/header.php');
             <?php echo $this->t('metaconv_selectfile'); ?>
             <input type="file" name="xmlfile"/></p>
         <p>
-            <input type="submit" value="<?php echo $this->t('metaconv_parse'); ?>" class="btn"/>
+            <button type="submit" class="btn"><?php echo $this->t('metaconv_parse'); ?></button>
         </p>
     </form>
 <?php
diff --git a/templates/post.php b/templates/post.php
index 323c39cea..101892917 100644
--- a/templates/post.php
+++ b/templates/post.php
@@ -62,7 +62,7 @@ foreach ($post as $name => $value) {
 ?>
 
 		<noscript>
-			<input type="submit" value="Submit" />
+			<button type="submit" class="btn">Submit</button>
 		</noscript>
 	</form>
 
-- 
GitLab