Minor - format code

pull/3016/head
Julio Montoya 6 years ago
parent 1a4e69193d
commit 0d209f6fea
  1. 6
      main/admin/languages.php
  2. 1
      main/inc/lib/extra_field_value.lib.php
  3. 1
      main/mySpace/admin.php

@ -1,6 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This page allows the platform admin to decide which languages should
* be available in the language selection menu in the login page. This can be
@ -12,8 +12,6 @@
* @author Roan EMbrechts, code cleaning
*
* @since Dokeos 1.6
*
* @package chamilo.admin
*/
// we are in the admin area so we do not need a course id
@ -316,7 +314,7 @@ while ($row = Database::fetch_array($result_select)) {
} else {
$setplatformlanguage =
"<a href=\"javascript:if (confirm('".addslashes(get_lang('Are you sure you want to set this language as the portal\'s default?'))."')) { location.href='".api_get_self()."?action=setplatformlanguage&id=".$row['id']."'; }\">".
Display::return_icon('languages_na.png', get_lang('Set language as default'), ICON_SIZE_SMALL)."</a>";
Display::return_icon('languages_na.png', get_lang('Set language as default'), null, ICON_SIZE_SMALL)."</a>";
}
$allow_delete_sub_language = null;

@ -496,7 +496,6 @@ class ExtraFieldValue extends Model
} else {
return parent::save($params, $showQuery);
}
} else {
// Update
/* Enable this when field_loggeable is introduced as a table field (2.0)

@ -4,7 +4,6 @@
/**
* Special reporting page for admins.
*/
ob_start();
$cidReset = true;

Loading…
Cancel
Save