Source

phpHgAdmin / admin / themes / paper / index.php

The default branch has multiple heads

Full commit
<?php get_header(); ?>

<div class="container"> 

<?php get_sidebar(); ?>
 
<div class="main"> 
<h2><?php echo htmlentities(the_title()); ?></h2> 
 
<table class="bigtable"> 

<?php if(has_errors()): ?>
  <tr>
    <td>
		<div class="ui-widget">
			<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
				<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
				<strong><?php echo lang('hgphp_msg_err'); ?>:</strong> <?php echo user_errors(); ?></p>
			</div>
		</div>
    </td>
  </tr>
<?php endif; ?>
<?php if(has_messages()): ?>
  <tr>
    <td>
		<div class="ui-widget">
			<div class="ui-state-highlight ui-corner-all" style="padding: 0 .7em;font-size: 70%;"> 
				<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
				<?php echo user_messages(); ?></p>
			</div>
		</div>
    </td>
  </tr>
<?php endif; ?>
  <tr>
    <td> 
<?php if(!is_user_authenticated()): echo 'Acess denied.'; ?>
<?php elseif(is_directory()): include('repo_directory.php'); ?>
<?php elseif(is_repo_config()): include('repository.php'); ?>
<?php elseif(is_repo_browser()): include('repo_browse.php'); ?>
<?php else: echo 'Content unsupported by theme.'; endif;?>
    </td>
  </tr>

<?php get_footer(); ?>