r1166: Add an index.html to install/
[bugdar.git] / docs / template_changes.txt
1 TEMPLATE CHANGES
2 ==========================
3
4 ###################################################################
5 showreport.tpl (fixes highlighting of <title> tag http://bugs.iris-studios.com/showreport.php?bugid=21):
6 -------------------------------------------------------------------
7 Index: templates/showreport.tpl
8 ===================================================================
9 --- templates/showreport.tpl (revision 769)
10 +++ templates/showreport.tpl (working copy)
11 @@ -5,7 +5,7 @@
12 <link rel="stylesheet" href="templates/report.css" media="screen" />
13 <link rel="stylesheet" href="templates/fields.css" media="screen" />
14 <link rel="stylesheet" href="templates/box.css" media="screen" />
15 - <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary]</title>
16 + <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary_title]</title>
17 </head>
18
19 <body>
20 ###################################################################
21
22 ###################################################################
23 newreport.tpl, search.tpl, showreport.tpl, global.css, report.css (renames #clear-spill and makes it a class, not an id):
24 -------------------------------------------------------------------
25 Index: templates/newreport.tpl
26 ===================================================================
27 --- templates/newreport.tpl (revision 829)
28 +++ templates/newreport.tpl (working copy)
29 @@ -103,7 +103,7 @@
30 <!-- / RIGHT COLUMN -->
31 </div>
32
33 -<div id="clear-spill"></div>
34 +<div class="clearspill"></div>
35
36 <!-- new reply -->
37 <div>
38 Index: templates/search.tpl
39 ===================================================================
40 --- templates/search.tpl (revision 829)
41 +++ templates/search.tpl (working copy)
42 @@ -155,7 +155,7 @@
43 <!-- / RIGHT COLUMN -->
44 </div>
45
46 -<div id="clear-spill"></div>
47 +<div class="clearspill"></div>
48
49 <div id="submitrow">
50 <input type="submit" name="submit" value=" {@"Search Reports"} " accesskey="s" />
51 Index: templates/showreport.tpl
52 ===================================================================
53 --- templates/showreport.tpl (revision 829)
54 +++ templates/showreport.tpl (working copy)
55 @@ -185,7 +185,7 @@
56 <!-- / RIGHT COLUMN -->
57 </div>
58
59 -<div id="clear-spill"></div>
60 +<div class="clearspill"></div>
61
62 <br />
63
64 Index: templates/global.css
65 ===================================================================
66 --- templates/global.css (revision 829)
67 +++ templates/global.css (working copy)
68 @@ -141,6 +141,11 @@
69 text-align: center;
70 }
71
72 +.clearspill
73 +{
74 + clear: both;
75 +}
76 +
77 /*=====================================================================*\
78 || ###################################################################
79 || # $HeadURL$
80 Index: templates/report.css
81 ===================================================================
82 --- templates/report.css (revision 829)
83 +++ templates/report.css (working copy)
84 @@ -36,12 +36,6 @@
85 margin-left: 50%;
86 }
87
88 -/* if we get overflow, this will block so we don't get spill */
89 -#clear-spill
90 -{
91 - clear: both;
92 -}
93 -
94 ###################################################################
95
96 ###################################################################
97 showreport.tpl (add a clearspill div to prevent attachment list overflow):
98 -------------------------------------------------------------------
99 Index: templates/showreport.tpl
100 ===================================================================
101 --- templates/showreport.tpl (revision 834)
102 +++ templates/showreport.tpl (working copy)
103 @@ -258,6 +258,8 @@
104 </div>
105 <!-- / attachments & voting -->
106
107 +<div class="clearspill"></div>
108 +
109 <br />
110
111 $comments
112 ###################################################################
113
114 ###################################################################
115 trackerhome_bits.tpl (changed the index of the username of the reporter):
116 -------------------------------------------------------------------
117 Index: templates/trackerhome_bits.tpl
118 ===================================================================
119 --- templates/trackerhome_bits.tpl (revision 844)
120 +++ templates/trackerhome_bits.tpl (revision 843)
121 @@ -4,7 +4,7 @@
122 <td>$bug[bugid]</td>
123 <td>
124 <div><a href="showreport.php?bugid=$bug[bugid]$bug[urladd]">$bug[summary]</a></div>
125 - <if condition="$bug['username']"><div>$bug[username]</div></if>
126 + <if condition="$bug['firstreport']"><div>$bug[firstreport]</div></if>
127 </td>
128 <td>
129 <div>$bug[product]</div>
130 ###################################################################
131
132 ###################################################################
133 global.css (make the font size slightly bigger and more readable)
134 -------------------------------------------------------------------
135 Index: templates/global.css
136 ===================================================================
137 --- templates/global.css (revision 843)
138 +++ templates/global.css (working copy)
139 @@ -23,7 +23,7 @@
140 margin: 0px;
141 padding: 0px;
142 font-family: Verdana, Tahoma, Geneva, "Lucida Grande", Arial, sans-serif;
143 - font-size: 11px;
144 + font-size: 12px;
145 background-color: rgb(102, 102, 102);
146 }
147 ###################################################################
148
149 ###################################################################
150 userctrl.tpl (added email reporting options)
151 -------------------------------------------------------------------
152 Index: templates/userctrl.tpl
153 ===================================================================
154 --- templates/userctrl.tpl (revision 846)
155 +++ templates/userctrl.tpl (working copy)
156 @@ -105,6 +105,98 @@
157 + <br />
158 +
159 + <div class="box">
160 + <div class="box-head">{@"Email Options"}</div>
161 +
162 + <div class="box-mid">
163 + <table cellspacing="2" cellpadding="1" border="0" style="width: 100%">
164 + <tr style="text-align: center">
165 + <td style="background-color: $stylevar[alt_color]"><strong>{@"Reporter"}</strong></td>
166 + <td><strong>{@"Assignee"}</strong></td>
167 + <td style="background-color: $stylevar[alt_color]"><strong>{@"Favourite"}</strong></td>
168 + <td><strong>{@"Voter"}</strong></td>
169 + <td style="background-color: $stylevar[alt_color]"><strong>{@"Commenter"}</strong></td>
170 + </tr>
171 +
172 + <tr style="text-align: center; background-color: $stylevar[alt_color]">
173 + <td colspan="5"><input type="checkbox" name="emailopts[0][2048]"{$checked[0][2048]} value="1" /></td>
174 + <td>{@"New bug is added"}</td>
175 + </tr>
176 +
177 + <tr style="text-align: center">
178 + <td colspan="5"><input type="checkbox" name="emailopts[0][32]"{$checked[0][32]} value="1" /></td>
179 + <td>{@"I am made the assignee"}</td>
180 + </tr>
181 +
182 + <tr style="text-align: center; background-color: $stylevar[alt_color]">
183 + <td><input type="checkbox" name="emailopts[1][64]"{$checked[1][64]} value="1" /></td>
184 + <td><input type="checkbox" name="emailopts[2][64]"{$checked[2][64]} value="1" /></td>
185 + <td><input type="checkbox" name="emailopts[4][64]"{$checked[4][64]} value="1" /></td>
186 + <td><input type="checkbox" name="emailopts[8][64]"{$checked[8][64]} value="1" /></td>
187 + <td><input type="checkbox" name="emailopts[16][64]"{$checked[16][64]} value="1" /></td>
188 + <td>{@"Status or resolution changes"}</td>
189 + </tr>
190 +
191 + <tr style="text-align: center">
192 + <td><input type="checkbox" name="emailopts[1][128]"{$checked[1][128]} value="1" /></td>
193 + <td><input type="checkbox" name="emailopts[2][128]"{$checked[2][128]} value="1" /></td>
194 + <td><input type="checkbox" name="emailopts[4][128]"{$checked[4][128]} value="1" /></td>
195 + <td><input type="checkbox" name="emailopts[8][128]"{$checked[8][128]} value="1" /></td>
196 + <td><input type="checkbox" name="emailopts[16][128]"{$checked[16][128]} value="1" /></td>
197 + <td>{@"'Duplicates' field is changed"}</td>
198 + </tr>
199 +
200 + <tr style="text-align: center; background-color: $stylevar[alt_color]">
201 + <td><input type="checkbox" name="emailopts[1][256]"{$checked[1][256]} value="1" /></td>
202 + <td><input type="checkbox" name="emailopts[2][256]"{$checked[2][256]} value="1" /></td>
203 + <td><input type="checkbox" name="emailopts[4][256]"{$checked[4][256]} value="1" /></td>
204 + <td><input type="checkbox" name="emailopts[8][256]"{$checked[8][256]} value="1" /></td>
205 + <td><input type="checkbox" name="emailopts[16][256]"{$checked[16][256]} value="1" /></td>
206 + <td>{@"A new comment is added"}</td>
207 + </tr>
208 +
209 + <tr style="text-align: center">
210 + <td><input type="checkbox" name="emailopts[1][512]"{$checked[1][512]} value="1" /></td>
211 + <td><input type="checkbox" name="emailopts[2][512]"{$checked[2][512]} value="1" /></td>
212 + <td><input type="checkbox" name="emailopts[4][512]"{$checked[4][512]} value="1" /></td>
213 + <td><input type="checkbox" name="emailopts[8][512]"{$checked[8][512]} value="1" /></td>
214 + <td><input type="checkbox" name="emailopts[16][512]"{$checked[16][512]} value="1" /></td>
215 + <td>{@"A new attachment is added"}</td>
216 + </tr>
217 +
218 + <tr style="text-align: center; background-color: $stylevar[alt_color]">
219 + <td><input type="checkbox" name="emailopts[1][1024]"{$checked[1][1024]} value="1" /></td>
220 + <td><input type="checkbox" name="emailopts[2][1024]"{$checked[2][1024]} value="1" /></td>
221 + <td><input type="checkbox" name="emailopts[4][1024]"{$checked[4][1024]} value="1" /></td>
222 + <td><input type="checkbox" name="emailopts[8][1024]"{$checked[8][1024]} value="1" /></td>
223 + <td><input type="checkbox" name="emailopts[16][1024]"{$checked[16][1024]} value="1" /></td>
224 + <td>{@"Any other field changes"}</td>
225 + </tr>
226 + </table>
227 + </div>
228 + </div>
229 +
230 + <br />
231 +
232 + <div class="submitrow">
233 + <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
234 + <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
235 + </div>
236 +
237 </div>
238 </div>
239 ###################################################################
240
241 r872 : Add guest registration message