123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <!--{subtemplate common/header}-->
- <!--{if $_GET[act]=='manage'}-->
- <div id="wp" class="wp">
- <div id="pt" class="bm cl">
- <div class="z"> <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>›</em> <a href="plugin.php?id=xj_event:event_template&act=manage">{lang xj_event:huodong}</a> </div>
- </div>
- <div id="ct" class="ct2_a wp cl">
- <div class="mn">
- <table summary="" cellspacing="0" cellpadding="0" class="dt mtm">
- <caption>
- <h2 class="mbm xs2"> <a href="plugin.php?id=xj_event:event_template&act=add" class="xi2 xs1 xw0 y">{lang xj_event:tianjmb}</a>{lang xj_event:mobgl} </h2>
- </caption>
- <tr>
- <th>{lang xj_event:mobmc}</th>
- <th width="150">{lang xj_event:wangjianm}</th>
- <th width="150">{lang xj_event:caozuo}</th>
- </tr>
- <!--{loop $event_template $key $value}-->
- <tr>
- <td>$value[0]</td>
- <td>$value[1]</td>
- <td><a href="plugin.php?id=xj_event:event_template&act=delete&tpid=$key&formhash={$_G[formhash]}">{lang xj_event:delete}</a> <a href="plugin.php?id=xj_event:event_template&act=edit&tpid=$key">{lang xj_event:modify}</a></td>
- </tr>
- <!--{/loop}-->
- </table>
- </div>
- <div class="appl">
- <div class="tbn">
- <h2 class="mt bbda">{lang xj_event:huodong}</h2>
- <ul>
- <li class="a"><a href="plugin.php?id=xj_event:event_template&act=manage">{lang xj_event:huodmb}</a></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <!--{elseif $_GET[act]=='add' || $_GET[act]=='edit' }-->
- <div id="pt" class="wp"><a href="./">$_G[setting][bbname]</a> $navigation › <a href="plugin.php?id=xj_event:event_template&act=manage">{lang xj_event:mobgl}</a> › {lang xj_event:tianjmb}</div>
- <form id="etplform" method="post" autocomplete="off" onsubmit="$('{$editorid}_textarea').value = wysiwyg ? html2bbcode(getEditorContents()) : $('{$editorid}_textarea').value" action="plugin.php?id=xj_event:event_template<!--{if $_GET[act]=='add'}-->&act=addfull<!--{else}-->&act=editfull&tpid={$_GET[tpid]}<!--{/if}-->">
- <input type="hidden" name="etsubmit" value="true">
- <input type="hidden" name="formhash" value="{$_G[formhash]}" />
- <div class="pbt cl">
- <div class="z">
- {lang xj_event:mobmc}:<span><input type="text" name="tpname" id="subject" class="px" value="$tpname" onblur="if($('tags')){relatekw('-1','-1',function(){extraCheck(4)});doane();}" onkeyup="strLenCalc(this, 'checklen', 40);" style="width: 25em" tabindex="1" /></span>
- <span id="tpnamechk">{lang xj_event:haiksr} <strong id="checklen">40</strong> {lang xj_event:gezifu}</span>
- </div>
- </div>
- <div class="edt" id="{$editorid}_body">
- <div id="{$editorid}_controls" class="bar">
- <div class="y">
- <div class="b2r nbl nbr" id="{$editorid}_adv_5">
- <p> <a id="{$editorid}_undo" title="{lang e_undo}">Undo</a> </p>
- <p> <a id="{$editorid}_redo" title="{lang e_redo}">Redo</a> </p>
- </div>
- <div class="z"> <span class="mbn"><a id="{$editorid}_fullswitcher"></a><a id="{$editorid}_simple"></a></span>
- <label id="{$editorid}_switcher" class="bar_swch ptn">
- <input id="{$editorid}_switchercheck" type="checkbox" class="pc" name="checkbox" value="0" {if !$editor[editormode]}checked="checked"{/if} onclick="switchEditor(this.checked?0:1)" />
- CODE</label>
- </div>
- </div>
- <div id="{$editorid}_button" class="btn cl">
- <div class="b2r nbl nbr" id="{$editorid}_adv_s2"> <a id="{$editorid}_fontname" class="dp" title="{lang e_fontname}"><span id="{$editorid}_font">{lang e_font}</span></a> <a id="{$editorid}_fontsize" class="dp" title="{lang e_fontsize}"><span id="{$editorid}_size">{lang e_size}</span></a> <br id="{$editorid}_adv_1" />
- <a id="{$editorid}_bold" title="{lang e_bold}">B</a> <a id="{$editorid}_italic" title="{lang e_italic}">I</a> <a id="{$editorid}_underline" title="{lang e_underline}">U</a> <a id="{$editorid}_forecolor" title="{lang e_forecolor}">Color</a> <a id="{$editorid}_url" title="{lang e_url}">Url</a> <span id="{$editorid}_adv_8"> <a id="{$editorid}_unlink" title="{lang e_unlink}">Unlink</a> <a id="{$editorid}_inserthorizontalrule" title="{lang e_hr_title}">Hr</a> </span> </div>
- <div class="b2r nbl" id="{$editorid}_adv_2">
- <p id="{$editorid}_adv_3"> <a id="{$editorid}_tbl" title="{lang e_table}">Table</a> </p>
- <p> <a id="{$editorid}_removeformat" title="{lang e_removeformat}">Removeformat</a> </p>
- </div>
- <div class="b2r">
- <p> <a id="{$editorid}_justifyleft" title="{lang e_left}">Left</a> <a id="{$editorid}_justifycenter" title="{lang e_center}">Center</a> <a id="{$editorid}_justifyright" title="{lang e_right}">Right</a> </p>
- <p id="{$editorid}_adv_4"> <a id="{$editorid}_autotypeset" title="{lang e_autotypeset}">Autotypeset</a> <a id="{$editorid}_insertorderedlist" title="{lang e_orderedlist}">Orderedlist</a> <a id="{$editorid}_insertunorderedlist" title="{lang e_unorderedlist}">Unorderedlist</a> </p>
- </div>
- <div class="b1r" id="{$editorid}_adv_s1"> <a id="{$editorid}_sml" title="{lang e_smilies_title}">{lang e_smilies}</a>
- <div id="{$editorid}_imagen" style="display:none">!</div>
- <a id="{$editorid}_image" title="{lang e_image_title}">{lang e_image}</a> <a id="{$editorid}_aud" title="{lang e_audio_title}">{lang e_audio}</a> <a id="{$editorid}_vid" title="{lang e_video_title}">{lang e_video}</a> <a id="{$editorid}_fls" title="{lang e_flash_title}">{lang e_flash}</a> </div>
- <div class="b2r" id="{$editorid}_adv_6">
- <p> <a id="{$editorid}_code" title="{lang e_code_title}">{lang e_code}</a> </p>
- <p> <a id="{$editorid}_quote" title="{lang e_quote_title}">{lang e_quote}</a> </p>
- </div>
- </div>
- </div>
- <div class="area">
- <textarea name="$editor[textarea]" id="{$editorid}_textarea" class="pt" tabindex="1" rows="15">$tpcontent</textarea>
- </div>
- <!--{subtemplate common/editor}-->
- </div>
- <div id="{$editorid}_menus" class="editorrow" style="overflow: hidden; margin-top: -5px; height: 0; border: none; background: transparent;">
- <!--{subtemplate common/editor_menu}-->
- </div>
- <div class="p_pof uploadfile" id="{$editorid}_image_menu" style="display: none" unselectable="on">
- <div class="p_opt popupfix" unselectable="on" id="{$editorid}_www">
- <table cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <th width="74%">{lang e_img_inserturl}</th>
- <th width="13%">{lang e_img_width}</th>
- <th width="13%">{lang e_img_height}</th>
- </tr>
- <tr>
- <td><input type="text" id="{$editorid}_image_param_1" onchange="loadimgsize(this.value)" style="width: 95%;" value="" class="px" autocomplete="off" /></td>
- <td><input id="{$editorid}_image_param_2" size="1" value="" class="px p_fre" autocomplete="off" /></td>
- <td><input id="{$editorid}_image_param_3" size="1" value="" class="px p_fre" autocomplete="off" /></td>
- </tr>
- <tr>
- <td colspan="3" class="pns mtn"><button type="button" class="pn pnc" id="{$editorid}_image_submit"><strong>{lang submit}</strong></button>
- <button type="button" class="pn" onclick="hideMenu();"><em>{lang cancel}</em></button></td>
- </tr>
- </table>
- </div>
- </div>
- <div style=" height:40px;"> <br />
- <input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editormode" />
- <input type="submit" id="testsubmit" />
- </div>
- <br />
- </form>
- <script type="text/javascript">
- var editorform = $('etplform');
- var editorsubmit = $('testsubmit');
- if(wysiwyg) {
- newEditor(1, bbcode2html(textobj.value));
- } else {
- newEditor(0, textobj.value);
- }
- </script>
- <!--{/if}-->
- <!--{subtemplate common/footer}-->
|