summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
Diffstat (limited to 'core/views')
-rw-r--r--core/views/after_install.html.php28
-rw-r--r--core/views/after_install_loader.html.php6
2 files changed, 34 insertions, 0 deletions
diff --git a/core/views/after_install.html.php b/core/views/after_install.html.php
new file mode 100644
index 00000000..443141b5
--- /dev/null
+++ b/core/views/after_install.html.php
@@ -0,0 +1,28 @@
+<h1 style="display: none">
+ <?= t("Welcome to Gallery 3!") ?>
+</h1>
+
+<p>
+ <?= t("Congratulations on choosing Gallery to host your photos. We're confident that you're going to have a great experience.") ?>
+</p>
+
+<p>
+ <?= t("You're logged in to the <b>%user_name</b> account. The very first thing you should do is to change your password to something that you'll remember.", array("user_name" => $user->name)) ?>
+</p>
+
+<p>
+ <a href="<?= url::site("form/edit/users/{$user->id}") ?>"
+ title="<?= t("Edit Your Profile") ?>"
+ id="gAfterInstallChangePasswordLink"><?= t("Change Password Now") ?></a>
+ <script>
+ $("#gAfterInstallChangePasswordLink").bind("click", handleDialogEvent);
+ </script>
+</p>
+
+<p>
+ <?= t("Want to learn more about Gallery? The <a href=\"%url\">Gallery website</a> has news and information about Gallery and the Gallery community.", array("url" => "http://gallery.menalto.com")) ?>
+</p>
+
+<p>
+ <?= t("Having problems? We've got lots of information in our <a href=\"%codex_url\">documentation site</a> or you can <a href=\"%forum_url\">ask for help in the forums!</a>", array("codex_url" => "http://codex.gallery2.org/Main_Page", "forum_url" => "http://gallery.menalto.com/forum")) ?>
+</ul>
diff --git a/core/views/after_install_loader.html.php b/core/views/after_install_loader.html.php
new file mode 100644
index 00000000..0e0ea1d0
--- /dev/null
+++ b/core/views/after_install_loader.html.php
@@ -0,0 +1,6 @@
+<span id="gAfterInstall"
+ title="<?= t("Welcome to Gallery 3") ?>"
+ href="<?= url::site("after_install") ?>"/>
+<script type="text/javascript">
+ $(document).ready(function(){openDialog($("#gAfterInstall"));});
+</script>