<div style="position:relative;left:10px;width:1000px;">
<h2>Rechnungs Konfiguration</h2>

<div class="full box">

	<form method="post" action="./index.php?admin_modul=admin_invoice_configuration&mod=ajax&action=submit" enctype="multipart/form-data">

		<div class="edit_title">Header</div>
	
		<div style="width:300px;margin-right:9px;">
			<label for="bill_header_text_window">Fenster Text</label><br />
			<input type="text" name="bill_header_text_window"rows="5" style="width:100%" value="{$bill_header_text_window}" />
		</div>
		
		<div style="width:300px;margin-right:9px;">
			<label for="bill_header_text_address">Adress Feld</label><br />
			<div class="togglebutton">
				<span class="togglebutton"><input type="radio" name="bill_header_alignment_address" value="0" style="display:inline;" {if $bill_header_alignment_address == '0'}checked="checked"{/if} /><label class="togglebutton leftalign" ><span>l</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_header_alignment_address" value="1" style="display:inline;" {if $bill_header_alignment_address == '1'}checked="checked"{/if} /><label class="togglebutton centeralign" ><span>m</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_header_alignment_address" value="2" style="display:inline;" {if $bill_header_alignment_address == '2'}checked="checked"{/if} /><label class="togglebutton rightalign" ><span>r</span></label></span>
			</div>
			<textarea class="pdf_text_field" name="bill_header_text_address"rows="5" style="width:100%">{$bill_header_text_address}</textarea>
		</div><br />
		
		
		<div id="bill_header_image">
			{if $bill_header_image}
				<img src="{$bill_header_image}" style="width:100%;" />
				
				<a id="delete_header" href="./index.php?admin_modul=admin_invoice_configuration&mod=ajax&action=delete_header" >Header L&ouml;schen</a>
				
				<p>Der Header wird skaliert, um in den begrenzten Raum zu passen.</p>
			{else}
				<p>Sie haben noch keinen Header hochgeladen.</p>
			{/if}
		</div>
		
		<input id="header_upload" name="bill_header_image" type="file" />
		
		
		<div class="edit_title">Footer</div>
	
		<div style="width:200px;margin-right:9px;">
			<label for="bill_footer_text_margin_bottom">Footer Text Position (H&ouml;he)</label><br />
			<input type="text" name="bill_footer_text_margin_bottom"rows="5" style="width:100%" value="{$bill_footer_text_margin_bottom}" />
		</div>
		
		<div style="width:300px;margin-right:9px;display:inline-block;">
			<label for="bill_footer_text_left">Footer Links</label><br />
			<div class="togglebutton">
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_left" value="0" style="display:inline;" {if $bill_footer_alignment_left == '0'}checked="checked"{/if} /><label class="togglebutton leftalign" ><span>l</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_left" value="1" style="display:inline;" {if $bill_footer_alignment_left == '1'}checked="checked"{/if} /><label class="togglebutton centeralign" ><span>m</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_left" value="2" style="display:inline;" {if $bill_footer_alignment_left == '2'}checked="checked"{/if} /><label class="togglebutton rightalign" ><span>r</span></label></span>
			</div>
			<textarea class="pdf_text_field" name="bill_footer_text_left" rows="5" style="width:100%">{$bill_footer_text_left}</textarea>
		</div>
		
		<div style="width:300px;margin-right:9px;display:inline-block;">
			<label for="bill_footer_text_center">Footer Mitte</label><br />
			<div class="togglebutton">
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_center" value="0" style="display:inline;" {if $bill_footer_alignment_center == '0'}checked="checked"{/if} /><label class="togglebutton leftalign" ><span>l</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_center" value="1" style="display:inline;" {if $bill_footer_alignment_center == '1'}checked="checked"{/if} /><label class="togglebutton centeralign" ><span>m</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_center" value="2" style="display:inline;" {if $bill_footer_alignment_center == '2'}checked="checked"{/if} /><label class="togglebutton rightalign" ><span>r</span></label></span>
			</div>
			<textarea class="pdf_text_field" name="bill_footer_text_center"rows="5" style="width:100%">{$bill_footer_text_center}</textarea>
		</div>
		
		<div style="width:300px;display:inline-block;">
			<label for="bill_footer_text_right">Footer Rechts</label><br />
			<div class="togglebutton">
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_right" value="0" style="display:inline;" {if $bill_footer_alignment_right == '0'}checked="checked"{/if} /><label class="togglebutton leftalign" ><span>l</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_right" value="1" style="display:inline;" {if $bill_footer_alignment_right == '1'}checked="checked"{/if} /><label class="togglebutton centeralign" ><span>m</span></label></span>
				<span class="togglebutton"><input type="radio" name="bill_footer_alignment_right" value="2" style="display:inline;" {if $bill_footer_alignment_right == '2'}checked="checked"{/if} /><label class="togglebutton rightalign" ><span>r</span></label></span>
			</div>
			<textarea class="pdf_text_field" name="bill_footer_text_right" rows="5" style="width:100%">{$bill_footer_text_right}</textarea>
		</div>
		
		<div id="bill_header_image">
			{if $bill_footer_image}
				<img src="{$bill_footer_image}" style="width:100%;" />
				
				<a id="delete_footer" href="./index.php?admin_modul=admin_invoice_configuration&mod=ajax&action=delete_footer" >Footer Grafik L&ouml;schen</a>
				
				<p>Der Footer wird skaliert, um in den begrenzten Raum zu passen.</p>
			{else}
				<p>Sie haben noch keine Footer Grafik hochgeladen.</p>
			{/if}
		</div>
		
		<input id="footer_upload" name="bill_footer_image" type="file" />
		
		
		<input type="submit" name="submit" id="submit" value="speichern" style="margin-top:10px;position:relative;left:400px;width:200px;-moz-box-sizing:border-box;border:1px solid #B5C0F9;color:#009900;display:block;font-weight:bold;" />
		
	</form>
	
</div>
</div>
<script src="./themes/admin/media/js/admin_invoice_configuration.js"></script>
