当前位置: 首页>>代码示例>>PHP>>正文


PHP FSS_Helper::HelpText方法代码示例

本文整理汇总了PHP中FSS_Helper::HelpText方法的典型用法代码示例。如果您正苦于以下问题:PHP FSS_Helper::HelpText方法的具体用法?PHP FSS_Helper::HelpText怎么用?PHP FSS_Helper::HelpText使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FSS_Helper的用法示例。


在下文中一共展示了FSS_Helper::HelpText方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: doPrint

        ?>
">
						<?php 
        echo $attach['name'];
        ?>
					</span>
			
				</div>
			</div>

		<?php 
    }
    ?>

	<?php 
    FSS_Helper::HelpText("support_user_view_attach_footer");
    ?>

<?php 
}
?>
</div>
<script>

function doPrint(link)
{
	printWindow = window.open(jQuery(link).attr('href')); 
	return false;
}

var procform = false;
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:view.php

示例2:

<div id="messagereply" style="display: none;">
	<?php 
include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_reply.php');
?>
</div>

<div id="messagepleasewait" style="display: none;clear: both" class="alert alert-info">
	<?php 
echo JText::_('PLEASE_WAIT');
?>
</div>

<?php 
FSS_Helper::HelpText("support_user_view_mes_buttons");
?>

<div id="ticket_messages">
	<?php 
include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_messages.php');
?>
</div>

<?php 
FSS_Helper::HelpText("support_user_view_mes_footer");
?>

<?php 
if (FSS_Settings::get('glossary_support')) {
    echo FSS_Glossary::Footer();
}
开发者ID:vstorm83,项目名称:propertease,代码行数:30,代码来源:_messages_cont.php

示例3:

</a>
		<?php 
        }
        ?>
	<?php 
    }
}
?>

<input class='btn btn-primary' type='submit' value='<?php 
echo JText::_("CREATE_NEW_TICKET");
?>
' id='addcomment'>
</p>
<?php 
FSS_Helper::HelpText("support_open_main_buttons_after");
?>

</form>

<script>
jQuery(document).ready(function(){
<?php 
if ($this->prodid > 0 || $this->deptid > 0) {
    ?>
	jQuery('#backprod').click(function(ev){
	
		ev.preventDefault();
		
		if (jQuery('#deptid').val() == '' || jQuery('#deptid').val() == 0)
			jQuery('#prodid').val('');		
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:open.php

示例4: doOpenTicket


//.........这里部分代码省略.........
             return;
         } else {
             if (count($this->products) == 1) {
                 $prodid = $this->products[0]['id'];
                 JRequest::setVar('prodid', $prodid);
                 //echo "Setting prodid to $prodid<br>";
             }
         }
     }
     $this->assign('prodid', $prodid);
     $deptid = FSS_Input::getInt('deptid');
     // dept id not set, should we display department list?
     if ($deptid < 1) {
         $this->search = "";
         $this->depts = $this->get('Departments');
         $this->limit = $this->get("ProdLimit");
         if (count($this->depts) > 1) {
             $this->pagination = $this->get('DeptPagination');
             $this->product = $this->get('Product');
             parent::display("department");
             return;
         } else {
             if (count($this->depts) == 1) {
                 $deptid = $this->depts[0]['id'];
                 JRequest::setVar('deptid', $deptid);
                 //echo "Setting deptid to $deptid<br>";
             }
         }
     }
     $what = FSS_Input::getCmd('what');
     // done with ticket, try and save, if not, display any errors
     if ($what == "add") {
         if ($this->saveTicket()) {
             $message = FSS_Helper::HelpText("support_open_thanks", true);
             if ($message != "") {
                 FSS_Helper::enqueueMessage($message, "success");
             }
             //exit;
             if ($this->admin_create > 0) {
                 $link = 'index.php?option=com_fss&view=admin_support&Itemid=' . FSS_Input::getInt('Itemid', '') . '&ticketid=' . $this->ticketid;
                 $mainframe->redirect(FSSRoute::_($link, false));
             } else {
                 // need to set the session info that will display the ticket to the user here!
                 $link = 'index.php?option=com_fss&view=ticket&layout=view&Itemid=' . FSS_Input::getInt('Itemid', '') . '&ticketid=' . $this->ticketid;
                 $mainframe->redirect(FSSRoute::_($link, false));
             }
             return;
         } else {
             //echo "Error saving ticket<br>";
         }
     }
     // load handlers if required. This depends on what product and department have been selected
     if (FSS_Settings::get('support_choose_handler') != "none") {
         $allow_no_auto = 0;
         if ($this->admin_create > 0) {
             $allow_no_auto = 1;
             $this->autohandlers = SupportUsers::getHandlersTicket($prodid, $deptid, 0);
         }
         $handlers = SupportUsers::getHandlersTicket($prodid, $deptid, 0, $allow_no_auto);
         /**
          * I DONT KNOW IF THIS IS A GOOD CHANGE OR NOT, BUT IT MAKES IT CONSISTANT EVERYWHERE I THINK 
          **/
         // if the hide super users checkbox is tickets, hide them all from the dropdown
         if (FSS_Settings::get('support_hide_super_users')) {
             foreach ($handlers as $offset => $handler) {
                 $fssuser = SupportUsers::getUser($handler);
开发者ID:vstorm83,项目名称:propertease,代码行数:67,代码来源:view.html.php

示例5: elseif

    echo JText::_("YOU_MUST_BE_LOGGED_IN_TO_VIEW_A_SUPPORT_TICKET");
    ?>
</div>
<?php 
} elseif ($this->type == 2) {
    ?>
	<div class="alert alert-error"><?php 
    echo JText::_("UNABLE_TO_FIND_A_SUPPORT_TICKET_WITH_THE_PROVIDED_EMAIL_AND_PASSWORD");
    ?>
</div>
<?php 
}
?>

<?php 
FSS_Helper::HelpText("support_view_login_header");
?>

<?php 
if (FSS_Settings::get('support_no_logon') == 0) {
    ?>
	<?php 
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_login_form.php');
}
?>

<?php 
if (FSS_Settings::get('support_no_register') == 2) {
    ?>
	<?php 
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_register_form.php');
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:view_login.php

示例6: setCheckedValue

	
	<?php 
if (!FSS_Settings::get('support_next_prod_click')) {
    ?>
		<div><input class='btn btn-primary pickproduct' type='submit' value='<?php 
    echo JText::_("NEXT");
    ?>
' /></div>
	<?php 
}
?>

</form>

<?php 
FSS_Helper::HelpText("support_open_prod_footer");
?>

<script>

var productpicked = false;

function setCheckedValue(radioObj, newValue) {
	
	if(!radioObj)
		return;
	
	var radioLength = radioObj.length;
	if(radioLength == undefined) {
		radioObj.checked = (radioObj.value == newValue.toString());
		productpicked = true;
开发者ID:vstorm83,项目名称:propertease,代码行数:30,代码来源:open_product.php

示例7: echo

    echo JText::_("NEXT");
    ?>
'>
		<?php 
}
?>
	</p>

	<input type=hidden name='prodid' id='prodid' value='<?php 
echo (int) $this->prodid;
?>
'>
</form>

<?php 
FSS_Helper::HelpText("support_open_dept_footer");
?>

<script>

var productpicked = false;

function setCheckedValue(radioObj, newValue) {
	if(!radioObj)
		return;
	var radioLength = radioObj.length;
	if(radioLength == undefined) {
		radioObj.checked = (radioObj.value == newValue.toString());
		//alert(radioObj.checked);
		productpicked = true;
		return;
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:open_department.php

示例8: array

$border_class = "table-bordered";
if ($this->border > 0) {
    $border_class = "table-borderless";
}
$style = "";
if ($this->template == "grid") {
    $style = 'text-align:center';
}
$this->centerTable($this->menus, array('cols' => $this->maincolums, 'table-class' => 'table ' . $border_class . ' table-condensed fss_mainmenu', 'table-width' => $this->mainwidth, 'td-attrs' => 'valign="top"', 'td-style' => $style, 'td-class' => '', 'tmpl' => JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'main' . DS . 'snippet' . DS . '_' . $this->template . '.php'));
?>

<?php 
// phone version
$this->centerTable($this->menus, array('cols' => 1, 'table-class' => 'table ' . $border_class . ' table-condensed fss_mainmenu_phone', 'table-width' => $this->mainwidth, 'td-attrs' => 'valign="top"', 'td-style' => '', 'td-class' => '', 'tmpl' => JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'main' . DS . 'snippet' . DS . '_phone.php'));
?>

<?php 
if ($this->showadmin && !$this->info_top) {
    ?>
	<?php 
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'main' . DS . 'snippet' . DS . 'supportinfo.php');
}
?>

<?php 
FSS_Helper::HelpText("menu_footer");
?>

<?php 
include JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . '_powered.php';
echo FSS_Helper::PageStyleEnd();
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:default.php

示例9:

    }
    ?>

			</td>
		</tr>

		<?php 
    $first = false;
    ?>
	<?php 
}
?>
</table>

<?php 
FSS_Helper::HelpText("support_user_view_mes_key");
?>

<?php 
if (!FSS_Settings::get('user_hide_key')) {
    ?>
	<p>
		<?php 
    echo JText::_('MESSAGE_KEY');
    ?>
		<span class="label label-warning"><?php 
    echo JText::_('MESSAGE_KEY_USER');
    ?>
</span>
		<span class="label label-success"><?php 
    echo JText::_('MESSAGE_KEY_HANDLER');
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:_messages.php

示例10: echo

    ?>
			<textarea name='body' id='body' class='sceditor' rows='<?php 
    echo (int) FSS_Settings::get('support_user_reply_height');
    ?>
' cols='<?php 
    echo (int) FSS_Settings::get('support_user_reply_width');
    ?>
' style='width:95%;height:<?php 
    echo (int) (FSS_Settings::get('support_user_reply_height') * 15 + 80);
    ?>
px'><?php 
    echo FSS_Helper::escape($this->ticket->body);
    ?>
</textarea>
			<?php 
    FSS_Helper::HelpText("support_open_main_message_after");
    ?>
		<?php 
}
?>
	</div>

	<?php 
if ($this->support_user_attach) {
    ?>
		<?php 
    echo FSS_Helper::PageSubTitle(JText::sprintf("UPLOAD_FILE", FSS_Helper::display_filesize(FSS_Helper::getMaximumFileUploadSize())), false);
    ?>
		<?php 
    include JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'tmpl' . DS . 'attach.php';
    ?>
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:default.php

示例11: elseif

    echo JText::_("THIS_EMAIL_ADDRESS_IS_ALREADY_IN_USE_PLEASE_LOG_INTO_YOUR_ACCOUNT_BELOW");
    ?>
</div>
<?php 
} elseif ($this->type == 3) {
    ?>
	<div class="alert alert-error"><?php 
    echo JText::_("YOU_HAVE_ENTERED_AN_INVALID_EMAIL_ADDRESS_PLEASE_ENTER_A_VAILD_ONE");
    ?>
</div>
<?php 
}
?>

<?php 
FSS_Helper::HelpText("support_open_login_header");
?>

<?php 
if (FSS_Settings::get('support_no_logon') == 0) {
    ?>
	<?php 
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_login_form.php');
}
?>

<?php 
if (FSS_Settings::get('support_no_register') != 1) {
    ?>
	<?php 
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_register_form.php');
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:open_login.php

示例12:

        ?>
	
<?php 
    }
    ?>

</table>

	<?php 
    echo $this->pagination->getListFooter();
}
?>
</form>

<?php 
FSS_Helper::HelpText("support_user_list_after_footer");
?>

<?php 
include JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . '_powered.php';
echo FSS_Helper::PageStyleEnd();
?>
</div>
<script>

/*function highlightticket(ticketid)
{
	jQuery('.ticket_' + ticketid).each(function(){
		jQuery(this).attr('data-old_back',jQuery(this).css('background-color'));
		jQuery(this).css('background-color','<?php 
echo FSS_Settings::get('css_hl');
开发者ID:vstorm83,项目名称:propertease,代码行数:31,代码来源:view_list.php


注:本文中的FSS_Helper::HelpText方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。