Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
bulletin2.2 の エディタ画面を使いやすく カスタマイズ | 社内SEのウェブ制作

2010.04.01xoopsズープス

bulletin2.2 の エディタ画面を使いやすく カスタマイズ

ブレティンのテンプレート管理の bulletin_submit.htmlの以下の
箇所を変更して広く使う

<tr align="left" valign="top">
<td class="head"><{$smarty.const._MD_THESCOOP}></td>
<td class="even">
<{if $use_fckeditor}>
<label><input type="checkbox" name="using_fck" checked="checked" onClick="var td=xoopsGetElementById('area_dhtmltarea');var tf=xoopsGetElementById('area_fckxoops');if(this.checked){tf.style.display='block';td.style.display='none';}else{td.style.display='block';tf.style.display='none';};" /><{$smarty.const._MD_FCKXOOPS_ONOFF}></label>
<{/if}>
<div id="area_dhtmltarea">
<label><input type="checkbox" onClick="var pre=xoopsGetElementById('text_bbcode_buttons_pre');var post=xoopsGetElementById('text_bbcode_buttons_post');if(this.checked){pre.style.display='block';post.style.display='block'}else{pre.style.display='none';post.style.display='none'};" /><{$smarty.const._MD_INPUTHELPER}></label>
<br />
<{xoopsdhtmltarea name="text" cols=$bulletin_post_tray_col rows=$bulletin_post_tray_row value=$text pre_style="display:none;" post_style="display:none;"}> </div>
<{if $use_fckeditor}>
<div id="area_fckxoops">
<script type="text/javascript" src="<{$xoops_url}>/common/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
function fckeditor_exec() {
var oFCKeditor = new FCKeditor( "text_fck" , "100%" , "500" , "Default" );
oFCKeditor.BasePath = "<{$xoops_url}>/common/fckeditor/";
oFCKeditor.ReplaceTextarea();
}
</script>
<textarea id="text_fck" name="text_fck"><{$text}></textarea>
<script>
fckeditor_exec();
xoopsGetElementById('area_dhtmltarea').style.display='none';
</script>
</div>
<{/if}>
<div><{$smarty.const._MULTIPAGE}></div> </td>
</tr>




<tr align="left" valign="top">
<td colspan="2"><{if $use_fckeditor}>
<label><input type="checkbox" name="using_fck" checked="checked" onclick="var td=xoopsGetElementById('area_dhtmltarea');var tf=xoopsGetElementById('area_fckxoops');if(this.checked){tf.style.display='block';td.style.display='none';}else{td.style.display='block';tf.style.display='none';};" /><{$smarty.const._MD_FCKXOOPS_ONOFF}></label>
<{/if}>
<div id="area_dhtmltarea">
<label><input type="checkbox" onclick="var pre=xoopsGetElementById('text_bbcode_buttons_pre');var post=xoopsGetElementById('text_bbcode_buttons_post');if(this.checked){pre.style.display='block';post.style.display='block'}else{pre.style.display='none';post.style.display='none'};" /><{$smarty.const._MD_INPUTHELPER}></label>
<br />
<{xoopsdhtmltarea name="text" cols=$bulletin_post_tray_col rows=$bulletin_post_tray_row value=$text pre_style="display:none;" post_style="display:none;"}> </div> <{if $use_fckeditor}>
<div id="area_fckxoops">
<script type="text/javascript" src="<{$xoops_url}>/common/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
function fckeditor_exec() {
var oFCKeditor = new FCKeditor( "text_fck" , "100%" , "500" , "Default" );
oFCKeditor.BasePath = "<{$xoops_url}>/common/fckeditor/";
oFCKeditor.ReplaceTextarea();
}
</script>
<textarea id="text_fck" name="text_fck"><{$text}></textarea>
<script>
fckeditor_exec();
xoopsGetElementById('area_dhtmltarea').style.display='none';
</script>
</div> <{/if}>
<div><{$smarty.const._MULTIPAGE}></div></td>
</tr>


に変更する。

このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (12083)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/14

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ