本文整理汇总了PHP中smarty_function_xl函数的典型用法代码示例。如果您正苦于以下问题:PHP smarty_function_xl函数的具体用法?PHP smarty_function_xl怎么用?PHP smarty_function_xl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了smarty_function_xl函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: is_array
}
?>
<?php
echo is_array($_tmp = $this->_tpl_vars['pharmacy']->address->state) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp);
?>
<?php
echo $this->_tpl_vars['pharmacy']->address->zip;
?>
</td>
<td><?php
echo $this->_tpl_vars['pharmacy']->get_transmit_method_display();
?>
<?php
}
unset($_from);
} else {
?>
</td>
</tr>
<tr class="center_display">
<td colspan="3"><b><?php
echo smarty_function_xl(array('t' => 'No Pharmacies Found'), $this);
?>
<b></td>
</tr>
<?php
}
?>
</table>
示例2: smarty_function_xl
: <?php
echo $this->_tpl_vars['file']->get_date();
?>
<br>
<?php
echo smarty_function_xl(array('t' => 'Hash'), $this);
?>
: <?php
echo $this->_tpl_vars['file']->get_hash();
?>
<br>
<?php
echo smarty_function_xl(array('t' => 'MimeType'), $this);
?>
: <?php
echo $this->_tpl_vars['file']->get_mimetype();
?>
<br>
<?php
echo smarty_function_xl(array('t' => 'Revision'), $this);
?>
: <?php
echo $this->_tpl_vars['file']->revision;
?>
<br><br>
</div>
<?php
}
unset($_from);
}
}
示例3: smarty_function_xl
?>
';
var pid = '<?php
echo $this->_tpl_vars['vitals']->get_pid();
?>
';
var cancellink = '<?php
echo $this->_tpl_vars['DONT_SAVE_LINK'];
?>
';
var birth_xl='<?php
echo smarty_function_xl(array('t' => "Birth-24 months"), $this);
?>
'
var older_xl='<?php
echo smarty_function_xl(array('t' => "2-20 years"), $this);
?>
';
<?php
echo '
function addGCSelector()
{
var options=new Array();
var birth={\'display\':birth_xl,\'param\':\'birth\'};
var age2={\'display\':older_xl,\'param\':\'2-20\'}
if((patientAge.indexOf(\'24 month\')>=0) || (patientAge.indexOf(\'month\')==-1))
{
var dob_data=patient_dob.split("-");
var dob_date=new Date(dob_data[0],parseInt(dob_data[1])-1,dob_data[2]);
options[0]=age2;
for(var idx=0;idx<vitals.length;idx++)
示例4: smarty_function_xl
}
?>
<?php
}
?>
</div>
</div>
</div>
</form>
</td>
</tr>
<tr>
<td>
<div class="text"><b><?php
echo smarty_function_xl(array('t' => 'Content'), $this);
?>
</b></div>
<?php
if ($this->_tpl_vars['file']->get_mimetype() == "image/tiff") {
?>
<embed frameborder="0" type="<?php
echo $this->_tpl_vars['file']->get_mimetype();
?>
" src="<?php
echo $this->_tpl_vars['web_path'];
?>
as_file=false"></embed>
<?php
} elseif ($this->_tpl_vars['file']->get_mimetype() == "image/png" || $this->_tpl_vars['file']->get_mimetype() == "image/jpg" || $this->_tpl_vars['file']->get_mimetype() == "image/jpeg" || $this->_tpl_vars['file']->get_mimetype() == "image/gif" || $this->_tpl_vars['file']->get_mimetype() == "application/pdf") {
?>
示例5: unset
?>
</td>
<td><?php
echo $this->_tpl_vars['provider']->get_provider_number_default();
?>
</td>
<td><?php
echo $this->_tpl_vars['provider']->get_rendering_provider_number_default();
?>
</td>
<td><?php
echo $this->_tpl_vars['provider']->get_group_number_default();
?>
</td>
</tr>
<?php
}
unset($_from);
} else {
?>
<tr class="center_display">
<td colspan="5"><?php
echo smarty_function_xl(array('t' => 'No Providers Found'), $this);
?>
</td>
</tr>
<?php
}
?>
</table>
示例6: smarty_function_xl
PV1|1|I|2000^2053^01||||004777^FISHER^BEN^J.|||SUR||||ADM|A0|</td></tr>-->
<tr>
<td colspan="2"><b><?php
echo smarty_function_xl(array('t' => 'Paste HL7 Data'), $this);
?>
</b></td>
</tr>
<tr height="25">
<td colspan="2" ><textarea rows="10" wrap="virtual" cols="70" name="hl7data"></textarea><br /><br />
</td></tr>
<tr class="text"><td colspan="2">
<a href="javascript:document.forms[0].reset();" class="css_button"><span><?php
echo smarty_function_xl(array('t' => 'Clear HL7 Data'), $this);
?>
</span></a><a href="javascript:document.forms[0].submit();" class="css_button" ><span><?php
echo smarty_function_xl(array('t' => 'Parse HL7'), $this);
?>
</span></a>
</td>
<?php
if ($this->_tpl_vars['hl7_message_err']) {
?>
<tr height="25"><td colspan="2"><?php
echo $this->_tpl_vars['hl7_message_err'];
?>
</td></tr>
<?php
}
if ($this->_tpl_vars['hl7_array']) {
?>
示例7: smarty_function_xl
'; ?>
<script src="DocumentTreeMenu.js" language="JavaScript" type="text/javascript"></script>
</head>
<!--<body bgcolor="<?php echo $this->_tpl_vars['STYLE']['BGCOLOR2']; ?>
">-->
<body class="body_top">
<div class="title"><?php echo smarty_function_xl(array('t' => 'Documents'), $this);?>
</div>
<div id="documents_list">
<table>
<tr>
<td height="20" valign="top"><?php echo smarty_function_xl(array('t' => 'Categories'), $this);?>
(<a href="#" onclick="javascript:objTreeMenu_1.collapseAll();return false;"><?php echo smarty_function_xl(array('t' => 'Collapse all'), $this);?>
</a>)
</td>
</tr>
<tr>
<td valign="top"><?php echo $this->_tpl_vars['tree_html']; ?>
</td>
</tr>
</table>
</div>
<div id="documents_actions">
<?php if ($this->_tpl_vars['message']): ?>
<div class='text' style="margin-bottom:-10px; margin-top:-8px"><i><?php echo $this->_tpl_vars['message']; ?>
</i></div><br>
<?php endif; ?>
<?php if ($this->_tpl_vars['messages']): ?>
示例8: alert
// for text boxes
if ($(\'#\'+objID).is(\'input\')) {
if ($(\'#\'+objID).val() == "") {
alert("';
echo smarty_function_xl(array('t' => 'Missing a required field'), $this);
echo '");
$(\'#\'+objID).css("backgroundColor", "pink");
return false;
}
}
// for select boxes
if ($(\'#\'+objID).is(\'select\')) {
if ($(\'#\'+objID).val() == "0") {
alert("';
echo smarty_function_xl(array('t' => 'Missing a required field'), $this);
echo '");
$(\'#\'+objID).css("backgroundColor", "pink");
return false;
}
}
return true;
}
</script>
';
?>
</html>
示例9: smarty_function_xl
<div>
<a href="javascript:;" onClick="my_process(); return true;">Select</a> |
<a href="javascript:;" class="button" onClick="parent.cancelParlookup();">Cancel</a> |
<a href="<?php echo $this->_tpl_vars['CONTROLLER_THIS']; ?>
" onclick="top.restoreSession()"><?php echo smarty_function_xl(array('t' => 'New Search'), $this);?>
</a>
</div>
<?php else: ?>
<?php echo $this->_tpl_vars['NO_RESULTS']; ?>
<input TYPE="HIDDEN" NAME="varname" VALUE=""/>
<input TYPE="HIDDEN" NAME="formname" VALUE=""/>
<input TYPE="HIDDEN" NAME="submitname" VALUE=""/>
<input TYPE="HIDDEN" NAME="action" VALUE="<?php echo smarty_function_xl(array('t' => 'Search'), $this);?>
">
<div ALIGN="CENTER" CLASS="infobox">
<input TYPE="TEXT" NAME="drug" VALUE="<?php echo $this->_tpl_vars['drug']; ?>
"/>
<input TYPE="SUBMIT" NAME="action" VALUE="<?php echo smarty_function_xl(array('t' => 'Search'), $this);?>
" class="button"/>
<input TYPE="BUTTON" VALUE="<?php echo smarty_function_xl(array('t' => 'Cancel'), $this);?>
" class="button" onClick="parent.cancelParlookup();"/>
</div>
<input type="hidden" name="process" value="<?php echo $this->_tpl_vars['PROCESS']; ?>
" />
<?php endif; ?></form>
</div>
</body>
</html>
示例10: smarty_function_xl
?>
">-->
<body class="body_top">
<div class="title"><?php
echo smarty_function_xl(array('t' => 'Documents'), $this);
?>
</div>
<div id="documents_list">
<table>
<tr>
<td height="20" valign="top"><?php
echo smarty_function_xl(array('t' => 'Categories'), $this);
?>
(<a href="#" onclick="javascript:objTreeMenu_1.collapseAll();return false;"><?php
echo smarty_function_xl(array('t' => 'Collapse all'), $this);
?>
</a>)
</td>
</tr>
<tr>
<td valign="top"><?php
echo $this->_tpl_vars['tree_html'];
?>
</td>
</tr>
</table>
</div>
<div id="documents_actions">
<?php
if ($this->_tpl_vars['message']) {
示例11: is_array
" onclick="top.restoreSession();var URL='controller.php?patient_finder&find&form_id=queue<?php
echo is_array($_tmp = "['files[" . $this->_tpl_vars['file']['document_id'] . "][patient_id]']") ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url');
?>
&form_name=patient_name'; window.open(URL, 'queue', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=450,height=400,left = 425,top = 250');"><img src="images/stock_search-16.png" border="0"</a> </td>
<td><select name="files[<?php
echo $this->_tpl_vars['file']['document_id'];
?>
][category_id]"><?php
echo $this->_tpl_vars['tree_html_listbox'];
?>
</select></td>
</tr>
<?php
}
unset($_from);
} else {
?>
<tr height="25" class="center_display">
<td colspan="6"><?php
echo smarty_function_xl(array('t' => 'No Documents Found'), $this);
?>
</td>
</tr>
<?php
}
?>
</table><br><br>
</form>
示例12: unset
</td>
<td id="<?php echo $this->_tpl_vars['prescription']->id; ?>
">
<?php echo $this->_tpl_vars['prescription']->provider->get_name_display(); ?>
</td>
</tr>
<?php endforeach; unset($_from); endif; ?>
</table>
</form>
</div>
<?php else: ?>
<div class="text" style="margin-top:10px"><?php echo smarty_function_xl(array('t' => 'There are currently no prescriptions'), $this);?>
.</div>
<?php endif; ?>
</body>
<?php echo '
<script language=\'JavaScript\'>
$(document).ready(function(){
$("#multiprint").click(function() { return CheckForChecks(document.presc.check_list); });
$("#multiprintcss").click(function() { return CheckForChecks(document.presc.check_list); });
$("#multiprintToFax").click(function() { return CheckForChecks(document.presc.check_list); });
$(".editscript").click(function() { ShowScript(this); });
$(".onescript").mouseover(function() { $(this).children().toggleClass("highlight"); });
$(".onescript").mouseout(function() { $(this).children().toggleClass("highlight"); });
});
示例13: require_once
<?php /* Smarty version 2.6.2, created on 2015-09-18 06:02:28
compiled from /Applications/MAMP/htdocs/openemr/templates/prescription/general_fragment.html */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'xl', '/Applications/MAMP/htdocs/openemr/templates/prescription/general_fragment.html', 4, false),)), $this); ?>
<table>
<?php if (empty ( $this->_tpl_vars['prescriptions'] )): ?>
<tr class='text'>
<td> <?php echo smarty_function_xl(array('t' => 'None'), $this);?>
</td>
</tr>
<?php endif; ?>
<?php if (count($_from = (array)$this->_tpl_vars['prescriptions'])):
foreach ($_from as $this->_tpl_vars['prescription']):
?>
<?php if ($this->_tpl_vars['prescription']->get_active() > 0): ?>
<tr class='text'>
<td><?php echo $this->_tpl_vars['prescription']->drug; ?>
</td>
<td><?php echo $this->_tpl_vars['prescription']->get_dosage_display(); ?>
</td>
</tr>
<?php endif; ?>
<?php endforeach; unset($_from); endif; ?>
</table>
示例14: smarty_function_xl
echo smarty_function_xl(array('t' => "The new category will be a sub-category of "), $this);
?>
<?php
echo $this->_tpl_vars['parent_name'];
?>
<br>
<form method="post" action="<?php
echo $this->_tpl_vars['FORM_ACTION'];
?>
" onsubmit="return top.restoreSession()">
<?php
echo smarty_function_xl(array('t' => 'Category Name'), $this);
?>
: <input type="text" name="name" onKeyDown="PreventIt(event)" >
<input type="submit" name="Add Category" value="<?php
echo smarty_function_xl(array('t' => 'Add Category'), $this);
?>
">
<input type="hidden" name="parent_is" value="<?php
echo $this->_tpl_vars['parent_is'];
?>
">
<input type="hidden" name="process" value="<?php
echo $this->_tpl_vars['PROCESS'];
?>
" />
</form>
</td>
<?php
}
?>
示例15: smarty_function_xl
pharmacy&action=list"><?php echo smarty_function_xl(array('t' => 'Pharmacies'), $this);?>
</a> |
<a href="<?php echo $this->_tpl_vars['TOP_ACTION']; ?>
insurance_company&action=list"><?php echo smarty_function_xl(array('t' => 'Insurance Companies'), $this);?>
</a> |
<a href="<?php echo $this->_tpl_vars['TOP_ACTION']; ?>
insurance_numbers&action=list"><?php echo smarty_function_xl(array('t' => 'Insurance Numbers'), $this);?>
</a> |
<a href="<?php echo $this->_tpl_vars['TOP_ACTION']; ?>
x12_partner&action=list"><?php echo smarty_function_xl(array('t' => 'X12 Partners'), $this);?>
</a> |
<a href="<?php echo $this->_tpl_vars['TOP_ACTION']; ?>
document&action=queue"><?php echo smarty_function_xl(array('t' => 'Documents'), $this);?>
</a> |
<a href="<?php echo $this->_tpl_vars['TOP_ACTION']; ?>
hl7&action=default"><?php echo smarty_function_xl(array('t' => 'HL7 Viewer'), $this);?>
</a>
</div>
<br/>
<div class="section-header">
<b><?php echo $this->_tpl_vars['ACTION_NAME']; ?>
</b>
</div>
<div class="tabContainer">
<div class="tab current">
<?php echo $this->_tpl_vars['display']; ?>
</div>
</div>
</div>