本文整理汇总了PHP中smarty_care::append方法的典型用法代码示例。如果您正苦于以下问题:PHP smarty_care::append方法的具体用法?PHP smarty_care::append怎么用?PHP smarty_care::append使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类smarty_care
的用法示例。
在下文中一共展示了smarty_care::append方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ha
","drgcomp_<?php
echo $encounter_nr . "_" . $op_nr . "_" . $dept_nr . "_" . $saal;
?>
","menubar=no,resizable=yes,scrollbars=yes, width=" + (w-15) + ", height=" + (h-60));
window.drgcomp_<?php
echo $_SESSION['sess_full_en'] . "_" . $op_nr . "_" . $dept_nr . "_" . $saal;
?>
.moveTo(0,0);
}
//-->
</script>
<?php
$sTemp = ob_get_contents();
ob_end_clean();
$smarty->append('JavaScript', $sTemp);
# Buffer page output
ob_start();
?>
<ul><p><br>
<form method="post" name="patient_folder" onSubmit="return isColorBarUpdated()">
<?php
# internal function for the following lines of code only
function ha()
{
global $edit;
if ($edit) {
示例2:
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('system_admin');
# Title in toolbar
$smarty->assign('sToolbarTitle', $LDTheme);
# href for return button
$smarty->assign('pbBack', $returnfile);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('system_theme.php')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', $LDTheme);
if ($rows) {
$smarty->append('JavaScript', '<script language="javascript" src="' . $root_path . 'js/check_menu_item_same_item.js"></script>');
}
# Buffer page output
ob_start();
?>
<FONT color="#000066" size=4><?php
echo $LDControlButImg;
?>
</font>
<form method="post">
<table border=0 cellspacing=1 cellpadding=2>
<tr background="../../gui/img/common/default/tableHeaderbg3.gif">
<td><FONT color="#000099"><b></b></td>
<td><FONT color="#000099"><b></b></td>