update.admin.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <div class="update" data-productname="<?php p($_['productName']) ?>" data-version="<?php p($_['version']) ?>">
  2. <div class="updateOverview">
  3. <?php if ($_['isAppsOnlyUpgrade']) { ?>
  4. <h2 class="title bold"><?php p($l->t('App update required')); ?></h2>
  5. <?php } else { ?>
  6. <h2 class="title bold"><?php p($l->t('%s will be updated to version %s',
  7. array($_['productName'], $_['version']))); ?></h2>
  8. <?php } ?>
  9. <?php if (!empty($_['appsToUpgrade'])) { ?>
  10. <div class="infogroup">
  11. <span class="bold"><?php p($l->t('These apps will be updated:')); ?></span>
  12. <ul class="content appList">
  13. <?php foreach ($_['appsToUpgrade'] as $appInfo) { ?>
  14. <li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
  15. <?php } ?>
  16. </ul>
  17. </div>
  18. <?php } ?>
  19. <?php if (!empty($_['incompatibleAppsList'])) { ?>
  20. <div class="infogroup">
  21. <span class="bold"><?php p($l->t('These incompatible apps will be disabled:')) ?></span>
  22. <ul class="content appList">
  23. <?php foreach ($_['incompatibleAppsList'] as $appInfo) { ?>
  24. <li><?php p($appInfo['name']) ?> (<?php p($appInfo['id']) ?>)</li>
  25. <?php } ?>
  26. </ul>
  27. </div>
  28. <?php } ?>
  29. <?php if (!empty($_['oldTheme'])) { ?>
  30. <div class="infogroup bold">
  31. <?php p($l->t('The theme %s has been disabled.', array($_['oldTheme']))) ?>
  32. </div>
  33. <?php } ?>
  34. <div class="infogroup bold">
  35. <?php p($l->t('Please make sure that the database, the config folder and the data folder have been backed up before proceeding.')) ?>
  36. </div>
  37. <input class="updateButton" type="button" value="<?php p($l->t('Start update')) ?>">
  38. <div class="infogroup">
  39. <?php p($l->t('To avoid timeouts with larger installations, you can instead run the following command from your installation directory:')) ?>
  40. <pre>./occ upgrade</pre>
  41. </div>
  42. </div>
  43. <div class="updateProgress hidden"></div>
  44. </div>