__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace Nextend\Framework\Font;

use Nextend\Framework\Form\Container\ContainerTable;
use Nextend\Framework\Form\Element\Button;
use Nextend\Framework\Form\Element\Decoration;
use Nextend\Framework\Form\Element\MixedField;
use Nextend\Framework\Form\Element\Radio\TextAlign;
use Nextend\Framework\Form\Element\Select;
use Nextend\Framework\Form\Element\Select\FontWeight;
use Nextend\Framework\Form\Element\Tab;
use Nextend\Framework\Form\Element\Text\Color;
use Nextend\Framework\Form\Element\Text\Family;
use Nextend\Framework\Form\Element\Text\TextAutoComplete;
use Nextend\Framework\Form\Element\Textarea;
use Nextend\Framework\Form\Form;
use Nextend\Framework\Visual\ModelVisual;

class ModelFont extends ModelVisual {

    protected $type = 'font';

    public function renderForm() {

        $form = new Form($this, 'n2-font-editor');

        $table = new ContainerTable($form->getContainer(), 'font', n2_('Font settings'));

        $table->setFieldsetPositionEnd();

        new Button($table->getFieldsetLabel(), 'font-clear-tab', false, n2_('Clear tab'));

        new Tab($table->getFieldsetLabel(), 'font-state');

        $row1 = $table->createRow('font-row-1');
        new Family($row1, 'family', n2_('Family'), 'Arial, Helvetica', array(
            'style' => 'width:150px;'
        ));
        new Color($row1, 'color', n2_('Color'), '000000FF', array(
            'alpha' => true
        ));

        new MixedField\FontSize($row1, 'size', n2_('Size'), '14|*|px');

        new FontWeight($row1, 'weight', n2_('Font weight'), '');
        new Decoration($row1, 'decoration', n2_('Decoration'));
        new TextAutoComplete($row1, 'lineheight', n2_('Line height'), '18px', array(
            'values' => array(
                'normal',
                '1',
                '1.2',
                '1.5',
                '1.8',
                '2'
            ),
            'style'  => 'width:70px;'
        ));
        new TextAlign($row1, 'textalign', n2_('Text align'), 'inherit');

        $row2 = $table->createRow('font-row-2');

        new TextAutoComplete($row2, 'letterspacing', n2_('Letter spacing'), 'normal', array(
            'values' => array(
                'normal',
                '1px',
                '2px',
                '5px',
                '10px',
                '15px'
            ),
            'style'  => 'width:50px;'
        ));
        new TextAutoComplete($row2, 'wordspacing', n2_('Word spacing'), 'normal', array(
            'values' => array(
                'normal',
                '2px',
                '5px',
                '10px',
                '15px'
            ),
            'style'  => 'width:50px;'
        ));
        new Select($row2, 'texttransform', n2_('Transform'), 'none', array(
            'options' => array(
                'none'       => n2_('None'),
                'capitalize' => n2_('Capitalize'),
                'uppercase'  => n2_('Uppercase'),
                'lowercase'  => n2_('Lowercase')
            )
        ));

        new MixedField\TextShadow($row2, 'tshadow', n2_('Text shadow'), '0|*|0|*|1|*|000000FF');

        new Textarea($row2, 'extracss', 'CSS', '', array(
            'width'  => 200,
            'height' => 26
        ));

        $previewTable = new ContainerTable($form->getContainer(), 'font-preview', n2_('Preview'));

        $previewTable->setFieldsetPositionEnd();

        new Color($previewTable->getFieldsetLabel(), 'preview-background', false, 'ced3d5');

        $form->render();
    }
}

Filemanager

Name Type Size Permission Actions
Block Folder 0775
Sources Folder 0775
AbstractFontSource.php File 534 B 0664
ControllerAjaxFont.php File 294 B 0664
FontManager.php File 352 B 0664
FontParser.php File 1.27 KB 0664
FontRenderer.php File 10.16 KB 0664
FontSettings.php File 3.43 KB 0664
FontSources.php File 1.23 KB 0664
FontStorage.php File 2.28 KB 0664
FontStyle.php File 5.61 KB 0664
ModelFont.php File 3.45 KB 0664
Filemanager