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

Home » FUDforum » FUDforum Suggestions » Format CODE through template
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
Format CODE through template [message #160604] Sat, 03 October 2009 18:36 Go to next message
qubodup is currently offline  qubodup   Germany
Messages: 24
Registered: February 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I have a suggestion to make (based on 2.8.1):

CODE tags are replaced by post_proc.inc.t l.478:
<div class="pre"><pre>

Instead, they should be replaced by pre_reg.tmpl for allowing more customization in themes.

I realize that I can use div.pre pre { for css formatting (and that's what I'm going to do probably).

Thanks!
Re: Format CODE through template [message #160610 is a reply to message #160604] Sun, 04 October 2009 09:20 Go to previous messageGo to next 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
Not sure I understand. Do you want to define the HTML for the code-tag in post_proc.tmpl? If so, I guess you are more than welcome to prepare a patch for it.
Re: Format CODE through template [message #160611 is a reply to message #160610] Sun, 04 October 2009 12:49 Go to previous messageGo to next message
qubodup is currently offline  qubodup   Germany
Messages: 24
Registered: February 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
naudefj wrote on Sun, 04 October 2009 09:20
Not sure I understand. Do you want to define the HTML for the code-tag in post_proc.tmpl?

That's exactly what I want.

[Updated on: Fri, 22 January 2010 06:50]

Report message to a moderator

Re: Format CODE through template [message #161636 is a reply to message #160611] Fri, 22 January 2010 02:25 Go to previous messageGo to next message
lauren06 is currently offline  lauren06
Messages: 2
Registered: January 2010
Location: Raisin
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanx for sharing....

Re: Format CODE through template [message #161638 is a reply to message #161636] Fri, 22 January 2010 08:55 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
Patches are welcome.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Collapsable Tree View
Next Topic: Auto prune
Goto Forum:
  

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

Current Time: Sun Oct 22 17:12:54 EDT 2017

Total time taken to generate the page: 0.00651 seconds