<commit_before><?php 
define("MODULE_ADMIN_HEADLINE", "Einstellungen des Blogmoduls");

$required_permission = getconfig("blog_required_permission");

if($required_permission === false){
   $required_permission = 20;
}

define(MODULE_ADMIN_REQUIRED_PERMISSION, $required_permission);


if($_POST["blog_send_comments_via_email"] == "yes"){
   setconfig("blog_send_comments_via_email", "yes");
} else{
   setconfig("blog_send_comments_via_email", "no");
}

// Konfiguration checken
$send_comments_via_email = getconfig("blog_send_comments_via_email") == "yes";

function blog_admin(){
?>

<form action="<?php echo getModuleAdminSelfPath()?>" method="post">
<input type="checkbox" name="blog_send_comments_via_email" value="yes"
<?php if(getconfig("blog_send_comments_via_email") == "yes"){
echo " checked";
}?>/> über neue Kommentare per E-Mail benachrichtigen
<br/>
<br/>

<input type="submit" value="Einstellungen speichern"/>
</form>
<?php
}
 
?><commit_msg>zergt<commit_after><?php 
define("MODULE_ADMIN_HEADLINE", "Einstellungen des Blogmoduls");

$required_permission = getconfig("blog_required_permission");

if($required_permission === false){
   $required_permission = 20;
}

define(MODULE_ADMIN_REQUIRED_PERMISSION, $required_permission);


if($_POST["blog_send_comments_via_email"] == "yes"){
   setconfig("blog_send_comments_via_email", "yes");
} else{
   setconfig("blog_send_comments_via_email", "no");
}

// Konfiguration checken
$send_comments_via_email = getconfig("blog_send_comments_via_email") == "yes";

function blog_admin(){
?>

<form action="<?php echo getModuleAdminSelfPath()?>" method="post">
<input type="checkbox" name="blog_send_comments_via_email" value="yes"
<?php if(getconfig("blog_send_comments_via_email") == "yes"){
echo " checked";
}?>/> Über neue Kommentare per E-Mail benachrichtigen
<br/>
<br/>

<input type="submit" value="Einstellungen speichern"/>
</form>
<?php
}
 
?>
{'fraction_non_alphanumeric': 0.1612565445026178, 'fraction_numerical': 0.0020942408376963353, 'mean_word_length': 8.603015075376884, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '635988', 'n_tokens_mistral': 654, 'n_tokens_neox': 651, 'n_words': 110}