Changeset 9980 for extensions/autoupdate
- Timestamp:
- Apr 2, 2011, 12:19:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/autoupdate/trunk/template/update_pwg.tpl
r9735 r9980 1 {footer_script} 2 jQuery(document).ready(function() {ldelim} 3 jQuery('input[name="submit"]').click(function() {ldelim} 4 if(!confirm('{'autoupdate_alert'|@translate}')) 5 return false; 6 jQuery(this).hide(); 7 jQuery('.autoupdate_bar').show(); 8 }); 9 }); 10 {/footer_script} 11 1 12 {html_head} 2 13 {literal} … … 45 56 </p> 46 57 <form action="" method="post"> 47 <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}" onClick="return confirm('{'autoupdate_alert'|@translate}');"></p> 58 <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}"></p> 59 <p class="autoupdate_bar" style="display:none;"> {'Update in progress...'|@translate}<br><img src="plugins/autoupdate/template/ajax-loader-bar.gif"></p> 48 60 <p><input type="hidden" name="upgrade_to" value="{$UPGRADE_TO}"></p> 49 61 </form> … … 67 79 <fieldset> 68 80 <legend>{'autoupdate_step_'|cat:$i|@translate}</legend> 69 <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}" onClick="return confirm('{'autoupdate_alert'|@translate}');"></p> 81 <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}"></p> 82 <p class="autoupdate_bar" style="display:none;"> {'Update in progress...'|@translate}<br><img src="plugins/autoupdate/template/ajax-loader-bar.gif"></p> 70 83 </fieldset> 71 84
Note: See TracChangeset
for help on using the changeset viewer.