<?php

/**
 * Dieses Template wird in der Produktverwaltung in der rechten Spalte verwendet
 */

?>
<div id="wpsg_produktartikel" class="postbox">
	<h3 class="wpsg_handlediv">
		<span title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br /></span>
		<span><?php echo __('Produktartikel', 'wpsg'); ?> </span>
	</h3>
	<div class="inside">		
		<div class="wpsg_form_field">
			<div class="wpsg_form_left">
				<label for="wpsg_produktartikel_kommentare"><?php echo __('Kommentare', 'wpsg'); ?>:</label>
			</div>
			<div class="wpsg_form_right">
				<input id="wpsg_produktartikel_kommentare" type="checkbox"
					class="checkbox" name="wpsg_mod_produktartikel[kommentare]"
					value="1"
					<?php echo (($this->view['data']['comment_status'] == 'open')?'checked="checked"':''); ?> />
			</div>
			<div class="wpsg_clear"></div>
		</div>
		<?php echo wpsg_drawForm_Input('wpsg_produktartikel_menuorder', __('Position', 'wpsg'), $this->view['data']['menu_order']); ?>
	</div>
</div>
 
<div id="categorydiv" class="postbox">
	<div class="handlediv" title="<?php echo __('Zum Umschalten klicken', 'wpsg'); ?>"><br /></div>
	<h3 class="hndle"><?php echo __('Kategorieauswahl', 'wpsg'); ?></h3>
	<div class="inside">
		<div id="taxonomy-category" class="categorydiv">

			<div id="category-all" class="tabs-panel">
				<ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
					<?php wp_terms_checklist($this->view['data']['post_id'], array('taxonomy' => 'category')); ?>
				</ul>
			</div>

		</div>
	</div>
</div>