HtmlFilterBox("accesspathlist", 1);
?>

    <table id="accesspathlist" class="datatable">
      <thead>
        <tr>
          <th width="20"><input type="checkbox" id="selectallpaths"></th>
          <th colspan="2"><?php 
Translate("Access-Path");
?>
</th>
        </tr>
      </thead>
      <tbody>
        <?php 
foreach (GetArrayValue("AccessPathList") as $p) {
    ?>
        <tr>
          <td><input type="checkbox" name="selected_accesspaths[]" value="<?php 
    print $p->getPath();
    ?>
"></td>
          <td><a href="accesspathview.php?accesspath=<?php 
    print $p->getEncodedPath();
    ?>
"><?php 
    print $p->getPath();
    ?>
</a></td>
        </tr>
		<?php 
Esempio n. 2
0
    <td></td>
    <td></td>
    <td></td>
    <?php 
if (GetBoolValue("ApacheWebLink") || GetBoolValue("CustomWebLink")) {
    ?>
    <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();
        ?>
&amp;r=<?php 
        print GetValue("Repository")->getEncodedName();
        ?>
&amp;p=<?php 
        print $item->getEncodedRelativePath();
        ?>
Esempio n. 3
0
          <option><?php 
    print $t;
    ?>
</option>
          <?php 
}
?>
        </select>
      </td>
    </tr>
    <tr>
      <td>Repository edit provider type:</td>
      <td>
        <select name="RepositoryEditProviderType" id="RepositoryEditProviderType">
          <?php 
foreach (GetArrayValue("repositoryEditProviderTypes") as $t) {
    ?>
          <option><?php 
    print $t;
    ?>
</option>
          <?php 
}
?>
        </select>
      </td>
    </tr>
  </tbody>
</table>
<br>
Esempio n. 4
0
    </tr>
    <?php 
}
?>
    <?php 
if (IsProviderActive(PROVIDER_AUTHENTICATION)) {
    ?>
    <tr>
      <td><?php 
    Translate("Roles of user");
    ?>
</td>
      <td>
        <ul>
          <?php 
    foreach (GetArrayValue("Roles") as $r) {
        ?>
          <li><?php 
        Translate($r->name);
        ?>
 - <i><?php 
        Translate($r->description);
        ?>
</i></li>
          <?php 
    }
    ?>
        </ul>
      </td>
    </tr>
    <?php 
Esempio n. 5
0
        ?>
" class="unbtn">
              <?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();
        ?>
Esempio n. 6
0
    ?>
" class="anbtn">
	          <?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 
Esempio n. 7
0
        ?>
					</td>
					<td align="right"></td>
				</tr>
				</table>

				</td>
			</tr>
		</tfoot>
		<?php 
    }
    ?>

		<tbody>
			<?php 
    $list = GetArrayValue('RepositoryList');
    $list = $list[$rp->identifier];
    foreach ($list as $r) {
        ?>
			<tr>
				<td>
					<?php 
        if (IsProviderActive(PROVIDER_ACCESSPATH_EDIT) && HasAccess(ACL_MOD_ACCESSPATH, ACL_ACTION_ADD)) {
            ?>
						<a href="accesspathcreate.php?pi=<?php 
            print $r->getEncodedParentIdentifier();
            ?>
&amp;r=<?php 
            print $r->getEncodedName();
            ?>
">
Esempio n. 8
0
HtmlFilterBox("grouplist", 1);
?>
          
          <table id="grouplist" class="datatable">
            <thead>
            <tr>
              <th width="20"><input type="checkbox" id="selectallgroups"></th>
              <th><?php 
Translate("Group");
?>
</th>
            </tr>
            </thead>
            <tbody>
            <?php 
foreach (GetArrayValue("GroupList") as $g) {
    ?>
            <tr>
              <td><input type="checkbox" name="selgroups[]" value="<?php 
    print $g->name;
    ?>
"></td>
              <td><a href="groupview.php?groupname=<?php 
    print $g->getEncodedName();
    ?>
"><?php 
    print $g->name;
    ?>
</a></td>
            </tr>
            <?php 
Esempio n. 9
0
				<?php 
    Translate("Welcome");
    ?>
 <b><?php 
    PrintSessionUsername();
    ?>
!</b>
			</div>
			<?php 
}
?>

			<div id="locale-selection">
				<select id="locale-selector" name="locale">
					<?php 
foreach (GetArrayValue("LocaleList") as $l) {
    ?>
					<option value="<?php 
    print $l->locale;
    ?>
"
						style="background-image:url('templates/flags/<?php 
    print $l->locale;
    ?>
.png');"
						<?php 
    if (CurrentLocale() == $l->locale) {
        ?>
 selected="selected"<?php 
    }
    ?>
Esempio n. 10
0
</h1>
<p class="hdesc"><?php 
Translate("Create a new repository to manage your sources.");
?>
</p>
<div>
  <form method="POST" action="repositorycreate.php">
	  
	<div class="form-field">
		<label for="pi"><?php 
Translate('Repository location');
?>
</label>
		<select name="pi" id="pi" class="">
			<?php 
foreach (GetArrayValue('RepositoryParentList') as $rp) {
    ?>
				<option value="<?php 
    print $rp->getEncodedIdentifier();
    ?>
">
					<?php 
    print $rp->path;
    ?>
					<?php 
    if (!empty($rp->description)) {
        print ' - ';
        print $rp->description;
    }
    ?>
				</option>
Esempio n. 11
0
  <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>
    <td><?php 
        print $r->getTranslatedDescription();
        ?>
</td>
  </tr>
  <?php 
    }
    ?>
  </tbody>