本文整理汇总了PHP中minimize_code函数的典型用法代码示例。如果您正苦于以下问题:PHP minimize_code函数的具体用法?PHP minimize_code怎么用?PHP minimize_code使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了minimize_code函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: base_url
<?php
$schoolinfo = $this->session->userdata('schoolinfo');
echo SITE_TITLE . ": " . $schoolinfo['schoolname'] . " School Dashboard";
?>
</title>
<link rel="shortcut icon" type="image/x-icon" href="<?php
echo BASE_URL;
?>
favicon.ico">
<?php
print "<script src='" . base_url() . "js/jquery-1.8.3.min.js' type='text/javascript'></script>";
print "<script src='" . base_url() . "js/jquery.dataTables.min.js' type='text/javascript'></script>";
print minimize_code($this, 'javascript');
print get_AJAX_constructor(TRUE);
print minimize_code($this, 'stylesheets');
?>
<script type="text/javascript" src="<?php
echo base_url();
?>
js/ajaxupload.3.5.js" ></script>
<script type="text/javascript">
$(document).ready(initClientDashboard);
</script>
<style>
.fancybox-opened .fancybox-title {
visibility: hidden;
display:none;
}
</style>
示例2: base_url
<title><?php
echo SITE_TITLE . " : Stream Data";
?>
</title>
<link rel="shortcut icon" type="image/x-icon" href="<?php
echo BASE_URL;
?>
favicon.ico">
<?php
echo "<script src='" . base_url() . "js/jquery.min.js' type='text/javascript'></script>";
echo minimize_code($this, 'javascript');
echo get_AJAX_constructor(TRUE);
?>
<?php
echo minimize_code($this, 'stylesheets');
?>
<style type="text/css">@import "<?php
echo base_url();
?>
css/jquery.datepick.css";</style>
<script language="JavaScript" type="text/javascript" src="<?php
echo base_url();
?>
js/jquery.datepick.js"></script>
<script>
$(document).ready(function() {
// date picker fields for many years
$(".manyyearsdatefield").datepick({dateFormat: 'yyyy-mm-dd'});
});
示例3: base_url
<?php
$ajax_HTML = "<script src='" . base_url() . "js/jquery.min.js' type='text/javascript'></script>";
$javascript_HTML = "<script type='text/javascript' src='" . base_url() . "js/nyppex.js'></script>" . get_AJAX_constructor(TRUE);
$combined_js_HTML = minimize_code($this, 'javascript');
$css_HTML = "<link href='" . base_url() . "css/nyppex.css' rel='stylesheet' type='text/css' />";
$combined_css_HTML = minimize_code($this, 'stylesheets');
$table_HTML = "";
#*********************************************************************************
# Displays forms used in AJAX when get_stocked_rentalsprocessing data on other forms without
# reloading the whole form.
#*********************************************************************************
#===============================================================================================
# Display for simple message results
#===============================================================================================
if (!empty($area) && in_array($area, array('verify_link_result', 'upload_user_photo', 'document_doesnt_exist', 'update_mark_sheet'))) {
$table_HTML .= $msg;
} else {
if (!empty($area) && $area == 'add_student') {
if (!empty($msg)) {
$table_HTML .= format_notice($msg) . "<BR>";
}
if (!empty($status) && $status == 'SUCCESS') {
$table_HTML .= '<input style="display:none" onchange="alert(\'hello\');" type="text" value="' . $status . '" />';
}
} else {
if (!empty($area) && $area == 'stock_details') {
$table_HTML .= $combined_js_HTML;
if (!empty($stockdata)) {
if (!empty($msg)) {
$table_HTML .= format_notice($msg) . "<BR>";