PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom2
/
caribe
/
modules
/
mod_djmegamenu
/
tmpl
<?php /** * @version $Id: default_mobile_url.php 32 2015-05-13 22:27:23Z szymon $ * @package DJ-MegaMenu * @copyright Copyright (C) 2012 DJ-Extensions.com LTD, All rights reserved. * @license http://www.gnu.org/licenses GNU/GPL * @author url: http://dj-extensions.com * @author email contact@dj-extensions.com * @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu * * DJ-MegaMenu is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * DJ-MegaMenu is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with DJ-MegaMenu. If not, see <http://www.gnu.org/licenses/>. * */ defined('_JEXEC') or die; // Note. It is important to remove spaces between elements. $title = $item->anchor_title ? 'title="'.$item->anchor_title.'" ' : ''; $subtitle = ''; $aclass = ''; if($params->get('subtitles') > 1) { $subtitle = $item->params->get('djmegamenu-subtitle'); if(!empty($subtitle)) { $subtitle = '<br/><small class="subtitle">'.$subtitle.'</small>'; $aclass = ' withsubtitle'; } } $linktype = $item->title . $subtitle; $class = $item->anchor_css || !empty($aclass) ? 'class="'.$aclass.' '.$item->anchor_css.'" ' : ''; if($params->get('icons') > 1) { $faicon = $item->params->get('djmegamenu-fa',''); if(!empty($faicon)) { $item->params->get('menu_text', 1) ? $linktype = '<i class="'.$faicon.'"></i><span class="image-title">'. $linktype .'</span>' : $linktype = ' <i class="'.$faicon.'"></i> '; } else if($item->menu_image) { $item->params->get('menu_text', 1) ? $linktype = '<img src="'.$item->menu_image.'" alt="'.$item->title.'" /><span class="image-title">'. $linktype .'</span>' : $linktype = ' <img src="'.$item->menu_image.'" alt="'.$item->title.'" /> '; } } switch ($item->type) : case 'heading': case 'separator': $item->browserNav = 3; break; case 'component': $flink = $item->flink; break; case 'url': default: $flink = $item->flink; $flink = JFilterOutput::ampReplace(htmlspecialchars($flink)); break; endswitch; switch ($item->browserNav) : default: case 0: ?><a <?php echo $class; ?>href="<?php echo $flink; ?>" <?php echo $title; ?>><?php echo $linktype; ?></a><?php break; case 1: // _blank ?><a <?php echo $class; ?>href="<?php echo $flink; ?>" target="_blank" <?php echo $title; ?>><?php echo $linktype; ?></a><?php break; case 2: // window.open $options = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,'.$params->get('window_open'); ?><a <?php echo $class; ?>href="<?php echo $flink; ?>" onclick="window.open(this.href,'targetWindow','<?php echo $options;?>');return false;" <?php echo $title; ?>><?php echo $linktype; ?></a><?php break; case 3: ?><a <?php echo $class; ?> <?php echo $title; ?>><?php echo $linktype; ?></a><?php endswitch;
[+]
..
[-] default.php
[edit]
[-] default_mobile.php
[edit]
[-] default_mobile_url.php
[edit]
[-] default_url.php
[edit]
[-] index.html
[edit]
[-] .htaccess.disabled
[edit]