update.admin.php 1.3 KB

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