summaryrefslogtreecommitdiff
path: root/modules/gallery/views/welcome_message.html.php
diff options
context:
space:
mode:
authorroot <root@sleepydogs.net>2009-09-13 09:01:55 -0700
committerroot <root@sleepydogs.net>2009-09-13 09:01:55 -0700
commitc62d1f440f077ba806b7ff0c6b90ef89c79b2fd3 (patch)
treeb64f05e2a7bd8db7200e3c407904e255826b4cf2 /modules/gallery/views/welcome_message.html.php
parentb96ac1eb81b7ccd5bd050ffab0ca9ce1feec8f4f (diff)
parentcaa2002d7777e0ceb884d4c628650804620ca2b6 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/views/welcome_message.html.php')
-rw-r--r--modules/gallery/views/welcome_message.html.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/gallery/views/welcome_message.html.php b/modules/gallery/views/welcome_message.html.php
new file mode 100644
index 00000000..5515c3dc
--- /dev/null
+++ b/modules/gallery/views/welcome_message.html.php
@@ -0,0 +1,36 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div id="gWelcomeMessage">
+ <h1 style="display: none">
+ <?= t("Welcome to Gallery 3!") ?>
+ </h1>
+
+ <p>
+ <h2>
+ <?= t("Congratulations on choosing Gallery to host your photos. You're going to have a great experience!") ?>
+ </h2>
+ </p>
+
+ <p>
+ <?= t("First things first. You're logged in to the <b>%user_name</b> account. You should 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")->for_html_attr() ?>"
+ id="gAfterInstallChangePasswordLink"
+ class="gButtonLink ui-state-default ui-corners-all">
+ <?= t("Change Password Now") ?>
+ </a>
+ <script>
+ $("#gAfterInstallChangePasswordLink").gallery_dialog();
+ </script>
+ </p>
+
+ <p>
+ <?= t("Want to learn more? The <a href=\"%url\">Gallery website</a> has news and information about the Gallery project and community.", array("url" => "http://gallery.menalto.com")) ?>
+ </p>
+
+ <p>
+ <?= t("Having problems? There's 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")) ?>
+ </p>
+</div>