Changeset 17806
- Timestamp:
- 2009/02/18 22:36:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_4/data/Smarty/templates/default/admin/order/index.tpl
r17805 r17806 25 25 <script type="text/javascript"> 26 26 <!-- 27 function fnSelectCheckSubmit( ){27 function fnSelectCheckSubmit(action){ 28 28 29 29 var fm = document.form1; … … 51 51 52 52 if(checkflag == 1){ 53 var WIN; 54 WIN = window.open("about:blank", "pdf", "width=500,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 55 document.form1.target = "pdf"; 56 document.form1.mode.value = 'pdf'; 57 document.form1.action = 'pdf.php'; 58 document.form1.submit(); 59 WIN.focus(); 53 fnOpenPdfSettingPage(action); 60 54 } 55 } 56 57 function fnOpenPdfSettingPage(action){ 58 var WIN; 59 WIN = window.open("about:blank", "pdf", "width=500,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 60 document.form1.target = "pdf"; 61 document.form1.mode.value = 'pdf'; 62 document.form1.action = action; 63 document.form1.submit(); 64 WIN.focus(); 61 65 } 62 66 … … 375 379 <td><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv.jpg','btn_csv');" onclick="fnModeSubmit('csv','','');" ><img src="<!--{$TPL_DIR}-->img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td> 376 380 <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td> 377 <td><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_pdf_on.jpg','btn_pdf');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_pdf.jpg','btn_pdf');" onclick="fnSelectCheckSubmit( ); return false;" ><img src="<!--{$TPL_DIR}-->img/contents/btn_pdf.jpg" width="99" height="24" alt="PDF DOWNLOAD" border="0" name="btn_pdf" id="btn_pdf"></a></td>381 <td><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_pdf_on.jpg','btn_pdf');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_pdf.jpg','btn_pdf');" onclick="fnSelectCheckSubmit('pdf.php'); return false;" ><img src="<!--{$TPL_DIR}-->img/contents/btn_pdf.jpg" width="99" height="24" alt="PDF DOWNLOAD" border="0" name="btn_pdf" id="btn_pdf"></a></td> 378 382 <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td> 379 383 <td><a href="../contents/csv.php?tpl_subno_csv=order"><span class="fs12n"> >> CSV出力項目設定 </span></a></td> … … 431 435 <td align="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default:"未発送"}--></td> 432 436 <td align="center"><!--{$arrORDERSTATUS[$status]}--></td> 433 <td align="center"><a href="./" onClick=" win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">帳票</span></a><input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" >437 <td align="center"><a href="./" onClick="fnOpenPdfSettingPage('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">帳票</span></a><input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" > 434 438 </td> 435 439 <td align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_EDIT}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td>
Note: See TracChangeset
for help on using the changeset viewer.