mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:28:45 +01:00
* email: manage acl table; show acl table for selected folder for first folder selected when clicking on ACL tab as first action; remove trailing whitespaced
This commit is contained in:
parent
36f334dcff
commit
a66e6803e2
@ -167,6 +167,23 @@ class ajaxfelamimail
|
||||
return $this->generateMessageList($this->sessionData['mailbox']);
|
||||
}
|
||||
|
||||
/**
|
||||
* initiateACLTable
|
||||
* creates the ACL table
|
||||
*
|
||||
* @param string $_folder folder to initiate the acl table for
|
||||
*
|
||||
* @return string html output for ACL table
|
||||
*/
|
||||
function initiateACLTable($_folder)
|
||||
{
|
||||
$response = new xajaxResponse();
|
||||
if ($folderACL = $this->bofelamimail->getIMAPACL($_folder)) {
|
||||
$response->addAssign("aclTable", "innerHTML", $this->createACLTable($folderACL));
|
||||
}
|
||||
return $response->getXML();
|
||||
}
|
||||
|
||||
/**
|
||||
* createACLTable
|
||||
* creates the ACL table
|
||||
|
@ -20,7 +20,7 @@
|
||||
<table width="100%" border="0" cellspacing="0" cellpading="0" bgcolor="white">
|
||||
<tr>
|
||||
<th id="tab1" class="activetab" onclick="javascript:tab.display(1);" style="width:50%;"><a href="#" tabindex="0" accesskey="1" onfocus="tab.display(1);" onclick="tab.display(1); return(false);" style="font-size:10px;">{lang_Overview}</a></th>
|
||||
<th id="tab2" class="activetab" onclick="javascript:tab.display(2);" style="width:50%;"><a href="#" tabindex="0" accesskey="2" onfocus="tab.display(2);" onclick="tab.display(2); return(false);" style="font-size:10px;">{lang_ACL}</a></th>
|
||||
<th id="tab2" class="activetab" onclick="javascript:tab.display(2);xajax_doXMLHTTP('felamimail.ajaxfelamimail.initiateACLTable',tree.getSelectedItemId());" style="width:50%;"><a href="#" tabindex="0" accesskey="2" onfocus="tab.display(2);" onclick="tab.display(2); return(false);" style="font-size:10px;">{lang_ACL}</a></th>
|
||||
</tr>
|
||||
</table>
|
||||
{settings_view}
|
||||
|
Loading…
Reference in New Issue
Block a user