diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2017-08-28 13:29:49 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2017-08-28 13:29:49 +0000 |
| commit | 4d0b54c34adf5a6853466056f93b1f29b17afcf9 (patch) | |
| tree | 8142ffb4aca0d5d055d51c743ba059f58c9c1c51 | |
| parent | fd69cb567b83d79e9ee47e734e700cd95d0eb9e8 (diff) | |
- Speichern / Laden von Profilen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6428 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/css/admin.css | 2 | ||||
| -rw-r--r-- | views/mods/mod_export/profil.phtml | 4 | ||||
| -rw-r--r-- | views/mods/mod_export/settings_edit.phtml | 16 |
3 files changed, 20 insertions, 2 deletions
diff --git a/views/css/admin.css b/views/css/admin.css index 1265c70..1c9ada8 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -6,6 +6,8 @@ /* Bootstrap Teil */
#wpsg-bs { margin-top:20px; min-width:1000px; }
+#wpsg-bs .updated,
+#wpsg-bs .error,
#wpsg-bs .notice { margin-left:0px; margin-right:20px; width:auto; margin-bottom:1.5rem; }
#wpsg-bs nav.navbar { margin-right:20px; }
#wpsg-bs nav.navbar li { margin-bottom:0px; }
diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml index b703055..ee3184c 100644 --- a/views/mods/mod_export/profil.phtml +++ b/views/mods/mod_export/profil.phtml @@ -6,6 +6,7 @@ $inlineEdit_url = WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=inlinedit&noheader=1&profil_id='.$this->view['profil']['id'];
$upload_url = WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=musterupload&noheader=1&profil_id='.$this->view['profil']['id'];
+ $download_url = WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=save&noheader=1&profil_id='.$this->view['profil']['id'];
?>
@@ -214,7 +215,8 @@ <br />
-<a onclick="return wpsg_mod_export_removeProfil(<?php echo $this->view['profil']['id']; ?>);" href="#"><span class="glyphicon glyphicon-trash wpsg-glyphicon"></span><?php echo __('Profil löschen', 'wpsg'); ?></a>
+<a onclick="return wpsg_mod_export_removeProfil(<?php echo $this->view['profil']['id']; ?>);" href="#"><span class="glyphicon glyphicon-trash wpsg-glyphicon"></span><?php echo __('Profil löschen', 'wpsg'); ?></a><br />
+<a href="<?php echo $download_url; ?>"><span class="glyphicon glyphicon-save wpsg-glyphicon"></span><?php echo __('Profil speichern', 'wpsg'); ?></a>
<script type="text/javascript">/* <