OSDN Git Service

初回ログイン時のガイダンスメッセージを修正。 v2.8.0
authornaoki hirata <naoki@magic3.org>
Tue, 14 Jan 2014 00:33:07 +0000 (09:33 +0900)
committernaoki hirata <naoki@magic3.org>
Tue, 14 Jan 2014 00:33:07 +0000 (09:33 +0900)
include/db/systemDb.php
templates/_admin4/css/style.css
widgets/_install/include/container/_installInitdbWidgetContainer.php

index f5f367e..cf607ad 100644 (file)
@@ -3266,7 +3266,7 @@ class SystemDb extends BaseDb
                if ($currentVer >= 2014010201){
                        // バージョン2014010201以降で「ol_show_top(トップ表示)」を追加(2014/1/12)
                        $sql = "INSERT INTO _operation_log (ol_type, ol_method, ol_message, ol_message_ext, ol_message_code, ol_access_log_serial, ol_search_option, ol_link, ol_show_top, ol_widget_id, ol_dt) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now())";
-                       $params = array($type, $method, $message, $msgExt, intval($code), intval($logSerial), $searchOption, $link, intval($showTo), $gEnvManager->getCurrentWidgetId());
+                       $params = array($type, $method, $message, $msgExt, intval($code), intval($logSerial), $searchOption, $link, intval($showTop), $gEnvManager->getCurrentWidgetId());
                } else if ($currentVer >= 2012090701){
                        // バージョン2012090701以降で「ol_link(リンク先)」を追加(2012/9/12)
                        $sql = "INSERT INTO _operation_log (ol_type, ol_method, ol_message, ol_message_ext, ol_message_code, ol_access_log_serial, ol_search_option, ol_link, ol_widget_id, ol_dt) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, now())";
index 7207d8f..9b98a2d 100644 (file)
@@ -230,7 +230,7 @@ background-color: #0081c2;
        font-size        : 90%;
 }
 /* error message */
-.error-message {
+/*.error-message {
        color: #EE0000;
 }
 .warning-message {
@@ -238,7 +238,7 @@ background-color: #0081c2;
 }
 .guide-message {
        color: #00008B;
-}
+}*/
 /****** widget ******/
 .m3widget_main {
        margin: 10px 10px 20px 10px;
index 8244eff..c62e3f7 100644 (file)
@@ -259,7 +259,7 @@ class _installInitdbWidgetContainer extends _installBaseWidgetContainer
                                
                                // 初期設定用画面への遷移を通知
                                $guideMsg = $this->_('If you want initializing the system easily, use \'System Initialize Wizard\'. Accessing to \'System Initialize Wizard\', push ESC key on the top page.'); // システムの初期化を簡単に行うには「システム初期化ウィザード」を使用します。「システム初期化ウィザード」機能にアクセスするには、トップ画面でESCキーを押します。
-                               $this->gOpeLog->writeGuide(__METHOD__, $guideMsg, 0, '', '', 'task=iniwizard', true/*トップ表示*/);
+                               $this->gOpeLog->writeGuide(__METHOD__, $guideMsg, 3000, '', '', 'task=initwizard', true/*トップ表示*/);
                                
                                // 次の画面へ遷移
                                $this->gPage->redirect('?task=initother&install_type=' . $type . '&from=initdb' . '&' . M3_REQUEST_PARAM_OPERATION_LANG . '=' . $this->gEnv->getCurrentLanguage());