|
|
|
@ -68,6 +68,8 @@ $blocks['users']['label'] = api_ucfirst(get_lang('Users')); |
|
|
|
|
$blocks['users']['class'] = 'block-admin-users'; |
|
|
|
|
|
|
|
|
|
if (api_is_platform_admin()) { |
|
|
|
|
$blocks['users']['editable'] = true; |
|
|
|
|
|
|
|
|
|
$search_form = ' |
|
|
|
|
<form method="get" class="form-search" action="user_list.php"> |
|
|
|
|
<input class="span3" type="text" name="keyword" value=""> |
|
|
|
@ -108,6 +110,7 @@ if (api_is_platform_admin()) { |
|
|
|
|
$blocks['courses']['icon'] = Display::return_icon('course.gif', get_lang('Courses'), array(), ICON_SIZE_MEDIUM, false); |
|
|
|
|
$blocks['courses']['label'] = api_ucfirst(get_lang('Courses')); |
|
|
|
|
$blocks['courses']['class'] = 'block-admin-courses'; |
|
|
|
|
$blocks['courses']['editable'] = true; |
|
|
|
|
|
|
|
|
|
$search_form = ' <form method="get" class="form-search" action="course_list.php"> |
|
|
|
|
<input class="span3" type="text" name="keyword" value=""> |
|
|
|
@ -147,7 +150,7 @@ if (api_is_platform_admin()) { |
|
|
|
|
$blocks['platform']['icon'] = Display::return_icon('platform.png', get_lang('Platform'), array(), ICON_SIZE_MEDIUM, false); |
|
|
|
|
$blocks['platform']['label'] = api_ucfirst(get_lang('Platform')); |
|
|
|
|
$blocks['platform']['class'] = 'block-admin-platform'; |
|
|
|
|
|
|
|
|
|
$blocks['platform']['editable'] =true; |
|
|
|
|
|
|
|
|
|
$search_form = ' <form method="get" action="settings.php" class="form-search"> |
|
|
|
|
<input class="span3" type="text" name="search_field" value="" > |
|
|
|
@ -156,7 +159,6 @@ if (api_is_platform_admin()) { |
|
|
|
|
</form>'; |
|
|
|
|
$blocks['platform']['search_form'] = $search_form; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$items = array(); |
|
|
|
|
$items[] = array('url'=>'settings.php', 'label' => get_lang('PlatformConfigSettings')); |
|
|
|
|
$items[] = array('url'=>'settings.php?category=Plugins','label' => get_lang('Plugins')); |
|
|
|
@ -195,6 +197,9 @@ $blocks['sessions']['icon'] = Display::return_icon('session.png', get_lang('Ses |
|
|
|
|
$blocks['sessions']['label'] = api_ucfirst(get_lang('Sessions')); |
|
|
|
|
$blocks['sessions']['class'] = 'block-admin-sessions'; |
|
|
|
|
|
|
|
|
|
if (api_is_platform_admin()) { |
|
|
|
|
$blocks['sessions']['editable'] = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$search_form = ' <form method="GET" class="form-search" action="session_list.php"> |
|
|
|
|
<input class="span3" type="text" name="keyword" value=""> |
|
|
|
|