Subversion Repositories wpShopGermany4

Rev

Rev 6187 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1429 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die Integration der Bestellbedingungen in die Bestellzusammenfassung
5
	 */
6
 
1435 daniel 7
	// Die Mindestlänge, damit der Text in einer Scrollbox angezeigt wird
3659 daniel 8
	$minLength = 1000;
1435 daniel 9
 
1429 daniel 10
?>
11
<?php foreach ($this->view['wpsg_mod_ordercondition']['data'] as $oc) { ?>
6187 daniel 12
<div class="wpsg_agb" id="wpsg_agb_<?php echo $oc['id']; ?>">
1429 daniel 13
	<label>
8420 daniel 14
		<input type="checkbox" value="1" name="wpsg_mod_ordercondition[<?php echo $oc['id']; ?>]" required />
1435 daniel 15
		<?php if (strlen($oc['text']) < $minLength) { ?>
16
		<?php echo $oc['text']; ?>
17
		<?php } else { ?>
1429 daniel 18
		<?php echo __($oc['name'], 'wpsg'); ?>
1435 daniel 19
		<?php } ?>
1429 daniel 20
	</label>
1435 daniel 21
	<?php if (strlen($oc['text']) >= $minLength) { ?>
1429 daniel 22
	<div class="wpsg_mod_ordercondition_hint"><?php echo $oc['text']; ?></div>
1435 daniel 23
	<?php } ?>
1429 daniel 24
</div>
25
<?php } ?>