Added 'login' link to booking form footer for easy backend navigation (fixes #180).

This commit is contained in:
Alex Tselegidis 2016-07-16 17:15:20 +02:00
parent 7a5b07a4cf
commit 12f82fd688

View file

@ -368,12 +368,12 @@
<span id="select-language" class="label label-success"> <span id="select-language" class="label label-success">
<?php echo ucfirst($this->config->item('language')); ?> <?php echo ucfirst($this->config->item('language')); ?>
</span> </span>
<?php if ($this->session->userdata('user_id')): ?>
| |
<a href="<?php echo site_url('backend'); ?>"> <a href="<?php echo site_url('backend'); ?>">
<?php echo $this->lang->line('backend_section'); ?> <?php echo $this->session->userdata('user_id')
? $this->lang->line('backend_section')
: $this->lang->line('login'); ?>
</a> </a>
<?php endif; ?>
</div> </div>
</div> </div>
</div> </div>