prevent block extension in block extension
This commit is contained in:
parent
85c8d76da3
commit
61f0823051
44
Application/views/tpl/admin/orderoverview_pdfform.tpl
Normal file
44
Application/views/tpl/admin/orderoverview_pdfform.tpl
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
[{if $edit && $oView->canExport()}]
|
||||||
|
<br>
|
||||||
|
<form name="myedit2" id="myedit2" action="[{$oViewConf->getSelfLink()}]" method="post" target="expPDF">
|
||||||
|
[{$oViewConf->getHiddenSid()}]
|
||||||
|
<input type="hidden" name="cl" value="order_overview">
|
||||||
|
<input type="hidden" name="fnc" value="createPDF">
|
||||||
|
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||||
|
<table cellspacing="0" cellpadding="0" style="padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border : 1px #A9A9A9; border-style : solid solid solid solid;" width="220">
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td rowspan="3">
|
||||||
|
<img src="[{$oViewConf->getImageUrl()}]/pdf_icon.gif" width="41" height="38" alt="" border="0" hspace="0" vspace="0" align="absmiddle">
|
||||||
|
</td>
|
||||||
|
<td valign="top" class="edittext" align="right">
|
||||||
|
[{oxmultilang ident="ORDER_OVERVIEW_PDF_TYPE"}]:
|
||||||
|
<select name="pdftype" class="editinput" style="width:80px;">
|
||||||
|
[{block name="d3_pdfdocuments_order_overview_pdfTypeOptions"}]
|
||||||
|
<option value="standart" SELECTED>[{oxmultilang ident="ORDER_OVERVIEW_PDF_STANDART"}]</option>
|
||||||
|
<option value="dnote">[{oxmultilang ident="ORDER_OVERVIEW_PDF_DNOTE"}]</option>
|
||||||
|
<option value="standart_without_logo">[{oxmultilang ident="ORDER_OVERVIEW_PDF_STANDART_WITHOUT_LOGO" }]</option>
|
||||||
|
<option value="dnote_without_logo">[{oxmultilang ident="ORDER_OVERVIEW_PDF_DNOTE_WITHOUT_LOGO" }]</option>
|
||||||
|
[{/block}]
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" class="edittext">
|
||||||
|
[{oxmultilang ident="GENERAL_LANGUAGE"}]
|
||||||
|
<select name="pdflanguage" class="saveinnewlanginput" style="width:80px;">
|
||||||
|
[{foreach from=$alangs key=lang item=slang}]
|
||||||
|
<option value="[{$lang}]" [{if $lang == "0"}]SELECTED[{/if}]>[{$slang}]</option>
|
||||||
|
[{/foreach}]
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right" class="edittext"><br/>
|
||||||
|
<input type="submit" class="edittext" name="save" value="[{oxmultilang ident="ORDER_OVERVIEW_PDF"}]">
|
||||||
|
<iframe name="expPDF" width="0" height="0" border="0" style="display:none;"></iframe>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
[{/if}]
|
18
metadata.php
18
metadata.php
@ -49,17 +49,19 @@ $aModule = [
|
|||||||
],
|
],
|
||||||
'controllers' => [],
|
'controllers' => [],
|
||||||
'templates' => [
|
'templates' => [
|
||||||
'd3deliverynote_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/deliverynote/deliverynote.tpl',
|
'd3orderoverview_pdfform.tpl' => 'd3/pdfdocuments/Application/views/tpl/admin/orderoverview_pdfform.tpl',
|
||||||
'd3delnote_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/deliverynote/includingFiles/pdfHeader.tpl',
|
|
||||||
'd3delnote_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/deliverynote/includingFiles/pdfPastThank.tpl',
|
'd3deliverynote_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/deliverynote.tpl',
|
||||||
|
'd3delnote_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/includingFiles/pdfHeader.tpl',
|
||||||
|
'd3delnote_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/deliverynote/includingFiles/pdfPastThank.tpl',
|
||||||
'd3delnote_pdf_style.css' => 'd3/pdfdocuments/out/src/css/deliverynote.css',
|
'd3delnote_pdf_style.css' => 'd3/pdfdocuments/out/src/css/deliverynote.css',
|
||||||
|
|
||||||
'd3invoice_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/invoice/invoice.tpl',
|
'd3invoice_pdf.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/invoice.tpl',
|
||||||
'd3invoice_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/invoice/includingFiles/pdfHeader.tpl',
|
'd3invoice_pdf_addressarea.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/includingFiles/pdfHeader.tpl',
|
||||||
'd3invoice_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/invoice/includingFiles/pdfPastThank.tpl',
|
'd3invoice_pdf_conclusion.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/invoice/includingFiles/pdfPastThank.tpl',
|
||||||
|
|
||||||
'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/inc/header.tpl',
|
'd3pdfheader.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/header.tpl',
|
||||||
'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/inc/footer.tpl',
|
'd3pdffooter.tpl' => 'd3/pdfdocuments/Application/views/tpl/documents/inc/footer.tpl',
|
||||||
'd3pdfstyle.css' => 'd3/pdfdocuments/out/src/css/pdfStyling.css'
|
'd3pdfstyle.css' => 'd3/pdfdocuments/out/src/css/pdfStyling.css'
|
||||||
],
|
],
|
||||||
'events' => [],
|
'events' => [],
|
||||||
|
@ -1,49 +1,3 @@
|
|||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
[{if $edit && $oView->canExport()}]
|
|
||||||
<br>
|
|
||||||
<form name="myedit2" id="myedit2" action="[{$oViewConf->getSelfLink()}]" method="post" target="expPDF">
|
|
||||||
[{$oViewConf->getHiddenSid()}]
|
|
||||||
<input type="hidden" name="cl" value="order_overview">
|
|
||||||
<input type="hidden" name="fnc" value="createPDF">
|
|
||||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
|
||||||
<table cellspacing="0" cellpadding="0"
|
|
||||||
style="padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border : 1px #A9A9A9; border-style : solid solid solid solid;"
|
|
||||||
width="220">
|
|
||||||
|
|
||||||
<tr>
|
[{include file="d3orderoverview_pdfform.tpl"}]
|
||||||
<td rowspan="3">
|
|
||||||
<img src="[{$oViewConf->getImageUrl()}]/pdf_icon.gif" width="41" height="38" alt="" border="0"
|
|
||||||
hspace="0" vspace="0" align="absmiddle">
|
|
||||||
</td>
|
|
||||||
<td valign="top" class="edittext" align="right">
|
|
||||||
[{oxmultilang ident="ORDER_OVERVIEW_PDF_TYPE"}]: <select name="pdftype" class="editinput"
|
|
||||||
style="width:80px;">
|
|
||||||
<option value="standart"
|
|
||||||
SELECTED>[{oxmultilang ident="ORDER_OVERVIEW_PDF_STANDART"}]
|
|
||||||
</option>
|
|
||||||
<option value="dnote">[{oxmultilang ident="ORDER_OVERVIEW_PDF_DNOTE"}]</option>
|
|
||||||
<option value="standart_without_logo">[{oxmultilang ident="ORDER_OVERVIEW_PDF_STANDART_WITHOUT_LOGO" }]</option>
|
|
||||||
<option value="dnote_without_logo">[{oxmultilang ident="ORDER_OVERVIEW_PDF_DNOTE_WITHOUT_LOGO" }]</option>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="right" class="edittext">
|
|
||||||
[{oxmultilang ident="GENERAL_LANGUAGE"}]<select name="pdflanguage" class="saveinnewlanginput"
|
|
||||||
style="width:80px;">
|
|
||||||
[{foreach from=$alangs key=lang item=slang}]
|
|
||||||
<option value="[{$lang}]" [{if $lang == "0"}]SELECTED[{/if}]>[{$slang}]</option>
|
|
||||||
[{/foreach}]
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="right" class="edittext"><br/>
|
|
||||||
<input type="submit" class="edittext" name="save"
|
|
||||||
value="[{oxmultilang ident="ORDER_OVERVIEW_PDF"}]">
|
|
||||||
<iframe name="expPDF" width="0" height="0" border="0" style="display:none;"></iframe>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
[{/if}]
|
|
Loading…
Reference in New Issue
Block a user