<commit_before><?php
/**
 * @author         <NAME> <<EMAIL>>
 * @copyright      (c) 2012-2013, <NAME>. All Rights Reserved.
 * @license        GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
 * @package        PH7 / App / System / Module / Admin / From
 */
namespace PH7;

use PH7\Framework\Mvc\Model\Design as DesignModel;

class AnalyticsApiForm
{

    public static function display()
    {
        if (isset($_POST['submit_analytics']))
        {
            if (\PFBC\Form::isValid($_POST['submit_analytics']))
                new AnalyticsApiFormProcessing;
            Framework\Url\HeaderUrl::redirect();
        }

        $oForm = new \PFBC\Form('form_analytics', 500);
        $oForm->configure(array('action' => ''));
        $oForm->addElement(new \PFBC\Element\Hidden('submit_analytics', 'form_analytics'));
        $oForm->addElement(new \PFBC\Element\Token('analytics'));
        $oForm->addElement(new \PFBC\Element\Textarea(t('Your code analytics (e.g. Google Analytics)'), 'code', array('value' => (new DesignModel)->analyticsApi(false, false))));
        $oForm->addElement(new \PFBC\Element\Button);
        $oForm->render();
    }

}<commit_msg>Changing the description text<commit_after><?php
/**
 * @author         <NAME> <<EMAIL>>
 * @copyright      (c) 2012-2013, <NAME>. All Rights Reserved.
 * @license        GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
 * @package        PH7 / App / System / Module / Admin / From
 */
namespace PH7;

use PH7\Framework\Mvc\Model\Design as DesignModel;

class AnalyticsApiForm
{

    public static function display()
    {
        if (isset($_POST['submit_analytics']))
        {
            if (\PFBC\Form::isValid($_POST['submit_analytics']))
                new AnalyticsApiFormProcessing;
            Framework\Url\HeaderUrl::redirect();
        }

        $oForm = new \PFBC\Form('form_analytics', 500);
        $oForm->configure(array('action' => ''));
        $oForm->addElement(new \PFBC\Element\Hidden('submit_analytics', 'form_analytics'));
        $oForm->addElement(new \PFBC\Element\Token('analytics'));
        $oForm->addElement(new \PFBC\Element\Textarea(t('Your code analytics (e.g., Google Analytics)'), 'code', array('value' => (new DesignModel)->analyticsApi(false, false))));
        $oForm->addElement(new \PFBC\Element\Button);
        $oForm->render();
    }

}
{'fraction_non_alphanumeric': 0.15690290864399836, 'fraction_numerical': 0.013109381401065138, 'mean_word_length': 2.9134615384615383, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 29, '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': '5527102', 'n_tokens_mistral': 759, 'n_tokens_neox': 727, 'n_words': 153}