- Timestamp:
- 2012/12/04 19:35:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/Smarty/templates/admin/products/index.tpl
r21867 r22121 38 38 $('#' + disp_id).css("display", "none"); 39 39 40 $('#' + inner_id).html(' URL <a href="#" onClick="lfnDispChange();"> >> カテゴリ表示<\/a>');40 $('#' + inner_id).html(' URL <a href="#" onClick="lfnDispChange();"> >> <!--{t string="tpl_578"}--><\/a>'); 41 41 } 42 42 }else{ … … 48 48 $('#' + disp_id).css("display", ""); 49 49 50 $('#' + inner_id).html(' カテゴリ <a href="#" onClick="lfnDispChange();"> >> URL表示<\/a>');50 $('#' + inner_id).html(' <!--{t string="tpl_191"}--> <a href="#" onClick="lfnDispChange();"> >> <!--{t string="tpl_579"}--><\/a>'); 51 51 } 52 52 } … … 61 61 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 62 62 <input type="hidden" name="mode" value="search" /> 63 <h2> 検索条件設定</h2>63 <h2><!--{t string="tpl_250"}--></h2> 64 64 65 65 <!--検索条件設定テーブルここから--> 66 66 <table> 67 67 <tr> 68 <th> 商品ID</th>68 <th><!--{t string="tpl_577"}--></th> 69 69 <td colspan="3"> 70 70 <!--{assign var=key value="search_product_id"}--> … … 76 76 </tr> 77 77 <tr> 78 <th> 商品コード</th>78 <th><!--{t string="tpl_192"}--></th> 79 79 <td> 80 80 <!--{assign var=key value="search_product_code"}--> … … 84 84 <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /> 85 85 </td> 86 <th> 商品名</th>86 <th><!--{t string="tpl_189"}--></th> 87 87 <td> 88 88 <!--{assign var=key value="search_name"}--> … … 94 94 </tr> 95 95 <tr> 96 <th> カテゴリ</th>96 <th><!--{t string="tpl_191"}--></th> 97 97 <td> 98 98 <!--{assign var=key value="search_category_id"}--> 99 99 <span class="attention"><!--{$arrErr[$key]}--></span> 100 100 <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> 101 <option value=""> 選択してください</option>101 <option value=""><!--{t string="tpl_068"}--></option> 102 102 <!--{html_options options=$arrCatList selected=$arrForm[$key].value}--> 103 103 </select> 104 104 </td> 105 <th> 種別</th>105 <th><!--{t string="tpl_256"}--></th> 106 106 <td> 107 107 <!--{assign var=key value="search_status"}--> … … 111 111 </tr> 112 112 <tr> 113 <th> 登録・更新日</th>113 <th><!--{t string="tpl_330"}--></th> 114 114 <td colspan="3"> 115 115 <!--{if $arrErr.search_startyear || $arrErr.search_endyear}--> … … 144 144 </tr> 145 145 <tr> 146 <th> 商品ステータス</th>146 <th><!--{t string="tpl_554"}--></th> 147 147 <td colspan="3"> 148 148 <!--{assign var=key value="search_product_statuses"}--> … … 153 153 </table> 154 154 <div class="btn"> 155 <p class="page_rows"> 検索結果表示件数155 <p class="page_rows"><!--{t string="tpl_251"}--> 156 156 <!--{assign var=key value="search_page_max"}--> 157 157 <!--{if $arrErr[$key]}--> … … 164 164 <div class="btn-area"> 165 165 <ul> 166 <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"> この条件で検索する</span></a></li>166 <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_252"}--></span></a></li> 167 167 </ul> 168 168 </div> … … 190 190 <!--{/if}--> 191 191 <!--{/foreach}--> 192 <h2> 検索結果一覧</h2>192 <h2><!--{t string="tpl_253"}--></h2> 193 193 <div class="btn"> 194 < span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span> が該当しました。194 <!--検索結果数--><!--{t string="tpl_230" T_FIELD=$tpl_linemax}--> 195 195 <!--検索結果--> 196 196 <!--{if $smarty.const.ADMIN_MODE == '1'}--> 197 <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"> 検索結果をすべて削除</a>197 <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><!--{t string="tpl_327"}--></a> 198 198 <!--{/if}--> 199 <a class="btn-tool" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"> CSV ダウンロード</a>200 <a class="btn-tool" href="../contents/csv.php?tpl_subno_csv=product"> CSV 出力項目設定</a>199 <a class="btn-tool" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><!--{t string="tpl_254"}--></a> 200 <a class="btn-tool" href="../contents/csv.php?tpl_subno_csv=product"><!--{t string="tpl_255"}--></a> 201 201 </div> 202 202 <!--{if count($arrProducts) > 0}--> … … 219 219 <col width="5%" /> 220 220 <tr> 221 <th rowspan="2"> 商品ID</th>222 <th rowspan="2"> 商品画像</th>223 <th rowspan="2"> 商品コード</th>224 <th rowspan="2"> 価格(円)</th>225 <th> 商品名</th>226 <th rowspan="2"> 在庫</th>227 <th rowspan="2"> 種別</th>228 <th rowspan="2"> 編集</th>229 <th rowspan="2"> 確認</th>221 <th rowspan="2"><!--{t string="tpl_577"}--></th> 222 <th rowspan="2"><!--{t string="tpl_195"}--></th> 223 <th rowspan="2"><!--{t string="tpl_192"}--></th> 224 <th rowspan="2"><!--{t string="tpl_580"}--></th> 225 <th><!--{t string="tpl_189"}--></th> 226 <th rowspan="2"><!--{t string="tpl_581"}--></th> 227 <th rowspan="2"><!--{t string="tpl_256"}--></th> 228 <th rowspan="2"><!--{t string="tpl_003"}--></th> 229 <th rowspan="2"><!--{t string="tpl_318"}--></th> 230 230 <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 231 <th rowspan="2"> 規格</th>232 <!--{/if}--> 233 <th rowspan="2"> 削除</th>234 <th rowspan="2"> 複製</th>231 <th rowspan="2"><!--{t string="tpl_582"}--></th> 232 <!--{/if}--> 233 <th rowspan="2"><!--{t string="tpl_004"}--></th> 234 <th rowspan="2"><!--{t string="tpl_583"}--></th> 235 235 </tr> 236 236 <tr> 237 <th nowrap><a href="#" onClick="lfnDispChange(); return false;"> カテゴリ ⇔ URL</a></th>237 <th nowrap><a href="#" onClick="lfnDispChange(); return false;"><!--{t string="tpl_584"}--></a></th> 238 238 </tr> 239 239 … … 260 260 <!--{* XXX 複数規格でかつ、全ての在庫数量が等しい場合は先頭に「各」と入れたれたら良いと思う。 *}--> 261 261 <td class="menu" rowspan="2"> 262 <!--{if $arrProducts[cnt].stock_unlimited_min}--> 無制限<!--{else}--><!--{$arrProducts[cnt].stock_min|number_format}--><!--{/if}-->262 <!--{if $arrProducts[cnt].stock_unlimited_min}--><!--{t string="tpl_053"}--><!--{else}--><!--{$arrProducts[cnt].stock_min|number_format}--><!--{/if}--> 263 263 <!--{if $arrProducts[cnt].stock_unlimited_min != $arrProducts[cnt].stock_unlimited_max || $arrProducts[cnt].stock_min != $arrProducts[cnt].stock_max}--> 264 <br />~ <!--{if $arrProducts[cnt].stock_unlimited_max}--> 無制限<!--{else}--><!--{$arrProducts[cnt].stock_max|number_format}--><!--{/if}-->264 <br />~ <!--{if $arrProducts[cnt].stock_unlimited_max}--><!--{t string="tpl_053"}--><!--{else}--><!--{$arrProducts[cnt].stock_max|number_format}--><!--{/if}--> 265 265 <!--{/if}--> </td> 266 266 <!--{* 表示 *}--> 267 267 <!--{assign var=key value=$arrProducts[cnt].status}--> 268 268 <td class="menu" rowspan="2"><!--{$arrDISP[$key]}--></td> 269 <td class="menu" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" > 編集</a></span></td>270 <td class="menu" rowspan="2"><span class="icon_confirm"><a href="<!--{$smarty.const.HTTP_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&admin=on" target="_blank"> 確認</a></span></td>269 <td class="menu" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" ><!--{t string="tpl_003"}--></a></span></td> 270 <td class="menu" rowspan="2"><span class="icon_confirm"><a href="<!--{$smarty.const.HTTP_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&admin=on" target="_blank"><!--{t string="tpl_318"}--></a></span></td> 271 271 <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 272 <td class="menu" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" > 規格</a></span></td>272 <td class="menu" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" ><!--{t string="tpl_582"}--></a></span></td> 273 273 <!--{/if}--> 274 <td class="menu" rowspan="2"><span class="icon_delete"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;"> 削除</a></span></td>275 <td class="menu" rowspan="2"><span class="icon_copy"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" > 複製</a></span></td>274 <td class="menu" rowspan="2"><span class="icon_delete"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;"><!--{t string="tpl_004"}--></a></span></td> 275 <td class="menu" rowspan="2"><span class="icon_copy"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" ><!--{t string="tpl_583"}--></a></span></td> 276 276 </tr> 277 277 <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;">
Note: See TracChangeset
for help on using the changeset viewer.