1 diff -u lightweight/css.tpl htmlpurifier/css.tpl
2 --- lightweight/css.tpl 2008-09-21 13:21:50.000000000 -0400
3 +++ htmlpurifier/css.tpl 2008-10-08 17:20:10.296800000 -0400
7 border: 1px solid {border_color};
8 - background-color: {default_background_color};
9 + background-color: #FFF;
13 Only in htmlpurifier: css.tpl.orig
14 diff -u lightweight/footer.tpl htmlpurifier/footer.tpl
15 --- lightweight/footer.tpl 2007-02-02 23:20:28.000000000 -0500
16 +++ htmlpurifier/footer.tpl 2008-10-08 17:20:10.296800000 -0400
18 -<div id="footer-plug">This <a href="http://www.phorum.org/">forum</a> is powered by <a href="http://www.phorum.org/">Phorum</a>.</div>
20 +</div></div> <!-- we added another div -->
23 \ No newline at end of file
24 diff -u lightweight/header.tpl htmlpurifier/header.tpl
25 --- lightweight/header.tpl 2007-12-24 06:21:03.000000000 -0500
26 +++ htmlpurifier/header.tpl 2008-10-08 17:20:10.312400000 -0400
28 <meta name="description" content="{DESCRIPTION}" />
31 +<link rel="stylesheet" href="../phorum.css" media="screen,projection" type="text/css" />
32 +<link rel="stylesheet" href="../common.css" media="screen,projection" type="text/css" />
37 <body onload="{IF FOCUS_TO_ID}var focuselt=document.getElementById('{FOCUS_TO_ID}'); if (focuselt) focuselt.focus();{/IF}">
39 +<div id="logo"></div>
40 +<div id="header"><a href="../">HTML Purifier</a></div>
43 {! Please leave this div in your template you can alter anything above this line }
44 +<div id="alt-content">
54 -<a href="{URL->BASE}"><img src="{URL->TEMPLATE}/images/logo.png" width="111" height="25" alt="Phorum" border="0" /></a>
60 Common subdirectories: lightweight/images and htmlpurifier/images
61 diff -u lightweight/info.php htmlpurifier/info.php
62 --- lightweight/info.php 2007-07-21 16:49:46.000000000 -0400
63 +++ htmlpurifier/info.php 2008-10-08 17:20:10.328000000 -0400
66 if(!defined("PHORUM")) return;
68 - $name="Phorum Lightweight Template";
70 + $name="HTML Purifier Template";
72 // uncomment this to hide this template from the user-select-box
76 + if (basename(dirname(__FILE__)) == 'htmlpurifier.bak') {
80 diff -u lightweight/posting.tpl htmlpurifier/posting.tpl
81 --- lightweight/posting.tpl 2008-08-27 03:39:08.000000000 -0400
82 +++ htmlpurifier/posting.tpl 2008-10-08 17:22:53.414200000 -0400
84 {IF SHOW_SPECIALOPTIONS}
86 <div id="post-moderation">
88 {LANG->Special}:<br />
90 {IF OPTION_ALLOWED->sticky}
94 <input type="checkbox" id="allow-reply" name="allow_reply" value="1" {IF POSTING->allow_reply} checked="checked"{/IF} /> <label for="allow-reply">{LANG->AllowReplies}</label>
99 {IF MODE "moderation"}
100 - {LANG->YourName}:<br/>
103 - {LANG->Author}:<br />
106 {IF OPTION_ALLOWED->edit_author}
107 <input type="text" name="author" size="30" value="{POSTING->author}" />
109 - <big><strong>{POSTING->author}</strong></big><br />
110 + <strong>{POSTING->author}</strong><br />
118 - {LANG->YourEmail}:<br />
120 <input type="text" name="email" size="30" value="{POSTING->email}" /><br />
125 {IF POSTING->user_id 0}
127 - {LANG->Email}:<br />
129 <input type="text" name="email" size="30" value="{POSTING->email}" /><br />
132 @@ -110,25 +107,24 @@
136 - {LANG->Subject}:<br />
138 <input type="text" name="subject" id="subject" size="50" value="{POSTING->subject}" /><br />
141 {HOOK "tpl_editor_after_subject"}
144 {IF POSTING->user_id}
146 - <small>{LANG->Options}:</small><br />
147 + {LANG->Options}:<br />
149 {IF OPTION_ALLOWED->subscribe}
151 - <input type="checkbox" id="subscription-follow" name="subscription_follow" value="1" {IF POSTING->subscription}checked="checked"{/IF} {IF OPTION_ALLOWED->subscribe_mail}onclick="phorum_subscription_displaystate()"{/IF} /> <label for="subscription-follow"><small>{LANG->FollowThread}</small></label><br />
152 + <input type="checkbox" id="subscription-follow" name="subscription_follow" value="1" {IF POSTING->subscription}checked="checked"{/IF} {IF OPTION_ALLOWED->subscribe_mail}onclick="phorum_subscription_displaystate()"{/IF} /> <label for="subscription-follow">{LANG->FollowThread}</label><br />
154 {IF OPTION_ALLOWED->subscribe_mail}
155 <div id="subscription-mail-div">
156 <img src="{URL->TEMPLATE}/images/tree-L.gif" border="0" alt="tree-L" />
157 - <input type="checkbox" id="subscription-mail" name="subscription_mail" value="1" {IF POSTING->subscription "message"}checked="checked"{/IF} /> <label for="subscription-mail"><small>{LANG->EmailReplies}</small></label>
158 + <input type="checkbox" id="subscription-mail" name="subscription_mail" value="1" {IF POSTING->subscription "message"}checked="checked"{/IF} /> <label for="subscription-mail">{LANG->EmailReplies}</label>
161 <script type="text/javascript">
162 @@ -149,13 +145,13 @@
166 - <input type="checkbox" id="show-signature" name="show_signature" value="1" {IF POSTING->show_signature} checked="checked"{/IF} /> <label for="show-signature"><small>{LANG->AddSig}</small></label><br />
167 + <input type="checkbox" id="show-signature" name="show_signature" value="1" {IF POSTING->show_signature} checked="checked"{/IF} /> <label for="show-signature">{LANG->AddSig}</label><br />
173 - <small>{LANG->Attachments}:</small><br />
174 + {LANG->Attachments}:<br />
175 {IF POSTING->attachments}
176 <table id="attachment-list" cellspacing="0">
177 {VAR LIST POSTING->attachments}
181 {HOOK "tpl_editor_before_textarea"}
182 - <small>{LANG->Message}:</small>
185 <!-- fieldset is a work around for an MSIE rendering bug -->
188 {HOOK "tpl_editor_buttons"}
190 <input type="submit" name="preview" value=" {LANG->Preview} " />
191 - <input type="submit" name="finish" value=" {POSTING->submitbutton_text} " />
193 + <input type="submit" name="finish" value=" {POSTING->submitbutton_text} " />
195 {IF SHOW_CANCEL_BUTTON}
196 <input type="submit" name="cancel" onclick="return confirm('{LANG->CancelConfirm}')" value=" {LANG->Cancel} " />
198 Only in htmlpurifier: posting.tpl.orig
199 Only in htmlpurifier: posting.tpl.rej
200 diff -u lightweight/settings.tpl htmlpurifier/settings.tpl
201 --- lightweight/settings.tpl 2007-12-14 07:16:34.000000000 -0500
202 +++ htmlpurifier/settings.tpl 2008-10-08 17:20:10.359200000 -0400
204 {DEFINE show_notify_for_pages "index,list,cc"}
206 {! -- This is the image for the gauge bar to show how full the PM box is -- }
207 -{VAR gauge_image "templates/emerald/images/gauge.gif"}
208 +{VAR gauge_image "templates/htmlpurifier/images/gauge.gif"}
210 {! --- Apply some compression to the template data. This feature is --- }
211 {! --- implemented by Phorum's template parsing code. Possible values --- }
213 {! so it is mainly useful for a production environment. --- }
214 {DEFINE tidy_template 0}
216 -{VAR template_dir "emerald"}
221 -{VAR default_font "Arial"}
222 -{VAR base_font_size "12pt"} {! -- Need this for IE -- }
223 +{VAR template_dir "htmlpurifier"}
225 {VAR font_xx_large "145%"}
226 {VAR font_x_large "125%"}
228 {VAR font_x_small "75%"}
229 {VAR font_xx_small "65%"}
233 {VAR max_width "900px"} {! -- No effect in IE 6 -- }
237 -{VAR default_font_color "Black"}
238 -{VAR default_background_color "White"}
239 -{VAR alt_background_color "#edf2ed"} {! -- should compliment default_background_color -- }
240 -{VAR highlight_background_color "#f0f7f0"} {! -- should compliment the two above -- }
241 -{VAR border_color "#4d894d"}
242 +{VAR alt_background_color "#EBEFF4"} {! -- should compliment default_background_color -- }
243 +{VAR highlight_background_color "#F0F1F7"} {! -- should compliment the two above -- }
244 +{VAR border_color "#6480A6"}
245 {VAR border_font_color "White"}
246 {VAR quote_border_color "#808080"}
247 +{VAR link_color "#35355F"}
248 +{VAR link_hover_color "#BB8144"}
249 {VAR pre_border_color "#C4C6A2"}
250 {VAR pre_background_color "#FEFFEC"}
251 -{VAR link_color "#355F35"}
252 -{VAR link_hover_color "#709CCC"}
253 {VAR new_color "red"}
254 -{VAR logo_background_color "#78ad78"}
255 {VAR breadcrumb_border_color "#b6b6b6"}
256 {VAR post_moderation_background_color "#fffdf6"}