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


    </div>
   
        <?php if ($this->plugins == false || !isset($this->plugins["yrvote"])): ?>
            <div class="slide-config-title">
                <?php echo JText::_("COM_TMARLEV_YRVOTE_NOT_INSTALLED"); ?>
            </div>
            
        <?php elseif ($this->plugins["yrvote"]->enabled == 0): ?>

            
            <div class="control-group">
                <div class="control-label">
                    <?php echo $this->form->getLabel('enable_yrvote'); ?><br/>

                </div>
                <div class="controls">
                    <?php echo $this->form->getInput('enable_yrvote'); ?>
                </div>
            </div>
        <?php endif; ?>
            
           
                <div class="control-group">
                    <div class="control-label">
                        <?php echo $this->form->getLabel('disablejoomlavote'); ?>
                    </div>
                    <div class="controls">
                        <?php echo $this->form->getInput('disablejoomlavote'); ?>
                    </div>
                </div>

            
            <div class="control-group">
                <div class="control-label">
                    <?php echo $this->form->getLabel('yrvotestyle'); ?>
                </div>
                <div class="controls">
                    <?php echo $this->form->getInput('yrvotestyle'); ?>
                </div>
            </div>
            <div class="control-group">
                <div class="control-label">
                    <?php echo $this->form->getLabel('yrvotecount'); ?>
                </div>
                <div class="controls">
                    <?php echo $this->form->getInput('yrvotecount'); ?>
                </div>
            </div>
            <div class="control-group">
                <div class="control-label">
                    <?php echo $this->form->getLabel('yrvotetextcolor'); ?>
                </div>
                <div class="controls">
                    <?php echo $this->form->getInput('yrvotetextcolor'); ?>
                </div>
            </div>
            <div class="control-group">
                <div class="control-label">
                    <?php echo $this->form->getLabel('yrvotetext'); ?>
                </div>
                <div class="controls">
                    <?php echo $this->form->getInput('yrvotetext'); ?>
                </div>
            </div>
       

   

<?php //END YRVOTE  ?>


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

