1 19:19:13 < glen_> i didn't do customer section as i don't have customer backend configured
2 19:20:02 < glen_> in emails section 'all' and 'disassociate selected' are visible. maybe should hide them too
3 19:20:15 < glen_> same for drafts section 'show all drafts' checkbox
4 19:21:43 < glen_> drafts has additionally another style: {if $drafts[i].emd_status != 'pending'}style="text-decoration: line-through;"{/if}
5 19:21:59 < glen_> which will probably work together with {get_display_style element_name="drafts" total=$drafts|@count}
6 19:22:05 < glen_> as they both set style="..
7 19:22:42 < glen_> otherwise it's cool
9 diff -u ./templates/en/attachments.tpl.html ./templates/en.new/attachments.tpl.html
10 --- ./templates/en/attachments.tpl.html 2006-02-09 18:17:19.000000000 +0200
11 +++ ./templates/en.new/attachments.tpl.html 2006-02-09 18:48:39.255119000 +0200
16 - <tr id="attachments1" {get_display_style element_name="attachments"}>
19 <table width="100%" cellpadding="2" cellspacing="1">
21 + <tr id="attachments1" {get_display_style element_name="attachments"}>
22 <td class="default_white" bgcolor="{$cell_color}">Files</td>
23 <td class="default_white" bgcolor="{$cell_color}">Owner</td>
24 {if $current_role > $roles.customer}
27 {section name="i" loop=$files}
28 {cycle values=$cycle assign="row_color"}
29 - <tr bgcolor="{$row_color}">
30 + <tr id="attachments{$smarty.section.i.iteration+1}" {get_display_style element_name="attachments"} bgcolor="{$row_color}">
32 {section name="y" loop=$files[i].files}
33 <a title="download file ({$files[i].files[y].iaf_filename|escape:"html"} - {$files[i].files[y].iaf_filesize})" href="download.php?cat=attachment&id={$files[i].files[y].iaf_id}"><img width="17" height="17" src="{$rel_url}images/file.gif" border="0"></a>
35 <td class="default" width="45%">{$files[i].iat_description}</td>
39 + <tr id="attachments2" {get_display_style element_name="attachments"}>
40 <td colspan="{if $current_role > $roles.customer}5{else}4{/if}" bgcolor="{$light_color}" align="center" class="default">
41 <i>No attachments could be found.</i>
43 diff -u ./templates/en/custom_fields.tpl.html ./templates/en.new/custom_fields.tpl.html
44 --- ./templates/en/custom_fields.tpl.html 2006-02-09 18:17:19.000000000 +0200
45 +++ ./templates/en.new/custom_fields.tpl.html 2006-02-09 18:54:29.817759000 +0200
50 - <tr id="custom_fields1" {get_display_style element_name="custom_fields" total=$custom_fields|@count}>
53 <table width="100%" cellpadding="2" cellspacing="1">
54 {section name="i" loop=$custom_fields}
55 {cycle values=$cycle assign="row_color"}
56 - <tr {if $custom_fields[i].hide_when_no_options == 1 && $custom_fields[i].icf_value == ''}style="display: none"{/if}>
57 + <tr id="custom_fields{$smarty.section.i.iteration}" {get_display_style element_name="custom_fields" total=$custom_fields|@count} {if $custom_fields[i].hide_when_no_options == 1 && $custom_fields[i].icf_value == ''}style="display: none"{/if}>
58 <td bgcolor="{if $custom_fields[i].fld_min_role > $roles.customer}{$internal_color}{else}{$cell_color}{/if}" class="default_white">
59 <nobr><b>{$custom_fields[i].fld_title}:</b> </nobr>
66 + <tr id="custom_fields1" {get_display_style element_name="custom_fields" total=$custom_fields|@count}>
67 <td colspan="2" bgcolor="{$light_color}" align="center" class="default">
68 <i>No custom fields could be found.</i>
72 {if $current_role > $roles.reporter and $custom_fields != ""}
73 - <tr id="custom_fields2" {get_display_style element_name="custom_fields"}>
75 <td align="center" colspan="2" bgcolor="{$cell_color}">
76 <input class="button" type="button" value="Update" onClick="javascript:updateCustomFields({$smarty.get.id});">
78 Common subdirectories: ./templates/en/customer and ./templates/en.new/customer
79 diff -u ./templates/en/email_drafts.tpl.html ./templates/en.new/email_drafts.tpl.html
80 --- ./templates/en/email_drafts.tpl.html 2006-02-09 18:17:19.000000000 +0200
81 +++ ./templates/en.new/email_drafts.tpl.html 2006-02-09 19:12:46.908484000 +0200
86 - <tr id="drafts1" {get_display_style element_name="drafts" total=$drafts|@count}>
89 <table width="100%" cellpadding="2" cellspacing="1">
90 - <tr bgcolor="{$internal_color}">
91 + <tr id="drafts1" {get_display_style element_name="drafts" total=$drafts|@count} bgcolor="{$internal_color}">
92 <td class="default_white" NOWRAP>{include file="expandable_cell/buttons.tpl.html" remote_func="getDraft" ec_id="draft"}</td>
93 <td width="5" class="default_white" align="center">#</td>
94 {if $smarty.request.show_all_drafts == 1}
97 {section name="i" loop=$drafts}
98 {cycle values=$cycle assign="row_color"}
99 - <tr {if $drafts[i].emd_status != 'pending'}style="text-decoration: line-through;"{/if}>
100 + <tr id="drafts{$smarty.section.i.iteration+1}" {get_display_style element_name="drafts" total=$drafts|@count} {if $drafts[i].emd_status != 'pending'}style="text-decoration: line-through;"{/if}>
101 <td class="default" NOWRAP bgcolor="{$row_color}">{include file="expandable_cell/buttons.tpl.html" ec_id="draft" list_id=$drafts[i].emd_id}</td>
102 <td width="5" class="default" bgcolor="{$row_color}" align="center">{$smarty.section.i.iteration}</td>
103 {if $smarty.request.show_all_drafts == 1}
106 {include file="expandable_cell/body.tpl.html" ec_id="draft" list_id=$drafts[i].emd_id colspan=$draft_col_count}
109 + <tr id="drafts2" {get_display_style element_name="drafts" total=$drafts|@count}>
110 <td colspan="{$draft_col_count}" bgcolor="{$light_color}" class="default" align="center">
111 <i>No email drafts could be found.</i>
113 Common subdirectories: ./templates/en/expandable_cell and ./templates/en.new/expandable_cell
114 Common subdirectories: ./templates/en/help and ./templates/en.new/help
115 Common subdirectories: ./templates/en/js and ./templates/en.new/js
116 Common subdirectories: ./templates/en/manage and ./templates/en.new/manage
117 diff -u ./templates/en/notes.tpl.html ./templates/en.new/notes.tpl.html
118 --- ./templates/en/notes.tpl.html 2006-02-09 18:17:19.000000000 +0200
119 +++ ./templates/en.new/notes.tpl.html 2006-02-09 18:51:33.362363000 +0200
124 - <tr id="notes1" {get_display_style element_name="notes" total=$notes|@count}>
127 <table width="100%" cellpadding="2" cellspacing="1">
128 - <tr bgcolor="{$internal_color}">
129 + <tr id="notes1" {get_display_style element_name="notes" total=$notes|@count} bgcolor="{$internal_color}">
130 <td class="default_white" NOWRAP>{include file="expandable_cell/buttons.tpl.html" remote_func="getNote" ec_id="note"}</td>
131 <td class="default_white" align="center">#</td>
132 <td class="default_white">Reply</td>
135 {section name="i" loop=$notes}
136 {cycle values=$cycle assign="row_color"}
137 - <tr bgcolor="{$row_color}">
138 + <tr id="notes{$smarty.section.i.iteration+1}" {get_display_style element_name="notes" total=$notes|@count} bgcolor="{$row_color}">
139 <td class="default" NOWRAP>{include file="expandable_cell/buttons.tpl.html" ec_id="note" list_id=$notes[i].not_id}</td>
140 <td class="default" align="center">{$smarty.section.i.iteration}</td>
144 {include file="expandable_cell/body.tpl.html" ec_id="note" list_id=$notes[i].not_id colspan="6"}
147 + <tr id="notes2" {get_display_style element_name="notes" total=$notes|@count}>
148 <td colspan="6" bgcolor="{$light_color}" align="center" class="default">
149 <i>No internal notes could be found.</i>
151 Common subdirectories: ./templates/en/notifications and ./templates/en.new/notifications
152 diff -u ./templates/en/phone_support.tpl.html ./templates/en.new/phone_support.tpl.html
153 --- ./templates/en/phone_support.tpl.html 2006-02-09 18:17:18.000000000 +0200
154 +++ ./templates/en.new/phone_support.tpl.html 2006-02-09 19:09:06.666312000 +0200
159 - <tr id="phone_support1" {get_display_style element_name="phone_support" total=$phone_entries|@count}>
162 <table bgcolor="#FFFFFF" width="100%" cellspacing="1" cellpadding="2">
163 - <tr bgcolor="{$internal_color}">
164 + <tr id="phone_support1" {get_display_style element_name="phone_support" total=$phone_entries|@count} bgcolor="{$internal_color}">
165 <td class="default_white" NOWRAP>{include file="expandable_cell/buttons.tpl.html" remote_func="getPhoneSupport" ec_id="phone"}</td>
166 <td width="5" class="default_white" align="center">#</td>
167 <td width="20%" class="default_white" nowrap>Recorded Date</td>
170 {section name="i" loop=$phone_entries}
171 {cycle values=$cycle assign="row_color"}
172 - <tr bgcolor="{$row_color}">
173 + <tr id="phone_support{$smarty.section.i.iteration+1}" {get_display_style element_name="phone_support" total=$phone_entries|@count} bgcolor="{$row_color}">
174 <td class="default" NOWRAP>{include file="expandable_cell/buttons.tpl.html" ec_id="phone" list_id=$phone_entries[i].phs_id}</td>
175 <td class="default" nowrap>{$smarty.section.i.iteration}</td>
176 <td class="default" nowrap>{$phone_entries[i].phs_created_date}</td>
179 {include file="expandable_cell/body.tpl.html" ec_id="phone" list_id=$phone_entries[i].phs_id colspan="9"}
182 + <tr id="phone_support2" {get_display_style element_name="phone_support" total=$phone_entries|@count}>
183 <td colspan="9" bgcolor="{$light_color}" class="default" align="center">
184 <i>No phone calls recorded yet.</i>
188 {if $current_role > $roles.customer}
189 - <tr id="phone_support11" {get_display_style element_name="phone_support"}>
191 <td colspan="9" bgcolor="{$internal_color}" align="center">
192 <input type="submit" value="Add Phone Call" class="button" onClick="javascript:addPhoneCall();">
194 Common subdirectories: ./templates/en/reminders and ./templates/en.new/reminders
195 Common subdirectories: ./templates/en/reports and ./templates/en.new/reports
196 diff -u ./templates/en/support_emails.tpl.html ./templates/en.new/support_emails.tpl.html
197 --- ./templates/en/support_emails.tpl.html 2006-02-09 18:17:18.000000000 +0200
198 +++ ./templates/en.new/support_emails.tpl.html 2006-02-09 19:14:11.133904000 +0200
203 - <tr id="support_emails1" {get_display_style element_name="support_emails" total=$emails|@count}>
206 <table width="100%" cellpadding="2" cellspacing="1">
207 - <tr bgcolor="{$cell_color}">
208 + <tr id="support_emails1" {get_display_style element_name="support_emails" total=$emails|@count} bgcolor="{$cell_color}">
209 {if $emails != "" and $current_role > $roles.viewer and $current_role != $roles.customer}
210 <td width="5"><input type="button" value="All" class="shortcut" onClick="javascript:toggleSelectAll(this.form, 'item[]');"></td>
214 {section name="i" loop=$emails}
215 {cycle values=$cycle assign="row_color"}
217 + <tr id="support_emails{$smarty.section.i.iteration+1}" {get_display_style element_name="support_emails" total=$emails|@count}>
218 {if $current_role > $roles.viewer and $current_role != $roles.customer}
219 <td align="center" bgcolor="{$row_color}">
220 <input type="checkbox" name="item[]" value="{$emails[i].sup_id}">
223 {include file="expandable_cell/body.tpl.html" ec_id="email" list_id=$emails[i].composite_id colspan=$email_col_count row_color=$row_color}
226 + <tr id="support_emails2" {get_display_style element_name="support_emails" total=$emails|@count}>
227 <td colspan="{$email_col_count}" bgcolor="{$light_color}" class="default" align="center">
228 <i>No associated emails could be found.</i>
230 diff -u ./templates/en/time_tracking.tpl.html ./templates/en.new/time_tracking.tpl.html
231 --- ./templates/en/time_tracking.tpl.html 2006-02-09 18:17:18.000000000 +0200
232 +++ ./templates/en.new/time_tracking.tpl.html 2006-02-09 19:07:36.684524000 +0200
237 - <tr id="time_tracker1" {get_display_style element_name="time_tracker" total=$time_entries|@count}>
239 <td colspan="2" class="default" width="100%">
240 <table width="100%" cellpadding="2" cellspacing="1">
241 - <tr bgcolor="{$internal_color}">
242 + <tr id="time_tracker1" {get_display_style element_name="time_tracker" total=$time_entries|@count} bgcolor="{$internal_color}">
243 <td class="default_white" align="center" width="5">#</td>
244 <td class="default_white" nowrap>Date of Work</td>
245 <td class="default_white" nowrap>User</td>
248 {section name="i" loop=$time_entries}
249 {cycle values=$cycle assign="row_color"}
250 - <tr bgcolor="{$row_color}">
251 + <tr id="time_tracker{$smarty.section.i.iteration+1}" {get_display_style element_name="time_tracker" total=$time_entries|@count} bgcolor="{$row_color}">
252 <td class="default" align="center">{$smarty.section.i.iteration}</td>
253 <td class="default" nowrap>{$time_entries[i].ttr_created_date}</td>
254 <td class="default" nowrap>
256 <td class="default">{$time_entries[i].ttr_summary}</td>
258 {if $smarty.section.i.last}
260 + <tr id="time_tracker{math equation="2 + x" x=$time_entries|@count}" {get_display_style element_name="time_tracker" total=$time_entries|@count}>
261 <td bgcolor="{$internal_color}" colspan="3" class="default_white" align="right">Total Time Spent:</td>
262 <td bgcolor="{$dark_color}" colspan="3" class="default">{$total_time_spent}</td>
267 + <tr id="time_tracker2" {get_display_style element_name="time_tracker" total=$time_entries|@count}>
268 <td colspan="6" bgcolor="{$light_color}" align="center" class="default">
269 <i>No time tracking entries could be found.</i>
271 Common subdirectories: ./templates/en/tips and ./templates/en.new/tips