バージョン選択

フォーラム

メニュー

オンライン状況

95 人のユーザが現在オンラインです。 (72 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 95
もっと...

サイト内検索

質問 > 管理機能 > コメント記入欄でscriptタグを有効に

管理機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
Ryoko
投稿日時: 2009/3/18 23:37
対応状況: −−−
半人前
登録日: 2009/3/6
居住地:
投稿: 23
Re: コメント記入欄でscriptタグを有効に
失礼しました。。
下記に記します!

【confirm.tpl】

<!--{* オペビルダー用 *}-->
<!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
<!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
<!--{/if}-->

<!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
<!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
<tr>
<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</td>
<td bgcolor="#ffffff" width="557" class="fs12n">
<!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
<!--{$arrForm[$key]|escape}-->
</td>
</tr>
<tr>
<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)</td>
<td bgcolor="#ffffff" width="557" class="fs12n">
<!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
<!--{$arrForm[$key]|nl2br|escape|smarty:nodefaults}-->
</td>
</tr>
<tr>
<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)</td>
<td bgcolor="#ffffff" width="557" class="fs12n">
<!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
<!--{if $arrFile[$key].filepath != ""}-->
<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
<!--{/if}-->
</td>
</tr>
<tr>
<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ拡大画像(<!--{$smarty.section.cnt.iteration}-->)</td>
<td bgcolor="#ffffff" width="557" class="fs12n">
<!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
<!--{if $arrFile[$key].filepath != ""}-->
<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
<!--{/if}-->
</td>
</tr>


【product.tpl】

<tr>
<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</td>
<!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
<td bgcolor="#ffffff" width="557" class="fs12n">
<span class="red12"><!--{$arrErr[$key]}--></span>
<input type="text" name="sub_title<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrForm[$key]|escape}-->" size="60" class="box60" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/><span class="red10"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
</td>
</tr>
<tr>
<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)<span class="red">(タグ許可)</span></td>
<!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
<td bgcolor="#ffffff" width="557" class="fs10n">
<span class="red12"><!--{$arrErr[$key]}--></span>
<textarea name="sub_comment<!--{$smarty.section.cnt.iteration}-->" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape|smarty:nodefaults}--></textarea><br /><span class="red10"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span></td>
</tr>
<tr>
<!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)<br />[<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_SUBIMAGE_HEIGHT}-->]</td>
<td bgcolor="#ffffff" width="557" class="fs12n">
<a name="<!--{$key}-->"></a>
<!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}-->
<a name="<!--{$largekey}-->"></a>
<span class="red12"><!--{$arrErr[$key]}--></span>
<!--{if $arrFile[$key].filepath != ""}-->
<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /> <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
<!--{/if}-->
<input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
</td>
</tr>

【detail.tpl】

<!--▼サブコメントここから-->
<!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
<!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
<!--{if $arrProduct[$key] != ""}-->
<div class="subarea">
<h3><!--★サブタイトル★--><!--{$arrProduct[$key]|escape}--></h3>
<!--{assign var=ckey value="sub_comment`$smarty.section.cnt.iteration`"}-->

<!--拡大写真がある場合ここから-->
<!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
<!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.iteration`"}-->
<!--{if $arrFile[$key].filepath != ""}-->
<div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|escape|smarty:nodefaults}--></div>
<div class="subphotoimg">
<!--{if $arrFile[$lkey].filepath != ""}-->
<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=<!--{$lkey}--><!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile[$lkey].width+60}-->','<!--{$arrFile[$lkey].height+80}-->'); return false;" target="_blank">
<!--{/if}-->
<!--サブ画像-->
<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" width="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->" height="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->" />
<!--{if $arrFile[$lkey].filepath != ""}-->
</a>
<p>
<a href="<!--{$smarty.server.PHP_SELF|escape}-->"
onclick="win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=<!--{$lkey}--><!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile[$lkey].width+60}-->','<!--{$arrFile[$lkey].height+80}-->'); return false;"
onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif','expansion02');"
onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif','expansion02');" target="_blank">
<img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" />
</a>
</p>
<!--{/if}-->
</div>
<!--拡大写真がある場合ここまで-->
<!--{else}-->
<p><!--★サブテキスト★--><!--{$arrProduct[$ckey]|escape|smarty:nodefaults}--></p>
<!--{/if}-->
</div>


こんな感じでしょうか。。

フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   コメント記入欄でscriptタグを有効に Ryoko 2009/3/18 19:22
     Re: コメント記入欄でscriptタグを有効に seasoft 2009/3/18 22:00
       Re: コメント記入欄でscriptタグを有効に Ryoko 2009/3/18 22:24
         Re: コメント記入欄でscriptタグを有効に Ryoko 2009/3/18 23:03
           Re: コメント記入欄でscriptタグを有効に seasoft 2009/3/18 23:24
           » Re: コメント記入欄でscriptタグを有効に Ryoko 2009/3/18 23:37
               Re: コメント記入欄でscriptタグを有効に seasoft 2009/3/18 23:49
                 Re: コメント記入欄でscriptタグを有効に Ryoko 2009/3/19 0:09
                   Re: コメント記入欄でscriptタグを有効に tonton 2009/3/19 1:01
                     Re: コメント記入欄でscriptタグを有効に Ryoko 2009/3/19 1:09
                       Re: コメント記入欄でscriptタグを有効に seasoft 2009/3/19 1:25
                         Re: コメント記入欄でscriptタグを有効に Ryoko 2009/3/19 1:34
                           Re: コメント記入欄でscriptタグを有効に seasoft 2009/3/19 2:14
                             Re: コメント記入欄でscriptタグを有効に nanasess 2009/3/19 9:13
                               Re: コメント記入欄でscriptタグを有効に seasoft 2009/3/19 9:37

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,858名です
総投稿数は109,996件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1294
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.