Index: /lib/filter_functions.inc.php
===================================================================
--- /lib/filter_functions.inc.php	(revision 6427)
+++ /lib/filter_functions.inc.php	(revision 6428)
@@ -355,5 +355,5 @@
         if ($force === true) $wpsg_lastupdate = false;
 
-        if ($wpsg_lastupdate == false || $wpsg_lastupdate < time() - 60 * 5 || !wpsg_isSizedArray($wpsg_update_data))
+        if ($wpsg_lastupdate == false || $wpsg_lastupdate < time() - 60 * 30 || !wpsg_isSizedArray($wpsg_update_data))
         {
 
Index: /mods/wpsg_mod_export.class.php
===================================================================
--- /mods/wpsg_mod_export.class.php	(revision 6427)
+++ /mods/wpsg_mod_export.class.php	(revision 6428)
@@ -366,4 +366,52 @@
 				die($this->renderProfil($_REQUEST['profil']));
 								
+			}
+			else if ($_REQUEST['do'] == 'save')
+			{
+				
+				$arProfil = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_EXPORTPROFILE."` WHERE `id` = '".wpsg_q($_REQUEST['profil_id'])."' ");
+				$arProfil['fields'] = $this->db->fetchAssoc("SELECT * FROM `".WPSG_TBL_EXPORTPROFILE_FIELDS."` WHERE `profil_id` = '".wpsg_q($arProfil['id'])."' ");
+				
+				wpsg_header::startDownloadContent('profil.json', json_encode($arProfil));
+				exit;
+				
+			}
+			else if ($_REQUEST['do'] == 'import')
+			{
+				 
+				$arData = @json_decode(file_get_contents($_FILES['profil_file']['tmp_name']), true);
+				
+				if (!wpsg_isSizedArray($arData))
+				{
+					
+					$this->shop->addBackendError(__('Datei ist keine gÃŒltige Profildatei.', 'wpsg'));
+										
+				}
+				else
+				{
+					
+					$arFields = $arData['fields']; unset($arData['fields']);
+					
+					unset($arData['id']); 
+					unset($arData['cron_lastrun']);
+					
+					$profil_id = $this->db->ImportQuery(WPSG_TBL_EXPORTPROFILE, wpsg_q($arData));
+					
+					foreach ($arFields as $field_data)
+					{
+						
+						unset($field_data['id']);
+						$field_data['profil_id'] = $profil_id;
+						
+						$this->db->ImportQuery(WPSG_TBL_EXPORTPROFILE_FIELDS, wpsg_q($field_data));
+						
+					}
+					
+					$this->shop->addBackendMessage(wpsg_translate(__('Profil als "#1#" erfolgreich importiert.', 'wpsg'), $arData['name']));
+					
+				}
+				
+				$this->shop->redirect(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export');
+				
 			}
 			else if ($_REQUEST['do'] == 'inlinedit')
Index: /views/css/admin.css
===================================================================
--- /views/css/admin.css	(revision 6427)
+++ /views/css/admin.css	(revision 6428)
@@ -7,4 +7,6 @@
 /* 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; } 
Index: /views/mods/mod_export/profil.phtml
===================================================================
--- /views/mods/mod_export/profil.phtml	(revision 6427)
+++ /views/mods/mod_export/profil.phtml	(revision 6428)
@@ -7,4 +7,5 @@
 	$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'];
 
 ?>
@@ -215,5 +216,6 @@
 <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">/* <![CDATA[ */
Index: /views/mods/mod_export/settings_edit.phtml
===================================================================
--- /views/mods/mod_export/settings_edit.phtml	(revision 6427)
+++ /views/mods/mod_export/settings_edit.phtml	(revision 6428)
@@ -6,4 +6,5 @@
 
 ?>
+
 <script type="text/javascript">
 
@@ -152,2 +153,15 @@
 
 <div id="wpsg_profil_list"><?php echo $this->callMod('wpsg_mod_export', 'profilList'); ?></div>
+
+<br />
+
+<fieldset>
+	<legend><?php echo __('Profil importieren', 'wpsg'); ?></legend>
+	<form method="post" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=import&noheader=1" enctype="multipart/form-data">
+		
+		<?php echo wpsg_drawForm_Upload('profil_file', __('JSON Profildatei', 'wpsg')); ?>
+		
+		<input type="submit" value="<?php echo __('Profil importieren', 'wpsg'); ?>" class="button"  />
+		
+	</form>
+</fieldset>
