?> <td></td> <?php } ?> </tr> </tfoot> <tbody> <?php foreach (GetArrayValue("ItemList") as $item) { ?> <tr> <td> <?php if (IsProviderActive(PROVIDER_ACCESSPATH_EDIT) && HasAccess(ACL_MOD_ACCESSPATH, ACL_ACTION_ADD)) { ?> <a href="accesspathcreate.php?pi=<?php print GetValue("Repository")->getEncodedParentIdentifier(); ?> &r=<?php print GetValue("Repository")->getEncodedName(); ?> &p=<?php print $item->getEncodedRelativePath(); ?> "><img src="templates/icons/addpath.png" alt="-" title="<?php Translate("Add access path"); ?> "></a> <?php
</td> </tr> </table> </td> </tr> </tfoot> <tbody> <?php foreach (GetArrayValue("UserList") as $u) { ?> <tr> <td> <?php if (HasAccess(ACL_MOD_USER, ACL_ACTION_DELETE) || HasAccess(ACL_MOD_ROLE, ACL_ACTION_ASSIGN)) { ?> <input type="checkbox" name="selected_users[]" value="<?php print $u->name; ?> "> <?php } ?> </td> <td><a href="userview.php?username=<?php print $u->getEncodedName(); ?> "><?php print $u->name; ?>
PrintStringValue("DefaultAccessPath"); ?> "> <p> <b><?php Translate("Syntax"); ?> :</b> <i><RepoName>:/<path></i> <br><?php Translate("An \"/\" as access path holds permissions over all repositories."); ?> </p> </div> <?php if (IsProviderActive(PROVIDER_REPOSITORY_VIEW) && HasAccess(ACL_MOD_REPO, ACL_ACTION_VIEW)) { ?> <p style="margin-top:0; margin-bottom:20px;"> <img src="templates/icons/addpath.png" border="0" alt="<?php Translate("Browse..."); ?> "> <a href="repositorylist.php"><?php Translate("Browse..."); ?> </a> </p> <?php } ?>
?> </td> <td align="right"> </td> </tr> </table> </td> </tr> </tfoot> <tbody> <?php foreach (GetArrayValue("RestrictedPathList") as $rp) { ?> <tr> <td><?php if (HasAccess(ACL_MOD_PROJECTMANAGER, ACL_ACTION_UNASSIGN)) { ?> <input type="checkbox" name="selected_accesspaths[]" value="<?php print $rp->path; ?> "><?php } ?> </td> <td><a href="accesspathview.php?accesspath=<?php print $rp->getEncodedPath(); ?> "><?php print $rp->path; ?> </a> <small>(<?php
"> <img src="templates/icons/addpath.png" alt="<?php Translate("Add access path"); ?> " title="<?php Translate("Add access path"); ?> "> </a> <?php } ?> </td> <td> <?php if (GetBoolValue('ShowDeleteButton') && IsProviderActive(PROVIDER_REPOSITORY_EDIT) && HasAccess(ACL_MOD_REPO, ACL_ACTION_DELETE)) { ?> <input type="checkbox" name="selected_repos[]" value="<?php print $r->name; ?> "> <?php } ?> </td> <td> <a href="repositoryview.php?pi=<?php print $r->getEncodedParentIdentifier(); ?> &r=<?php print $r->getEncodedName();
</td> <td align="right"> </td> </tr> </table> </td> </tr> </tfoot> <tbody> <?php foreach (GetArrayValue("GroupList") as $g) { ?> <tr> <td><?php if (IsProviderActive(PROVIDER_GROUP_EDIT) && HasAccess(ACL_MOD_GROUP, ACL_ACTION_DELETE)) { ?> <input type="checkbox" name="selected_groups[]" value="<?php print $g->name; ?> "><?php } ?> </td> <td><a href="groupview.php?groupname=<?php print $g->getEncodedName(); ?> "><?php print $g->name; ?> </a></td>
</ul> </li> <?php } ?> <?php if (IsUserLoggedIn()) { ?> <li><a href="#"><?php Translate("Session"); ?> </a> <ul class="ddm-sub"> <?php if (IsProviderActive(PROVIDER_USER_EDIT) && HasAccess(ACL_MOD_USER, ACL_ACTION_CHANGEPASS)) { ?> <li><a href="userchangepass.php?username=<?php SessionUsername(); ?> "><?php Translate("Change password"); ?> </a></li><?php } ?> <li><a href="logout.php"><?php Translate("Logout"); ?> </a></li> </ul>
<?php if (HasAccess(ACL_MOD_ROLE, ACL_ACTION_VIEW)) { ?> <div id="rolelist"> <h2><?php Translate('Available roles'); ?> </h2> <table class="datatable"> <thead> <tr> <th><?php Translate('Role'); ?> </th> <th><?php Translate('Description'); ?> </th> </tr> </thead> <tbody> <?php foreach (GetArrayValue('RoleList') as $r) { ?> <tr> <td><?php print $r->getTranslatedName(); ?> </td>