mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-01 05:57:54 -05:00
* Improve code style and PSR-12 compliance - refactored code formatting to adhere to PSR-12 guidelines - standardized coding conventions across the codebase - added missing framework files and reverted markup changes - reformatted arrays for enhanced readability - updated language files for consistent styling and clarity - minor miscellaneous improvements
25 lines
785 B
PHP
25 lines
785 B
PHP
<?php
|
|
/**
|
|
* @var array $allowed_modules
|
|
*/
|
|
?>
|
|
|
|
<?= view('partial/header') ?>
|
|
|
|
<script type="text/javascript">
|
|
dialog_support.init("a.modal-dlg");
|
|
</script>
|
|
|
|
<h3 class="text-center"><?= lang('Common.welcome_message') ?></h3>
|
|
|
|
<div id="office_module_list">
|
|
<?php foreach ($allowed_modules as $module) { ?>
|
|
<div class="module_item" title="<?= lang("Module.$module->module_id" . '_desc') ?>">
|
|
<a href="<?= base_url($module->module_id) ?>"><img src="<?= base_url("images/menubar/$module->module_id.svg") ?>" style="border-width: 0; height: 64px; max-width: 64px;" alt="Menubar Image"></a>
|
|
<a href="<?= base_url($module->module_id) ?>"><?= lang("Module.$module->module_id") ?></a>
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|
|
|
|
<?= view('partial/footer') ?>
|