1 diff -u lightweight/css.tpl htmlpurifier/css.tpl
2 --- lightweight/css.tpl 2008-10-13 16:59:55.536800000 -0400
3 +++ htmlpurifier/css.tpl 2008-10-13 17:00:01.773800000 -0400
7 border: 1px solid {border_color};
8 - background-color: {default_background_color};
9 + background-color: #FFF;
13 diff -u lightweight/footer.tpl htmlpurifier/footer.tpl
14 --- lightweight/footer.tpl 2008-10-13 16:59:55.609800000 -0400
15 +++ htmlpurifier/footer.tpl 2008-10-13 17:00:01.785800000 -0400
17 -<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>
19 +</div></div> <!-- we added another div -->
22 \ No newline at end of file
23 diff -u lightweight/header.tpl htmlpurifier/header.tpl
24 --- lightweight/header.tpl 2008-10-13 16:59:55.623800000 -0400
25 +++ htmlpurifier/header.tpl 2008-10-13 17:00:01.803800000 -0400
27 <meta name="description" content="{DESCRIPTION}" />
30 +<link rel="stylesheet" href="../phorum.css" media="screen,projection" type="text/css" />
31 +<link rel="stylesheet" href="../common.css" media="screen,projection" type="text/css" />
36 <body onload="{IF FOCUS_TO_ID}var focuselt=document.getElementById('{FOCUS_TO_ID}'); if (focuselt) focuselt.focus();{/IF}">
38 +<div id="logo"></div>
39 +<div id="header"><a href="../">HTML Purifier</a></div>
42 {! Please leave this div in your template you can alter anything above this line }
43 +<div id="alt-content">
53 -<a href="{URL->BASE}"><img src="{URL->TEMPLATE}/images/logo.png" width="111" height="25" alt="Phorum" border="0" /></a>
59 Common subdirectories: lightweight/images and htmlpurifier/images
60 diff -u lightweight/info.php htmlpurifier/info.php
61 --- lightweight/info.php 2008-10-13 16:59:56.900800000 -0400
62 +++ htmlpurifier/info.php 2008-10-13 17:00:01.817800000 -0400
65 if(!defined("PHORUM")) return;
67 - $name="Phorum Lightweight Template";
69 + $name="HTML Purifier Template";
71 // uncomment this to hide this template from the user-select-box
75 + if (basename(dirname(__FILE__)) == 'htmlpurifier.bak') {
79 diff -u lightweight/posting.tpl htmlpurifier/posting.tpl
80 --- lightweight/posting.tpl 2008-10-13 16:59:57.238800000 -0400
81 +++ htmlpurifier/posting.tpl 2008-10-13 17:00:01.829800000 -0400
83 {IF SHOW_SPECIALOPTIONS}
85 <div id="post-moderation">
87 {LANG->Special}:<br />
89 {IF OPTION_ALLOWED->sticky}
93 <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>
98 {IF MODE "moderation"}
99 - {LANG->YourName}:<br/>
102 - {LANG->Author}:<br />
105 {IF OPTION_ALLOWED->edit_author}
106 <input type="text" name="author" size="30" value="{POSTING->author}" />
108 - <big><strong>{POSTING->author}</strong></big><br />
109 + <strong>{POSTING->author}</strong><br />
117 - {LANG->YourEmail}:<br />
119 <input type="text" name="email" size="30" value="{POSTING->email}" /><br />
124 {IF POSTING->user_id 0}
126 - {LANG->Email}:<br />
128 <input type="text" name="email" size="30" value="{POSTING->email}" /><br />
131 @@ -110,25 +107,24 @@
135 - {LANG->Subject}:<br />
137 <input type="text" name="subject" id="subject" size="50" value="{POSTING->subject}" /><br />
140 {HOOK "tpl_editor_after_subject"}
143 {IF POSTING->user_id}
145 - <small>{LANG->Options}:</small><br />
146 + {LANG->Options}:<br />
148 {IF OPTION_ALLOWED->subscribe}
150 - <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 />
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">{LANG->FollowThread}</label><br />
153 {IF OPTION_ALLOWED->subscribe_mail}
154 <div id="subscription-mail-div">
155 <img src="{URL->TEMPLATE}/images/tree-L.gif" border="0" alt="tree-L" />
156 - <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>
157 + <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>
160 <script type="text/javascript">
161 @@ -149,13 +145,13 @@
165 - <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 />
166 + <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 />
172 - <small>{LANG->Attachments}:</small><br />
173 + {LANG->Attachments}:<br />
174 {IF POSTING->attachments}
175 <table id="attachment-list" cellspacing="0">
176 {VAR LIST POSTING->attachments}
180 {HOOK "tpl_editor_before_textarea"}
181 - <small>{LANG->Message}:</small>
184 <!-- fieldset is a work around for an MSIE rendering bug -->
187 {HOOK "tpl_editor_buttons"}
189 <input type="submit" name="preview" value=" {LANG->Preview} " />
190 - <input type="submit" name="finish" value=" {POSTING->submitbutton_text} " />
192 + <input type="submit" name="finish" value=" {POSTING->submitbutton_text} " />
194 {IF SHOW_CANCEL_BUTTON}
195 <input type="submit" name="cancel" onclick="return confirm('{LANG->CancelConfirm}')" value=" {LANG->Cancel} " />
197 diff -u lightweight/settings.tpl htmlpurifier/settings.tpl
198 --- lightweight/settings.tpl 2008-10-13 16:59:57.417800000 -0400
199 +++ htmlpurifier/settings.tpl 2008-10-13 17:00:01.840800000 -0400
201 {DEFINE show_notify_for_pages "index,list,cc"}
203 {! -- This is the image for the gauge bar to show how full the PM box is -- }
204 -{VAR gauge_image "templates/emerald/images/gauge.gif"}
205 +{VAR gauge_image "templates/htmlpurifier/images/gauge.gif"}
207 {! --- Apply some compression to the template data. This feature is --- }
208 {! --- implemented by Phorum's template parsing code. Possible values --- }
210 {! so it is mainly useful for a production environment. --- }
211 {DEFINE tidy_template 0}
213 -{VAR template_dir "emerald"}
218 -{VAR default_font "Arial"}
219 -{VAR base_font_size "12pt"} {! -- Need this for IE -- }
220 +{VAR template_dir "htmlpurifier"}
222 {VAR font_xx_large "145%"}
223 {VAR font_x_large "125%"}
225 {VAR font_x_small "75%"}
226 {VAR font_xx_small "65%"}
230 {VAR max_width "900px"} {! -- No effect in IE 6 -- }
234 -{VAR default_font_color "Black"}
235 -{VAR default_background_color "White"}
236 -{VAR alt_background_color "#edf2ed"} {! -- should compliment default_background_color -- }
237 -{VAR highlight_background_color "#f0f7f0"} {! -- should compliment the two above -- }
238 -{VAR border_color "#4d894d"}
239 +{VAR alt_background_color "#EBEFF4"} {! -- should compliment default_background_color -- }
240 +{VAR highlight_background_color "#F0F1F7"} {! -- should compliment the two above -- }
241 +{VAR border_color "#6480A6"}
242 {VAR border_font_color "White"}
243 {VAR quote_border_color "#808080"}
244 +{VAR link_color "#35355F"}
245 +{VAR link_hover_color "#BB8144"}
246 {VAR pre_border_color "#C4C6A2"}
247 {VAR pre_background_color "#FEFFEC"}
248 -{VAR link_color "#355F35"}
249 -{VAR link_hover_color "#709CCC"}
250 {VAR new_color "red"}
251 -{VAR logo_background_color "#78ad78"}
252 {VAR breadcrumb_border_color "#b6b6b6"}
253 {VAR post_moderation_background_color "#fffdf6"}