2 ===================================================================
3 --- stylevars.txt (.../tags/1.2.0-b1/templates) (revision 1515)
4 +++ stylevars.txt (.../trunk/templates) (revision 1515)
6 -/*=====================================================================*\
7 -|| ###################################################################
9 -|| # Copyright ©2002-2007 Blue Static
11 -|| # This program is free software; you can redistribute it and/or modify
12 -|| # it under the terms of the GNU General Public License as published by
13 -|| # the Free Software Foundation; version 2 of the License.
15 -|| # This program is distributed in the hope that it will be useful, but
16 -|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 -|| # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
20 -|| # You should have received a copy of the GNU General Public License along
21 -|| # with this program; if not, write to the Free Software Foundation, Inc.,
22 -|| # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 -|| ###################################################################
24 -\*=====================================================================*/
27 -This file is parsed to create PHP variables that
28 -are used in templates with the $stylevar[] array.
29 -It is similar to how a CSS element would be done.
34 -Only letters and numbers are valid in variable names;
35 -everything else is converted to an undescore.
37 -Values only are allowed to have numbers, letters, dashes,
38 -periods/decimals, the number/pound sign, and the percent sign.
40 -Comments are only valid in C++ style (the type of comment this is).
52 -alternate-width: 45%;
54 -/* alternate background color used when status colors aren't displayed */
57 -/*=====================================================================*\
58 -|| ###################################################################
61 -|| ###################################################################
62 -\*=====================================================================*/
63 \ No newline at end of file
64 Index: search_save.tpl
65 ===================================================================
66 --- search_save.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
67 +++ search_save.tpl (.../trunk/templates) (revision 1515)
69 <input type="hidden" name="searchid" value="{$bugsys->in['searchid']}" />
71 <div align="center" style="margin-top: 10px">
72 - <div class="box" style="width: $stylevar[alternate_width]">
73 + <div class="box altwidth">
74 <div class="box-head">{@"Save Search"}</div>
78 ===================================================================
79 --- register.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
80 +++ register.tpl (.../trunk/templates) (revision 1515)
82 <input type="hidden" name="do" value="insert" />
84 <div align="center" style="margin-top: 10px">
85 - <div class="box" style="width: $stylevar[alternate_width]">
86 + <div class="box altwidth">
87 <div class="box-head">{@"Register"}</div>
90 Index: email/accountapproved.xml.tpl
91 ===================================================================
92 --- email/accountapproved.xml.tpl (.../tags/1.2.0-b1/templates) (revision 0)
93 +++ email/accountapproved.xml.tpl (.../trunk/templates) (revision 1515)
96 + <subject>Account Approved at {$bugsys->options['trackertitle']}</subject>
97 + <bodyText>Hi $user[displayname],
99 +Your account was awaiting moderation at {$bugsys->options['trackertitle']}. Today, an administrator approved your registration and you are now able to use the bug tracker fully.
101 +If you have any questions, please don't hesitate to contact the webmaster.</bodyText>
103 \ No newline at end of file
105 Property changes on: email/accountapproved.xml.tpl
106 ___________________________________________________________________
108 + LastChangedDate LastChangedRevision LastChangedBy HeadURL Id Date
110 Index: std_message.tpl
111 ===================================================================
112 --- std_message.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
113 +++ std_message.tpl (.../trunk/templates) (revision 1515)
117 <div align="center" style="margin-top: 10px">
118 - <div class="box" style="width: $stylevar[alternate_width]">
119 + <div class="box altwidth">
120 <div class="box-head" style="text-align: $stylevar[left]"><if condition="$show['confirm']">{@"Confirm"}<else />{@"Notice"}</if></div>
122 <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
123 Index: history_bit.tpl
124 ===================================================================
125 --- history_bit.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
126 +++ history_bit.tpl (.../trunk/templates) (revision 1515)
128 -<tr style="vertical-align: top<if condition="$bgcolor">; background-color: $bgcolor</if>">
129 +<tr style="vertical-align: top"<if condition="$bgcolor"> class="$bgcolor"</if>>
130 <td width="10%"><if condition="$show['group']">$log[user]<else /> </if></td>
131 <td width="20%"><if condition="$show['group']">$log[date]<else /> </if></td>
132 <td width="20%">$log[field]</td>
134 ===================================================================
135 --- favorites.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
136 +++ favorites.tpl (.../trunk/templates) (revision 1515)
141 -<table border="$stylevar[border]" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" width="$stylevar[normal_width]">
142 +<table class="table">
143 <tr class="listinghead">
147 ===================================================================
148 --- std_error.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
149 +++ std_error.tpl (.../trunk/templates) (revision 1515)
153 <div align="center" style="margin-top: 10px">
154 - <div class="box" style="width: $stylevar[alternate_width]">
155 + <div class="box altwidth">
156 <div class="box-head" style="text-align: $stylevar[left]">{@"Error"}</div>
158 <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
160 ===================================================================
161 --- userctrl.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
162 +++ userctrl.tpl (.../trunk/templates) (revision 1515)
167 -<table style="width: 100%" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]" border="$stylevar[border]">
168 +<table class="table">
171 <!-- user options -->
173 <div class="box-head" style="text-align: $stylevar[left]">{@"Email Options"}</div>
175 <div class="box-mid">
176 - <table cellspacing="2" cellpadding="1" border="0" style="width: 100%">
177 + <table class="table">
178 <tr style="text-align: center">
180 - <td style="background-color: $stylevar[alt_color]"><strong>{@"Reporter"}</strong></td>
181 + <td class="altcolor"<strong>{@"Reporter"}</strong></td>
182 <td><strong>{@"Assignee"}</strong></td>
183 - <td style="background-color: $stylevar[alt_color]"><strong>{@"Favorite"}</strong></td>
184 + <td class="altcolor"<strong>{@"Favorite"}</strong></td>
185 <td><strong>{@"Voter"}</strong></td>
186 - <td style="background-color: $stylevar[alt_color]"><strong>{@"Commenter"}</strong></td>
187 + <td class="altcolor"<strong>{@"Commenter"}</strong></td>
190 - <tr style="text-align: center; background-color: $stylevar[alt_color]">
191 + <tr class="altcolor textcenter">
192 <td style="text-align: $stylevar[left]">{@"New bug is added"}</td>
193 <td colspan="5"><input type="checkbox" name="emailopts[0][2048]"{$checked[0][2048]} value="1" /></td>
196 <td colspan="5"><input type="checkbox" name="emailopts[0][32]"{$checked[0][32]} value="1" /></td>
199 - <tr style="text-align: center; background-color: $stylevar[alt_color]">
200 + <tr class="altcolor textcenter">
201 <td style="text-align: $stylevar[left]">{@"Status or resolution changes"}</td>
202 <td><input type="checkbox" name="emailopts[1][64]"{$checked[1][64]} value="1" /></td>
203 <td><input type="checkbox" name="emailopts[2][64]"{$checked[2][64]} value="1" /></td>
205 <td><input type="checkbox" name="emailopts[16][128]"{$checked[16][128]} value="1" /></td>
208 - <tr style="text-align: center; background-color: $stylevar[alt_color]">
209 + <tr class="altcolor textcenter">
210 <td style="text-align: $stylevar[left]">{@"A new comment is added"}</td>
211 <td><input type="checkbox" name="emailopts[1][256]"{$checked[1][256]} value="1" /></td>
212 <td><input type="checkbox" name="emailopts[2][256]"{$checked[2][256]} value="1" /></td>
214 <td><input type="checkbox" name="emailopts[16][512]"{$checked[16][512]} value="1" /></td>
217 - <tr style="text-align: center; background-color: $stylevar[alt_color]">
218 + <tr class="altcolor textcenter">
219 <td style="text-align: $stylevar[left]">{@"Any other field changes"}</td>
220 <td><input type="checkbox" name="emailopts[1][1024]"{$checked[1][1024]} value="1" /></td>
221 <td><input type="checkbox" name="emailopts[2][1024]"{$checked[2][1024]} value="1" /></td>
225 <legend>{@"Bug List Columns"} $help[columnorder]</legend>
226 - <table cellspacing="2" cellpadding="1" border="0">
227 + <table class="table" style="width: auto">
231 Index: lostpassword.tpl
232 ===================================================================
233 --- lostpassword.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
234 +++ lostpassword.tpl (.../trunk/templates) (revision 1515)
236 <input type="hidden" name="do" value="sendpw" />
238 <div align="center" style="margin-top: 10px">
239 - <div class="box" style="width: $stylevar[alternate_width]">
240 + <div class="box altwidth">
241 <div class="box-head">{@"Lost Password Recovery"}</div>
243 <div class="box-mid">
245 ===================================================================
246 --- login.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
247 +++ login.tpl (.../trunk/templates) (revision 1515)
249 <input type="hidden" name="goindex" value="1" />
251 <div align="center" style="margin-top: 10px">
252 - <div class="box" style="width: $stylevar[alternate_width]">
253 + <div class="box altwidth">
254 <div class="box-head">{@"Login"}</div>
256 <div class="box-mid">
257 Index: trackerhome_bits.tpl
258 ===================================================================
259 --- trackerhome_bits.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
260 +++ trackerhome_bits.tpl (.../trunk/templates) (revision 1515)
263 <!-- bug $bug[bugid] -->
264 -<tr<if condition="$bug[bgcolor] OR $bug[hidden]"> style="<if condition="$bug[bgcolor]">background-color: $bug[bgcolor]</if><if condition="$bug['hidden']">; font-style: italic</if>"</if>>
265 +<tr<if condition="$bugsys->userinfo['showcolors']"> style="background-color: $bug[bgcolor]<if condition="$bug['hidden']">; font-style: italic</if>"<else /> class="$bug[bgcolor]"<if condition="$bug['hidden']"> style="font-style: italic"</if></if>>
268 <!-- / bug $bug[bugid] -->
269 Index: search_results.tpl
270 ===================================================================
271 --- search_results.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
272 +++ search_results.tpl (.../trunk/templates) (revision 1515)
277 -<table border="$stylevar[border]" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" width="$stylevar[normal_width]">
278 +<table class="table">
279 <tr class="listinghead">
283 ===================================================================
284 --- global.css (.../tags/1.2.0-b1/templates) (revision 1515)
285 +++ global.css (.../trunk/templates) (revision 1515)
287 text-decoration: none;
293 + border-collapse: separate;
294 + border-spacing: 2px;
304 + background-color: rgb(191, 204, 207);
309 + text-align: center;
317 /*=====================================================================*\
318 || ###################################################################
320 Index: explain_automation.tpl
321 ===================================================================
322 --- explain_automation.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
323 +++ explain_automation.tpl (.../trunk/templates) (revision 1515)
326 <h2>{@"Explication of Automations"}</h2>
328 -<table border="$stylevar[border]" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" width="$stylevar[normal_width]">
329 +<table class="table">
333 Index: explain_product.tpl
334 ===================================================================
335 --- explain_product.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
336 +++ explain_product.tpl (.../trunk/templates) (revision 1515)
338 <h2>{@"Explication of Products"}</h2>
340 <if condition="$globalversions">
341 - <table border="$stylevar[border]" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" width="$stylevar[normal_width]">
342 + <table class="table">
343 <tr class="listinghead">
344 <td colspan="2">{@"Global Versions"}</td>
346 - <tr style="background-color: $stylevar[alt_color]">
347 + <tr class="altcolor">
348 <td colspan="2">{@"These versions are avaliable for every product, component, and version."}</td>
355 -<table border="$stylevar[border]" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" width="$stylevar[normal_width]">
356 +<table class="table">
357 <tr class="listinghead">
358 <td colspan="2">{@"Products (components are in white)"}</td>
361 ===================================================================
362 --- history.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
363 +++ history.tpl (.../trunk/templates) (revision 1515)
366 <h2><lang 1="$bug[summary]" 2="$bug[bugid]">{@"History for <a href="showreport.php?bugid=%2$d"><em>%1$s</em></a> (bugid: %2$s)"}</lang></h2>
368 -<table border="$stylevar[border]" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" width="$stylevar[normal_width]">
369 +<table class="table">
370 <tr class="listinghead">
373 Index: quicksearch.tpl
374 ===================================================================
375 --- quicksearch.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
376 +++ quicksearch.tpl (.../trunk/templates) (revision 1515)
380 <div align="center" style="margin-top: 10px">
381 - <div class="box" style="width: $stylevar[alternate_width]">
382 + <div class="box altwidth">
383 <div class="box-head" style="text-align: $stylevar[left]">{@"Quick Search"}</div>
385 <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
386 Index: trackerhome.tpl
387 ===================================================================
388 --- trackerhome.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
389 +++ trackerhome.tpl (.../trunk/templates) (revision 1515)
394 -<table border="$stylevar[border]" cellspacing="$stylevar[spacing]" cellpadding="$stylevar[padding]px" width="$stylevar[normal_width]">
395 +<table class="table">
396 <tr class="listinghead">
399 Index: passwordreset.tpl
400 ===================================================================
401 --- passwordreset.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
402 +++ passwordreset.tpl (.../trunk/templates) (revision 1515)
406 <div align="center" style="margin-top: 10px">
407 - <div class="box" style="width: $stylevar[alternate_width]">
408 + <div class="box altwidth">
409 <div class="box-head">{@"Lost Password Recovery: Password Reset"}</div>
411 <div class="box-mid">
412 Index: std_redirect.tpl
413 ===================================================================
414 --- std_redirect.tpl (.../tags/1.2.0-b1/templates) (revision 1515)
415 +++ std_redirect.tpl (.../trunk/templates) (revision 1515)
419 <div align="center" style="margin-top: 10px">
420 - <div class="box" style="width: $stylevar[alternate_width]">
421 + <div class="box altwidth">
422 <div class="box-head" style="text-align: $stylevar[left]">{@"Redirect..."}</div>
424 <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
426 ===================================================================
427 --- global.js (.../tags/1.2.0-b1/templates) (revision 1515)
428 +++ global.js (.../trunk/templates) (revision 1515)
431 function draw_cancel(location)
433 - location = (location == "" ? "history.back(1)" : "window.location=\"" + location + "\"");
434 + location = (location == "" ? "history.back(1)" : "window.location='" + location + "'");
435 document.write("<input name=\"cancel\" type=\"button\" value=\"" + lang["Cancel"] + "\" onclick=\"" + location + "\" />");