本文整理汇总了PHP中Stack::out方法的典型用法代码示例。如果您正苦于以下问题:PHP Stack::out方法的具体用法?PHP Stack::out怎么用?PHP Stack::out使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Stack
的用法示例。
在下文中一共展示了Stack::out方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _e
_e('Reset password');
?>
">
</p>
</form>
<?php
Plugins::act('theme_loginform_after');
?>
</div>
</div>
<?php
Plugins::act('admin_footer', $this);
Stack::out('admin_footer_javascript', ' <script src="%s" type="text/javascript"></script>' . "\r\n");
?>
<script type="text/javascript">
var password_label;
$(document).ready( function() {
<?php
Session::messages_out(true, array('Format', 'humane_messages'));
?>
password_label = $('label[for=habari_password]');
// to fix autofill issues, we need to check the password field on every keyup
$('#habari_username').keyup( function() {
setTimeout( "labeler.check( password_label );", 10 );
} ).click( function() {
setTimeout( "labeler.check( password_label );", 50 );
} );
// for autofill without user input
示例2: _e
Site::out_url('habari');
?>
/admin/sysinfo"> <?php
_e('System Information');
?>
</a>
<?php
}
?>
</p>
</div>
<?php
Plugins::act('admin_footer', $this);
Stack::out('admin_footer_javascript', array('Stack', 'scripts'));
include 'db_profiling.php';
?>
</div>
<?php
if (Session::has_messages()) {
?>
<script type="text/javascript">
jQuery(document).ready(function() {
<?php
Session::messages_out(true, array('Format', 'humane_messages'));
?>
})
</script>
示例3:
<link rel="edit" type="application/atom+xml" title="Atom Publishing Protocol" href="<?php
URL::out('atompub_servicedocument');
?>
">
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php
URL::out('rsd');
?>
">
<link rel="stylesheet" type="text/css" media="screen" href="<?php
Site::out_url('theme');
?>
/style.css">
<?php
$theme->header();
Stack::out('template_header_javascript', '<script type="text/javascript" src="%s"></script>');
?>
</head>
<body>
<div class="container">
<div class="header column span-13">
<ul class="navigation">
<li class="first-item"><a href="/" title="Go Home">Home</a></li>
</ul>
</div>
<div class="searchfield">
<?php
Plugins::act('theme_searchform_before');
?>
<form method="get" id="searchform" action="<?php
URL::out('display_search');
示例4: array
',
ajaxConfigModule: '<?php
echo URL::get('admin_ajax', array('context' => 'dashboard'));
?>
'
}
};
// An almost "catch all" for those old browsers that don't support the X-Frame-Options header. We don't bust out, we just don't show any content
if ( top != self ) {
self.location.replace( 'about:blank' );
}
</script>
<?php
Plugins::act('admin_header', $this);
Stack::out('admin_header_javascript', Method::create('\\Habari\\Stack', 'scripts'));
Stack::out('admin_stylesheet', Method::create('\\Habari\\Stack', 'styles'));
?>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="<?php
Site::out_url('admin_theme');
?>
/css/ie.css" media="screen">
<![endif]-->
<?php
Plugins::act('admin_header_after', $this);
?>
</head>
<body class="page-<?php
echo $page;
示例5: array
',
ajaxDeleteBlock: '<?php
echo URL::get('admin_ajax', array('context' => 'delete_block'));
?>
',
ajaxSaveAreas: '<?php
echo URL::get('admin_ajax', array('context' => 'save_areas'));
?>
'
}
};
</script>
<?php
Plugins::act('admin_header', $this);
Stack::out('admin_header_javascript', array('Stack', 'scripts'));
Stack::out('admin_stylesheet', array('Stack', 'styles'));
?>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="<?php
Site::out_url('admin_theme');
?>
/css/ie.css" media="screen">
<![endif]-->
<?php
Plugins::act('admin_header_after', $this);
?>
</head>
<body class="page-<?php
echo $page;
示例6: _e
/sysinfo" title="<?php
_e('Display information about the server and Habari');
?>
"> <?php
_e('System Information');
?>
</a></span>
<?php
}
?>
</p>
</div>
<?php
Plugins::act('admin_footer', $this);
Stack::out('admin_footer_javascript', Method::create('\\Habari\\Stack', 'scripts'));
include 'db_profiling.php';
?>
<?php
if (Session::has_messages()) {
?>
<script type="text/javascript">
jQuery(document).ready(function() {
<?php
Session::messages_out(true, Method::create('\\Habari\\Format', 'humane_messages'));
?>
})
</script>
<?php
}
示例7: theme_header
public function theme_header($theme)
{
Stack::add('template_stylesheet', array(Site::get_url('theme') . '/css/screen.css', 'screen'), 'main');
Stack::out('template_stylesheet', array('Stack', 'styles'));
}