<commit_before><?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_skype_include.php
| Author: <NAME> {Starefossen}
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
    die("Access Denied");
}
// Display user field input
if ($profile_method == 'input') {
    $options += array(
        'inline'           => TRUE,
        'max_length'       => 32,
        // TODO: Also accept MS accounts which are email addresses
        'regex'            => '[a-z.0-9]{5,31}',
        'regex_error_text' => $locale['uf_skype_error_1'],
        'error_text'       => $locale['uf_skype_error']
    );
    $user_fields = form_text('user_skype', "<img src='".IMAGES."user_fields/im/skype.png' class='m-r-5'>".$locale['uf_skype'], $field_value, $options);
// Display user field input
} elseif ($profile_method == 'display') {
    $user_fields = array('title' => $locale['uf_skype'], 'value' => $field_value ?: "");
}
<commit_msg>Update User Fields.<commit_after><?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_skype_include.php
| Author: <NAME> {Starefossen}
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
    die("Access Denied");
}
// Display user field input
if ($profile_method == 'input') {
    $options = array(
            'inline'           => TRUE,
            'max_length'       => 32,
            // TODO: Also accept MS accounts which are email addresses
            'regex'            => '[a-z.0-9]{5,31}',
            'regex_error_text' => $locale['uf_skype_error_1'],
            'error_text'       => $locale['uf_skype_error'],
            'placeholder'      => $locale['uf_skype_id'],
        ) + $options;
    $user_fields = form_text('user_skype', "<img src='".IMAGES."user_fields/im/skype.png' class='m-r-5'>".$locale['uf_skype'], $field_value, $options);
// Display user field input
} elseif ($profile_method == 'display') {
    $user_fields = array('title' => $locale['uf_skype'], 'value' => $field_value ?: "");
}

{'fraction_non_alphanumeric': 0.26419082125603865, 'fraction_numerical': 0.005434782608695652, 'mean_word_length': 1.8340461933276304, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 22, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '2262627', 'n_tokens_mistral': 938, 'n_tokens_neox': 934, 'n_words': 243}