本文整理汇总了PHP中smarty_function_t函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_t函数的具体用法?PHP smarty_function_t怎么用?PHP smarty_function_t使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_t函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: content_56716dc8667347_36367364
function content_56716dc8667347_36367364($_smarty_tpl)
{
if (!is_callable('smarty_function_t')) {
include '../functions/function.t.php';
}
ob_start();
echo smarty_function_t(array('t' => 'Lost Password'), $_smarty_tpl);
$_tmp1 = ob_get_clean();
echo $_smarty_tpl->getSubTemplate('design/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => $_tmp1), 0);
?>
<?php
ob_start();
echo smarty_function_t(array('t' => 'Lost Password'), $_smarty_tpl);
$_tmp2 = ob_get_clean();
echo $_smarty_tpl->getSubTemplate("parts/panel_start.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => $_tmp2, 'hidden' => false, 'id' => 'lostpw'), 0);
?>
<form role="form" action="login.php" method="post" accept-charset="utf-8" class="form-horizontal">
<?php
ob_start();
echo smarty_function_t(array('t' => 'Email adress'), $_smarty_tpl);
$_tmp3 = ob_get_clean();
ob_start();
echo smarty_function_t(array('t' => 'Enter email adress'), $_smarty_tpl);
$_tmp4 = ob_get_clean();
echo $_smarty_tpl->getSubTemplate('parts/input.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('name' => "lost_email", 'description' => $_tmp3, 'placeholder' => $_tmp4), 0);
?>
<?php
ob_start();
echo smarty_function_t(array('t' => 'continue'), $_smarty_tpl);
$_tmp5 = ob_get_clean();
echo $_smarty_tpl->getSubTemplate('parts/panel_submit.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('text' => $_tmp5, 'symbol' => 'ok'), 0);
?>
</form>
<?php
echo $_smarty_tpl->getSubTemplate("parts/panel_end.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
?>
<?php
echo $_smarty_tpl->getSubTemplate('design/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
}
开发者ID:Dawzz,项目名称:carpool-1,代码行数:49,代码来源:017941284b696017808795ee35843b8488422e50.file.lostpassword.tpl.php
示例2: content_56716dca956d76_01908954
function content_56716dca956d76_01908954($_smarty_tpl)
{
if (!is_callable('smarty_function_t')) {
include '../functions/function.t.php';
}
ob_start();
echo smarty_function_t(array('t' => 'Contact'), $_smarty_tpl);
$_tmp1 = ob_get_clean();
echo $_smarty_tpl->getSubTemplate('design/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('title' => $_tmp1), 0);
?>
<p><?php
echo smarty_function_t(array('t' => 'We recommend to contact us via email to <a href="mailto:support@opencarpool.org">support@opencarpool.org</a>.'), $_smarty_tpl);
?>
</p>
<?php
if ($_smarty_tpl->tpl_vars['user']->value) {
?>
<div class="row">
<div class="col-lg-12">
<p>
<?php
echo smarty_function_t(array('t' => 'Supporters wanted! Developers, marketing pros, legals, Google Transit or Maps freaks, Open Source geeks,
translation/localization specialists, Open Street Map gurus, project managers, evangelists and multipliers ...
WE NEED YOU! <b><a href="support:mail@opencarpool.org">Join the team!</a></b>'), $_smarty_tpl);
?>
</p>
</div>
</div>
<?php
}
?>
<?php
echo $_smarty_tpl->getSubTemplate('design/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
?>
<?php
}
开发者ID:Dawzz,项目名称:carpool-1,代码行数:41,代码来源:3d959b54fce25dcd6e7bf03d39f59fbdea7565ab.file.feedback.tpl.php
示例3: smarty_function_t
<a href="#maparea" id="mapAddress"><?php
echo smarty_function_t(array('string' => 'tpl_Set using map_01'), $this);
?>
</a>
</td>
</tr>
</table>
<div class="btn-area">
<ul>
<li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', '<?php
echo is_array($_tmp = $this->_tpl_vars['tpl_mode']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
', '', ''); return false;"><span class="btn-next"><?php
echo smarty_function_t(array('string' => 'tpl_Save and continue_01'), $this);
?>
</span></a></li>
</ul>
</div>
</div>
<div style="display: none">
<div id="maparea">
<div id="maps" style="width: 300px; height: 300px"></div>
<a class="btn-normal" href="javascript:;" id="inputPoint"><?php
echo smarty_function_t(array('string' => "tpl_Enter this position._01"), $this);
?>
</a>
</div>
</div>
</form>
示例4: smarty_function_t
</tr>
<tr>
<th><?php
echo smarty_function_t(array('string' => 'tpl_Category_01'), $this);
?>
</th>
<td colspan="3">
<?php
$this->assign('key', 'search_category_id');
?>
<select name="<?php
echo is_array($_tmp = $this->_tpl_vars['key']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
" <?php
if (is_array($_tmp = $this->_tpl_vars['arrErr'][$this->_tpl_vars['errkey']]) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) {
echo SC_Utils_Ex::sfSetErrorStyle(array(), $this);
}
?>
>
<option value=""><?php
echo smarty_function_t(array('string' => 'tpl_Please make a selection_01'), $this);
?>
</option>
<?php
echo smarty_function_html_options(array('options' => is_array($_tmp = $this->_tpl_vars['arrCatList']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp), 'selected' => is_array($_tmp = $this->_tpl_vars['arrForm'][$this->_tpl_vars['key']]['value']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)), $this);
?>
</select>
</td>
</tr>
示例5: array
<?php
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'css/contents.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<title><?php
echo is_array($_tmp = @ADMIN_TITLE) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
<?php
echo is_array($_tmp = $this->_tpl_vars['tpl_subtitle']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
</title>
</head>
<body id="popup">
<noscript>
<p><?php
echo smarty_function_t(array('string' => 'tpl_Enable JavaScript_01'), $this);
?>
</p>
</noscript>
<div id="popup-header">
<div id="popup-logo"><img src="<?php
echo is_array($_tmp = $this->_tpl_vars['TPL_URLPATH']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
img/header/logo_popup.jpg" width="99" height="15" alt="EC-CUBE" /></div>
</div>
<div id="popup-container">
示例6: is_array
><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
total/<?php
echo is_array($_tmp = @DIR_INDEX_PATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
?page=job"><span><?php
echo smarty_function_t(array('string' => 'tpl_Sales by occupation_01'), $this);
?>
</span></a></li>
<li id="navi-total-member"
class="<?php
if ((is_array($_tmp = $this->_tpl_vars['tpl_mainno']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'total' && (is_array($_tmp = $this->_tpl_vars['arrForm']['page']['value']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'member') {
?>
on<?php
}
?>
"
><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
total/<?php
echo is_array($_tmp = @DIR_INDEX_PATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
?page=member"><span><?php
echo smarty_function_t(array('string' => 'tpl_Sales by member_01'), $this);
?>
</span></a></li>
</ul>
示例7: is_array
?>
design/template.php?device_type_id=<?php
echo is_array($_tmp = @DEVICE_TYPE_SMARTPHONE) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
"><span><?php
echo smarty_function_t(array('string' => 'tpl_Template settings_01'), $this);
?>
</span></a></li>
<li<?php
if ((is_array($_tmp = $this->_tpl_vars['tpl_subno']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'up_down') {
?>
class="on"<?php
}
?>
id="navi-design-add-<?php
echo is_array($_tmp = @DEVICE_TYPE_SMARTPHONE) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
"><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
design/up_down.php?device_type_id=<?php
echo is_array($_tmp = @DEVICE_TYPE_SMARTPHONE) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
"><span><?php
echo smarty_function_t(array('string' => 'tpl_Template addition_01'), $this);
?>
</span></a></li>
</ul>
</li>
</ul>
示例8: is_array
?>
class="on"<?php
}
?>
id="navi-basis-index"><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
basis/<?php
echo is_array($_tmp = @DIR_INDEX_PATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
"><span><?php
echo smarty_function_t(array('string' => 'tpl_SHOP master_01'), $this);
?>
</span></a></li>
<li<?php
if ((is_array($_tmp = $this->_tpl_vars['tpl_subno']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'holiday') {
?>
class="on"<?php
}
?>
id="navi-basis-holiday"><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
basis/holiday.php"><span><?php
echo smarty_function_t(array('string' => 'tpl_Holiday management_01'), $this);
?>
</span></a></li>
</ul>
示例9: content_567155cc242ed9_67504919
function content_567155cc242ed9_67504919($_smarty_tpl)
{
if (!is_callable('smarty_function_t')) {
include '../functions/function.t.php';
}
?>
<div class="row text-center text-muted">
<hr />
<p>
<small>Open CarPool © 2014</small>
|
<small><a href="http://www.opencarpool.org/4_1.html" target="_new"><?php
echo smarty_function_t(array('t' => 'Site info'), $_smarty_tpl);
?>
</a></small>
</p>
</div>
</div>
<?php
if ($_smarty_tpl->tpl_vars['zendeskid']->value) {
?>
<!-- Zendesk Feedback Form Integration -->
<script type="text/javascript" src="//assets.zendesk.com/external/zenbox/v2.6/zenbox.js"></script>
<style type="text/css" media="screen, projection">
@import url(//assets.zendesk.com/external/zenbox/v2.6/zenbox.css);
</style>
<script type="text/javascript">
if (typeof(Zenbox) !== "undefined") {
Zenbox.init({
dropboxID: "<?php
echo $_smarty_tpl->tpl_vars['zendeskid']->value;
?>
",
url: "https://opencarpool.zendesk.com",
tabTooltip: "Service",
tabImageURL: "https://assets.zendesk.com/external/zenbox/images/tab_service_right.png",
tabColor: "black",
tabPosition: "Right"<?php
if (isset($_smarty_tpl->tpl_vars['user']->value)) {
?>
,
requester_name: "<?php
echo $_smarty_tpl->tpl_vars['user']->value->name;
?>
",
requester_email: "<?php
echo $_smarty_tpl->tpl_vars['user']->value->email;
?>
"<?php
}
?>
});
}
</script>
<?php
}
?>
</body>
</html><?php
}
开发者ID:Dawzz,项目名称:carpool-1,代码行数:63,代码来源:65960e2fabd77baa0883af9cfad7639b3778b514.file.footer.tpl.php
示例10: smarty_function_t
?>
</span></a>
</form>
<table class="list log">
<tr>
<th><?php
echo smarty_function_t(array('string' => 'tpl_Date_02'), $this);
?>
</th>
<th><?php
echo smarty_function_t(array('string' => 'tpl_Pass_01'), $this);
?>
</th>
<th><?php
echo smarty_function_t(array('string' => 'tpl_Contents_01'), $this);
?>
</th>
</tr>
<?php
$_from = is_array($_tmp = $this->_tpl_vars['tpl_ec_log']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
if (count($_from)) {
foreach ($_from as $this->_tpl_vars['line']) {
?>
<tr>
<td class="date"><?php
echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['line']['date']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
?>
示例11: smarty_function_t
?>
<div id="complete">
<div class="complete-top"></div>
<div class="contents">
<div class="message">
<?php
echo smarty_function_t(array('string' => "tpl_Registration is complete._01"), $this);
?>
</div>
</div>
<div class="btn-area-top"></div>
<div class="btn-area">
<ul>
<li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<?php
echo is_array($_tmp = @ADMIN_PRODUCTS_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
'); fnModeSubmit('search','',''); return false;"><span class="btn-prev"><?php
echo smarty_function_t(array('string' => 'tpl_Return_01'), $this);
?>
</span></a></li>
<li><a class="btn-action" href="./product.php"><span class="btn-next"><?php
echo smarty_function_t(array('string' => 'tpl_Register new item_01'), $this);
?>
</span></a></li>
</ul>
</div>
<div class="btn-area-bottom"></div>
</div>
</form>
示例12: is_array
<div id="contents" class="clearfix">
<?php
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => is_array($_tmp = $this->_tpl_vars['tpl_mainpage']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
</div>
<div id="footer">
<div id="footer-contents">
<div id="copyright"><?php
echo smarty_function_t(array('string' => "tpl_Copyright © 2000-T_ARG1 LOCKON CO.,LTD. All Rights Reserved._01", 'escape' => 'none', 'T_ARG1' => is_array($_tmp = is_array($_tmp = time()) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y") : smarty_modifier_date_format($_tmp, "%Y")), $this);
?>
</div>
<div id="topagetop">
<ul class="sites">
<li><a href="#top" class="btn-tool-format"><?php
echo smarty_function_t(array('string' => 'tpl_PAGE TOP_01'), $this);
?>
</a></li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>
示例13: is_array
?>
class="on"<?php
}
?>
id="navi-customer-index"><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
customer/<?php
echo is_array($_tmp = @DIR_INDEX_PATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
"><span><?php
echo smarty_function_t(array('string' => 'tpl_Member master_01'), $this);
?>
</span></a></li>
<li<?php
if ((is_array($_tmp = $this->_tpl_vars['tpl_subno']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'customer') {
?>
class="on"<?php
}
?>
id="navi-customer-customer"><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
customer/edit.php"><span><?php
echo smarty_function_t(array('string' => 'tpl_Member registration_01'), $this);
?>
</span></a></li>
</ul>
示例14: smarty_function_t
echo smarty_function_t(array('string' => 'tpl_Edit_01'), $this);
?>
</a>
<?php
}
?>
</td>
<td class="center">
<?php
if ((is_array($_tmp = $this->_tpl_vars['item']['edit_flg']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 1) {
?>
<a href="#" onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','page_id','<?php
echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['item']['page_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
?>
'); return false;"><?php
echo smarty_function_t(array('string' => 'tpl_Remove_01'), $this);
?>
</a>
<?php
}
?>
</td>
</tr>
<?php
}
}
unset($_from);
?>
</table>
<!--▲ページ一覧 ここまで-->
</div>
示例15: is_array
if ((is_array($_tmp = $this->_tpl_vars['tpl_subno_csv']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'review') {
?>
class="on"<?php
}
?>
id="navi-csv-review"><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
contents/csv.php?tpl_subno_csv=review"><span><?php
echo smarty_function_t(array('string' => 'tpl_Review_01'), $this);
?>
</span></a></li>
<li<?php
if ((is_array($_tmp = $this->_tpl_vars['tpl_subno_csv']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 'csv_sql') {
?>
class="on"<?php
}
?>
id="navi-csv-sql"><a href="<?php
echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
contents/csv_sql.php"><span><?php
echo smarty_function_t(array('string' => 'tpl_Advanced settings_01'), $this);
?>
</span></a></li>
</ul>
</li>
</ul>