diff options
author | Andrew Dolgov <[email protected]> | 2010-01-12 15:56:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-12 15:56:29 +0300 |
commit | 577399e8294385343fdfc893c1436cf4ea00d49f (patch) | |
tree | f117921b2e7214b52df96480d26944d0bc9afab0 /modules/pref-prefs.php | |
parent | ad491d75a67574c1b76bfe7b269e6c22511eaede (diff) |
more button styles work
Diffstat (limited to 'modules/pref-prefs.php')
-rw-r--r-- | modules/pref-prefs.php | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 3bb86e9e1..6fb5fb576 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -228,8 +228,8 @@ print "</form>"; - print "<p><input class=\"button\" type=\"submit\" - onclick=\"return changeUserEmail()\" value=\"".__("Change e-mail")."\">"; + print "<p><button onclick=\"return changeUserEmail()\">". + __("Change e-mail")."</button>"; print "<form onsubmit=\"return false\" name=\"change_pass_form\" id=\"change_pass_form\">"; @@ -267,9 +267,8 @@ print "</form>"; - print "<p><input class=\"button\" type=\"submit\" - onclick=\"return changeUserPassword()\" - value=\"".__("Change password")."\">"; + print "<p><button onclick=\"return changeUserPassword()\">". + __("Change password")."</button>"; } @@ -303,8 +302,7 @@ print "</table>"; print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">"; print "<input type=\"hidden\" name=\"subop\" value=\"change-theme\">"; - print "<p><input class=\"button\" type=\"submit\" - value=\"".__('Change theme')."\">"; + print "<p><button>".__('Change theme')."</button>"; print "</form>"; } @@ -398,13 +396,11 @@ print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">"; - print "<p><input class=\"button\" type=\"submit\" - onclick=\"return validatePrefsSave()\" - value=\"".__('Save configuration')."\">"; + print "<p><button onclick=\"return validatePrefsSave()\">". + __('Save configuration')."</button> "; - print " <input class=\"button\" type=\"submit\" - onclick=\"return validatePrefsReset()\" - value=\"".__('Reset to defaults')."\"></p>"; + print "<button onclick=\"return validatePrefsReset()\">". + __('Reset to defaults')."</button></p>"; print "</form>"; |