| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/news/tmp/install_5320fcc93572d/additional/plugin/zoo/elements/link/tmpl/ |
Upload File : |
<?php
/**
* @package Widgetkit
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<div>
<?php echo $this->app->html->_('control.text', $this->getControlName('value'), $this->get('value'), 'size="60" title="'.JText::_('Link').'"'); ?>
<?php if ($trusted_mode) : ?>
<div class="more-options">
<div class="trigger">
<div>
<div class="advanced button hide"><?php echo JText::_('Hide Options'); ?></div>
<div class="advanced button"><?php echo JText::_('Show Options'); ?></div>
</div>
</div>
<div class="advanced options">
<div class="row">
<?php echo $this->app->html->_('control.text', $this->getControlName('text'), $this->get('text'), 'size="60" title="'.JText::_('Text').'" placeholder="'.JText::_('Text').'"'); ?>
</div>
<div class="row">
<strong><?php echo JText::_('New window'); ?></strong>
<?php echo $this->app->html->_('select.booleanlist', $this->getControlName('target'), '', $this->get('target', $this->config->get('default_target'))) ?>
</div>
<div class="row short">
<?php echo $this->app->html->_('control.text', $this->getControlName('custom_title'), $this->get('custom_title'), 'size="60" title="'.JText::_('Title').'" placeholder="'.JText::_('Title').'"'); ?>
</div>
<div class="row short">
<?php echo $this->app->html->_('control.text', $this->getControlName('rel'), $this->get('rel'), 'size="60" title="'.JText::_('Lightbox').'" placeholder="'.JText::_('Lightbox').'"'); ?>
</div>
</div>
</div>
<?php endif; ?>
</div>
<?php if ($this->config->get('add_protocol', 1)) : ?>
<script>
jQuery(function($) {
$('input[name="<?php echo $this->getControlName('value'); ?>"]').blur(function(){
var link = $(this).val();
if ((link.length > 0) && (link.indexOf(':') == -1)) {
$(this).val('http://' + link);
}
});
});
</script>
<?php endif;