1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

UI Improvements - Default Theme - Updates #194

This commit is contained in:
Awilum
2014-02-14 19:37:14 +02:00
parent 5e2984e448
commit 9896ea7c31
2 changed files with 31 additions and 21 deletions

View File

@@ -72,10 +72,20 @@
</div>
<div class="page-header container text-center">
<?php if (Uri::segment(0) == 'users') { ?>
<?php if (Uri::segment(0) == 'users' && Uri::segment(1) == '') { ?>
<h1><?php echo __('Users', 'users'); ?></h1>
<?php } elseif (Uri::segment(0) == 'sitemap') { ?>
<h1><?php echo __('Sitemap', 'sitemap'); ?></h1>
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) == 'registration') { ?>
<h1><?php echo __('Registration', 'users'); ?></h1>
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) == 'login') { ?>
<h1><?php echo __('Sign In', 'users'); ?></h1>
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) == 'password-reset') { ?>
<h1><?php echo __('Reset Password', 'users') ?></h1>
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(2) == 'edit') { ?>
<h1><?php echo __('Edit profile', 'users') ?></h1>
<?php } elseif (Uri::segment(0) == 'users' && Uri::segment(1) ) { ?>
<h1><?php echo __('Profile', 'users'); ?></h1>
<?php } else { ?>
<h1><?php echo Page::title(); ?></h1>
<?php } ?>