Changeset 10029 for extensions/autoupdate/branches/2.0/template
- Timestamp:
- Apr 4, 2011, 1:15:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/autoupdate/branches/2.0/template/autoupdate.tpl
r9981 r10029 17 17 jQuery('.autoupdate_bar').show(); 18 18 }); 19 jQuery('[name="understand"]').click(function() {ldelim} 20 jQuery('[name="submit"]').attr('disabled', !this.checked); 21 }); 19 22 }); 20 23 </script> … … 87 90 <fieldset> 88 91 <legend>{'autoupdate_step_'|cat:$i|@translate}</legend> 89 <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}"></p> 92 {if !empty($missing.plugins)} 93 <p><i>{'Following plugins may not be compatible with the new version of Piwigo:'|@translate}</i></p> 94 <p><ul>{foreach from=$missing.plugins item=plugin}<li><a href="{$plugin.uri}" class="externalLink">{$plugin.name}</a></li>{/foreach}</ul><br></p> 95 {/if} 96 {if !empty($missing.themes)} 97 <p><i>{'Following themes may not be compatible with the new version of Piwigo:'|@translate}</i></p> 98 <p><ul>{foreach from=$missing.themes item=theme}<li><a href="{$theme.uri}" class="externalLink">{$theme.name}</a></li>{/foreach}</ul><br></p> 99 {/if} 100 <p> 101 {if !empty($missing.plugins) or !empty($missing.themes)} 102 <p><label><input type="checkbox" name="understand"> {'I decide to upgrade anyway'|@translate}</label></p> 103 {/if} 104 <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}> 105 </p> 90 106 <p class="autoupdate_bar" style="display:none;"> {'Update in progress...'|@translate}<br><img src="plugins/autoupdate/template/ajax-loader-bar.gif"></p> 91 107 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.