本文整理匯總了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>