|
|
@ -298,8 +298,6 @@ $action_images['cas'] = 'user_access.png'; |
|
|
|
$action_images['security'] = 'security.png'; |
|
|
|
$action_images['security'] = 'security.png'; |
|
|
|
$action_images['languages'] = 'languages.png'; |
|
|
|
$action_images['languages'] = 'languages.png'; |
|
|
|
$action_images['tuning'] = 'tuning.png'; |
|
|
|
$action_images['tuning'] = 'tuning.png'; |
|
|
|
$action_images['plugins'] = 'plugins.png'; |
|
|
|
|
|
|
|
$action_images['stylesheets'] = 'stylesheets.png'; |
|
|
|
|
|
|
|
$action_images['templates'] = 'template.png'; |
|
|
|
$action_images['templates'] = 'template.png'; |
|
|
|
$action_images['search'] = 'search.png'; |
|
|
|
$action_images['search'] = 'search.png'; |
|
|
|
$action_images['editor'] = 'html_editor.png'; |
|
|
|
$action_images['editor'] = 'html_editor.png'; |
|
|
@ -324,6 +322,7 @@ $resultcategories[] = array('category' => 'Search'); |
|
|
|
$resultcategories[] = array('category' => 'Stylesheets'); |
|
|
|
$resultcategories[] = array('category' => 'Stylesheets'); |
|
|
|
$resultcategories[] = array('category' => 'Templates'); |
|
|
|
$resultcategories[] = array('category' => 'Templates'); |
|
|
|
$resultcategories[] = array('category' => 'Plugins'); |
|
|
|
$resultcategories[] = array('category' => 'Plugins'); |
|
|
|
|
|
|
|
|
|
|
|
foreach ($resultcategories as $row) { |
|
|
|
foreach ($resultcategories as $row) { |
|
|
|
$url = array(); |
|
|
|
$url = array(); |
|
|
|
$url['url'] = api_get_self()."?category=".$row['category']; |
|
|
|
$url['url'] = api_get_self()."?category=".$row['category']; |
|
|
@ -377,41 +376,33 @@ if (!empty($_GET['category'])) { |
|
|
|
event_system(LOG_CONFIGURATION_SETTINGS_CHANGE, LOG_CONFIGURATION_SETTINGS_CATEGORY, $category, api_get_utc_datetime(), $user_id); |
|
|
|
event_system(LOG_CONFIGURATION_SETTINGS_CHANGE, LOG_CONFIGURATION_SETTINGS_CATEGORY, $category, api_get_utc_datetime(), $user_id); |
|
|
|
Display :: display_confirmation_message(get_lang('DashboardPluginsHaveBeenUpdatedSucesslly')); |
|
|
|
Display :: display_confirmation_message(get_lang('DashboardPluginsHaveBeenUpdatedSucesslly')); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo '<script> |
|
|
|
echo '<script> |
|
|
|
$(function(){ |
|
|
|
$(function(){ |
|
|
|
$("#tabs").tabs(); |
|
|
|
$("#tabs").tabs(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
</script>'; |
|
|
|
</script>'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo '<div id="tabs">'; |
|
|
|
echo '<div id="tabs">'; |
|
|
|
|
|
|
|
echo '<ul>'; |
|
|
|
echo '<ul>'; |
|
|
|
echo '<li><a href="#tabs-1">'.get_lang('Plugins').'</a></li>'; |
|
|
|
echo '<li><a href="#tabs-1">'.get_lang('Plugins').'</a></li>'; |
|
|
|
echo '<li><a href="#tabs-2">'.get_lang('DashboardPlugins').'</a></li>'; |
|
|
|
echo '<li><a href="#tabs-2">'.get_lang('DashboardPlugins').'</a></li>'; |
|
|
|
echo '<li><a href="#tabs-3">'.get_lang('ConfigureExtensions').'</a></li>'; |
|
|
|
echo '<li><a href="#tabs-3">'.get_lang('ConfigureExtensions').'</a></li>'; |
|
|
|
echo '</ul>'; |
|
|
|
echo '</ul>'; |
|
|
|
|
|
|
|
|
|
|
|
echo '<div id="tabs-1">'; |
|
|
|
echo '<div id="tabs-1">'; |
|
|
|
handle_plugins(); |
|
|
|
handle_plugins(); |
|
|
|
echo '</div>'; |
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
|
|
echo '<div id="tabs-2">'; |
|
|
|
echo '<div id="tabs-2">'; |
|
|
|
DashboardManager::handle_dashboard_plugins(); |
|
|
|
DashboardManager::handle_dashboard_plugins(); |
|
|
|
echo '</div>'; |
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
|
|
echo '<div id="tabs-3">'; |
|
|
|
echo '<div id="tabs-3">'; |
|
|
|
handle_extensions(); |
|
|
|
handle_extensions(); |
|
|
|
echo '</div>'; |
|
|
|
echo '</div>'; |
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'stylesheets': |
|
|
|
case 'Stylesheets': |
|
|
|
// Displaying the extensions: Stylesheets. |
|
|
|
// Displaying the extensions: Stylesheets. |
|
|
|
handle_stylesheets(); |
|
|
|
handle_stylesheets(); |
|
|
|
break; |
|
|
|
break; |
|
|
|