|
|
|
@ -15,10 +15,11 @@ $cidReset=true; |
|
|
|
|
// including some necessary dokeos files |
|
|
|
|
require_once '../inc/global.inc.php'; |
|
|
|
|
require_once (api_get_path(LIBRARY_PATH).'urlmanager.lib.php'); |
|
|
|
|
require_once api_get_path(LIBRARY_PATH).'access_url_edit_users_to_url_functions.lib.php'; |
|
|
|
|
require_once ('../inc/lib/xajax/xajax.inc.php'); |
|
|
|
|
$xajax = new xajax(); |
|
|
|
|
//$xajax->debugOn(); |
|
|
|
|
$xajax -> registerFunction ('search_users'); |
|
|
|
|
$xajax -> registerFunction (array('search_users', 'Accessurledituserstourl', 'search_users')); |
|
|
|
|
|
|
|
|
|
// setting the section (for the tabs) |
|
|
|
|
$this_section = SECTION_PLATFORM_ADMIN; |
|
|
|
@ -268,13 +269,13 @@ function remove_item(origin) |
|
|
|
|
<?php |
|
|
|
|
if($ajax_search) { |
|
|
|
|
?> |
|
|
|
|
<input type="button" onclick="remove_item(document.getElementById('destination_users'))" value="<<" /> |
|
|
|
|
<button class="arrowl" type="button" onclick="remove_item(document.getElementById('destination_users'))"> </button> |
|
|
|
|
<?php |
|
|
|
|
} else { |
|
|
|
|
?> |
|
|
|
|
<input type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" value=">>" /> |
|
|
|
|
<button class="arrowr" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" ></button> |
|
|
|
|
<br /><br /> |
|
|
|
|
<input type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" value="<<" /> |
|
|
|
|
<button class="arrowl" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" ></button> |
|
|
|
|
<?php |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
@ -301,9 +302,9 @@ unset($sessionUsersList); |
|
|
|
|
<br /> |
|
|
|
|
<?php |
|
|
|
|
if(isset($_GET['add'])) |
|
|
|
|
echo '<input type="button" value="'.get_lang('EditUsers').'" onclick="valide()" />'; |
|
|
|
|
echo '<button class="save" type="button" onclick="valide()" >'.get_lang('AddUsersToURL').'</button>'; |
|
|
|
|
else |
|
|
|
|
echo '<input type="button" value="'.get_lang('EditUsers').'" onclick="valide()" />'; |
|
|
|
|
echo '<button class="save" type="button" onclick="valide()" >'.get_lang('EditUsersToURL').'</button>'; |
|
|
|
|
?> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|