Files
gallery3/modules/g2_import/views/admin_g2_import.html.php
Bharat Mediratta a7f345476f Very early round of Gallery 2 import code. It can import users (with
the wrong password) and import groups, with a basic UI.  Needs a ton
more work.
2009-04-15 07:23:22 +00:00

21 lines
673 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("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 ?>