mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-09 21:19:11 -04:00
Notes: * Don't store the g2->g3 map in the task; it gets too large and overflows the context column. * Import album sort orders * Try to treat duplication in the summary and description fields sensibly. * Move the g2 import config page under the Settings menu * Clean up the settings page slightly and send users to the maintenance page to do the actual import (not an optimal UI, but it works).
22 lines
670 B
PHP
22 lines
670 B
PHP
<?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("Gallery version %version detected", array("version" => g2_import::version())) ?>
|
|
</div>
|
|
|
|
<?= t("You can perform an import on the <a href=\"%url\">maintenance page</a>",
|
|
array("url" => url::site("admin/maintenance"))) ?>
|
|
</div>
|
|
<? endif ?>
|