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 /views/mods | |
| parent | fd69cb567b83d79e9ee47e734e700cd95d0eb9e8 (diff) | |
- Speichern / Laden von Profilen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6428 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_export/profil.phtml | 4 | ||||
| -rw-r--r-- | views/mods/mod_export/settings_edit.phtml | 16 |
2 files changed, 18 insertions, 2 deletions
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">/* <