FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » subscriptions ucp theme
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
subscriptions ucp theme [message #158470] Thu, 26 February 2009 16:00 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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}
Re: subscriptions ucp theme [message #158492 is a reply to message #158470] Fri, 27 February 2009 10:52 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Patch applied. See http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11884
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: mnav theme mispelling
Next Topic: error compacting messages
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 22 18:39:23 EDT 2017

Total time taken to generate the page: 0.00637 seconds