Vergleich admin/modules/config/report_reasons.php - 1.8.8 - 1.8.26

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 264Zeile 264
			'reasonid' => 1,
'reason' => $db->escape_string($reason['title'])
);

			'reasonid' => 1,
'reason' => $db->escape_string($reason['title'])
);

		$db->update_query("reports", $updated_report, "reasonid='{$reason['rid']}'");

		$db->update_query("reportedcontent", $updated_report, "reasonid='{$reason['rid']}'");


$db->delete_query("reportreasons", "rid='{$reason['rid']}'");



$db->delete_query("reportreasons", "rid='{$reason['rid']}'");


Zeile 278Zeile 278
	}
else
{

	}
else
{

		$page->output_confirm_action("index.php?module=config-report_reasons&action=delete&qid={$question['qid']}", $lang->confirm_reason_deletion);

		$page->output_confirm_action("index.php?module=config-report_reasons&action=delete&rid={$reason['rid']}", $lang->confirm_reason_deletion);

	}
}


	}
}


Zeile 297Zeile 297

$plugins->run_hooks("admin_config_report_reasons_start_commit");



$plugins->run_hooks("admin_config_report_reasons_start_commit");


			//$cache->update_reportreasons();

			$cache->update_reportreasons();


flash_message($lang->success_reasons_disporder_updated, 'success');
admin_redirect("index.php?module=config-report_reasons");


flash_message($lang->success_reasons_disporder_updated, 'success');
admin_redirect("index.php?module=config-report_reasons");

Zeile 364Zeile 364

if($form_container->num_rows() == 0)
{


if($form_container->num_rows() == 0)
{

		$form_container->construct_cell($lang->no_report_reasons, array('colspan' => 5));

		$form_container->output_cell($lang->no_report_reasons, array('colspan' => 5));

		$form_container->construct_row();
}


		$form_container->construct_row();
}