summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db1ad24)
raw | patch | inline | side by side (parent: db1ad24)
author | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Oct 2010 15:15:32 +0000 (15:15 +0000) | ||
committer | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Oct 2010 15:15:32 +0000 (15:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19888 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/class_Groupware.inc | patch | blob | history | |
gosa-plugins/groupware/personal/groupware/generic.tpl | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/class_Groupware.inc b/gosa-plugins/groupware/personal/groupware/class_Groupware.inc
index f60e1f43cc323842e4c0585d09e06995f7e48888..789dda9abe32243a47f739f2b87d3f43b80c513b 100644 (file)
var $mailAddressSelectDialog = NULL;
var $filterManager = NULL;
var $filterRules = array();
- var $vacationTemplates = array();
+ var $vacationTemplates = array();
+ var $fileBrowser = NULL;
+
+
//the dropdown
var $mailLocations = array();
var $mailBoxAutomaticRemovalValue = 100;
var $localDeliveryOnly = FALSE;
var $dropOwnMails = FALSE;
-
+ var $mailFolder = FALSE;
var $groupwareDao = null;
/*! \brief
}
$this->accountInitialized = TRUE;
}
-
+ // Initialize file browser list
+ $this->fileBrowser= new sortableListing();
+ $this->fileBrowser->setDeleteable(FALSE);
+ $this->fileBrowser->setEditable(TRUE);
+ $this->fileBrowser->setColspecs(array('*'));
+ $this->fileBrowser->setWidth("100%");
+ $this->fileBrowser->setHeight("150px");
+ $this->fileBrowser->setAcl("rwcdm");
+ $this->fileBrowser->setListData(array("eins", "zwei"),array("eins" =>array( "data"=> array("Uno") ) , "zwei" =>array( "data"=> array("Due") )) );
+ $this->fileBrowser->update();
// Set vacation start/stop if not set alreasy
$this->vacationStart = time();
$smarty->assign($feature."_isActive", $state);
}
-
+
+ $smarty->assign("fileBrowser", $this->fileBrowser->render());
+
+
$smarty->assign("mailLocations", $this->mailLocations);
if (count($this->vacationTemplates)){
$smarty->assign("displayTemplateSelector", "true");
diff --git a/gosa-plugins/groupware/personal/groupware/generic.tpl b/gosa-plugins/groupware/personal/groupware/generic.tpl
index ca32d3b1cefea91daaf0bbabca24302e6b56f8d1..2fefd1b840c102777d207188f0c4382cac35533e 100644 (file)
{/if}
{/if}
{if $mailFolder_isActive}
- <div>Hape, die Folder sind enabled</div>
+ <div>Hape, die Folder sind enabled
+ {$fileBrowser}
+
+ </div>
{/if}
<input type='hidden' name='groupwarePluginPosted' value='1'>