Example #1
0
						<input name="password" type="password">
					</fieldset>
					<input type="submit" class="default" value="<?php 
echo Language::gettext('header-login');
?>
" style="margin-bottom:460px">
				</form>
			</span>
			
			<span class="right-entry">
				<h1 class="title"><?php 
echo Language::gettext('login-new-member');
?>
</h1>
				<form action="<?php 
echo Controller::url('member', 'join');
?>
" target="_parent" method="POST">

					<fieldset>
						<label for="username" class="required"><?php 
echo Language::gettext('login-form-username');
?>
</label>
						<input name="username" type="text">
					</fieldset>
					<fieldset>
						<label for="password" class="required"><?php 
echo Language::gettext('login-form-password');
?>
</label>
Example #2
0
<!-- sidebar -->

	<div id="sidebar">
		<ul>
			<li>
			<h2><?php 
echo Language::gettext('menu-services');
?>
</h2>
			<br />
			<?php 
foreach ($services_items as $k => $saction) {
    echo '<a href="' . Controller::url('services', $saction) . '">' . Language::gettext('menu-services-' . $saction) . '</a><br /><br />';
}
?>
			</li>
		</ul>
	</div>

<!-- sidebar -->
Example #3
0
echo Language::gettext('website-sub-header');
?>
</h2>
   		<h3 style="float:left"><?php 
echo $this->breadcrumb->generate();
?>
</h3>
		<h3>[&nbsp;
			<?php 
$register_link = '';
if (!$logged_in) {
    $status = 'login';
} else {
    $status = 'logout';
}
echo '<a href="' . Controller::url('member', $status) . '">' . Language::gettext('header-' . $status) . '</a>';
?>
   			&nbsp;|&nbsp;
			<?php 
if ($this->language == Language::FRENCH) {
    $label = Language::gettext(Language::ENGLISH, null, Language::ENGLISH);
    $change = Language::ENGLISH;
} else {
    $label = Language::gettext(Language::FRENCH, null, Language::FRENCH);
    $change = Language::FRENCH;
}
echo '<a href="/' . $change . '">' . $label . '</a>';
?>
   			&nbsp;]
   		</h3>
	</div>
Example #4
0
<!-- sub-navigation -->

		<div id="submenu">
			<ul>
			<?php 
if ($access != User::ADMIN) {
    $submenu_items = array('member' => 'logout');
} else {
    $submenu_items = array('member' => 'logout');
}
foreach ($submenu_items as $scontroller => $saction) {
    echo '<li';
    if ($scontroller == $controller && $saction == $action) {
        echo ' class="current_page_item_sub"';
    }
    echo '><a href="' . Controller::url($scontroller, $saction) . '">' . Language::action($saction, $language) . "</a></li>";
}
?>
			</ul>
		</div>
		
		<div class="clear"></div>
	
<!-- sub-navigation -->