mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-12 02:48:48 -04:00
fixed menu image file references
This commit is contained in:
committed by
Steve Ireland
parent
c1c4fe2072
commit
8dd0f41ba6
@@ -9,20 +9,20 @@
|
||||
dialog_support.init("a.modal-dlg");
|
||||
</script>
|
||||
|
||||
<h3 class="text-center"><?php echo lang('Common.welcome_message') ?></h3>
|
||||
<h3 class="text-center"><?= lang('Common.welcome_message') ?></h3>
|
||||
|
||||
<div id="home_module_list">
|
||||
<?php
|
||||
foreach($allowed_modules as $module)
|
||||
{
|
||||
?>
|
||||
<div class="module_item" title="<?php echo lang("Module.$module->module_id" . '_desc') ?>">
|
||||
<a href="<?php echo esc(site_url($module->module_id), 'url') ?>"><img src="<?php echo esc(base_url() . "images/menubar/$module->module_id.png", 'url') ?>" style="border-width: 0;" alt="Menubar Image" /></a>
|
||||
<a href="<?php echo esc(site_url($module->module_id), 'url') ?>"><?php echo lang("Module.$module->module_id") ?></a>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
foreach($allowed_modules as $module)
|
||||
{
|
||||
?>
|
||||
<div class="module_item" title="<?php echo lang("Module.$module->module_id" . '_desc') ?>">
|
||||
<a href="<?= base_url($module->module_id) ?>"><img src="<?= base_url("images/menubar/$module->module_id.png") ?>" style="border-width: 0;" alt="Menubar Image" /></a>
|
||||
<a href="<?= base_url($module->module_id) ?>"><?= lang("Module.$module->module_id") ?></a>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php echo view('partial/footer') ?>
|
||||
<?= view('partial/footer') ?>
|
||||
|
||||
@@ -113,17 +113,17 @@ helper('cookie');
|
||||
<div class="topbar">
|
||||
<div class="container">
|
||||
<div class="navbar-left">
|
||||
<div id="liveclock"><?php echo date(config('OSPOS')->settings['dateformat'] . ' ' . config('OSPOS')->settings['timeformat']) ?></div>
|
||||
<div id="liveclock"><?= date(config('OSPOS')->settings['dateformat'] . ' ' . config('OSPOS')->settings['timeformat']) ?></div>
|
||||
</div>
|
||||
|
||||
<div class="navbar-right" style="margin:0">
|
||||
<?php echo anchor(esc("home/change_password/$user_info->person_id", 'url'), esc("$user_info->first_name $user_info->last_name", 'attr'), ['class' => 'modal-dlg', 'data-btn-submit' => lang('Common.submit'), 'title' => lang('Employees.change_password')]) ?>
|
||||
<?php echo ' | ' . ($request->getGet('debug') == 'true' ? $this->session->get('session_sha1') . ' | ' : '') ?>
|
||||
<?php echo anchor('home/logout', lang('Login.logout')) ?>
|
||||
<?= anchor(esc("home/change_password/$user_info->person_id", 'url'), esc("$user_info->first_name $user_info->last_name", 'attr'), ['class' => 'modal-dlg', 'data-btn-submit' => lang('Common.submit'), 'title' => lang('Employees.change_password')]) ?>
|
||||
<?= ' | ' . ($request->getGet('debug') == 'true' ? $this->session->get('session_sha1') . ' | ' : '') ?>
|
||||
<?= anchor('home/logout', lang('Login.logout')) ?>
|
||||
</div>
|
||||
|
||||
<div class="navbar-center" style="text-align:center">
|
||||
<strong><?php echo esc(config('OSPOS')->settings['company']) ?></strong>
|
||||
<strong><?= esc(config('OSPOS')->settings['company']) ?></strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -138,17 +138,17 @@ helper('cookie');
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
|
||||
<a class="navbar-brand hidden-sm" href="<?php echo site_url() ?>">OSPOS</a>
|
||||
<a class="navbar-brand hidden-sm" href="<?= site_url() ?>">OSPOS</a>
|
||||
</div>
|
||||
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<?php foreach($allowed_modules as $module): ?>
|
||||
<li class="<?php echo $module->module_id == $request->getUri()->getSegment(0) ? 'active' : '' ?>">
|
||||
<a href="<?php echo esc(site_url($module->module_id), 'url') ?>" title="<?php echo lang("Module.$module->module_id") ?>" class="menu-icon">
|
||||
<li class="<?= $module->module_id == $request->getUri()->getSegment(0) ? 'active' : '' ?>">
|
||||
<a href="<?= base_url($module->module_id) ?>" title="<?= lang("Module.$module->module_id") ?>" class="menu-icon">
|
||||
|
||||
<img src="<?php echo esc(base_url() . "images/menubar/$module->module_id.png", 'url') ?>" style="border: none;" alt="Module Icon"/><br/>
|
||||
<?php echo lang('Module.' . $module->module_id) ?>
|
||||
<img src="<?= base_url("images/menubar/$module->module_id.png") ?>" style="border: none;" alt="Module Icon"/><br/>
|
||||
<?= lang('Module.' . $module->module_id) ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user