public/main/session/session_category_list.php
Variable "active_group" is not in valid camel caps format Open
Open
$active_group[] = $form->createElement('checkbox', 'active', '', get_lang('active'));
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$order
- Exclude checks
Variable "nb_courses" is not in valid camel caps format Open
Open
<td><?php echo "<a href=\"session_list.php?id_category=".$enreg['id']."\">".$nb_courses
- Exclude checks
Variable "query_rows" is not in valid camel caps format Open
Open
$query_rows = "SELECT count(*) as total_rows
- Exclude checks
Variable "nbr_results" is not in valid camel caps format Open
Open
$nbr_results = sizeof($Sessions);
- Exclude checks
Variable "active_group" is not in valid camel caps format Open
Open
$active_group[] = $form->createElement('checkbox', 'inactive', '', get_lang('inactive'));
- Exclude checks
Variable "result_rows" is not in valid camel caps format Open
Open
$result_rows = Database::query($query_rows);
- Exclude checks
Variable "Sessions" is not in valid camel caps format Open
Open
$nbr_results = sizeof($Sessions);
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$order
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
); ?></a>
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $keyword; ?>"><?php echo get_lang(
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
'Next'
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$form->addElement('header', '', $tool_name);
- Exclude checks
Variable "table_access_url_rel_session" is not in valid camel caps format Open
Open
INNER JOIN '.$table_access_url_rel_session.' us
- Exclude checks
Variable "active_group" is not in valid camel caps format Open
Open
$form->addGroup($active_group, '', get_lang('activeSession'), null, false);
- Exclude checks
Variable "tbl_session_category" is not in valid camel caps format Open
Open
FROM $tbl_session_category sc
- Exclude checks
Variable "query_rows" is not in valid camel caps format Open
Open
$result_rows = Database::query($query_rows);
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $keyword; ?>"><?php echo get_lang(
- Exclude checks
Variable "tbl_session_category" is not in valid camel caps format Open
Open
$tbl_session_category = Database::get_main_table(TABLE_MAIN_SESSION_CATEGORY);
- Exclude checks
Variable "result_rows" is not in valid camel caps format Open
Open
$recorset = Database::fetch_array($result_rows);
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
api_get_path(WEB_CODE_PATH).'session/session_category_add.php'
- Exclude checks
Variable "nb_courses" is not in valid camel caps format Open
Open
[$nb_courses] = Database::fetch_array($rs); ?>
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Find a training session');
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
SELECT count(s.id) FROM $tbl_session s
- Exclude checks
Variable "tbl_session_category" is not in valid camel caps format Open
Open
FROM $tbl_session_category sc $where ";
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Sessions categories list');
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
Display::getMdiIcon('file-tree-outline', 'ch-tool-icon-gradient', null, 32, get_lang('Add category')),
- Exclude checks
Multi-line function call not indented correctly; expected 4 spaces but found 8 Open
Open
).Display::url(
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
'Previous'
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "Sessions" is not in valid camel caps format Open
Open
$Sessions = Database::store_result($result);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "active_group" is not in valid camel caps format Open
Open
$active_group = [];
- Exclude checks
Variable "delete_session" is not in valid camel caps format Open
Open
$delete_session = 'delete_on_session' == $action ? true : false;
- Exclude checks
Variable "table_access_url_rel_session" is not in valid camel caps format Open
Open
$table_access_url_rel_session = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
- Exclude checks
Variable "Sessions" is not in valid camel caps format Open
Open
if (0 == count($Sessions) && isset($_POST['keyword'])) {
- Exclude checks
Variable "delete_session" is not in valid camel caps format Open
Open
SessionManager::delete_session_category($idChecked, $delete_session);
- Exclude checks
Variable "table_access_url_rel_session" is not in valid camel caps format Open
Open
INNER JOIN $table_access_url_rel_session us
- Exclude checks
Variable "Sessions" is not in valid camel caps format Open
Open
foreach ($Sessions as $key => $enreg) {
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
FROM '.$tbl_session.' s
- Exclude checks
Variable "nbr_results" is not in valid camel caps format Open
Open
if ($nbr_results > $limit) {
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
); ?></a>
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $_REQUEST['keyword']; ?>">
- Exclude checks
Variable "Sessions" is not in valid camel caps format Open
Open
unset($Sessions); ?>
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $_REQUEST['keyword']; ?>">
- Exclude checks
Variable "nbr_results" is not in valid camel caps format Open
Open
if ($nbr_results > $limit) {
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$_REQUEST['order']
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$_REQUEST['order']
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $keyword; ?>"><?php echo get_lang(
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
); ?></a>
- Exclude checks
Line indented incorrectly; expected at least 36 spaces, found 32 Open
Open
echo api_format_date($enreg['date_end'], DATE_FORMAT_SHORT);
- Exclude checks
Line indented incorrectly; expected at least 24 spaces, found 20 Open
Open
break;
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$rs = Database::query($sql);
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
[$nb_courses] = Database::fetch_array($rs); ?>
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
api_get_path(WEB_CODE_PATH).'session/session_category_add.php'
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$order
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$order
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
$x = 0;
- Exclude checks
Line indented incorrectly; expected at least 36 spaces, found 32 Open
Open
echo '-';
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
Display::getMdiIcon('file-tree-outline', 'ch-tool-icon-gradient', null, 32, get_lang('Add category')),
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
'Previous'
- Exclude checks
Line indented incorrectly; expected at least 63 spaces, found 28 Open
Open
); ?></a>
- Exclude checks
Line indented incorrectly; expected at least 57 spaces, found 31 Open
Open
); ?>')) return false;">
- Exclude checks
Line indented incorrectly; expected at least 20 spaces, found 16 Open
Open
$sql = 'SELECT COUNT(session_category_id)
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $keyword; ?>"><?php echo get_lang(
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
foreach ($Sessions as $key => $enreg) {
- Exclude checks
Line indented incorrectly; expected 20 spaces, found 16 Open
Open
if ($key == $limit) {
- Exclude checks
Line indented incorrectly; expected 32 spaces, found 28 Open
Open
} ?>
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 68 spaces, found 24 Open
Open
); ?>&keyword=<?php echo $keyword; ?>"><?php echo get_lang(
- Exclude checks
Line indented incorrectly; expected 32 spaces, found 28 Open
Open
} else {
- Exclude checks
Multi-line function call not indented correctly; expected 4 spaces but found 8 Open
Open
).Display::url(
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
'Next'
- Exclude checks
Line indented incorrectly; expected 32 spaces, found 28 Open
Open
if (!empty($enreg['date_end']) && '0000-00-00' != $enreg['date_end']) {
- Exclude checks
Line indented incorrectly; expected at least 68 spaces, found 24 Open
Open
); ?>&keyword=<?php echo $keyword; ?>"><?php echo get_lang(
- Exclude checks
Line indented incorrectly; expected at least 63 spaces, found 28 Open
Open
); ?></a>
- Exclude checks
Line indented incorrectly; expected at least 24 spaces, found 20 Open
Open
$i = $i ? 0 : 1;
- Exclude checks
Line indented incorrectly; expected at least 24 spaces, found 16 Open
Open
$x++;
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
); ?></a>
- Exclude checks
Line indented incorrectly; expected 20 spaces, found 16 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 41 spaces, found 28 Open
Open
); ?>?sort=<?php echo $sort; ?>&action=delete_off_session&idChecked=<?php echo $enreg['id']; ?>"
- Exclude checks
Line indented incorrectly; expected at least 68 spaces, found 24 Open
Open
); ?>&keyword=<?php echo $_REQUEST['keyword']; ?>">
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 12 Open
Open
unset($Sessions); ?>
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $_REQUEST['keyword']; ?>">
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$_REQUEST['order']
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 24 Open
Open
); ?>&keyword=<?php echo $_REQUEST['keyword']; ?>">
- Exclude checks
Line indented incorrectly; expected at least 68 spaces, found 24 Open
Open
); ?>&keyword=<?php echo $_REQUEST['keyword']; ?>">
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 28 Open
Open
$_REQUEST['order']
- Exclude checks