OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / widgets / admin_main / include / template / configmessage.tmpl.html
1 /**\r
2  * 表示データ作成用テンプレート(patTemplate)\r
3  *\r
4  * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
5  *\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
12  */\r
13 <patTemplate:tmpl name="_widget">\r
14 <script type="text/javascript">\r
15 //<![CDATA[\r
16 function updateItem(){\r
17         if (!window.confirm('設定を更新しますか?')) return false;\r
18         document.main.act.value='update';\r
19         document.main.submit();\r
20         return true;\r
21 }\r
22 //]]>\r
23 </script>\r
24 <div align="center">\r
25 {MENU_ITEMS}\r
26 <!-- m3:ErrorMessage -->\r
27 <form action="?task=configmessage" method="post" name="main">\r
28 <input type="hidden" name="act" />\r
29 <table width="800">\r
30 <tbody><tr><td>\r
31 <table class="simple-table" width="100%">\r
32     <caption><span {_HELP_CONFIGMESSAGE_MESSAGE}>メッセージ</span></caption>\r
33     <tbody>\r
34     <tr>\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
38         </tr>\r
39     <tr class="even">\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
43         </tr>\r
44     <tr>\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
48         </tr>\r
49     </tbody>\r
50 </table>\r
51 </td></tr>\r
52 <tr><td align="right">\r
53 <input type="button" class="button" onclick="updateItem();" value="更新" />\r
54 </td></tr>\r
55 </tbody>\r
56 </table>\r
57 </form>\r
58 </div>\r
59 </patTemplate:tmpl>\r