mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:27:05 +02:00
improved multitenancy support
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domain; ?>:</div>
|
||||
<div class="domaincell"><?php print $text_primary_domain; ?>:</div>
|
||||
<div class="domaincell">
|
||||
<select name="domain">
|
||||
<?php asort($domains); foreach ($domains as $domain) { ?>
|
||||
@ -32,6 +32,16 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_search_domains; ?>*:</div>
|
||||
<div class="domaincell"><input type="text" id="s_piler_domain" name="s_piler_domain" value="<?php print $text_search_domain_to_add; ?>" class="autocompletetext" onfocus="javascript:toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 1);" onblur="javascript:toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 0);" /></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domains; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" name="domains" id="domains" class="domain"><?php if(isset($post['domains'])){ print $post['domains']; } ?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_search_groups; ?>*:</div>
|
||||
<div class="domaincell"><input type="text" id="s_piler_group" name="s_piler_group" value="<?php print $text_search_group_to_add; ?>" class="autocompletetext" onfocus="javascript:toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 1);" onblur="javascript:toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 0);" /></div>
|
||||
|
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domain; ?>:</div>
|
||||
<div class="domaincell"><?php print $text_primary_domain; ?>:</div>
|
||||
<div class="domaincell">
|
||||
<select name="domain">
|
||||
<?php asort($domains); foreach ($domains as $domain) { ?>
|
||||
@ -34,6 +34,16 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_search_domains; ?>*:</div>
|
||||
<div class="domaincell"><input type="text" id="s_piler_domain" name="s_piler_domain" value="<?php print $text_search_domain_to_add; ?>" class="autocompletetext" onfocus="javascript:toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 1);" onblur="javascript:toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 0);" /></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domains; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" name="domains" id="domains" class="domain"><?php if(isset($user['domains'])){ print $user['domains']; } ?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_search_groups; ?>*:</div>
|
||||
<div class="domaincell"><input type="text" id="s_piler_group" name="s_piler_group" value="<?php print $text_search_group_to_add; ?>" class="autocompletetext" onfocus="javascript:toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 1);" onblur="javascript:toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 0);" /></div>
|
||||
|
@ -3,8 +3,57 @@
|
||||
|
||||
<form action="settings.php" method="post" name="setpagelen">
|
||||
|
||||
<h4><?php print $text_access_settings; ?></h4>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1" style="width: 100px;"><?php print $text_email_addresses; ?>:</div>
|
||||
<div class="cell2">
|
||||
<?php print $emails; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if(Registry::get('auditor_user') == 1 && RESTRICTED_AUDITOR == 1) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1" style="width: 100px;"><?php print $text_domains; ?>:</div>
|
||||
<div class="cell2">
|
||||
<?php print $domains; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if(Registry::get('auditor_user') == 0 || RESTRICTED_AUDITOR == 0) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1" style="width: 100px;"><?php print $text_groups; ?>:</div>
|
||||
<div class="cell2">
|
||||
<?php print $groups; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1" style="width: 100px;"><?php print $text_folders; ?>:</div>
|
||||
<div class="cell2">
|
||||
<?php print $folders; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<p><em><?php print $text_access_setting_explanation; ?></em></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<h4><?php print $text_display_settings; ?></h4>
|
||||
<div id="search1">
|
||||
|
||||
<div class="row">
|
||||
@ -46,6 +95,7 @@
|
||||
<p> </p>
|
||||
|
||||
<?php if(PASSWORD_CHANGE_ENABLED == 1) { ?>
|
||||
<h4><?php print $text_change_password; ?></h4>
|
||||
<form name="pwdchange" action="index.php?route=common/home" method="post" autocomplete="off">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td><?php print $text_password; ?>: </td><td><input type="password" name="password" /></td></tr>
|
||||
|
Reference in New Issue
Block a user