Home »
FUDforum Development »
Bug Reports »
subscriptions ucp theme
subscriptions ucp theme [message #158470] |
Thu, 26 February 2009 21:00 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
This patch adds id="subscribe" to the form, and class="button" to the buttons. This is first in a series of patches I will release, fixing what I believe to be missing theme elements.
--- subscribed.tmpl.orig 2009-02-26 13:48:12.000000000 -0700
+++ subscribed.tmpl 2009-02-26 13:52:01.000000000 -0700
@@ -25,20 +25,20 @@
{TEMPLATE: header}
{TEMPLATE: usercp}
{TEMPLATE-DATA: tabs}
-<form method="post" action="{TEMPLATE: subscribed_action}">
+<form method="post" id="subscribe" action="{TEMPLATE: subscribed_action}">
{DEF: _hs}
<table cellspacing="1" cellpadding="2" class="ContentTable">
<tr><th colspan="3">{MSG: subscribed_forums}<a name="fff"></a></th></tr>
{IF: $subscribed_forum_data}
{VAR: subscribed_forum_data}
-<tr class="RowStyleC"><td class="ac" colspan="2"><input type="submit" name="f_unsub_sel" value="{MSG: unsubscribe}" /></td><td class="ar"><input type="submit" name="f_unsub_all" value="{MSG: sub_unsub_all_forums}" /></td></tr>
+<tr class="RowStyleC"><td class="ac" colspan="2"><input type="submit" class="button" name="f_unsub_sel" value="{MSG: unsubscribe}" /></td><td class="ar"><input type="submit" class="button" name="f_unsub_all" value="{MSG: sub_unsub_all_forums}" /></td></tr>
{ELSE}
<tr class="{ALT-VAR: search_alt RowStyleA RowStyleB}"><td colspan="3">{MSG: no_subscribed_forums}</td></tr>
{END}
<tr><th colspan="3">{MSG: subscribed_threads}</th></tr>
{IF: $subscribed_thread_data}
{VAR: subscribed_thread_data}
-<tr class="RowStyleC"><td class="ac" colspan="2"><input type="submit" name="t_unsub_sel" value="{MSG: unsubscribe}" /></td><td class="ar"><input type="submit" name="t_unsub_all" value="{MSG: sub_unsub_all_topics}" /></td></tr>
+<tr class="RowStyleC"><td class="ac" colspan="2"><input type="submit" class="button" name="t_unsub_sel" value="{MSG: unsubscribe}" /></td><td class="ar"><input type="submit" class="button" name="t_unsub_all" value="{MSG: sub_unsub_all_topics}" /></td></tr>
{ELSE}
<tr class="{ALT-VAR: search_alt RowStyleA RowStyleB}"><td colspan="3">{MSG: no_subscribed_threads}</td></tr>
{END}
|
|
|
|
Goto Forum:
Current Time: Wed Dec 04 08:22:15 GMT 2024
Total time taken to generate the page: 0.02577 seconds