
<?php
use Joomla\CMS\Language\Text;
//for_use

/**
 * @extension       Marlev Template
 * @author          Lev Milicenco<support@marlev.it>
 * @link            http://www.marlev.it
 * @copyright       Copyright 2013 marlev.it All Rights Reserved
 * @license         http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */
defined('_JEXEC') or die; ?>
<div class="tm-yrvote tm-config">

    <h3><?php echo Text::_("YRVote"); ?></h3>
    <div class="control-group ckick-to-open">
        <div class="slide-config-title">
            <?php if ($this->plugins["yrvote"]->enabled == 0): ?>
                <strong><?php echo Text::_("COM_TMARLEV_YRVOTE_IS_DISABLED"); ?></strong>
            <?php else: ?>
                <strong><?php echo Text::_("COM_TMARLEV_YRVOTE_LABEL") ?></strong>
            <?php endif; ?>
            <br/><?php echo Text::_("HOWYRVOTE_WORK_DESC"); ?>
        </div>


    </div>

    <?php if ($this->plugins == false || !isset($this->plugins["yrvote"])): ?>
        <div class="slide-config-title">
            <?php echo Text::_("COM_TMARLEV_YRVOTE_NOT_INSTALLED"); ?>
        </div>
    <?php endif; ?>
    <?php echo $this->form->renderField("enable_yrvote"); ?>
    <?php echo $this->form->renderField("disablejoomlavote"); ?>
    <?php echo $this->form->renderField("yrvotebrand"); ?>
    <?php echo $this->form->renderField("yrvotestyle"); ?>
    <?php echo $this->form->renderField("yrvotestarsize"); ?>
    <?php echo $this->form->renderField("yrvotealign"); ?>
    <?php echo $this->form->renderField("yrvotecount"); ?>
    <?php echo $this->form->renderField("yrvotetextcolor"); ?>
    <?php echo $this->form->renderField("yrvotetext"); ?>




    <?php //END YRVOTE  ?>


    <div class="clearfix"></div>
</div>

