OSDN Git Service

管理機能「サイト一覧」更新。
authornaoki hirata <naoki@magic3.org>
Thu, 19 Nov 2015 05:49:13 +0000 (14:49 +0900)
committernaoki hirata <naoki@magic3.org>
Thu, 19 Nov 2015 05:49:13 +0000 (14:49 +0900)
widgets/admin_main/include/container/admin_mainSitelistWidgetContainer.php
widgets/admin_main/include/help/index.php
widgets/admin_main/include/template/sitelist.tmpl.html
widgets/admin_main/include/template/sitelist_detail.tmpl.html

index 1094932..2f846ef 100644 (file)
@@ -187,7 +187,7 @@ class admin_mainSitelistWidgetContainer extends admin_mainBaseWidgetContainer
                                'host'          => $hostStr,    // ホスト名
                                'status'        => $statusTag,  // 状態
                                'dir'           => $this->convertToDispString($line['dir']),                    // ディレクトリ名
-                               'date'          => $this->convertToDispDate(date("Y/m/d H:i:s", $line['date'])),                        // 作成日時
+                               'date'          => $this->convertToDispDateTime(date("Y/m/d H:i:s", $line['date']), 0/*ロングフォーマット*/, 10/*時分*/),                    // 作成日時
                                'disksize'      => $this->convertToDispString(convFromBytes($line['disksize'])),                        // ディスク使用量
                                'link'          => $linkTag
                        );
@@ -337,7 +337,7 @@ class admin_mainSitelistWidgetContainer extends admin_mainBaseWidgetContainer
                }
                $this->tmpl->addVar("_widget", "id", $this->convertToDispString($id));          // ID(ホスト名)
                $this->tmpl->addVar("_widget", "host_id", $this->convertToDispString($hostId));         // ホストID
-               $this->tmpl->addVar("_widget", "date", $this->convertToDispDate($createDt));            // 作成日付
+               $this->tmpl->addVar("_widget", "date", $this->convertToDispDateTime($createDt, 0/*ロングフォーマット*/, 10/*時分*/));                // 作成日付
                $this->tmpl->addVar("_widget", "version", $this->convertToDispString($version));                // Magic3バージョン
                $this->tmpl->addVar("_widget", "msg_completed", $msgCompleted);         // 処理完了メッセージ
                $this->tmpl->addVar("_widget", "msg_error", $msgError);         // 処理エラーメッセージ
index ae91146..1f713bf 100644 (file)
@@ -369,4 +369,8 @@ $HELP['initwizard_admin_password']['title'] = 'パスワード';
 $HELP['initwizard_admin_password']['body'] = 'ログインに使用するパスワードです。';
 $HELP['initwizard_admin_email']['title'] = 'Eメール';
 $HELP['initwizard_admin_email']['body'] = '管理者のメールアドレスです。パスワード再送などで使用されます。';
+
+// ########## サイト管理 ##########
+$HELP['sitelist_host_name']['title'] = 'ホスト名';
+$HELP['sitelist_host_name']['body'] = 'サイトを識別するための名前を設定します。ホスト名は運用するサイトのURL http://xxxxx.xxxxx.xxxxx/ の「xxxxx.xxxxx.xxxxx」の部分を設定します。';
 ?>
index 44cb7c8..5371b94 100644 (file)
@@ -41,12 +41,12 @@ $(function() {
     <thead>
     <tr>
                <th style="width:35px;">No</th>
-               <th>ホスト名</th>
+               <th><span {_HELP_SITELIST_HOST_NAME}>ホスト名</span></th>
                <th style="width:35px;">状態</th>
            <th style="width:100px;">ホストID</th>
-           <th style="width:100px;">作成日</th>
+           <th style="width:120px;">作成日時</th>
                <th style="width:100px;">ディスク使用量</th>
-               <th style="width:100px;">管理画面</th>
+               <th>管理画面</th>
        </tr>
     </thead>
     <tbody>
index 251d6c7..11fe7a4 100644 (file)
@@ -94,7 +94,7 @@ $(function(){
 <table id="config_table">
     <tbody>
     <tr>
-           <th>ホスト名</th>
+           <th><span {_HELP_SITELIST_HOST_NAME}>ホスト名</span></th>
            <td colspan="3"><patTemplate:tmpl name="input_hostname" visibility="hidden"><input type="text" name="item_hostname" class="form-control" value="{HOSTNAME}" maxlength="100" /></patTemplate:tmpl>{HOSTNAME}</td>
        </tr>
     <tr>
@@ -104,7 +104,7 @@ $(function(){
            <td>{HOST_ID}</td>
        </tr>
     <tr>
-           <th>作成日</th>
+           <th>作成日</th>
            <td>{DATE}</td>
            <th>Magic3バージョン</th>
            <td>{VERSION}</td>