Example #1
0
<?php

GlobalHeader();
?>

<h1><?php 
Translate('You do not have permission to access this page.');
?>
</h1>
<p>
	<?php 
Translate('Required permissions:');
?>
<br>
	<b><?php 
Translate('Module:');
?>
</b> <?php 
PrintStringValue("Module");
?>
<br>
	<b><?php 
Translate('Action:');
?>
</b> <?php 
PrintStringValue("Action");
?>
</p>

<?php 
GlobalFooter();
    <td>
    	<?php 
if (GetBoolValue("RepositoryRoot")) {
    ?>
      <a href="repositorylist.php"><img src="templates/icons/back.png" alt="TR{Back}}"></a>
    	<?php 
} else {
    ?>
      <a href="repositoryview.php?pi=<?php 
    print GetValue("Repository")->getEncodedParentIdentifier();
    ?>
&amp;r=<?php 
    print GetValue("Repository")->getEncodedName();
    ?>
&amp;p=<?php 
    PrintStringValue("BackLinkPathEncoded");
    ?>
"><img src="templates/icons/back.png" alt="<?php 
    Translate("Back");
    ?>
"></a>
      <?php 
}
?>
    </td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <?php 
if (GetBoolValue("ApacheWebLink") || GetBoolValue("CustomWebLink")) {
        </tr>
        <tr>
          <td><input type="radio" name="permission" value="<?php 
PrintStringValue("PermRead");
?>
"> <b><?php 
Translate("Read only");
?>
:</b> <?php 
Translate("The user(s)/group(s) can see all files.");
?>
</td>
        </tr>
        <tr>
          <td><input type="radio" name="permission" value="<?php 
PrintStringValue("PermReadWrite");
?>
"> <b><?php 
Translate("Read &amp; Write");
?>
:</b> <?php 
Translate("The user(s)/group(s) can see, create, modify and delete all files.");
?>
</td>
        </tr>
      </tbody>
    </table>

          </td>
        </tr>
        <tr>
</h1>
<p class="hdesc"><?php 
Translate("Create a new access-path to grant access to users and groups.");
?>
</p>

<div>
	<form method="POST" action="accesspathcreate.php">

		<div class="form-field">
			<label for="path"><?php 
Translate("Path");
?>
:</label>
			<input type="text" name="path" id="path" class="lineedit" value="<?php 
PrintStringValue("DefaultAccessPath");
?>
">
			<p>
				<b><?php 
Translate("Syntax");
?>
:</b> <i>&lt;RepoName&gt;:/&lt;path&gt;</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)) {
<h1><?php 
Translate("Change password of user");
?>
 <?php 
PrintStringValue("Username");
?>
</h1>
<p class="hdesc"><?php 
Translate("Change the password of your subversion account.");
?>
</p>
<div>
	<form method="POST" action="userchangepass.php">
		<input type="hidden" name="username" value="<?php 
PrintStringValue("Username");
?>
">

		<div class="form-field">
		    <label for="password"><?php 
Translate("New password");
?>
:</label>
		    <input type="password" name="password" id="password" class="lineedit">
		</div>

		<div class="form-field">
			<label for="password2"><?php 
Translate("Re-type password");
?>
Example #6
0
</td>
      <td><?php 
AppVersion();
?>
 <small>(<a href="http://www.insanefactory.com/if-svnadmin/"><?php 
Translate("Check for updates");
?>
</a>)</small></td>
    </tr>
    <tr>
      <td><?php 
Translate("PHP version");
?>
</td>
      <td><?php 
PrintStringValue("PHPVersion");
?>
</td>
    </tr>
    <?php 
if (IsUserLoggedIn()) {
    ?>
    <tr>
      <td><?php 
    Translate("Logged in as");
    ?>
</td>
      <td><?php 
    SessionUsername();
    ?>
</td>
Example #7
0
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><?php 
Translate("Filter");
?>
<br><small><b><?php 
Translate("Example");
?>
:</b> <?php 
PrintStringValue("AdGroupFilterEx");
?>
</small></td>
        <td><input type="text" name="AdGroupFilter" id="AdGroupFilter" value="<?php 
PrintStringValue("AdGroupFilter");
?>
"></td>
    </tr>
    <tr>
        <td><?php 
Translate("Strict mode");
?>
</td>
        <td><input type="checkbox" name="AdGroupStrictMode" id="AdGroupStrictMode" <?php 
if (GetBoolValue("AdGroupStrictMode")) {
    echo "checked";
}
?>
></td>
    </tr>
}
?>

<?php 
if (IsProviderActive(PROVIDER_ACCESSPATH_VIEW) && HasAccess(ACL_MOD_ACCESSPATH, ACL_ACTION_VIEW)) {
    ?>
<h2><?php 
    Translate("Permissions of group");
    ?>
</h2>
<form action="groupview.php?groupname=<?php 
    PrintStringValue('GroupNameEncoded');
    ?>
" method="POST">
<input type="hidden" name="selected_groups[]" value="<?php 
    PrintStringValue('GroupNameEncoded');
    ?>
">

  <?php 
    HtmlFilterBox("grouplist", 1);
    ?>

  <table id="grouplist" class="datatable">
    <thead>
    <tr>
      <th width="20">#</th>
      <th><?php 
    Translate("Access-Path");
    ?>
</th>
Example #9
0
"></td>
    </tr>
    <tr>
      <td><?php 
Translate("Groups to user attribute value");
?>
<br><small><b><?php 
Translate("Example");
?>
:</b> <?php 
PrintStringValue("LdapGroupsToUserAttributeValueEx");
?>
</small></td>
      <td>
        <input type="text" name="LdapGroupsToUserAttributeValue" id="LdapGroupsToUserAttributeValue" value="<?php 
PrintStringValue("LdapGroupsToUserAttributeValue");
?>
">
        <input type="button" id="LdapGroupTest" value="<?php 
Translate("Test");
?>
">
        <span id="LdapGroupTestResult" style="display:none;"></span>
      </td>
    </tr>
  </tbody>
</table>
<br>

<input type="submit" value="<?php 
Translate("Save configuration");