OSDN Git Service

デモモード表示(ログイン画面)
authorCake <cake_67@users.sourceforge.jp>
Fri, 6 Aug 2010 10:36:33 +0000 (19:36 +0900)
committerCake <cake_67@users.sourceforge.jp>
Fri, 6 Aug 2010 10:36:33 +0000 (19:36 +0900)
app/locale/jpn/LC_MESSAGES/default.po
app/views/users/login.ctp

index aa4d991..d98730e 100644 (file)
@@ -2264,6 +2264,10 @@ msgstr "ユーザ一覧"
 msgid "Registration"
 msgstr "ユーザ登録"
 
+#: /views/users/login.ctp:
+msgid "You can login guest/guest as a Guest User."
+msgstr "guest/guest で、ゲストログインできます。"
+
 #: /webroot/test.php:98
 msgid "Debug setting does not allow access to this url."
 msgstr ""
index 038ab11..63817cd 100644 (file)
@@ -10,3 +10,9 @@ if ($site_configs['Site.newUserRegist']['value']) {
        echo $form->create('User', array('action' => 'add'));
        echo $form->end(__('Registration', true));
 }
+
+if (Configure::read('Mode.Demo')) {
+       echo $html->div('notice',
+               __('You can login guest/guest as a Guest User.', true)
+       );
+}