Example #1
0
<!-- commentsform -->
	<h3 id="respond">Leave a Reply</h3>
<?php 
if (Session::has_errors()) {
    Session::messages_out();
}
$post->comment_form()->out();
?>
<!-- commentsform -->
Example #2
0
    ?>
</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 
}
?>

</body>
</html>
<?php 
Example #3
0
}
?>

	</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>
<?php 
}
?>

</body>
</html>
 public function action_admin_theme_get_autoclose($handler, $theme)
 {
     self::check_posts(!is_null($handler->handler_vars['nolimit']));
     Session::messages_out();
     exit;
 }