diff --git a/main/admin/configure_extensions.php b/main/admin/configure_extensions.php index 63898ba7ac..9976366e32 100755 --- a/main/admin/configure_extensions.php +++ b/main/admin/configure_extensions.php @@ -4,9 +4,7 @@ * Edition of extensions configuration * @package chamilo.admin */ -/** - * Code - */ + // name of the language file that needs to be included $language_file='admin'; $cidReset=true; @@ -154,17 +152,18 @@ if (isset($_POST['activeExtension'])) { $listActiveServices = array(); // get the list of active services -$sql = 'SELECT variable FROM '.$tbl_settings_current.' WHERE variable LIKE "service_%" AND subkey="active" and selected_value="true"'; +$sql = 'SELECT variable FROM '.$tbl_settings_current.' + WHERE variable LIKE "service_%" AND subkey="active" and selected_value="true"'; $rs = Database::query($sql); while($row = Database::fetch_array($rs)){ $listActiveServices[] = $row['variable']; } -$javascript_service_displayed = ''; -if(isset($_GET['display'])){ +/*$javascript_service_displayed = ''; +if (isset($_GET['display'])) { $javascript_service_displayed = 'document.getElementById("extension_content_'.$_GET['display'].'").style.display = "block"'; -} +}*/ // javascript to handle accordion behaviour $javascript_message = ''; @@ -223,8 +222,6 @@ $nameTool = get_lang('ConfigureExtensions'); Display::display_header($nameTool); ?> - -