<commit_before><?php
class Vpc_Basic_LinkTag_Extern_Form extends Vpc_Abstract_Form
{
    public function __construct($name, $class, $id = null)
    {
        parent::__construct($name, $class, $id);

        $this->add(new Vps_Form_Field_TextField('target', trlVps('URL')))
            ->setWidth(450)
            ->setAllowBlank(false);

        if (Vpc_Abstract::getSetting($class, 'hasPopup')) {

            // cards container erstellen und zu form hinzufügen
            $cards = $this->add(new Vps_Form_Container_Cards('open_type', trlVps('Open in')))
                ->setAllowBlank(false);
            $card = $cards->add();
                $card->setTitle(trlVps('Own window'));
                $card->setName('self');
            $card = $cards->add();<commit_msg>url muss mit http sein<commit_after><?php
class Vpc_Basic_LinkTag_Extern_Form extends Vpc_Abstract_Form
{
    public function __construct($name, $class, $id = null)
    {
        parent::__construct($name, $class, $id);

        $this->add(new Vps_Form_Field_TextField('target', trlVps('URL')))
            ->setWidth(450)
            ->setAllowBlank(false)
            ->setVtype('url');

        if (Vpc_Abstract::getSetting($class, 'hasPopup')) {

            // cards container erstellen und zu form hinzufügen
            $cards = $this->add(new Vps_Form_Container_Cards('open_type', trlVps('Open in')))
                ->setAllowBlank(false);
            $card = $cards->add();
                $card->setTitle(trlVps('Own window'));
                $card->setName('self');
            $card = $cards->add();
{'fraction_non_alphanumeric': 0.14996849401386264, 'fraction_numerical': 0.003780718336483932, 'mean_word_length': 2.5367483296213806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, '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': '6938694', 'n_tokens_mistral': 501, 'n_tokens_neox': 489, 'n_words': 88}