示例#1
0
_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
0
文件: footer.php 项目: anupom/my-blog
    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
0
<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
0
文件: header.php 项目: habari/system
',
			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
0
',
			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
0
文件: footer.php 项目: habari/system
/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
0
 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'));
 }