?> " style="visibility:<?php echo $index != 0 ? 'hidden' : 'visible'; ?> "> <a title="<?php echo modJANewStickerHelper::trimString(trim(strip_tags($item->introtext)), 300); ?> " <?php echo $aClass; ?> href="<?php echo modJANewStickerHelper::getLink($item, $userRSS); ?> "><span><?php echo modJANewStickerHelper::trimString($item->title, $titleMaxChars); ?> </span> </a> </div> <?php } // endforeach; ?> <?php } ?> <!-- //HEADLINE CONTENT --> </div> </div> <?php
if (is_file(JPATH_SITE . DS . 'templates' . DS . JFactory::getApplication()->getTemplate() . DS . 'css' . DS . $module->module . ".css")) { JHTML::stylesheet('templates/' . JFactory::getApplication()->getTemplate() . '/css/' . $module->module . ".css"); } JHTML::script('modules/' . $module->module . '/assets/script.js', true); } $showLink = $params->get('link_title'); $using_mode = $params->get('using_mode', 'categories_selected'); $userRSS = trim($using_mode) == 'rss' || trim($using_mode) == 'external' ? true : false; $target = $params->get('target'); $separator = $params->get('separator'); $moduleHeight = $params->get('height', 28); $moduleID = 'jalh-modid' . $module->id; $titleMaxChars = (int) $params->get('title_max_chars', 60); $descMaxChars = (int) $params->get('decription_max_chars', 60); $moduleBorder = $params->get('border'); $showDesc = $params->get('display_description'); $animationType = $params->get('animation_type', 'horizontal'); $seperator = $params->get('separator'); $aClass = $animationType == 'horizontal_stripe' ? 'class="ja-headlines-item"' : ''; // load js and css file // listing social apps $list = modJANewStickerHelper::getList($params); $total = count($list); //render layout. require JModuleHelper::getLayoutPath('mod_janewsticker'); if (!empty($list)) { require dirname(__FILE__) . DS . 'tmpl' . DS . 'jssetup.php'; } ?>