summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2017-09-06 09:18:17 +0000
committerthomas <noreply@maennchen1.de>2017-09-06 09:18:17 +0000
commit023850374d0c1647768f72657339acc864cd20c8 (patch)
treefa93e1e88c8e4e51156a26a38451157d413279fe /views/mods
parentd01df31126004b4a15bcf4f433de729c4c9701a3 (diff)
- grafische Anpassungen im Backend
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6453 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_auftragsbestaetigung/order_view.phtml28
-rw-r--r--views/mods/mod_deliverynote/order_view_content.phtml6
-rw-r--r--views/mods/mod_kundenkontakt/order_view.phtml10
-rw-r--r--views/mods/mod_rechnungen/order_view.phtml4
4 files changed, 28 insertions, 20 deletions
diff --git a/views/mods/mod_auftragsbestaetigung/order_view.phtml b/views/mods/mod_auftragsbestaetigung/order_view.phtml
index 8da660b..0263ce6 100644
--- a/views/mods/mod_auftragsbestaetigung/order_view.phtml
+++ b/views/mods/mod_auftragsbestaetigung/order_view.phtml
@@ -28,24 +28,30 @@
</script>
<div class="postbox" id="wpsg_auftragsbestaetigung">
- <h3 class="wpsg_handlediv">
- <span title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br /></span>
- <span><?php echo __('Auftragsbestätigung', 'wpsg'); ?></span>
- </h3>
+
+ <?php echo wpsg_drawForm_AdminboxStart(__('Auftragsbestätigung', 'wpsg')); ?>
+
<div class="inside">
<div class="inside" style="padding:5px;">
+ <p>
+ <?php echo __('Die Auftragsbestätigung bestätigt dem Kunden die erfolgreiche Erfassung des Auftrages. Abweichungen vom Auftrag können mittels des Textfeldes mitgesendet werden.', 'wpsg'); ?>
+ <?php echo __('Der Status ändert sich automatisch auf "Bestätigt".', 'wpsg'); ?>
+ </p>
+
+ <br />
+
<form method="post" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_auftragsbestaetigung&edit_id=<?php echo $this->view['data']['id']; ?>&noheader=1">
- <textarea class="wpsg_order_view_auftragsbestaetigung" name="auftrag_note"></textarea>
- <input class="wpsg_order_view_auftragsbestaetigung_submit" type="submit" value="<?php echo __('Senden', 'wpsg'); ?>" /><br />
- <i>
- <?php echo __('Die Auftragsbestätigung bestätigt dem Kunden die erfolgreiche Erfassung des Auftrages. Abweichungen vom Auftrag können mittels des Textfeldes mitgesendet werden.', 'wpsg'); ?>
- <?php echo __('Der Status ändert sich automatisch auf "Bestätigt".', 'wpsg'); ?>
- </i>
- <br />
+ <div style="padding-left:5px;">
+ <textarea style="width:100%;" class="wpsg_order_view_auftragsbestaetigung" name="auftrag_note"></textarea>
+ </div>
+ <input class="button" style="float:right; margin-right:10px;" type="submit" value="<?php echo __('Senden', 'wpsg'); ?>" /><br />
<input type="hidden" name="mod_auftragbestaetigung" value="1"/>
</form>
</div>
</div>
+
+ <?php echo wpsg_drawForm_AdminboxEnd(); ?>
+
</div> \ No newline at end of file
diff --git a/views/mods/mod_deliverynote/order_view_content.phtml b/views/mods/mod_deliverynote/order_view_content.phtml
index 0543365..a491478 100644
--- a/views/mods/mod_deliverynote/order_view_content.phtml
+++ b/views/mods/mod_deliverynote/order_view_content.phtml
@@ -27,7 +27,7 @@
<fieldset>
<legend ><?php echo __('Neuer Lieferschein', 'wpsg'); ?></legend>
- <form target="_blank" method="post" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_deliverynote&cmd=deliverynote&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>">
+ <form target="_blank" method="post" id="deliverynote_order_backend" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_deliverynote&cmd=deliverynote&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>">
<div>
@@ -50,7 +50,7 @@
<div style="clear:both; width:100%; height:5px;"></div>
<label style="height:25px; width:240px; float:left;">
- <input <?php echo (($this->get_option("wpsg_mod_deliverynote_url_standard") === "1")?'checked="checked"':''); ?> type="checkbox" value="1" name="wpsg_mod_deliverynote_noticeurl" />
+ <input id="wpsg_mod_deliverynote_url"<?php echo (($this->get_option("wpsg_mod_deliverynote_url_standard") === "1")?'checked="checked"':''); ?> type="checkbox" value="1" name="wpsg_mod_deliverynote_noticeurl" />
&nbsp;<?php echo __("URL Benachrichtigung", "wpsg"); ?>
</label>
<div style="clear:both; width:100%; height:5px;"></div>
@@ -58,7 +58,7 @@
<label style="height:25px; width:240px; float:left; padding-left:22px;">
<?php echo __("Lieferdatum", "wpsg"); ?>
</label>
- <input style="display:block;float:right; width:300px;" type="text" name="wpsg_mod_deliverynote_date" value="<?php echo date("d.m.Y", time()); ?>" />
+ <input id="wpsg_mod_deliverynote_date" style="display:block;float:right; width:300px;" type="text" name="wpsg_mod_deliverynote_date" value="<?php echo date("d.m.Y", time()); ?>" />
<div style="clear:both; width:100%; height:5px;"></div>
<label for="wpsg_mod_deliverynote_foottext" style="height:25px; width:220px; padding-left:22px; float:left">
diff --git a/views/mods/mod_kundenkontakt/order_view.phtml b/views/mods/mod_kundenkontakt/order_view.phtml
index df12385..80fab01 100644
--- a/views/mods/mod_kundenkontakt/order_view.phtml
+++ b/views/mods/mod_kundenkontakt/order_view.phtml
@@ -131,10 +131,9 @@
</script>
<?php //wpsg_debug($this->view) ?>
<div class="postbox" id="wpsg_kundenkontakt">
- <h3 class="wpsg_handlediv">
- <span title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br /></span>
- <span><?php echo __('Kundenkontakt', 'wpsg'); ?></span>
- </h3>
+
+ <?php echo wpsg_drawForm_AdminboxStart(__('Kundenkontakt', 'wpsg'));?>
+
<div class="inside">
<div style="padding:5px;">
@@ -175,4 +174,7 @@
</div>
</div>
+
+ <?php echo wpsg_drawForm_AdminboxEnd(); ?>
+
</div> \ No newline at end of file
diff --git a/views/mods/mod_rechnungen/order_view.phtml b/views/mods/mod_rechnungen/order_view.phtml
index 086c44c..5ab80d8 100644
--- a/views/mods/mod_rechnungen/order_view.phtml
+++ b/views/mods/mod_rechnungen/order_view.phtml
@@ -186,7 +186,7 @@
<div>
- <form target="_blank" method="post" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_rechnungen&cmd=rechnung&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>">
+ <form target="_blank" method="post" id="rechnungen_order_backend" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_rechnungen&cmd=rechnung&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>">
<input type="hidden" name="send" value="1" />
@@ -224,7 +224,7 @@
<label style="height:25px; width:240px; float:left; padding-left:22px;">
<?php echo __("Rechnungsdatum", "wpsg"); ?>
</label>
- <input style="display:block;float:right; width:300px;" type="text" name="wpsg_rechnungen_datum" value="<?php echo date("d.m.Y", time()); ?>" />
+ <input style="display:block;float:right; width:300px;" type="text" id="wpsg_rechnungen_datum" name="wpsg_rechnungen_datum" value="<?php echo date("d.m.Y", time()); ?>" />
<div style="clear:both; width:100%; height:5px;"></div>
<label for="wpsg_rechnungen_fusstext" style="height:25px; width:220px; padding-left:22px; float:left">