diff options
Diffstat (limited to 'modules/g2_import/views')
-rw-r--r-- | modules/g2_import/views/admin_g2_import.html.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/g2_import/views/admin_g2_import.html.php b/modules/g2_import/views/admin_g2_import.html.php new file mode 100644 index 00000000..9b61b584 --- /dev/null +++ b/modules/g2_import/views/admin_g2_import.html.php @@ -0,0 +1,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 ?> |