1 diff -u lightweight/css.tpl htmlpurifier/css.tpl
2 --- lightweight/css.tpl 2007-12-15 11:43:35.000000000 -0500
3 +++ htmlpurifier/css.tpl 2008-01-12 20:00:29.675475200 -0500
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 2007-02-02 23:20:28.000000000 -0500
15 +++ htmlpurifier/footer.tpl 2008-01-12 19:23:47.346875200 -0500
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 2007-12-24 06:21:03.000000000 -0500
25 +++ htmlpurifier/header.tpl 2008-01-12 21:01:21.236875200 -0500
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 2007-07-21 16:49:46.000000000 -0400
62 +++ htmlpurifier/info.php 2008-01-12 19:22:56.578875200 -0500
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 2007-12-15 13:34:48.000000000 -0500
81 +++ htmlpurifier/posting.tpl 2008-05-10 13:46:31.546566800 -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,25 @@
135 - {LANG->Subject}:<br />
137 <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}onchange="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}onchange="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 +146,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 <input type="submit" name="cancel" onclick="return confirm('{LANG->CancelConfirm}')" value=" {LANG->Cancel} " />
198 diff -u lightweight/settings.tpl htmlpurifier/settings.tpl
199 --- lightweight/settings.tpl 2007-12-14 07:16:34.000000000 -0500
200 +++ htmlpurifier/settings.tpl 2008-01-12 20:01:57.503475200 -0500
202 {DEFINE show_notify_for_pages "index,list,cc"}
204 {! -- This is the image for the gauge bar to show how full the PM box is -- }
205 -{VAR gauge_image "templates/emerald/images/gauge.gif"}
206 +{VAR gauge_image "templates/htmlpurifier/images/gauge.gif"}
208 {! --- Apply some compression to the template data. This feature is --- }
209 {! --- implemented by Phorum's template parsing code. Possible values --- }
211 {! so it is mainly useful for a production environment. --- }
212 {DEFINE tidy_template 0}
214 -{VAR template_dir "emerald"}
219 -{VAR default_font "Arial"}
220 -{VAR base_font_size "12pt"} {! -- Need this for IE -- }
221 +{VAR template_dir "htmlpurifier"}
223 {VAR font_xx_large "145%"}
224 {VAR font_x_large "125%"}
226 {VAR font_x_small "75%"}
227 {VAR font_xx_small "65%"}
231 {VAR max_width "900px"} {! -- No effect in IE 6 -- }
235 -{VAR default_font_color "Black"}
236 -{VAR default_background_color "White"}
237 -{VAR alt_background_color "#edf2ed"} {! -- should compliment default_background_color -- }
238 -{VAR highlight_background_color "#f0f7f0"} {! -- should compliment the two above -- }
239 -{VAR border_color "#4d894d"}
240 +{VAR alt_background_color "#EBEFF4"} {! -- should compliment default_background_color -- }
241 +{VAR highlight_background_color "#F0F1F7"} {! -- should compliment the two above -- }
242 +{VAR border_color "#6480A6"}
243 {VAR border_font_color "White"}
244 {VAR quote_border_color "#808080"}
245 +{VAR link_color "#35355F"}
246 +{VAR link_hover_color "#BB8144"}
247 {VAR pre_border_color "#C4C6A2"}
248 {VAR pre_background_color "#FEFFEC"}
249 -{VAR link_color "#355F35"}
250 -{VAR link_hover_color "#709CCC"}
251 {VAR new_color "red"}
252 -{VAR logo_background_color "#78ad78"}
253 {VAR breadcrumb_border_color "#b6b6b6"}
254 {VAR post_moderation_background_color "#fffdf6"}