本文整理汇总了PHP中smarty_function_text函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_text函数的具体用法?PHP smarty_function_text怎么用?PHP smarty_function_text使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_text函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: content_548f1844c67a14_60240100
function content_548f1844c67a14_60240100($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
?>
<div class="owm_sidebar_msg_block owm_friend_request_block">
<div class="owm_sidebar_msg_block_cap" id="friend-requests-cap"><h3><?php
echo smarty_function_text(array('key' => 'friends+console_requests_title'), $_smarty_tpl);
?>
</h3></div>
<div class="owm_sidebar_msg_block_cont">
<ul class="owm_sidebar_msg_list" id="friend-requests-list">
<?php
echo $_smarty_tpl->tpl_vars['itemsCmp']->value;
?>
</ul>
<?php
if ($_smarty_tpl->tpl_vars['loadMore']->value) {
?>
<ul class="owm_sidebar_msg_list">
<li class="owm_sidebar_msg_item owm_sidebar_msg_load_more">
<a href="javascript://" id="friends-load-more" class="owm_sidebar_load_more"></a>
</li>
</ul>
<?php
}
?>
</div>
</div><?php
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:32,代码来源:668df62135a1ba1564888bcac5d8c8cc8bdf36c1.file.console_section.html.php
示例2: content_548e92d7abff66_70861601
function content_548e92d7abff66_70861601($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
$_smarty_tpl->tpl_vars["item"] = new Smarty_Variable();
$_smarty_tpl->tpl_vars["item"]->_loop = false;
$_from = $_smarty_tpl->tpl_vars['items']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars["item"]->key => $_smarty_tpl->tpl_vars["item"]->value) {
$_smarty_tpl->tpl_vars["item"]->_loop = true;
?>
<?php
echo $_smarty_tpl->tpl_vars['item']->value;
?>
<?php
}
if (!$_smarty_tpl->tpl_vars["item"]->_loop) {
?>
<div class="owm_padding owm_align_center"><?php
echo smarty_function_text(array('key' => 'base+mobile_notifications_console_empty'), $_smarty_tpl);
?>
</div>
<?php
}
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:29,代码来源:6b6f731ff12c6b4e3ce9102a5f8e00a80e0ae563.file.console_notifications_page.html.php
示例3: content_548faebf521642_98296435
function content_548faebf521642_98296435($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
$_smarty_tpl->tpl_vars["item"] = new Smarty_Variable();
$_smarty_tpl->tpl_vars["item"]->_loop = false;
$_from = $_smarty_tpl->tpl_vars['list']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars["item"]->key => $_smarty_tpl->tpl_vars["item"]->value) {
$_smarty_tpl->tpl_vars["item"]->_loop = true;
?>
<?php
echo $_smarty_tpl->tpl_vars['item']->value;
?>
<?php
}
if (!$_smarty_tpl->tpl_vars["item"]->_loop) {
?>
<li class="ql_item ow_nocontent"><?php
echo smarty_function_text(array('key' => "questions+question_list_no_items"), $_smarty_tpl);
?>
</li>
<?php
}
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:29,代码来源:cdf3e9321d4700270b00a5acaa821e38a00b3a33.file.feed_list.html.php
示例4: content_548e68cf0c6b90_15323922
function content_548e68cf0c6b90_15323922($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
if ($_smarty_tpl->tpl_vars['isSuspended']->value && !$_smarty_tpl->tpl_vars['isAdminViewer']->value) {
?>
<?php
echo smarty_function_text(array('key' => "base+user_page_suspended"), $_smarty_tpl);
?>
<?php
} else {
?>
<?php
echo $_smarty_tpl->tpl_vars['profileActionToolbar']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['componentPanel']->value;
?>
<?php
}
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:25,代码来源:9733fd93d76d66acf3d972f68a0de2796959b0db.file.widget_panel_profile.html.php
示例5: content_5349e254c142d5_19668408
function content_5349e254c142d5_19668408($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include '/home/agilekod/domains/baksmaker.com/public_html/fulfill/ow_smarty/plugin/function.text.php';
}
?>
<div class="ow_custom_html_widget">
<?php
if ($_smarty_tpl->tpl_vars['content']->value) {
?>
<?php
echo $_smarty_tpl->tpl_vars['content']->value;
?>
<?php
} else {
?>
<div class="ow_nocontent">
<?php
echo smarty_function_text(array('key' => "base+custom_html_widget_no_content"), $_smarty_tpl);
?>
</div>
<?php
}
?>
</div><?php
}
开发者ID:vazahat,项目名称:dudex,代码行数:28,代码来源:a864522ccb24eb01cf719d4bba253a86b45027cc.file.custom_html_widget.html.php
示例6: content_548e94bf0560d8_29706015
function content_548e94bf0560d8_29706015($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
?>
<div class="ow_smallmargin"><?php
echo smarty_function_text(array('key' => 'base+total_score_label', 'ratesCount' => $_smarty_tpl->tpl_vars['info']->value['ratesCount'], 'avgScore' => $_smarty_tpl->tpl_vars['info']->value['avgScore']), $_smarty_tpl);
?>
<div style="width:65px;margin:0 auto;">
<div class="inactive_rate_list">
<div class="active_rate_list" style="width:<?php
if ($_smarty_tpl->tpl_vars['info']->value['width']) {
echo $_smarty_tpl->tpl_vars['info']->value['width'];
} else {
?>
0<?php
}
?>
%;">
</div>
</div>
</div>
</div>
<?php
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:27,代码来源:adc37c28d31459a80cdab0c078f5d7d3ad357bf9.file.total_score.html.php
示例7: content_548e53104a2752_59246440
function content_548e53104a2752_59246440($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
?>
<div class="ow_custom_html_widget">
<?php
if ($_smarty_tpl->tpl_vars['content']->value) {
?>
<?php
echo $_smarty_tpl->tpl_vars['content']->value;
?>
<?php
} else {
?>
<div class="ow_nocontent">
<?php
echo smarty_function_text(array('key' => "base+custom_html_widget_no_content"), $_smarty_tpl);
?>
</div>
<?php
}
?>
</div><?php
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:28,代码来源:e36af7a38ad518594fd26c9bbdf6ea12b5edab09.file.custom_html_widget.html.php
示例8: content_558d3254e02d05_33707715
function content_558d3254e02d05_33707715($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php';
}
if ($_smarty_tpl->tpl_vars['isSuspended']->value && !$_smarty_tpl->tpl_vars['isAdminViewer']->value) {
?>
<?php
echo smarty_function_text(array('key' => "base+user_page_suspended"), $_smarty_tpl);
?>
<?php
} else {
?>
<?php
echo $_smarty_tpl->tpl_vars['profileActionToolbar']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['componentPanel']->value;
?>
<?php
}
}
开发者ID:bhushansonar,项目名称:hammu,代码行数:25,代码来源:32af0ce4b60927cc2764a0bce52f0f1d1e189cfc.file.widget_panel_profile.html.php
示例9: content_548e56be50af90_40286239
function content_548e56be50af90_40286239($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
?>
<table class="ow_table_1 ow_form ow_stdmargin" style="margin: 0">
<tr class="ow_alt1">
<td class="ow_label"><?php
echo smarty_function_text(array('key' => 'profileprogressbar+progressbar_label_for_user'), $_smarty_tpl);
?>
</td>
<td class="ow_value">
<div id="profile_progressbar" class="profile-progressbar">
<span class="profile-progressbar-caption"><?php
echo $_smarty_tpl->tpl_vars['percent']->value;
?>
%</span>
<div class="profile-progressbar-complete" style="width: <?php
echo $_smarty_tpl->tpl_vars['percent']->value;
?>
%"></div>
</div>
</td>
</tr>
</table>
<?php
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:29,代码来源:a206bee6828784a1020f5911e261e7cf569d81a5.file.widget.html.php
示例10: content_55c863d7caf528_80989612
function content_55c863d7caf528_80989612($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
}
if (!is_callable('smarty_function_cycle')) {
include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php';
}
?>
<div class="ow_wide ow_automargin">
<table class="ow_form ow_table_1 theme_controls">
<tr class="ow_tr_first">
<th colspan="10" style="text-align: left;"><?php
echo smarty_function_text(array('key' => 'skadate+admin_license_info_cap'), $_smarty_tpl);
?>
</th>
</tr>
<?php
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
$_from = $_smarty_tpl->tpl_vars['data']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<tr class="<?php
echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
?>
">
<td class="ow_label"><?php
echo $_smarty_tpl->tpl_vars['key']->value;
?>
</td>
<td class="ow_value"><?php
echo $_smarty_tpl->tpl_vars['item']->value;
?>
</td>
</tr>
<?php
}
?>
<tr class="<?php
echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2'), $_smarty_tpl);
?>
ow_tr_last">
<td colspan="2">
<?php
echo smarty_function_text(array('key' => 'skadate+admin_bottom_text'), $_smarty_tpl);
?>
</td>
</tr>
<tr class="ow_tr_delimiter"><td></td></tr>
</table>
</div><?php
}
开发者ID:hardikamutech,项目名称:hammu,代码行数:60,代码来源:536ae59de8c6d3ef59dd950282b217a423b67e27.file.admin_settings.html.php
示例11: content_52ccccc0eb02b0_47816793
function content_52ccccc0eb02b0_47816793($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include '/home/kairat/www/private/ow_smarty/plugin/function.text.php';
}
?>
<div class="ow_custom_html_widget">
<?php
if ($_smarty_tpl->tpl_vars['content']->value) {
?>
<?php
echo $_smarty_tpl->tpl_vars['content']->value;
?>
<?php
} else {
?>
<div class="ow_nocontent">
<?php
echo smarty_function_text(array('key' => "base+custom_html_widget_no_content"), $_smarty_tpl);
?>
</div>
<?php
}
?>
</div><?php
}
开发者ID:vazahat,项目名称:dudex,代码行数:28,代码来源:3d40f155b6c47b59d3125d08ba625bac059fac85.file.custom_html_widget.html.php
示例12: content_55520ad80c6822_14335868
function content_55520ad80c6822_14335868($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
}
?>
<div class="ow_console_list_wrapper OW_ConsoleListContainer">
<div class="ow_nocontent OW_ConsoleListNoContent"><?php
echo smarty_function_text(array('key' => 'base+no_items'), $_smarty_tpl);
?>
</div>
<ul class="ow_console_list OW_ConsoleList">
</ul>
<div class="ow_preloader_content ow_console_list_preloader OW_ConsoleListPreloader" style="visibility: hidden"></div>
</div>
<?php
if (!empty($_smarty_tpl->tpl_vars['viewAll']->value)) {
?>
<div class="ow_console_view_all_btn_wrap"><a href="<?php
echo $_smarty_tpl->tpl_vars['viewAll']->value['url'];
?>
" class="ow_console_view_all_btn"><?php
echo $_smarty_tpl->tpl_vars['viewAll']->value['label'];
?>
</a></div>
<?php
}
}
开发者ID:bhushansonar,项目名称:hammu,代码行数:30,代码来源:ae799a76cbe9130e3ce7c8e1e8e70b28be44f1c7.file.console_list.html.php
示例13: content_55b3d17eb09949_38978835
function content_55b3d17eb09949_38978835($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php';
}
if ($_smarty_tpl->tpl_vars['isSuspended']->value && !$_smarty_tpl->tpl_vars['isAdminViewer']->value) {
?>
<?php
echo smarty_function_text(array('key' => "base+user_page_suspended"), $_smarty_tpl);
?>
<?php
} else {
?>
<?php
echo $_smarty_tpl->tpl_vars['profileActionToolbar']->value;
?>
<?php
echo $_smarty_tpl->tpl_vars['componentPanel']->value;
?>
<?php
}
}
开发者ID:hardikamutech,项目名称:hammu,代码行数:25,代码来源:6e200e53dbd25502ab605e1ce986a02858e62258.file.widget_panel_profile.html.php
示例14: content_5493cf1fd98ab2_70359875
function content_5493cf1fd98ab2_70359875($_smarty_tpl)
{
if (!is_callable('smarty_block_block_decorator')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php';
}
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
if (!is_callable('smarty_function_decorator')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php';
}
$_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'type' => "empty"));
$_block_repeat = true;
echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty"), null, $_smarty_tpl, $_block_repeat);
while ($_block_repeat) {
ob_start();
?>
<div class="ow_stdmargin" style="text-align: center;">
<?php
echo smarty_function_text(array('key' => "base+admin_delete_user_text"), $_smarty_tpl);
?>
<br /><br /><br />
<?php
echo smarty_function_decorator(array('name' => "button", 'id' => "baseDCButton", 'type' => "submit", 'buttonName' => "delete_user_button", 'class' => "ow_ic_delete ow_red", 'langLabel' => "base+delete_user_delete_button"), $_smarty_tpl);
?>
</div>
<?php
$_block_content = ob_get_clean();
$_block_repeat = false;
echo smarty_block_block_decorator(array('name' => "box", 'type' => "empty"), $_block_content, $_smarty_tpl, $_block_repeat);
}
array_pop($_smarty_tpl->smarty->_tag_stack);
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:35,代码来源:f9ec637f81f7a4f3ad216457cde133b09118d894.file.delete_user.html.php
示例15: content_54962f02ebe4a3_84258920
function content_54962f02ebe4a3_84258920($_smarty_tpl)
{
if (!is_callable('smarty_function_text')) {
include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php';
}
?>
<div class="owm_sidebar_msg_block owm_invitation_block">
<div class="owm_sidebar_msg_block_cap" id="invitations-cap"><h3><?php
echo smarty_function_text(array('key' => 'base+console_item_invitations_label'), $_smarty_tpl);
?>
</h3></div>
<div class="owm_sidebar_msg_block_cont">
<ul class="owm_sidebar_msg_list" id="invitations-list">
<?php
echo $_smarty_tpl->tpl_vars['itemsCmp']->value;
?>
</ul>
<?php
if ($_smarty_tpl->tpl_vars['loadMore']->value) {
?>
<ul class="owm_sidebar_msg_list">
<li class="owm_sidebar_msg_item owm_sidebar_msg_load_more">
<a href="javascript://" id="invitations-load-more" class="owm_sidebar_load_more"></a>
</li>
</ul>
<?php
}
?>
</div>
</div><?php
}
开发者ID:jorgemunoz8807,项目名称:havanabook,代码行数:32,代码来源:ed8cf5d8b828ce659d0c01f80d1f01363bedb358.file.console_invitations_section.html.php