Example #1
0
echo _T("Users for this share");
?>
    </td>
   </tr>

<?php 
setVar("tpl_users", $acls[1]);
$__TPLref["autocomplete"] = "user";
renderTPL("users");
?>
</table>
</div>
</div>

<div id="expertMode" class="expertMode" <?php 
displayExpertCss();
?>
>
<table cellspacing="0">
    <tr>
    <td>
    </td>
    <td>
        <?php 
echo _T("Administrator groups for this share");
?>
    </td>
   </tr>

<?php 
if ($_GET["action"] == "add") {
Example #2
0
    </td>
   </tr>

<?php


setVar("tpl_users", $acls[1]);
$__TPLref["autocomplete"] = "user";
renderTPL("users");

?>
</table>
</div>
</div>

<div id="expertMode" class="expertMode" <?displayExpertCss(); ?>>
<table cellspacing="0">
    <tr>
    <td>
    </td>
    <td>
        <?php echo  _T("Administrator groups for this share"); ?>
    </td>
   </tr>

<?php
    if ($_GET["action"] == "add") {
        $domadmin = getDomainAdminsGroup();
        if ($domadmin)
            setVar("tpl_groups", array($domadmin["cn"][0]));
        else