<commit_before><?
/**
 *
 * @author <NAME> <<EMAIL>>
 * @package Basisentscheid
 */


require "inc/common.php";

Login::access("admin");

$d = new DbTableAdmin("Area");
$d->dbtable = "areas";
$d->columns = array(
	array("id", _("No."), "right", "", false),
	array("name", _("Name")),
	array("participants", _("Participants"), "center", "", false)
);
$d->enable_filter = false;

$d->action($action);

html_head(_("Subject areas"));

$d->display();

html_foot();<commit_msg>reference check for areas<commit_after><?
/**
 *
 * @author <NAME> <<EMAIL>>
 * @package Basisentscheid
 */


require "inc/common.php";

Login::access("admin");

$d = new DbTableAdmin("Area");
$d->dbtable = "areas";
$d->columns = array(
	array("id", _("No."), "right", "", false),
	array("name", _("Name")),
	array("participants", _("Participants"), "center", "", false)
);
$d->enable_filter = false;

$d->reference_check = array("SELECT id FROM issues WHERE area=%d");

$d->action($action);

html_head(_("Subject areas"));

$d->display();

html_foot();
{'fraction_non_alphanumeric': 0.25658536585365854, 'fraction_numerical': 0.0, 'mean_word_length': 5.75, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5674858', 'n_tokens_mistral': 378, 'n_tokens_neox': 369, 'n_words': 75}