Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 1.149 kB
<?php
/* Hitchwiki Maps - Header - Navi area
* Called with AJAX from the frontpage
*/
if(!$naviRefreshArea) {
require_once("../config.php");
$user = current_user();
}
?>
<?php if($user["logged_in"]===true): ?>
<li><a href="<?= $settings["base_url"]; ?>/users/" id="users" class="icon user" onclick="open_page('users'); return false;"><?php echo _("Members"); ?></a></li>
<?php else: ?>
<li><a href="<?= $settings["base_url"]; ?>/about/" id="about" class="icon help" onclick="open_page('about'); return false;"><?php echo _("About"); ?></a></li>
<?php endif; ?>
<?php // Visible only for admins
if($user["admin"]===true): ?>
<!--<li><a href="#" id="streetview" class="icon eye cardlink"><?php echo _("Street view"); ?></a></li>-->
<li><a href="./?page=trips" id="trips" class="icon flag_green" onclick="open_page('trips'); return false;"><?php echo _("My trips"); ?></a></li>
<?php endif; ?>
<li><a href="<?= $settings["base_url"]; ?>/log_all/" id="log_all" class="icon page_white_text" onclick="open_page('log_all'); return false;"><?php echo _("Log"); ?></a></li>
Jump to Line
Something went wrong with that request. Please try again.