public/main/admin/system_announcements.php
Variable "form_actions" is not in valid camel caps format Open
Open
$table->set_form_actions($form_actions);
- Exclude checks
Variable "announcement_id" is not in valid camel caps format Open
Open
$announcement_id,
- Exclude checks
Variable "show_announcement_list" is not in valid camel caps format Open
Open
$show_announcement_list = true;
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
Open
$form_actions['delete_selected'] = get_lang('Delete');
- Exclude checks
Variable "announcement_data" is not in valid camel caps format Open
Open
$announcement_data = [];
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Portal news');
- Exclude checks
Variable "announcement_id" is not in valid camel caps format Open
Open
if (false !== $announcement_id) {
- Exclude checks
Variable "action_todo" is not in valid camel caps format Open
Open
$action_todo = true;
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
$group_list = $userGroup->get_all();
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
$group_list[0] = get_lang('All');
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
$group_list
- Exclude checks
Variable "action_todo" is not in valid camel caps format Open
Open
$action_todo = false;
- Exclude checks
Variable "action_todo" is not in valid camel caps format Open
Open
$action_todo = true;
- Exclude checks
Variable "action_todo" is not in valid camel caps format Open
Open
if ($action_todo) {
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
if (!empty($group_list)) {
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
Open
$table->per_page= 20;
- Exclude checks
Add a single space around assignment operators Open
Open
$table->per_page= 20;
- Exclude checks
Variable "action_todo" is not in valid camel caps format Open
Open
$action_todo = true;
- Exclude checks
Variable "show_announcement_list" is not in valid camel caps format Open
Open
if ($show_announcement_list) {
- Exclude checks
Add a single space around assignment operators Open
Open
$row[] =Display::getMdiIcon(StateIcon::COMPLETE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('The announcement is available'));
- Exclude checks
Variable "form_title" is not in valid camel caps format Open
Open
$form_title = get_lang('Add news');
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
Open
$form_actions = [];
- Exclude checks
Variable "announcement_id" is not in valid camel caps format Open
Open
$announcement_id = SystemAnnouncementManager::add_announcement(
- Exclude checks
Variable "announcement_data" is not in valid camel caps format Open
Open
$announcement_data[] = $row;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
$group_list = array_column($group_list, 'title', 'id');
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
$group_list = array_column($group_list, 'title', 'id');
- Exclude checks
Variable "action_todo" is not in valid camel caps format Open
Open
$action_todo = false;
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = null;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$_SESSION['this_section'] = $this_section;
- Exclude checks
Variable "form_title" is not in valid camel caps format Open
Open
$form->addHeader($form_title);
- Exclude checks
Variable "announcement_data" is not in valid camel caps format Open
Open
$table = new SortableTableFromArray($announcement_data);
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
Open
$table->total_number_of_items = count($announcement_data);
- Exclude checks
Variable "announcement_data" is not in valid camel caps format Open
Open
$table->total_number_of_items = count($announcement_data);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "show_announcement_list" is not in valid camel caps format Open
Open
$show_announcement_list = true;
- Exclude checks
Add a single space around assignment operators Open
Open
$row[] =Display::getMdiIcon(StateIcon::WARNING, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('The announcement is not available'));
- Exclude checks
Variable "form_title" is not in valid camel caps format Open
Open
$form_title = get_lang('Edit News');
- Exclude checks
Variable "show_announcement_list" is not in valid camel caps format Open
Open
$show_announcement_list = false;
- Exclude checks