Changeset 1996
- Timestamp:
- 04/19/08 05:57:37 (4 months ago)
- Files:
-
- branches/release-35/lib/MT/CMS/Template.pm (modified) (1 diff)
- branches/release-35/tmpl/cms/edit_template.tmpl (modified) (2 diffs)
- branches/release-35/tmpl/cms/include/archive_maps.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-35/lib/MT/CMS/Template.pm
r1992 r1996 1039 1039 my $tmpl = $app->load_tmpl('include/archive_maps.tmpl'); 1040 1040 my $maps = _populate_archive_loop( $app, $blog, $template ); 1041 $tmpl->param( { object_type => 'templatemap' } ); 1042 $tmpl->param( { object_loop => $maps } ) if @$maps; 1041 $tmpl->param( object_type => 'templatemap' ); 1042 $tmpl->param( publish_queue_available => eval 'require List::Util; require Scalar::Util; 1;' ); 1043 $tmpl->param( object_loop => $maps ) if @$maps; 1043 1044 my $html = $tmpl->output(); 1044 1045 branches/release-35/tmpl/cms/edit_template.tmpl
r1965 r1996 655 655 <!-- untested features --> 656 656 <option value="5"<mt:if name="build_type_5"> selected="selected"</mt:if>><__trans phrase="On a schedule"></option> 657 <mt:ignore>658 657 <!-- This code needs to be shown if the "On a schedule" has been selected --> 659 658 <__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" /> … … 663 662 <option value="days"<mt:if name="schedule_period_days"> selected="selected"</mt:if>><__trans phrase="days"></option> 664 663 </select> 665 </mt:ignore>666 664 </mt:ignore> 667 665 </mt:if> branches/release-35/tmpl/cms/include/archive_maps.tmpl
r1877 r1996 36 36 <!-- untested features --> 37 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 38 <!-- This code needs to be shown if the "On a schedule" has been selected --> 40 39 <__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" /> … … 44 43 <option value="days"<mt:if name="schedule_period_days"> selected="selected"</mt:if>><__trans phrase="days"></option> 45 44 </select> 46 </mt:ignore>47 45 </mt:ignore> 48 46 </mt:if>
