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


PHP smarty_function_loadJavascriptTranslations函数代码示例

本文整理汇总了PHP中smarty_function_loadJavascriptTranslations函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_loadJavascriptTranslations函数的具体用法?PHP smarty_function_loadJavascriptTranslations怎么用?PHP smarty_function_loadJavascriptTranslations使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2013-04-09 04:53:39
   compiled from SitesManager/templates/SitesManager.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'loadJavascriptTranslations', 'SitesManager/templates/SitesManager.tpl', 2, false), array('function', 'ajaxErrorDiv', 'SitesManager/templates/SitesManager.tpl', 137, false), array('function', 'ajaxLoadingDiv', 'SitesManager/templates/SitesManager.tpl', 138, false), array('function', 'url', 'SitesManager/templates/SitesManager.tpl', 190, false), array('modifier', 'translate', 'SitesManager/templates/SitesManager.tpl', 5, false), array('modifier', 'inlineHelp', 'SitesManager/templates/SitesManager.tpl', 6, false), array('modifier', 'escape', 'SitesManager/templates/SitesManager.tpl', 7, false), array('modifier', 'count', 'SitesManager/templates/SitesManager.tpl', 144, false), array('modifier', 'replace', 'SitesManager/templates/SitesManager.tpl', 164, false))), $this);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CoreAdminHome/templates/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
echo smarty_function_loadJavascriptTranslations(array('plugins' => 'SitesManager'), $this);
?>


<script type="text/javascript">
<?php 
ob_start();
echo is_array($_tmp = 'SitesManager_HelpExcludedIps') ? $this->_run_mod_handler('translate', true, $_tmp, "1.2.3.*", "1.2.*.*") : smarty_modifier_translate($_tmp, "1.2.3.*", "1.2.*.*");
?>
<br /><br /> <?php 
echo is_array($_tmp = 'SitesManager_YourCurrentIpAddressIs') ? $this->_run_mod_handler('translate', true, $_tmp, "<i>" . $this->_tpl_vars['currentIpAddress'] . "</i>") : smarty_modifier_translate($_tmp, "<i>" . $this->_tpl_vars['currentIpAddress'] . "</i>");
$this->_smarty_vars['capture']['default'] = ob_get_contents();
$this->assign('excludedIpHelpPlain', ob_get_contents());
ob_end_clean();
$this->assign('excludedIpHelp', is_array($_tmp = $this->_tpl_vars['excludedIpHelpPlain']) ? $this->_run_mod_handler('inlineHelp', true, $_tmp) : smarty_modifier_inlineHelp($_tmp));
?>
var excludedIpHelp = '<?php 
echo is_array($_tmp = $this->_tpl_vars['excludedIpHelp']) ? $this->_run_mod_handler('escape', true, $_tmp, 'javascript') : smarty_modifier_escape($_tmp, 'javascript');
?>
';
var aliasUrlsHelp = '<?php 
开发者ID:verbazend,项目名称:AWFA,代码行数:31,代码来源:%%A6^A6A^A6A3DC79%%SitesManager.tpl.php

示例2: smarty_function_loadJavascriptTranslations

        font-size:13px;
        line-height:1.33;
}

#donate-form-container {
	margin: 0 0 2em 2em;
}
</style>
';
?>


	<script type="text/javascript" src="libs/jquery/jquery.js"></script>
	<script type="text/javascript" src="libs/jquery/jquery-ui.js"></script>
	<script type="text/javascript" src="plugins/CoreHome/templates/donate.js"></script>
<?php 
if ((is_array($_tmp = 'General_LayoutDirection') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp)) == 'rtl') {
    ?>
<link rel="stylesheet" type="text/css" href="themes/default/rtl.css" />
<?php 
}
echo smarty_function_loadJavascriptTranslations(array('plugins' => 'CoreHome'), $this);
?>

</head>
<body id="simple">
<div id="contentsimple">
	<div id="title"><img title='Piwik' alt="Piwik" src='themes/default/images/logo-header.png' style='margin-left:10px' /><span id="subh1"> # <?php 
echo is_array($_tmp = 'General_OpenSourceWebAnalytics') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp);
?>
</span></div>
开发者ID:verbazend,项目名称:AWFA,代码行数:31,代码来源:%%56^564^564EE70A%%header.tpl.php

示例3: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2013-06-04 01:09:12
   compiled from UserCountry/templates/adminIndex.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'loadJavascriptTranslations', 'UserCountry/templates/adminIndex.tpl', 1, false), array('modifier', 'translate', 'UserCountry/templates/adminIndex.tpl', 4, false), array('modifier', 'inlineHelp', 'UserCountry/templates/adminIndex.tpl', 75, false))), $this);
echo smarty_function_loadJavascriptTranslations(array('plugins' => 'UserCountry'), $this);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CoreAdminHome/templates/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

<h2 id="location-providers"><?php 
echo is_array($_tmp = 'UserCountry_Geolocation') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp);
?>
</h2>

<div style="width:900px">

    <p><?php 
echo is_array($_tmp = 'UserCountry_GeolocationPageDesc') ? $this->_run_mod_handler('translate', true, $_tmp) : smarty_modifier_translate($_tmp);
?>
</p>

    <?php 
if (!$this->_tpl_vars['isThereWorkingProvider']) {
    ?>
开发者ID:verbazend,项目名称:AWFA,代码行数:31,代码来源:%%6F^6FE^6FE8361C%%adminIndex.tpl.php

示例4: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2012-04-23 01:49:55
   compiled from /var/www/piwik/plugins/Widgetize/templates/index.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'loadJavascriptTranslations', '/var/www/piwik/plugins/Widgetize/templates/index.tpl', 4, false), array('function', 'url', '/var/www/piwik/plugins/Widgetize/templates/index.tpl', 77, false))), $this);
$this->assign('showSitesSelection', true);
$this->assign('showPeriodSelection', true);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "CoreHome/templates/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
echo smarty_function_loadJavascriptTranslations(array('plugins' => 'Dashboard'), $this);
?>



<?php 
echo '
<style type="text/css">
.widgetize{ 
	width:100%; 
	padding:15px 15px 0 15px; 
	font-size:13px; 
}
.widgetize p{ 
	padding: 0 0 20px 0; 
}
.menu {
	display: inline;
}
开发者ID:neolf,项目名称:PIWIK4MOBILE,代码行数:31,代码来源:%%D4^D42^D42B3024%%index.tpl.php

示例5: smarty_core_load_plugins

<?php

/* Smarty version 2.6.26, created on 2013-04-09 04:55:13
   compiled from MobileMessaging/templates/Settings.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'loadJavascriptTranslations', 'MobileMessaging/templates/Settings.tpl', 2, false), array('function', 'ajaxErrorDiv', 'MobileMessaging/templates/Settings.tpl', 56, false), array('function', 'ajaxLoadingDiv', 'MobileMessaging/templates/Settings.tpl', 195, false), array('modifier', 'translate', 'MobileMessaging/templates/Settings.tpl', 21, false), array('modifier', 'truncate', 'MobileMessaging/templates/Settings.tpl', 101, false), array('modifier', 'inlineHelp', 'MobileMessaging/templates/Settings.tpl', 108, false), array('modifier', 'count', 'MobileMessaging/templates/Settings.tpl', 113, false))), $this);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'CoreAdminHome/templates/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
echo smarty_function_loadJavascriptTranslations(array('plugins' => 'MobileMessaging'), $this);
?>


<?php 
echo '
<style>#accountForm ul {
	list-style: circle;
	margin-left: 17px;
	line-height: 1.5em;
}
.providerDescription {
    border: 2px dashed #C5BDAD;
    border-radius: 16px 16px 16px 16px;
    margin-left: 24px;
    padding: 11px;
    width: 600px;
}
</style>
';
?>
开发者ID:verbazend,项目名称:AWFA,代码行数:31,代码来源:%%97^971^97172D69%%Settings.tpl.php


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