Subversion Repositories wpShopGermany4

Rev

Rev 1401 | Rev 1468 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1067 daniel 1
<?php
2
 
3
	/**
4
	 * Templatedatei für die Modulseite des Backend
5
	 * Sollte nicht angepasst werden
6
	 */
7
 
8
?>
9
<div class="wpsg_admin_submenu">
10
 
11
	<?php foreach ($this->view['groups'] as $group_name => $g) { ?>
12
	<div class="head">
13
		<div class="title"><?php echo $group_name; ?></div>
14
		<div style="clear:both;"></div>
15
	</div>
16
 
17
	<ul>
18
		<?php foreach ($g as $mod_key => $m) { ?>
19
		<li class="<?php echo (($this->get_option($mod_key) > 0)?'modul_akt':''); ?> <?php echo (($mod_key == $_REQUEST['modul'])?'current':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;action=module&amp;modul=<?php echo $mod_key; ?>"><?php echo $m->name; ?></a></li>
20
		<?php } ?>
21
	</ul>
22
	<div style="clear:both; margin-bottom:10px; margin-left:0px; margin-right:8px;"></div>
23
	<?php } ?>
24
 
25
</div>
26
 
27
<?php if (isset($_REQUEST['modul'])) { ?>
28
<div class="wpsg_admin_content">
29
	<form name="form1" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;action=module&amp;modul=<?php echo $_REQUEST['modul']; ?>&amp;noheader=1" method="post" enctype="multipart/form-data">
30
 
31
		<h3>
1401 daniel 32
			<?php echo $this->arAllModule[$_REQUEST['modul']]->name; ?>
33
			<?php if ($this->arAllModule[$_REQUEST['modul']]->helpURL != '') { ?>
34
			<a href="<?php echo $this->arAllModule[$_REQUEST['modul']]->helpURL; ?>" class="wpsg_form_help"></a>
1067 daniel 35
			<?php } ?>
36
		</h3>
37
 
1401 daniel 38
		<p><?php echo $this->arAllModule[$_REQUEST['modul']]->desc; ?></p>
1067 daniel 39
 
40
		<div class="wpsg_form_field">
41
			<div class="wpsg_form_left">
42
				<?php echo __("Modul aktiviert", "wpsg"); ?>:
43
			</div>
44
			<div class="wpsg_form_right">
45
				<select name="aktiv">
46
					<option value="0"><?php echo __('Nein', 'wpsg'); ?></option>
47
					<option value="1" <?php echo (($this->get_option($_REQUEST['modul']) > 0)?'selected="selected"':''); ?>><?php echo __('Ja', 'wpsg'); ?></option>
48
				</select>
49
			</div>
50
			<div class="wpsg_clear"></div>
1068 daniel 51
 
1465 daniel 52
			<?php if (isset($this->arAllModule[$_REQUEST['modul']]->version)) { ?>
53
			<?php echo wpsg_drawForm_Input('', __('Version'), $this->arAllModule[$_REQUEST['modul']]->version, array('text' => true)); ?>
54
			<?php } ?>
55
 
1401 daniel 56
			<?php if ($this->arModule[$_REQUEST['modul']]->inline === true) { ?>
1068 daniel 57
			<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
58
			<?php } ?>
59
 
1067 daniel 60
		</div>
1197 daniel 61
 
62
		<input type="hidden" name="subaction" value="module" />
1068 daniel 63
 
1401 daniel 64
		<?php if ($this->arModule[$_REQUEST['modul']]->inline == true) { ?>
1197 daniel 65
		</form>
66
		<?php } ?>
67
 
1067 daniel 68
		<?php if ($this->get_option($_REQUEST['modul']) > 0) { ?>
1401 daniel 69
		<?php echo $this->arModule[$_REQUEST['modul']]->settings_edit(); ?>
1067 daniel 70
		<?php } ?>
71
 
1401 daniel 72
		<?php if ($this->arModule[$_REQUEST['modul']]->inline !== true) { ?>
1067 daniel 73
		<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
1068 daniel 74
		<?php } ?>
1197 daniel 75
 
1401 daniel 76
	<?php if ($this->arModule[$_REQUEST['modul']]->inline !== true) { ?>
1067 daniel 77
	</form>
1197 daniel 78
	<?php } ?>
1067 daniel 79
</div>
80
<?php } ?>