2 * 表示データ作成用テンプレート(patTemplate)
\r
4 * LICENSE: This source file is licensed under the terms of the GNU General Public License.
\r
6 * @package Magic3 Framework
\r
7 * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
\r
8 * @copyright Copyright 2006-2013 Magic3 Project.
\r
9 * @license http://www.gnu.org/copyleft/gpl.html GPL License
\r
10 * @version SVN: $Id: configmessage.tmpl.html 5729 2013-02-25 09:18:27Z fishbone $
\r
11 * @link http://www.magic3.org
\r
13 <patTemplate:tmpl name="_widget">
\r
14 <script type="text/javascript">
\r
16 function updateItem(){
\r
17 if (!window.confirm('設定を更新しますか?')) return false;
\r
18 document.main.act.value='update';
\r
19 document.main.submit();
\r
24 <div align="center">
\r
26 <!-- m3:ErrorMessage -->
\r
27 <form action="?task=configmessage" method="post" name="main">
\r
28 <input type="hidden" name="act" />
\r
31 <table class="simple-table" width="100%">
\r
32 <caption><span {_HELP_CONFIGMESSAGE_MESSAGE}>メッセージ</span></caption>
\r
35 <td class="table-headside" width="150"><span {_HELP_CONFIGMESSAGE_SITE_IN_MAINTENANCE}>サイトメンテナンス中</span></td>
\r
36 <td><input type="text" name="item_msg_site_in_maintenance" value="{MSG_SITE_IN_MAINTENANCE}" size="60" maxlength="200" style="width:100%;" /><br />
\r
37 <input type="checkbox" name="item_use_content_maintenance" {USE_CONTENT_MAINTENANCE} />汎用コンテンツから外部キーで取得(外部キー:{CONTENT_KEY_MAINTENANCE})</td>
\r
40 <td class="table-headside" width="150"><span {_HELP_CONFIGMESSAGE_ACCESS_DENY}>アクセス不可</span></td>
\r
41 <td><input type="text" name="item_msg_access_deny" value="{MSG_ACCESS_DENY}" size="60" maxlength="200" style="width:100%;" /><br />
\r
42 <input type="checkbox" name="item_use_content_access_deny" {USE_CONTENT_ACCESS_DENY} />汎用コンテンツから外部キーで取得(外部キー:{CONTENT_KEY_ACCESS_DENY})</td>
\r
45 <td class="table-headside" width="150"><span {_HELP_CONFIGMESSAGE_PAGE_NOT_FOUND}>存在しないページ</span></td>
\r
46 <td><input type="text" name="item_msg_page_not_found" value="{MSG_PAGE_NOT_FOUND}" size="60" maxlength="200" style="width:100%;" /><br />
\r
47 <input type="checkbox" name="item_use_content_page_not_found" {USE_CONTENT_PAGE_NOT_FOUND} />汎用コンテンツから外部キーで取得(外部キー:{CONTENT_KEY_PAGE_NOT_FOUND})</td>
\r
52 <tr><td align="right">
\r
53 <input type="button" class="button" onclick="updateItem();" value="更新" />
\r