本文整理汇总了PHP中FSS_Helper::ModuleStart方法的典型用法代码示例。如果您正苦于以下问题:PHP FSS_Helper::ModuleStart方法的具体用法?PHP FSS_Helper::ModuleStart怎么用?PHP FSS_Helper::ModuleStart使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FSS_Helper
的用法示例。
在下文中一共展示了FSS_Helper::ModuleStart方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_support mod_fss_support_admin");
require_once JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'helper' . DS . 'support_tickets.php';
?>
<?php
if (FSS_Permission::auth("fss.handler", "com_fss.support_admin") && !$params->get('hide_tickets')) {
?>
<?php
if (FSS_Permission::CanModerate() && !$params->get('hide_moderate')) {
?>
<h4><?php
echo JText::_("SUPPORT_TICKETS");
?>
</h4>
<?php
}
?>
<ul>
<?php
FSS_Ticket_Helper::GetStatusList();
示例2: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_test");
$ident = mt_rand(1, 1000);
?>
<?php
if ($maxheight > 0) {
?>
<?php
if ($loop_scroll) {
?>
<script>
(function(jQuery, undefined) {
jQuery.fn.loopScroll = function(p_options) {
var options = jQuery.extend({
direction: "upwards",
speed: <?php
echo $speed;
?>
}, p_options);
示例3: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_kbart");
?>
<?php
if ($maxheight > 0) {
?>
<script>
jQuery(document).ready(function () {
setTimeout("kbartmod_scrollDown()",3000);
});
function kbartmod_scrollDown()
{
var settings = {
direction: "down",
step: 40,
scroll: true,
onEdge: function (edge) {
if (edge.y == "bottom")
{
示例4: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_support mod_fss_support_user");
?>
<ul>
<?php
//echo JText::sprintf("TICKET_STATUS",$this->ticketopen,$this->ticketfollow,$this->ticketuser,FSSRoute::_( '&layout=support' ));
FSS_Ticket_Helper::GetStatusList();
$counts = $model->getTicketCount();
FSS_Translate_Helper::Tr(FSS_Ticket_Helper::$status_list);
$output = 0;
foreach (FSS_Ticket_Helper::$status_list as $status) {
if ($status->def_archive) {
continue;
}
if ($status->is_closed) {
continue;
}
if (!array_key_exists($status->id, $counts)) {
continue;
}
if ($counts[$status->id] < 1) {
continue;
}
示例5: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_catprods mod_fss_catprods_faqcat");
?>
<div class="faq_module_categories">
<?php
foreach ($rows as $cat) {
?>
<?php
$link = FSSRoute::_('index.php?option=com_fss&view=faq&catid=' . $cat['id']);
?>
<div style='cursor:pointer;clear:both;padding-bottom:6px;'>
<a href='<?php
echo $link;
?>
'>
<?php
if ($params->get('show_images') && $cat['image']) {
?>
<img src='<?php
echo JURI::root(true);
?>
/images/fss/faqcats/<?php
示例6: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_catprods mod_fss_catprods_kbprod");
?>
<div class="faq_mod_category_cont">
<?php
foreach ($rows as $cat) {
?>
<?php
$link = FSSRoute::_('index.php?option=com_fss&view=kb&prodid=' . $cat['id']);
?>
<div style='cursor:pointer;clear:both;padding-bottom:6px;'>
<a href='<?php
echo $link;
?>
'>
<?php
if ($params->get('show_images') && $cat['image']) {
?>
<img src='<?php
echo JURI::root(true);
?>
示例7: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_faqs");
?>
<?php
if ($maxheight > 0) {
?>
<script>
jQuery(document).ready(function () {
setTimeout("faqsmod_scrollDown()",3000);
});
function faqsmod_scrollDown()
{
var settings = {
direction: "down",
step: 40,
scroll: true,
onEdge: function (edge) {
if (edge.y == "bottom")
{
示例8: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_announce");
?>
<?php
if ($maxheight > 0) {
?>
<script>
jQuery(document).ready(function () {
setTimeout("announce_scrollDown()",3000);
});
function announce_scrollDown()
{
var settings = {
direction: "down",
step: 40,
scroll: true,
onEdge: function (edge) {
if (edge.y == "bottom")
{
setTimeout("announce_scrollUp()",3000);
示例9: defined
<?php
/**
* @package Freestyle Joomla
* @author Freestyle Joomla
* @copyright (C) 2013 Freestyle Joomla
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
FSS_Helper::ModuleStart("mod_fss_kbprodinfo");
echo $rows['extratext'];
FSS_Helper::ModuleEnd();