summaryrefslogtreecommitdiff
path: root/modules/g2_import/views/admin_g2_import.html.php
blob: 9b61b584fab4d86cd22b8d9aeedb7b289ab38d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gAdminG2Config">
  <h1> <?= t("Gallery 2 Import") ?> </h1>
  <p>
    <?= t("Import your Gallery 2 users, photos, movies, comments and tags into your new Gallery 3 installation.") ?>
  </p>

  <?= $form ?>
</div>

<? if (g2_import::is_initialized()): ?>
<div id="gAdminG2Import">
  <h1> <?= t("Import") ?> </h1>
  <div class="gSuccess">
    <?= t("We've detected Gallery version: %version", array("version" => g2_import::version())) ?>
  </div>
  <a href="<?= url::site("admin/maintenance/start/g2_import::import?csrf=$csrf") ?>"
     class="gPanelLink"><?= t("Begin Import") ?></a>
</div>
<? endif ?>