diff options
author | vdigital <vdigital@piwigo.org> | 2007-02-05 07:16:21 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2007-02-05 07:16:21 +0000 |
commit | 01be744d0716119e993a0d9798534fd3f53e5fff (patch) | |
tree | 9311410737f024e81eeb47f49084197ec390ee01 /template/yoga | |
parent | 76a58082252e71443f3983d5bfb8e123818adb3d (diff) |
Yoga has input[type="submit"] style addressability restored.
(Since Javascript/Rating it was not possible to change button without loosing rating stars).
p0w0 is fix for a new button display.
git-svn-id: http://piwigo.org/svn/trunk@1780 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
32 files changed, 106 insertions, 103 deletions
diff --git a/template/yoga/admin/cat_list.tpl b/template/yoga/admin/cat_list.tpl index f34618118..3d06db7df 100644 --- a/template/yoga/admin/cat_list.tpl +++ b/template/yoga/admin/cat_list.tpl @@ -6,7 +6,7 @@ <form id="addVirtual" action="{F_ACTION}" method="post"> <p> {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" /> - <input type="submit" value="{L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} /> + <input class="submit" type="submit" value="{L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} /> <!-- BEGIN eop_link --> <a href="#EoP" class="button"><img src="{themeconf:icon_dir}/page_end.png" class="button" alt="{lang:page_end}" /></a> <!-- END eop_link --> @@ -16,8 +16,8 @@ <!-- BEGIN categories --> <form id="categoryOrdering" action="{F_ACTION}" method="post"> <p> - <input name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} /> - <input name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} /> + <input class="submit" name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} /> + <input class="submit" name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} /> </p> <ul class="categoryUl"> @@ -61,8 +61,8 @@ <!-- END category --> </ul> <p> - <input name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} /> - <input name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} /> + <input class="submit" name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} /> + <input class="submit" name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} /> </p> </form> diff --git a/template/yoga/admin/cat_modify.tpl b/template/yoga/admin/cat_modify.tpl index 4b81a1be7..2d175e2f3 100644 --- a/template/yoga/admin/cat_modify.tpl +++ b/template/yoga/admin/cat_modify.tpl @@ -125,8 +125,8 @@ </fieldset> <p style="text-align:center;"> - <input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/> - <input type="reset" value="{lang:Reset}" name="reset" /> + <input class="submit" type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/> + <input class="submit" type="reset" value="{lang:Reset}" name="reset" /> </p> <!-- BEGIN representant --> @@ -145,11 +145,11 @@ </td> <td> <!-- BEGIN set_random --> - <p><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" {TAG_INPUT_ENABLED}/></p> <!-- END set_random --> <!-- BEGIN delete_representant --> - <p><input type="submit" name="delete_representant" value="{lang:Delete Representant}" /></p> + <p><input class="submit" type="submit" name="delete_representant" value="{lang:Delete Representant}" /></p> <!-- END delete_representant --> </td> </tr> @@ -183,8 +183,8 @@ </table> <p> - <input type="submit" value="{lang:Submit}" name="submitAdd" {TAG_INPUT_ENABLED}/> - <input type="reset" value="{lang:Reset}" name="reset" /> + <input class="submit" type="submit" value="{lang:Submit}" name="submitAdd" {TAG_INPUT_ENABLED}/> + <input class="submit" type="reset" value="{lang:Reset}" name="reset" /> </p> </fieldset> diff --git a/template/yoga/admin/cat_move.tpl b/template/yoga/admin/cat_move.tpl index e8ae89528..1e56e2c6f 100644 --- a/template/yoga/admin/cat_move.tpl +++ b/template/yoga/admin/cat_move.tpl @@ -33,8 +33,8 @@ </fieldset> <p> - <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}> - <input type="reset" name="reset" value="{lang:Reset}"> + <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}> + <input class="submit" type="reset" name="reset" value="{lang:Reset}"> </p> </form> diff --git a/template/yoga/admin/cat_perm.tpl b/template/yoga/admin/cat_perm.tpl index 9c8fafa69..d4331d9c8 100644 --- a/template/yoga/admin/cat_perm.tpl +++ b/template/yoga/admin/cat_perm.tpl @@ -18,7 +18,7 @@ <li><label><input type="checkbox" name="deny_groups[]" value="{group_granted.ID}" /> {group_granted.NAME}</label></li> <!-- END group_granted --> </ul> - <input type="submit" name="deny_groups_submit" value="{lang:Deny selected groups}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="deny_groups_submit" value="{lang:Deny selected groups}" {TAG_INPUT_ENABLED}/> </fieldset> <fieldset> @@ -28,7 +28,7 @@ <li><label><input type="checkbox" name="grant_groups[]" value="{group_denied.ID}"> {group_denied.NAME}</label></li> <!-- END group_denied --> </ul> - <input type="submit" name="grant_groups_submit" value="{lang:Grant selected groups}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="grant_groups_submit" value="{lang:Grant selected groups}" {TAG_INPUT_ENABLED}/> </fieldset> <h4>{lang:Users}</h4> @@ -40,7 +40,7 @@ <li><label><input type="checkbox" name="deny_users[]" value="{user_granted.ID}" /> {user_granted.NAME}</label></li> <!-- END user_granted --> </ul> - <input type="submit" name="deny_users_submit" value="{lang:Deny selected users}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="deny_users_submit" value="{lang:Deny selected users}" {TAG_INPUT_ENABLED}/> </fieldset> <fieldset> @@ -59,7 +59,7 @@ <li><label><input type="checkbox" name="grant_users[]" value="{user_denied.ID}"> {user_denied.NAME}</label></li> <!-- END user_denied --> </ul> - <input type="submit" name="grant_users_submit" value="{lang:Grant selected users}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="grant_users_submit" value="{lang:Grant selected users}" {TAG_INPUT_ENABLED}/> </fieldset> </form> diff --git a/template/yoga/admin/comments.tpl b/template/yoga/admin/comments.tpl index 3749443ee..39c18bd5c 100644 --- a/template/yoga/admin/comments.tpl +++ b/template/yoga/admin/comments.tpl @@ -15,10 +15,10 @@ <p class="bottomButtons"> <input type="hidden" name="list" value="{LIST}" /> - <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/> - <input type="submit" name="validate-all" value="{lang:Validate All}" {TAG_INPUT_ENABLED}/> - <input type="submit" name="reject-all" value="{lang:Reject All}" {TAG_INPUT_ENABLED}/> - <input type="reset" value="{lang:Reset}" /> + <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="validate-all" value="{lang:Validate All}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="reject-all" value="{lang:Reject All}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="reset" value="{lang:Reset}" /> </p> </form> diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl index f4c30bb78..a6b14e1e5 100644 --- a/template/yoga/admin/configuration.tpl +++ b/template/yoga/admin/configuration.tpl @@ -217,7 +217,7 @@ <!-- END default --> <p> - <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}> - <input type="reset" name="reset" value="{lang:Reset}"> + <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}> + <input class="submit" type="reset" name="reset" value="{lang:Reset}"> </p> </form> diff --git a/template/yoga/admin/double_select.tpl b/template/yoga/admin/double_select.tpl index 2bfa28072..c29f98e00 100644 --- a/template/yoga/admin/double_select.tpl +++ b/template/yoga/admin/double_select.tpl @@ -7,7 +7,7 @@ <option {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option> <!-- END category_option_true --> </select> - <p><input type="submit" value="»" name="falsify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="»" name="falsify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> </td> <td> @@ -17,7 +17,7 @@ <option {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option> <!-- END category_option_false --> </select> - <p><input type="submit" value="«" name="trueify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="«" name="trueify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> </td> </tr> </table> diff --git a/template/yoga/admin/element_set_global.tpl b/template/yoga/admin/element_set_global.tpl index 5a05fb8be..0548097c5 100644 --- a/template/yoga/admin/element_set_global.tpl +++ b/template/yoga/admin/element_set_global.tpl @@ -142,7 +142,7 @@ </p> - <p><input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/></p> </fieldset> @@ -164,7 +164,7 @@ </ul> - <p><input type="submit" value="{L_SUBMIT}" name="submit_caddie" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="{L_SUBMIT}" name="submit_caddie" {TAG_INPUT_ENABLED}/></p> </fieldset> diff --git a/template/yoga/admin/element_set_unit.tpl b/template/yoga/admin/element_set_unit.tpl index 5adce8833..02c78d58c 100644 --- a/template/yoga/admin/element_set_unit.tpl +++ b/template/yoga/admin/element_set_unit.tpl @@ -81,8 +81,8 @@ <!-- END element --> <p> - <input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/> - <input type="reset" value="{lang:Reset}" /> + <input class="submit" type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/> + <input class="submit" type="reset" value="{lang:Reset}" /> </p> diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl index 864efade7..43ac53455 100644 --- a/template/yoga/admin/group_list.tpl +++ b/template/yoga/admin/group_list.tpl @@ -16,7 +16,7 @@ <input type="text" id="groupname" name="groupname" maxlength="50" size="20" /> <p> - <input type="submit" name="submit_add" value="{lang:Add}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="submit_add" value="{lang:Add}" {TAG_INPUT_ENABLED}/> </p> </fieldset> </form> diff --git a/template/yoga/admin/history.tpl b/template/yoga/admin/history.tpl index 91f5fb4c6..746890ab8 100644 --- a/template/yoga/admin/history.tpl +++ b/template/yoga/admin/history.tpl @@ -49,7 +49,7 @@ </li> </ul> - <input type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED}/> </fieldset> </form> diff --git a/template/yoga/admin/notification_by_mail.tpl b/template/yoga/admin/notification_by_mail.tpl index 22309e96d..620f8a8dc 100644 --- a/template/yoga/admin/notification_by_mail.tpl +++ b/template/yoga/admin/notification_by_mail.tpl @@ -17,7 +17,7 @@ <!-- BEGIN repost --> <fieldset> <div class="infos"> - <input type="submit" value="{lang:nbm_repost_submit}" name="{repost.REPOST_SUBMIT_NAME}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" value="{lang:nbm_repost_submit}" name="{repost.REPOST_SUBMIT_NAME}" {TAG_INPUT_ENABLED}/> </div> </fieldset> <!-- END repost --> @@ -48,8 +48,8 @@ </fieldset> <p> - <input type="submit" value="{lang:Submit}" name="param_submit" {TAG_INPUT_ENABLED}/> - <input type="reset" value="{lang:Reset}" name="param_reset"/> + <input class="submit" type="submit" value="{lang:Submit}" name="param_submit" {TAG_INPUT_ENABLED}/> + <input class="submit" type="reset" value="{lang:Reset}" name="param_reset"/> </p> <!-- END param --> @@ -105,7 +105,7 @@ </fieldset> <p> - <input type="submit" value="{lang:nbm_send_submit}" name="send_submit" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" value="{lang:nbm_send_submit}" name="send_submit" {TAG_INPUT_ENABLED}/> </p> <!-- END send_data --> <!-- END send --> diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl index ee144bcc3..8ea3360be 100644 --- a/template/yoga/admin/picture_modify.tpl +++ b/template/yoga/admin/picture_modify.tpl @@ -112,8 +112,8 @@ </table> <p style="text-align:center;"> - <input type="submit" value="{lang:Submit}" name="submit" {TAG_INPUT_ENABLED}/> - <input type="reset" value="{lang:Reset}" name="reset" /> + <input class="submit" type="submit" value="{lang:Submit}" name="submit" {TAG_INPUT_ENABLED}/> + <input class="submit" type="reset" value="{lang:Reset}" name="reset" /> </p> </fieldset> @@ -133,7 +133,7 @@ <option {associated_option.SELECTED} value="{associated_option.VALUE}">{associated_option.OPTION}</option> <!-- END associated_option --> </select> - <p><input type="submit" value="»" name="dissociate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="»" name="dissociate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> </td> <td> @@ -143,7 +143,7 @@ <option {dissociated_option.SELECTED} value="{dissociated_option.VALUE}">{dissociated_option.OPTION}</option> <!-- END dissociated_option --> </select> - <p><input type="submit" value="«" name="associate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="«" name="associate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> </td> </tr> </table> @@ -164,7 +164,7 @@ <option {elected_option.SELECTED} value="{elected_option.VALUE}">{elected_option.OPTION}</option> <!-- END elected_option --> </select> - <p><input type="submit" value="»" name="dismiss" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="»" name="dismiss" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> </td> <td> @@ -174,7 +174,7 @@ <option {dismissed_option.SELECTED} value="{dismissed_option.VALUE}">{dismissed_option.OPTION}</option> <!-- END dismissed_option --> </select> - <p><input type="submit" value="«" name="elect" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" value="«" name="elect" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p> </td> </tr> </table> diff --git a/template/yoga/admin/rating.tpl b/template/yoga/admin/rating.tpl index d5efdfbab..8f1c6bf70 100755 --- a/template/yoga/admin/rating.tpl +++ b/template/yoga/admin/rating.tpl @@ -27,7 +27,7 @@ <input type="text" name="display" size="2" value="{DISPLAY}"> </label> - <input type="submit" name="submit_filter" value="{lang:Submit}" /> + <input class="submit" type="submit" name="submit_filter" value="{lang:Submit}" /> <input type="hidden" name="page" value="rating" /> </fieldset> </form> diff --git a/template/yoga/admin/site_manager.tpl b/template/yoga/admin/site_manager.tpl index 3bed23b29..b337e838d 100644 --- a/template/yoga/admin/site_manager.tpl +++ b/template/yoga/admin/site_manager.tpl @@ -68,6 +68,6 @@ <input type="text" name="galleries_url" id="galleries_url" /> </p> <p> - <input type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED} /> + <input class="submit" type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED} /> </p> </form> diff --git a/template/yoga/admin/site_update.tpl b/template/yoga/admin/site_update.tpl index 91aef24a7..31152ef35 100644 --- a/template/yoga/admin/site_update.tpl +++ b/template/yoga/admin/site_update.tpl @@ -100,8 +100,8 @@ </fieldset> <p class="bottomButtons"> - <input type="submit" value="{lang:submit}" name="submit" /> - <input type="reset" value="{lang:reset}" name="reset" /> + <input class="submit" type="submit" value="{lang:submit}" name="submit" /> + <input class="submit" type="reset" value="{lang:reset}" name="reset" /> </p> </form> <!-- END introduction --> diff --git a/template/yoga/admin/tags.tpl b/template/yoga/admin/tags.tpl index 30a6e4124..813acf7f4 100644 --- a/template/yoga/admin/tags.tpl +++ b/template/yoga/admin/tags.tpl @@ -22,8 +22,8 @@ </table> <p> - <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED} /> - <input type="reset" value="{lang:Reset}" /> + <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED} /> + <input class="submit" type="reset" value="{lang:Reset}" /> </p> </fieldset> <!-- END edit_tags --> @@ -36,7 +36,7 @@ <input type="text" name="add_tag" /> </label> - <p><input type="submit" name="add" value="{lang:Submit}" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" name="add" value="{lang:Submit}" {TAG_INPUT_ENABLED}/></p> </fieldset> <fieldset> @@ -45,8 +45,8 @@ {TAG_SELECTION} <p> - <input type="submit" name="edit" value="{lang:Edit selected tags}"/> - <input type="submit" name="delete" value="{lang:Delete selected tags}" onclick="return confirm('{lang:Are you sure?}');" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="edit" value="{lang:Edit selected tags}"/> + <input class="submit" type="submit" name="delete" value="{lang:Delete selected tags}" onclick="return confirm('{lang:Are you sure?}');" {TAG_INPUT_ENABLED}/> </p> </fieldset> diff --git a/template/yoga/admin/thumbnail.tpl b/template/yoga/admin/thumbnail.tpl index 8023a5551..ed7000d90 100644 --- a/template/yoga/admin/thumbnail.tpl +++ b/template/yoga/admin/thumbnail.tpl @@ -98,7 +98,7 @@ </ul> </fieldset> - <p><input type="submit" name="submit" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}/></p> + <p><input class="submit" type="submit" name="submit" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}/></p> </form> <!-- END params --> diff --git a/template/yoga/admin/user_list.tpl b/template/yoga/admin/user_list.tpl index 0eaf67fc0..7aef79821 100644 --- a/template/yoga/admin/user_list.tpl +++ b/template/yoga/admin/user_list.tpl @@ -11,7 +11,7 @@ <label>{lang:Username} <input type="text" name="login" maxlength="50" size="20" /></label> <label>{lang:Password} <input type="text" name="password" /></label> <label>{lang:Email address} <input type="text" name="email" /></label> - <input type="submit" name="submit_add" value="{lang:submit}" {TAG_INPUT_ENABLED} /> + <input class="submit" type="submit" name="submit_add" value="{lang:submit}" {TAG_INPUT_ENABLED} /> </fieldset> </form> @@ -58,7 +58,7 @@ </select> </label> - <input type="submit" name="submit_filter" value="{lang:submit}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="submit_filter" value="{lang:submit}" {TAG_INPUT_ENABLED}/> </fieldset> @@ -98,7 +98,7 @@ <fieldset> <legend>{lang:Deletions}</legend> <label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label> - <input type="submit" value="{lang:Delete selected users}" name="delete" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" value="{lang:Delete selected users}" name="delete" {TAG_INPUT_ENABLED}/> </fieldset> <fieldset> @@ -312,8 +312,8 @@ </p> <p> - <input type="submit" value="{lang:submit}" name="pref_submit" {TAG_INPUT_ENABLED} /> - <input type="reset" value="{lang:reset}" name="pref_reset" /> + <input class="submit" type="submit" value="{lang:submit}" name="pref_submit" {TAG_INPUT_ENABLED} /> + <input class="submit" type="reset" value="{lang:reset}" name="pref_reset" /> </p> </form> diff --git a/template/yoga/admin/waiting.tpl b/template/yoga/admin/waiting.tpl index d5e631652..2732ad621 100644 --- a/template/yoga/admin/waiting.tpl +++ b/template/yoga/admin/waiting.tpl @@ -36,10 +36,10 @@ <p class="bottomButtons"> <input type="hidden" name="list" value="{LIST}" /> - <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/> - <input type="submit" name="validate-all" value="{lang:Validate All}" {TAG_INPUT_ENABLED}/> - <input type="submit" name="reject-all" value="{lang:Reject All}" {TAG_INPUT_ENABLED}/> - <input type="reset" value="{lang:Reset}" /> + <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="validate-all" value="{lang:Validate All}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="reject-all" value="{lang:Reject All}" {TAG_INPUT_ENABLED}/> + <input class="submit" type="reset" value="{lang:Reset}" /> </p> </form> diff --git a/template/yoga/admin/ws_checker.tpl b/template/yoga/admin/ws_checker.tpl index 9f8238528..04177b1c6 100644 --- a/template/yoga/admin/ws_checker.tpl +++ b/template/yoga/admin/ws_checker.tpl @@ -174,7 +174,7 @@ <td>
</td>
<td>
- <input type="submit" name="wsa_submit" style="width: 10em; padding-top: 3px;"
+ <input class="submit" type="submit" name="wsa_submit" style="width: 10em; padding-top: 3px;"
value="{lang:Submit}" {TAG_INPUT_ENABLED}
title="{lang:Add this access definition}" />
</td>
@@ -229,7 +229,7 @@ <td>
<input type="radio" name="delete_confirmation"
value="true" />
- <input type="submit" name="wsX_submit" style="width: 10em; padding-top: 3px;"
+ <input class="submit" type="submit" name="wsX_submit" style="width: 10em; padding-top: 3px;"
value="{lang:Delete}" {TAG_INPUT_ENABLED}/>
</td>
</tr>
@@ -250,7 +250,7 @@ </option>
<!-- END upd_end -->
</select>
- <input type="submit" name="wsu_submit" style="width: 10em; padding-top: 3px;"
+ <input class="submit" type="submit" name="wsu_submit" style="width: 10em; padding-top: 3px;"
value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
</td>
<td>
diff --git a/template/yoga/comments.tpl b/template/yoga/comments.tpl index 8ba52d5ef..4812d6fa4 100644 --- a/template/yoga/comments.tpl +++ b/template/yoga/comments.tpl @@ -70,7 +70,7 @@ </fieldset> - <p><input type="submit" value="{lang:Filter and display}"></p> + <p><input class="submit" type="submit" value="{lang:Filter and display}"></p> </form> diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index 6f364da23..5dd9ca9ce 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -54,7 +54,7 @@ </ul> </fieldset> - <p><input tabindex="4" type="submit" name="login" value="{lang:submit}"></p> + <p><input class="submit" tabindex="4" type="submit" name="login" value="{lang:submit}"></p> </form> <script type="text/javascript"><!-- diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl index 2b8141724..c698ed497 100644 --- a/template/yoga/menubar.tpl +++ b/template/yoga/menubar.tpl @@ -133,7 +133,7 @@ <!-- END remember_me --> <p> - <input type="submit" name="login" value="{lang:submit}"> + <input class="submit" type="submit" name="login" value="{lang:submit}"> </p> <ul class="actions"> <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li> diff --git a/template/yoga/password.tpl b/template/yoga/password.tpl index e80c817ad..d0fb73722 100644 --- a/template/yoga/password.tpl +++ b/template/yoga/password.tpl @@ -48,7 +48,7 @@ </ul> </fieldset> - <p><input type="submit" name="submit" value="{lang:Send new password}"></p> + <p><input class="submit" type="submit" name="submit" value="{lang:Send new password}"></p> </form> </div> <!-- content --> diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index c92d0e8d6..99056b8ad 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -192,7 +192,7 @@ <!-- END author_field --> <label>{lang:comment}<textarea name="content" rows="5" cols="80">{comments.add_comment.CONTENT}</textarea></label> <input type="hidden" name="key" value="{comments.add_comment.KEY}" /> - <input type="submit" class="submit" value="{lang:submit}"> + <input class="submit" type="submit" class="submit" value="{lang:submit}"> </fieldset> </form> <!-- END add_comment --> diff --git a/template/yoga/profile_content.tpl b/template/yoga/profile_content.tpl index 931b08c61..c62bca8c9 100644 --- a/template/yoga/profile_content.tpl +++ b/template/yoga/profile_content.tpl @@ -111,8 +111,8 @@ </fieldset> <p class="bottomButtons"> - <input type="submit" name="validate" value="{lang:submit}"> - <input type="reset" name="reset" value="{lang:reset}" class="reset"> + <input class="submit" type="submit" name="validate" value="{lang:submit}"> + <input class="submit" type="reset" name="reset" value="{lang:reset}" class="reset"> </p> </form> diff --git a/template/yoga/register.tpl b/template/yoga/register.tpl index c047145af..ce45e4c7a 100644 --- a/template/yoga/register.tpl +++ b/template/yoga/register.tpl @@ -54,8 +54,8 @@ </fieldset> <p class="bottomButtons"> - <input type="submit" name="submit" value="{lang:Register}"> - <input type="reset" value="{lang:Reset}"> + <input class="submit" type="submit" name="submit" value="{lang:Register}"> + <input class="submit" type="reset" value="{lang:Reset}"> </p> </form> diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index e893d6276..dd0d9ed00 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -126,8 +126,8 @@ </ul> </fieldset> <p> - <input type="submit" name="submit" value="{lang:submit}" class="bouton" /> - <input type="reset" value="{lang:reset}" class="bouton" /> + <input class="submit" type="submit" name="submit" value="{lang:submit}" class="bouton" /> + <input class="submit" type="reset" value="{lang:reset}" class="bouton" /> </p> </form> diff --git a/template/yoga/theme/p0w0/images/button-bg.png b/template/yoga/theme/p0w0/images/button-bg.png Binary files differnew file mode 100644 index 000000000..2ba52828b --- /dev/null +++ b/template/yoga/theme/p0w0/images/button-bg.png diff --git a/template/yoga/theme/p0w0/theme.css b/template/yoga/theme/p0w0/theme.css index 5edf2059b..f71a4a495 100644 --- a/template/yoga/theme/p0w0/theme.css +++ b/template/yoga/theme/p0w0/theme.css @@ -99,11 +99,7 @@ input.rateButtonSelected, TD.calDayCellEmpty, SPAN.calItemEmpty { color: silver; } .calBackDate { color: #000; } -input[type="reset"], -input[type="submit"] { - color: #fff; - font-weight: bold; -} + /******************************************************************************/ /* Backgrounds Only */ @@ -138,10 +134,7 @@ H2, #menubar DT, .throw, TD H3, } input#qsearchInput { background-color: #cde; } .virtual_cat { background: #fff !important; } -input[type="reset"], -input[type="submit"] { - background-color: #369; -} + /******************************************************************************/ /* Borders, Margins, Padding Only */ BODY { margin: 0px; padding: 0px; } @@ -218,27 +211,9 @@ A.navThumb, A.navThumb:hover, } SPAN.calItem, SPAN.calItemEmpty { border: 1px solid gray; } TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid gray;} -input[type="reset"], -input[type="submit"] { - border: 1px solid #eef; - padding: 5px 5px; -} -#addComment input[name="submit"] { padding: 5px 30px; } #theAdminPage #content table td { padding: 2px 8px; } -input[type="text"], input[type="password"], input.button, -input.submit, input.reset, input.file, -select, textarea { - color: #369; - border: 1px solid #369; - background-color: #eeeeff; -} - -input:focus, select:focus, textarea:focus /*, INPUT.focus, FORM .focus*/ { - background-color: #fff; -} - /******************************************************************************/ -/* Display, Visibility and others */ +/* Display, Visibility, buttons and others */ label { cursor:pointer } .zero { display: none } .one { } @@ -248,3 +223,31 @@ label { cursor:pointer } display:block; } #content H2::after { content: leader(dotted) } +input[type="text"], input[type="password"], input.button, +input.submit, input.reset, input.file, +select, textarea { + color: #369; + border: 1px solid #369; + background-color: #eeeeff; +} +input.submit[type="reset"]:focus, +input.submit:focus { + background-color: #369; +} +input.submit[type="reset"], +input.submit { + background: url( images/button-bg.png ); + border: 3px double #369; + border-left-color: #cde; + border-top-color: #cde; + font-weight: bold; + color: #fff; + padding: 0.25em; +} +input.submit[type="reset"]:active, +input.submit:active { + background: #69c; + border: 3px double #369; + border-left-color: #9ab; + border-top-color: #9ab; +} diff --git a/template/yoga/upload.tpl b/template/yoga/upload.tpl index ef7498aa9..6fb30d208 100644 --- a/template/yoga/upload.tpl +++ b/template/yoga/upload.tpl @@ -84,7 +84,7 @@ <!-- END fields --> <tr> <td colspan="2" align="center"> - <input name="submit" type="submit" value="{lang:submit}" class="bouton" /> + <input class="submit" name="submit" type="submit" value="{lang:submit}" class="bouton" /> </td> </tr> </table> |