[css] adding many ok/cancel class to buttons, adding explicit yes/no texts

This commit is contained in:
Benjamin Sonntag 2013-10-18 13:31:39 +00:00
parent 348a91066f
commit 2ab928aa2e
6 changed files with 10 additions and 9 deletions

View File

@ -109,7 +109,8 @@ for($i=0;$i<count($r);$i++){ ?>
</table>
<br />
<input type="submit" class="inb" value="<?php __("Add this user"); ?>" />
<input type="submit" class="inb ok" value="<?php __("Add this user"); ?>" />
<input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='hta_list.php';"/>
</form>
</fieldset>

View File

@ -112,8 +112,8 @@ foreach($html as $h) echo $h;
?>
<tr class="trbtn"><td colspan="2">
<input type="submit" class="inb" name="submit" value="<?php __("Change this email address"); ?>" />
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="window.history.go(-1);"/>
<input type="submit" class="inb ok" name="submit" value="<?php __("Change this email address"); ?>" />
<input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="window.history.go(-1);"/>
</td></tr>
</table>
</form>

View File

@ -87,7 +87,7 @@ while (list($key,$val)=each($_POST)) {
?>
<br />
<input type="submit" class="inb" name="sub" value="<?php __("Yes"); ?>" /> <input type="button" class="inb" name="non" value="<?php __("No"); ?>" onclick="history.back()" />
<input type="submit" class="inb ok" name="sub" value="<?php __("Yes, delete the database"); ?>" /> <input type="button" class="inb cancel" name="non" value="<?php __("No, don't delete the database"); ?>" onclick="history.back()" />
</p>
</form>
<?php include_once("foot.php"); ?>

View File

@ -69,8 +69,8 @@ getFields($fields);
</tr>
<tr class="trbtn"><td colspan="2">
<input type="submit" class="inb" name="submit" value="<?php __("Create this new MySQL user"); ?>" />
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_users_list.php'"/>
<input type="submit" class="inb ok" name="submit" value="<?php __("Create this new MySQL user"); ?>" />
<input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_users_list.php'"/>
</td></tr>
</table>
</form>

View File

@ -73,7 +73,7 @@ while (list($key,$val)=each($_POST)) {
?>
<br />
<input type="submit" class="inb" name="sub" value="<?php __("Yes"); ?>" /> - <input type="button" class="inb" name="non" value="<?php __("No"); ?>" onclick="history.back()" />
<input type="submit" class="inb ok" name="sub" value="<?php __("Yes, delete the MySQL user"); ?>" /> <input type="button" class="inb cancel" name="non" value="<?php __("No, don't delete the MySQL user"); ?>" onclick="history.back()" />
</p>
</form>
<?php include_once("foot.php"); ?>

View File

@ -100,8 +100,8 @@ for($i=0;$i<count($r);$i++) {
?>
</table>
<p>
<input type="submit" value="<?php __("Apply"); ?>" class="inb" />
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_users_list.php'"/>
<input type="submit" class="inb ok" value="<?php __("Apply"); ?>"/>
<input type="button" class="inb cancel" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='sql_users_list.php'"/>
</p>
</form>
<p>&nbsp;</p>