예제 #1
0
 * if the database auth adapter is not being used.
 *
 * @author John Kloor <*****@*****.**>
 * @copyright 2015 Bowling Green State University Libraries
 * @license MIT
 * @package Central Auth
 */
queue_js_file('login');
$pageTitle = __('Log In');
echo head(array('bodyclass' => 'login', 'title' => $pageTitle), $header);
?>

<h1>Omeka</h1>

<h2><?php 
echo link_to_admin_home_page();
?>
</h2>

<?php 
echo flash();
?>

<div class="eight columns alpha offset-by-one">
    <?php 
echo $this->form->setAction($this->url('users/login'));
?>
</div>

<?php 
if (!$required) {
예제 #2
0
">
    <link href='//fonts.googleapis.com/css?family=Arvo:400,700,400italic,700italic|Cabin:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
</head>

<body id="upgrade">
    <div class="container container-sixteen">
        <section id="content" class="ten columns offset-by-three">
            <h1><?php 
echo html_escape($title);
?>
</h1>
<?php 
if ($success) {
    ?>
            <p><?php 
    echo link_to_admin_home_page(__('Return to Dashboard'));
    ?>
</p>
<?php 
} else {
    ?>
            <p class="error_text"><?php 
    echo html_escape($error);
    ?>
</p>
            <pre id="backtrace"><?php 
    echo utf8_htmlspecialchars($exception);
    ?>
</pre>
            <p class="instruction">
                <?php