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


PHP erLhcoreClassDesign::designJS方法代码示例

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


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

示例1:

<script type="text/javascript">
var WWW_DIR_JAVASCRIPT = '<?php 
echo erLhcoreClassDesign::baseurl();
?>
';
var WWW_DIR_JAVASCRIPT_FILES = '<?php 
echo erLhcoreClassDesign::design('sound');
?>
';
var confLH = {};
confLH.back_office_sinterval = 11000;
confLH.chat_message_sinterval = 3600;
confLH.new_chat_sound_enabled = 1;
confLH.new_message_sound_admin_enabled =1;
confLH.new_message_sound_user_enabled = 1;
</script>
<script type="text/javascript" language="javascript" src="<?php 
echo erLhcoreClassDesign::designJS('js/jquery.js;js/modernizr.js;js/foundation.min.js;js/jquery.colorbox-min.js;js/lh.js;js/jquery.hotkeys-0.7.9.min.js');
?>
"></script>
开发者ID:sudogitguy,项目名称:livehelperchat,代码行数:20,代码来源:page_head_js_install.tpl.php

示例2: function

    ?>
)))
    	{
    		this.sharehash = chatHash || this.cookieData.hash || this.cookieData.shr;    		
    		this.addCookieAttribute('shr',this.sharehash);
    		
	    	if (typeof TreeMirror == "undefined") {    					   		
			   		var th = document.getElementsByTagName('head')[0];
			        var s = document.createElement('script');
			        s.setAttribute('type','text/javascript');
			        s.setAttribute('src','<?php 
    echo erLhcoreClassModelChatConfig::fetch('explicit_http_mode')->current_value;
    ?>
//<?php 
    echo $_SERVER['HTTP_HOST'];
    echo erLhcoreClassDesign::designJS('js/cobrowse/mutation-summary.js;js/cobrowse/tree-mirror.js;js/cobrowse/lhc.js');
    ?>
');
			        th.appendChild(s);
			        s.onreadystatechange = s.onload = function(){
			        	inst.startCoBrowse(inst.sharehash);
			        };		        
	    	} else {
		    	try {	 
		    		this.isSharing = true;
		    		this.addCookieAttribute('shr',this.sharehash);
		    		<?php 
    include erLhcoreClassDesign::designtpl('lhcobrowse/userinit.tpl.php');
    ?>
			   } catch(err) {
			  		console.log(err);
开发者ID:paisdelconocimiento,项目名称:glpi-smartcities,代码行数:31,代码来源:getstatus.tpl.php

示例3: json_encode

        $paramsOnline = erLhcoreClassExtensionXmppserviceHandler::getNickAndStatusByChat($Result['chat'], $pageUser);
        ?>
<script>var xmppservice = {debug:<?php 
        echo $xmppServiceExtension->settings['debug'] == true ? 'true' : 'false';
        ?>
,use_notification:<?php 
        echo $xmppServiceExtension->settings['use_notification'] == true ? 'true' : 'false';
        ?>
,nick:<?php 
        echo json_encode($paramsOnline['nick']);
        ?>
,status:<?php 
        echo json_encode($paramsOnline['status']);
        ?>
,BOSH_SERVICE : '<?php 
        echo $xmppServiceExtension->settings['bosh_service'];
        ?>
', USR : <?php 
        echo json_encode($xmppAccount->username);
        ?>
,PSW : <?php 
        echo json_encode($xmppAccount->password);
        ?>
}</script>
<script type="text/javascript" language="javascript" src="<?php 
        echo erLhcoreClassDesign::designJS('js/strope.xmppservice.js;js/xmppservice.js');
        ?>
"></script>
<?php 
    }
}
开发者ID:noikiy,项目名称:xmpp-chat,代码行数:31,代码来源:page_head_js_user_extension_multiinclude.tpl.php

示例4: isset

</head>
<body<?php 
isset($Result['pagelayout_css_append']) ? print ' class="' . $Result['pagelayout_css_append'] . '" ' : '';
?>
>

<div id="widget-layout" class="row">
	<div class="columns large-12">
       <?php 
echo $Result['content'];
?>
     </div>
</div>

<script type="text/javascript" language="javascript" src="<?php 
echo erLhcoreClassDesign::designJS('js/app.js');
?>
"></script>
<?php 
if (isset($Result['dynamic_height'])) {
    ?>
<script>
var wasFocused = false;
$('input[type="text"]').first().click(function(){if (wasFocused == false){wasFocused=true;$(this).select().focus();}});
$('textarea').first().click(function(){if (wasFocused == false){wasFocused=true;$(this).select();}});
if (!!window.postMessage) {
	var heightContent = 0;
	var heightElement = $('#widget-layout');
	setInterval(function(){
		var currentHeight = heightElement.height();
		if (heightContent != currentHeight){
开发者ID:sudogitguy,项目名称:livehelperchat,代码行数:31,代码来源:widget.php

示例5: isset

"></script>

</head>
<body<?php 
isset($Result['pagelayout_css_append']) ? print ' class="' . $Result['pagelayout_css_append'] . '" ' : '';
?>
>

<div id="widget-layout">
<?php 
echo $Result['content'];
?>
</div>

<script type="text/javascript" language="javascript" src="<?php 
echo erLhcoreClassDesign::designJS('js/BookReader/BookReaderJSSimple.js');
?>
"></script>

<?php 
if (isset($Result['dynamic_height'])) {
    ?>
<script>
var wasFocused = false;
$('input[type="text"]').first().click(function(){if (wasFocused == false){wasFocused=true;$(this).select().focus();}});
$('textarea').first().click(function(){if (wasFocused == false){wasFocused=true;$(this).select();}});
if (!!window.postMessage) {
	var heightContent = 0;
	var heightElement = $('#widget-layout');
	setInterval(function(){
		var currentHeight = heightElement.height();
开发者ID:Topspot,项目名称:livehelperchat,代码行数:31,代码来源:docsharewidget.php

示例6: isset

<script type="text/javascript" language="javascript" src="<?php 
echo erLhcoreClassDesign::designJS('js/angular.min.js;js/checklist-model.min.js;js/angular.lhc.min.js;vendor/metisMenu/metisMenu.min.js;js/sidebar.js');
?>
"></script>
<?php 
echo isset($Result['additional_footer_js']) ? $Result['additional_footer_js'] : '';
开发者ID:sirromas,项目名称:medical,代码行数:6,代码来源:page_footer_js.tpl.php

示例7: fetch

 /**
  * Open, parse, and return the template file.
  *
  * @param $file string the template file name
  */
 function fetch($fileTemplate = null)
 {
     $instance = erLhcoreClassSystem::instance();
     $port = isset($_SERVER['SERVER_PORT']) ? $_SERVER['SERVER_PORT'] : 80;
     if (!$fileTemplate) {
         $fileTemplate = $this->file;
     }
     if ($this->cacheEnabled == true && key_exists(md5($fileTemplate . $instance->WWWDirLang . $instance->Language . $port), $this->cacheTemplates)) {
         try {
             return $this->fetchExecute($this->cacheTemplates[md5($fileTemplate . $instance->WWWDirLang . $instance->Language . $port)]);
         } catch (Exception $e) {
         }
     }
     $cfg = erConfigClassLhConfig::getInstance();
     $file = erLhcoreClassDesign::designtpl($fileTemplate);
     if ($this->templatecompile == true) {
         $contentFile = php_strip_whitespace($file);
         // Compile templates - 3 level of inclusions
         for ($i = 0; $i < 9; $i++) {
             $Matches = array();
             preg_match_all('/<\\?php(\\s*)include_once\\(erLhcoreClassDesign::designtpl\\(\'([a-zA-Z0-9-\\.-\\/\\_]+)\'\\)\\)(.*?)\\?\\>/i', $contentFile, $Matches);
             foreach ($Matches[2] as $key => $Match) {
                 $contentFile = str_replace($Matches[0][$key], php_strip_whitespace(erLhcoreClassDesign::designtpl($Match)), $contentFile);
             }
             //Compile templates inclusions first level.
             $Matches = array();
             preg_match_all('/<\\?php(\\s*)include\\(erLhcoreClassDesign::designtpl\\(\'([a-zA-Z0-9-\\.-\\/\\_]+)\'\\)\\)(.*?)\\?\\>/i', $contentFile, $Matches);
             foreach ($Matches[2] as $key => $Match) {
                 $contentFile = str_replace($Matches[0][$key], php_strip_whitespace(erLhcoreClassDesign::designtpl($Match)), $contentFile);
             }
         }
         //Compile image css paths. Etc..
         $Matches = array();
         preg_match_all('/<\\?php echo erLhcoreClassDesign::design\\(\'([a-zA-Z0-9-\\.-\\/\\_]+)\'\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $Match) {
             $contentFile = str_replace($Matches[0][$key], erLhcoreClassDesign::design($Match), $contentFile);
         }
         //Compile translations, pure translations
         $Matches = array();
         preg_match_all('/<\\?php echo erTranslationClassLhTranslation::getInstance\\(\\)->getTranslation\\(\'(.*?)\',\'(.*?)\'\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $TranslateContent) {
             $contentFile = str_replace($Matches[0][$key], erTranslationClassLhTranslation::getInstance()->getTranslation($TranslateContent, $Matches[2][$key]), $contentFile);
         }
         //Translations used in logical conditions
         $Matches = array();
         preg_match_all('/erTranslationClassLhTranslation::getInstance\\(\\)->getTranslation\\(\'(.*?)\',\'(.*?)\'\\)/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $TranslateContent) {
             $contentFile = str_replace($Matches[0][$key], '\'' . erTranslationClassLhTranslation::getInstance()->getTranslation($TranslateContent, $Matches[2][$key]) . '\'', $contentFile);
         }
         // Compile url addresses
         $Matches = array();
         preg_match_all('/<\\?php echo erLhcoreClassDesign::baseurl\\((.*?)\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
             $contentFile = str_replace($Matches[0][$key], erLhcoreClassDesign::baseurl(trim($UrlAddress, '\'')), $contentFile);
         }
         // Compile url direct addresses
         $Matches = array();
         preg_match_all('/<\\?php echo erLhcoreClassDesign::baseurldirect\\((.*?)\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
             $contentFile = str_replace($Matches[0][$key], erLhcoreClassDesign::baseurldirect(trim($UrlAddress, '\'')), $contentFile);
         }
         // Compile url direct addresses
         $Matches = array();
         preg_match_all('/<\\?php echo erLhcoreClassDesign::baseurlsite\\(\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
             $contentFile = str_replace($Matches[0][$key], erLhcoreClassDesign::baseurlsite(), $contentFile);
         }
         // Compile css url addresses
         $Matches = array();
         preg_match_all('/<\\?php echo erLhcoreClassDesign::designCSS\\((.*?)\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
             $contentFile = str_replace($Matches[0][$key], erLhcoreClassDesign::designCSS(trim($UrlAddress, '\'')), $contentFile);
         }
         // Compile css url addresses
         $Matches = array();
         preg_match_all('/<\\?php echo erLhcoreClassDesign::designJS\\((.*?)\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
             $contentFile = str_replace($Matches[0][$key], erLhcoreClassDesign::designJS(trim($UrlAddress, '\'')), $contentFile);
         }
         // Compile url addresses in logical operations
         $Matches = array();
         preg_match_all('/erLhcoreClassDesign::baseurl\\((.*?)\\)/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
             $contentFile = str_replace($Matches[0][$key], '\'' . erLhcoreClassDesign::baseurl(trim($UrlAddress, '\'')) . '\'', $contentFile);
         }
         // Compile url addresses in logical operations
         $Matches = array();
         preg_match_all('/erLhcoreClassDesign::baseurldirect\\((.*?)\\)/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
             $contentFile = str_replace($Matches[0][$key], '\'' . erLhcoreClassDesign::baseurldirect(trim($UrlAddress, '\'')) . '\'', $contentFile);
         }
         // Compile config settings, direct output
         $Matches = array();
         preg_match_all('/<\\?php echo erConfigClassLhConfig::getInstance\\(\\)->getSetting\\((\\s?)\'([a-zA-Z0-9-\\.-\\/\\_]+)\'(\\s?),(\\s?)\'([a-zA-Z0-9-\\.-\\/\\_]+)\'(\\s?)\\)(.*?)\\?\\>/i', $contentFile, $Matches);
         foreach ($Matches[1] as $key => $UrlAddress) {
//.........这里部分代码省略.........
开发者ID:mdb-webdev,项目名称:livehelperchat,代码行数:101,代码来源:tpl.php

示例8:

<script type="text/javascript" language="javascript" src="<?php 
echo erLhcoreClassDesign::designJS('js/osticket.js');
?>
"></script>
开发者ID:SetRandom,项目名称:osTicket,代码行数:4,代码来源:page_head_js_extension_multiinclude.tpl.php

示例9: elseif

<?php 
    }
    ?>
</script>
<?php 
    if ($nodeJsHelperSettings['use_cdn'] == true) {
        ?>
<script src="https://cdn.socket.io/socket.io-1.1.0.js"></script>
<?php 
    } elseif (isset($nodeJsHelperSettings['use_local_socket_io_js']) && $nodeJsHelperSettings['use_local_socket_io_js'] == true) {
        ?>
<script type="text/javascript" language="javascript" src="<?php 
        echo erLhcoreClassDesign::designJS('js/socket.io-1.1.0.js');
        ?>
"></script>
<?php 
    } else {
        ?>
<script src="<?php 
        echo $nodeJsHelperSettings['prefix'], $nodeJsHelperSettings['host'], $nodeJsHelperSettings['port'], $nodeJsHelperSettings['path'];
        ?>
/socket.io/socket.io.js"></script>
<?php 
    }
    ?>
<script type="text/javascript" language="javascript" src="<?php 
    echo erLhcoreClassDesign::designJS('js/customjs.js');
    ?>
"></script>
<?php 
}
开发者ID:creativeprogramming,项目名称:NodeJS-Helper,代码行数:31,代码来源:page_head_js_extension_multiinclude.tpl.php

示例10: isset

confLH.new_message_browser_notification = <?php 
echo isset($soundData['browser_notification_message']) ? (int) $soundData['browser_notification_message'] : 0;
?>
;
confLH.transLation = {'new_chat':'<?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('pagelayout/pagelayout', 'New chat request');
?>
'};
confLH.csrf_token = '<?php 
echo erLhcoreClassUser::instance()->getCSFRToken();
?>
';
confLH.repeat_sound = <?php 
echo (int) $soundData['repeat_sound'];
?>
;
confLH.repeat_sound_delay = <?php 
echo (int) $soundData['repeat_sound_delay'];
?>
;
confLH.show_alert = <?php 
echo (int) $soundData['show_alert'];
?>
;
</script>
<script type="text/javascript" src="<?php 
echo erLhcoreClassDesign::designJS('vendor/jquery/jquery.min.js;vendor/bootstrap/js/bootstrap.min.js;js/modernizr.js;js/lh.min.js;js/jquery.hotkeys-0.7.9.min.js;js/fileupload/jquery.fileupload.min.js;js/jquery.zoom.min.js;js/datepicker.min.js;js/lh/dist/common.js;js/lh/dist/bundle.js;js/EventEmitter.min.js;js/events.js');
?>
"></script>
<?php 
echo isset($Result['additional_header_js']) ? $Result['additional_header_js'] : '';
开发者ID:keenick,项目名称:livehelperchat,代码行数:31,代码来源:page_head_js.tpl.php

示例11: serialize

$data = (array) $startData->data;
if (isset($_POST['CancelConfig'])) {
    erLhcoreClassModule::redirect('system/configuration');
    exit;
}
if (isset($_POST['UpdateConfig']) || isset($_POST['SaveConfig'])) {
    if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) {
        erLhcoreClassModule::redirect('chat/startchatformsettings');
        exit;
    }
    $Errors = erLhcoreClassAdminChatValidatorHelper::validateStartChatForm($data);
    if (count($Errors) == 0) {
        $startData->value = serialize($data);
        $startData->saveThis();
        $tpl->set('updated', true);
        // Cleanup cache to recompile templates etc.
        $CacheManager = erConfigClassLhCacheConfig::getInstance();
        $CacheManager->expireCache();
        if (isset($_POST['SaveConfig'])) {
            erLhcoreClassModule::redirect('system/configuration');
            exit;
        }
    } else {
        $tpl->set('errors', $Errors);
    }
}
$tpl->set('start_chat_data', $data);
$Result['content'] = $tpl->fetch();
$Result['additional_footer_js'] = '<script src="' . erLhcoreClassDesign::designJS('js/angular.lhc.startchatformgenerator.js') . '"></script>';
$Result['path'] = array(array('url' => erLhcoreClassDesign::baseurl('system/configuration'), 'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/departments', 'System configuration')), array('title' => erTranslationClassLhTranslation::getInstance()->getTranslation('chat/startchatformsettings', 'Start chat form settings')));
erLhcoreClassChatEventDispatcher::getInstance()->dispatch('chat.startchatformsettings_path', array('result' => &$Result));
开发者ID:Adeelgill,项目名称:livehelperchat,代码行数:31,代码来源:startchatformsettings.php

示例12: array

<?php

$tpl = erLhcoreClassTemplate::getInstance('lhfront/default.tpl.php');
$tpl->set('geo_location_data', erLhcoreClassModelChatConfig::fetch('geo_location_data')->data);
$tpl->set('tracking_enabled', erLhcoreClassModelChatConfig::fetch('track_online_visitors')->current_value == 1);
/**
 * Append user departments filter
 * */
$departmentParams = array();
$userDepartments = erLhcoreClassUserDep::parseUserDepartmetnsForFilter($currentUser->getUserID());
if ($userDepartments !== true) {
    $departmentParams['filterin']['id'] = $userDepartments;
    if (!$currentUser->hasAccessTo('lhchat', 'sees_all_online_visitors')) {
        $filter['filterin']['dep_id'] = $userDepartments;
    }
}
$tpl->set('departmentParams', $departmentParams);
$Result['content'] = $tpl->fetch();
$Result['additional_footer_js'] = '<script src="' . erLhcoreClassDesign::designJS('js/angular.lhc.online.min.js;vendor/jqueryui/core.min.js;vendor/jqueryui/mouse.min.js;vendor/jqueryui/widget.min.js;vendor/jqueryui/sortable.min.js;js/lhc.dashboard.min.js') . '"></script>';
$Result['hide_right_column'] = erLhcoreClassModelChatConfig::fetch('hide_right_column_frontpage')->current_value == 1;
开发者ID:Adeelgill,项目名称:livehelperchat,代码行数:20,代码来源:default.php

示例13: array

<?php

$tpl = erLhcoreClassTemplate::getInstance('lhform/viewcollected.tpl.php');
$collected = erLhAbstractModelFormCollected::fetch((int) $Params['user_parameters']['collected_id']);
$object_trans = $collected->form->getModuleTranslations();
erLhcoreClassFormRenderer::setCollectedInformation($collected->content_array);
erLhcoreClassFormRenderer::setCollectedObject($collected);
$tpl->set('collected', $collected);
$tpl->set('form', $collected->form);
$tpl->set('content', $collected->form->content_rendered);
$Result['content'] = $tpl->fetch();
$Result['path'] = array();
$Result['path'][] = $object_trans['path'];
$Result['path'][] = array('url' => erLhcoreClassDesign::baseurl('abstract/list') . '/Form', 'title' => $object_trans['name']);
$Result['path'][] = array('url' => erLhcoreClassDesign::baseurl('form/collected') . '/' . $collected->form->id, 'title' => $collected->form);
$Result['path'][] = array('title' => erTranslationClassLhTranslation::getInstance()->getTranslation('form/viewcollected', 'Collected information'));
$Result['additional_header_css'] = '<link rel="stylesheet" type="text/css" href="' . erLhcoreClassDesign::designCSS('css/jquery-ui-1.10.4.custom.css') . '" />';
$Result['additional_header_js'] = '<script type="text/javascript" language="javascript" src="' . erLhcoreClassDesign::designJS('js/jquery-ui-1.10.4.custom.min.js') . '"></script>';
开发者ID:Adeelgill,项目名称:livehelperchat,代码行数:18,代码来源:viewcollected.php

示例14: array

    }
    $Departament->removeThis();
    erLhcoreClassModule::redirect('department/departments');
    exit;
}
if (isset($_POST['Update_departament']) || isset($_POST['Save_departament'])) {
    if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) {
        erLhcoreClassModule::redirect('department/departments');
        exit;
    }
    $Errors = erLhcoreClassDepartament::validateDepartment($Departament);
    if (count($Errors) == 0) {
        erLhcoreClassDepartament::getSession()->update($Departament);
        $DepartamentCustomWorkHours = erLhcoreClassDepartament::validateDepartmentCustomWorkHours($Departament, $DepartamentCustomWorkHours);
        if (isset($_POST['Save_departament'])) {
            erLhcoreClassModule::redirect('department/departments');
            exit;
        } else {
            $tpl->set('updated', true);
        }
    } else {
        $tpl->set('errors', $Errors);
    }
}
$tpl->set('departament', $Departament);
$tpl->set('currentUser', $currentUser);
$tpl->set('limitDepartments', $userDepartments !== true ? array('filterin' => array('id' => $userDepartments)) : array());
$tpl->set('departamentCustomWorkHours', json_encode(erLhcoreClassDepartament::getDepartamentCustomWorkHoursData($DepartamentCustomWorkHours), JSON_HEX_APOS));
$Result['content'] = $tpl->fetch();
$Result['additional_footer_js'] = '<script src="' . erLhcoreClassDesign::designJS('js/angular.lhc.customdepartmentperiodgenerator.js') . '"></script>';
$Result['path'] = array(array('url' => erLhcoreClassDesign::baseurl('system/configuration'), 'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit', 'System configuration')), array('url' => erLhcoreClassDesign::baseurl('department/departments'), 'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit', 'Departments')), array('title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit', 'Edit a department') . ' - ' . $Departament->name));
开发者ID:remdex,项目名称:livehelperchat,代码行数:31,代码来源:edit.php

示例15: function

    	{
    		this.sharehash = chatHash || this.cookieData.hash || this.cookieData.shr;    		
    		this.sharemode = sharemode || this.cookieData.shrm || 'chat';
    		this.addCookieAttribute('shr',this.sharehash);
    		this.addCookieAttribute('shrm',this.sharemode);
    		
	    	if (typeof TreeMirror == "undefined") {    					   		
			   		var th = document.getElementsByTagName('head')[0];
			        var s = document.createElement('script');
			        s.setAttribute('type','text/javascript');
			        s.setAttribute('src','<?php 
    echo erLhcoreClassModelChatConfig::fetch('explicit_http_mode')->current_value;
    ?>
//<?php 
    echo $_SERVER['HTTP_HOST'];
    echo erLhcoreClassDesign::designJS('js/cobrowse/compiled/cobrowse.visitor.min.js');
    ?>
');
			        th.appendChild(s);
			        s.onreadystatechange = s.onload = function(){
			        	inst.startCoBrowse(inst.sharehash,this.sharemode);
			        };		        
	    	} else {
		    	try {	 
		    		this.isSharing = true;
		    		this.addCookieAttribute('shr',this.sharehash);
		    		this.addCookieAttribute('shrm',this.sharemode);
		    		<?php 
    include erLhcoreClassDesign::designtpl('lhcobrowse/userinit.tpl.php');
    ?>
			   } catch(err) {
开发者ID:mdb-webdev,项目名称:livehelperchat,代码行数:31,代码来源:getstatus.tpl.php


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