root/branches/release-34/tmpl/cms/include/archive_maps.tmpl @ 1877

Revision 1877, 4.2 kB (checked in by bchoate, 20 months ago)

Updates to support publish profile dialog operation. BugId:76495

  • Property svn:keyword set to Id Author Date Revision
Line 
1<mtapp:listing
2    show_actions="0"
3    type="templatemap">
4    <mt:if name="__first__">
5    <thead>
6        <tr>
7            <th class="archive-type"><__trans phrase="Type"></th>
8            <th class="archive-path"><__trans phrase="Path"></th>
9            <th class="publish-options"><__trans phrase="Publish Options"></th>
10            <th class="archive-delete si"><div><span><__trans phrase="Delete"></span></div></th>
11        </tr>
12    </thead>
13    <tbody>
14    </mt:if>
15        <tr id="<mt:var name="map_id">" class="<mt:if name="__odd__">odd<mt:else>even</mt:if>">
16            <td class="archive-type"><mt:var name="archive_label">
17    <mt:if name="has_multiple_archives">
18                <input type="checkbox" name="archive_tmpl_preferred_<mt:var name="archive_type" escape="html">" id="archive_tmpl_preferred_<mt:var name="archive_type" escape="html">_<mt:var name="map_id">"<mt:if name="map_is_preferred"> checked="checked"</mt:if> value="1" onchange="togglePreferred(this, '<mt:var name="map_id">')" /><input type="hidden" name="archive_tmpl_preferred_<mt:var name="archive_type" escape="html">_<mt:var name="map_id">" value="<mt:if name="map_is_preferred">1<mt:else>0</mt:if>" />
19    </mt:if>
20            </td>
21            <td class="archive-path">
22                <select id="archive_file_sel_<mt:var name="map_id">" class="tmpl-path" name="archive_file_sel_<mt:var name="map_id">" onchange="archiveFileSelect(this)">
23    <mt:loop name="archive_tmpl_loop">
24                    <option value="<mt:var name="value" escape="html">"<mt:if name="selected"> selected="selected"</mt:if>><mt:var name="name" escape="html"></option>
25    </mt:loop>
26                    <option value=""><__trans phrase="Custom..."></option>
27                </select><input type="text" id="archive_file_tmpl_<mt:var name="map_id">" class="tmpl-path tmpl-path-custom hidden" name="archive_file_tmpl_<mt:var name="map_id">" value="<mt:var name="file_template" escape="html">" />
28            </td>
29            <td class="publish-options">
30                <select name="map_build_type_<mt:var name="map_id">" id="build-type" class="half-width">
31                    <option value="1"<mt:if name="map_build_type_1"> selected="selected"</mt:if>><__trans phrase="Statically"></option>
32                    <option value="3"<mt:if name="map_build_type_3"> selected="selected"</mt:if>><__trans phrase="Dynamically"></option>
33    <mt:if name="publish_queue_available">
34                    <option value="4"<mt:if name="map_build_type_4"> selected="selected"</mt:if>><__trans phrase="Background"></option>
35        <mt:ignore>
36            <!-- untested features -->
37                    <option value="5"<mt:if name="map_build_type_5"> selected="selected"</mt:if>><__trans phrase="On a schedule"></option>
38                    <mt:ignore>
39                        <!-- This code needs to be shown if the "On a schedule" has been selected -->
40                    <__trans phrase=": every "><input name="schedule_interval" id="schedule_interval" value="<mt:var name="schedule_interval" escape="html">" maxlength="10" class="quarter-width" mt:watch-change="1" />
41                    <select name="schedule_period" id="schedule_period">
42                        <option value="minutes"<mt:if name="schedule_period_minutes"> selected="selected"</mt:if>><__trans phrase="minutes"></option>
43                        <option value="hours"<mt:if name="schedule_period_hours"> selected="selected"</mt:if>><__trans phrase="hours"></option>
44                        <option value="days"<mt:if name="schedule_period_days"> selected="selected"</mt:if>><__trans phrase="days"></option>
45                    </select>
46                    </mt:ignore>
47        </mt:ignore>
48    </mt:if>
49                    <option value="2"<mt:if name="map_build_type_2"> selected="selected"</mt:if><mt:if name="map_build_type_0"> selected="selected"</mt:if>><__trans phrase="Manually"></option>
50                </select>
51            </td>
52            <td class="archive-delete si"><a href="javascript:void(0)" onclick="return deleteMap('<mt:var name="map_id">')" class="delete-archive-link"><span><__trans phrase="Delete"></span></a></td>
53        </tr>
54    <mt:if name="__last__">
55    </tbody>
56    </mt:if>
57</mtapp:listing>
Note: See TracBrowser for help on using the browser.