Zeile 144 | Zeile 144 |
---|
$plugins->run_hooks("admin_tools_tasks_add_commit");
// Log admin action
|
$plugins->run_hooks("admin_tools_tasks_add_commit");
// Log admin action
|
log_admin_action($tid, $mybb->input['title']);
| log_admin_action($tid, htmlspecialchars_uni($mybb->input['title']));
|
flash_message($lang->success_task_created, 'success'); admin_redirect("index.php?module=tools-tasks");
| flash_message($lang->success_task_created, 'success'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 343 | Zeile 343 |
---|
$plugins->run_hooks("admin_tools_tasks_edit_commit");
// Log admin action
|
$plugins->run_hooks("admin_tools_tasks_edit_commit");
// Log admin action
|
log_admin_action($task['tid'], $mybb->input['title']);
| log_admin_action($task['tid'], htmlspecialchars_uni($mybb->input['title']));
|
flash_message($lang->success_task_updated, 'success');
| flash_message($lang->success_task_updated, 'success');
|
Zeile 386 | Zeile 386 |
---|
$form_container = new FormContainer($lang->edit_task); echo $form->generate_hidden_field("tid", $task['tid']); $form_container->output_row($lang->title." <em>*</em>", "", $form->generate_text_box('title', $task_data['title'], array('id' => 'title')), 'title');
|
$form_container = new FormContainer($lang->edit_task); echo $form->generate_hidden_field("tid", $task['tid']); $form_container->output_row($lang->title." <em>*</em>", "", $form->generate_text_box('title', $task_data['title'], array('id' => 'title')), 'title');
|
$form_container->output_row($lang->short_description, "", $form->generate_text_box('description', $task_data['description'], array('id' => 'description')), 'description');
| $form_container->output_row($lang->short_description." <em>*</em>", "", $form->generate_text_box('description', $task_data['description'], array('id' => 'description')), 'description');
|
$task_list = array(); $task_files = scandir(MYBB_ROOT."inc/tasks/");
| $task_list = array(); $task_files = scandir(MYBB_ROOT."inc/tasks/");
|
Zeile 477 | Zeile 477 |
---|
$plugins->run_hooks("admin_tools_tasks_delete_commit");
// Log admin action
|
$plugins->run_hooks("admin_tools_tasks_delete_commit");
// Log admin action
|
log_admin_action($task['tid'], $task['title']);
| log_admin_action($task['tid'], htmlspecialchars_uni($task['title']));
|
flash_message($lang->success_task_deleted, 'success'); admin_redirect("index.php?module=tools-tasks");
| flash_message($lang->success_task_deleted, 'success'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 534 | Zeile 534 |
---|
$plugins->run_hooks("admin_tools_tasks_enable_commit"); // Log admin action
|
$plugins->run_hooks("admin_tools_tasks_enable_commit"); // Log admin action
|
log_admin_action($task['tid'], $task['title'], $mybb->input['action']);
| log_admin_action($task['tid'], htmlspecialchars_uni($task['title']), $mybb->input['action']);
|
flash_message($lang->success_task_enabled, 'success'); admin_redirect("index.php?module=tools-tasks");
| flash_message($lang->success_task_enabled, 'success'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 553 | Zeile 553 |
---|
$plugins->run_hooks("admin_tools_tasks_enable_commit"); // Log admin action
|
$plugins->run_hooks("admin_tools_tasks_enable_commit"); // Log admin action
|
log_admin_action($task['tid'], $task['title'], $mybb->input['action']);
| log_admin_action($task['tid'], htmlspecialchars_uni($task['title']), $mybb->input['action']);
|
flash_message($lang->success_task_enabled, 'success'); admin_redirect("index.php?module=tools-tasks");
| flash_message($lang->success_task_enabled, 'success'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 567 | Zeile 567 |
---|
$plugins->run_hooks("admin_tools_tasks_disable_commit"); // Log admin action
|
$plugins->run_hooks("admin_tools_tasks_disable_commit"); // Log admin action
|
log_admin_action($task['tid'], $task['title'], $mybb->input['action']);
| log_admin_action($task['tid'], htmlspecialchars_uni($task['title']), $mybb->input['action']);
|
flash_message($lang->success_task_disabled, 'success'); admin_redirect("index.php?module=tools-tasks");
| flash_message($lang->success_task_disabled, 'success'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 601 | Zeile 601 |
---|
$plugins->run_hooks("admin_tools_tasks_run_commit");
// Log admin action
|
$plugins->run_hooks("admin_tools_tasks_run_commit");
// Log admin action
|
log_admin_action($task['tid'], $task['title']);
| log_admin_action($task['tid'], htmlspecialchars_uni($task['title']));
|
flash_message($lang->success_task_run, 'success'); admin_redirect("index.php?module=tools-tasks");
| flash_message($lang->success_task_run, 'success'); admin_redirect("index.php?module=tools-tasks");
|
Zeile 750 | Zeile 750 |
---|
$table->construct_cell($popup->fetch(), array("class" => "align_center")); $table->construct_row(); }
|
$table->construct_cell($popup->fetch(), array("class" => "align_center")); $table->construct_row(); }
|
| if($table->num_rows() == 0) { $table->construct_cell($lang->no_tasks, array('colspan' => 3)); $table->construct_row(); }
|
$table->output($lang->scheduled_tasks);
$page->output_footer();
| $table->output($lang->scheduled_tasks);
$page->output_footer();
|