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

Home » FUDforum » FUDforum Suggestions » Format CODE through template
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Format CODE through template [message #160604] Sat, 03 October 2009 22:36 Go to next message
qubodup is currently offline  qubodup   Germany
Messages: 24
Registered: February 2008
Karma: 0
Junior Member
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 13:20 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 16:49 Go to previous messageGo to next message
qubodup is currently offline  qubodup   Germany
Messages: 24
Registered: February 2008
Karma: 0
Junior Member
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 11:50]

Report message to a moderator

Re: Format CODE through template [message #161636 is a reply to message #160611] Fri, 22 January 2010 07:25 Go to previous messageGo to next message
lauren06 is currently offline  lauren06
Messages: 2
Registered: January 2010
Location: Raisin
Karma: 0
Junior Member
Thanx for sharing....

Re: Format CODE through template [message #161638 is a reply to message #161636] Fri, 22 January 2010 13:55 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Patches are welcome.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Collapsable Tree View
Next Topic: Auto prune
Goto Forum:
  

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

Current Time: Wed May 15 15:33:15 GMT 2024

Total time taken to generate the page: 0.03199 seconds