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: admin.tmpl.html 5677 2013-02-16 09:57:01Z 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
22 $(document).ready(function(){
\r
24 //m3_setHtmlEditor('item_content');
\r
25 m3SetWysiwygEditor('item_content', 200);
\r
29 <div align="center">
\r
31 <!-- m3:ErrorMessage -->
\r
32 <form method="post" name="main">
\r
33 <input type="hidden" name="act" />
\r
34 <table class="simple-table" width="90%">
\r
37 <td class="table-head" width="100">内容</td><td width="800"><textarea name="item_content">{CONTENT}</textarea></td>
\r
40 <td colspan="2" align="right"><input type="button" class="button" onclick="updateItem();" value="更新" /></td>
\r