Changeset 10028 for extensions/autoupdate/trunk/template/update_pwg.tpl
- Timestamp:
- Apr 4, 2011, 12:28:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/autoupdate/trunk/template/update_pwg.tpl
r9980 r10028 7 7 jQuery('.autoupdate_bar').show(); 8 8 }); 9 jQuery('[name="understand"]').click(function() {ldelim} 10 jQuery('[name="submit"]').attr('disabled', !this.checked); 11 }); 9 12 }); 10 13 {/footer_script} … … 79 82 <fieldset> 80 83 <legend>{'autoupdate_step_'|cat:$i|@translate}</legend> 81 <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}"></p> 84 {if !empty($missing.plugins)} 85 <p><i>{'Following plugins may not be compatible with the new version of Piwigo:'|@translate}</i></p> 86 <p><ul>{foreach from=$missing.plugins item=plugin}<li><a href="{$plugin.uri}" class="externalLink">{$plugin.name}</a></li>{/foreach}</ul><br></p> 87 {/if} 88 {if !empty($missing.themes)} 89 <p><i>{'Following themes may not be compatible with the new version of Piwigo:'|@translate}</i></p> 90 <p><ul>{foreach from=$missing.themes item=theme}<li><a href="{$theme.uri}" class="externalLink">{$theme.name}</a></li>{/foreach}</ul><br></p> 91 {/if} 92 <p> 93 {if !empty($missing.plugins) or !empty($missing.themes)} 94 <p><label><input type="checkbox" name="understand"> {'I decide to upgrade anyway'|@translate}</label></p> 95 {/if} 96 <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}" {if !empty($missing.plugins) or !empty($missing.themes)}disabled="disabled"{/if}> 97 </p> 82 98 <p class="autoupdate_bar" style="display:none;"> {'Update in progress...'|@translate}<br><img src="plugins/autoupdate/template/ajax-loader-bar.gif"></p> 83 99 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.