當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Stack::out方法代碼示例

本文整理匯總了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
開發者ID:ringmaster,項目名稱:system,代碼行數:31,代碼來源:login.php

示例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>
開發者ID:anupom,項目名稱:my-blog,代碼行數:31,代碼來源:footer.php

示例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');
開發者ID:habari-extras,項目名稱:208,代碼行數:31,代碼來源:header.php

示例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;
開發者ID:habari,項目名稱:system,代碼行數:31,代碼來源:header.php

示例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;
開發者ID:ringmaster,項目名稱:system,代碼行數:31,代碼來源:header.php

示例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 
}
開發者ID:habari,項目名稱:system,代碼行數:31,代碼來源:footer.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'));
 }
開發者ID:habari-extras,項目名稱:null,代碼行數:5,代碼來源:theme.php


注:本文中的Stack::out方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。