Files
opensourcepos/application/views/configs/manage.php
FrancescoUK 8bcd2a69dc Add better locale config support (pull request #93)
I've added in this commit the following:

- the means to configure date and time format
- date and time is shown with the selected formats
- a locale tab in the configuration page
- changed location tab to be stock tab and the same for the file names
- translation strings (only English) for the case

NOTE 1: Not related to Locale support but I removed an extra <div
class="field_row clearfix"> from general_config.php

NOTE 2: There is no rules in the submit checks of Locale. Probably this
is something to iron out a bit

NOTE 3: It would be probably nice to add a button in the Locale tab to
regenerate all the translation files in case somebody updates the
translations .csv

Fixed Local config

- Removed text in Red as really not mandatory configuration
- Added time format in 24h and 12h

Updated General Config tab

- reorganised the layout grouping things like company info, taxes and
invoice formating
- increased the limit of max lines per page to 1000 because 50 is too
little. People can do what they want with up to 1000
2015-07-25 12:02:10 +02:00

34 lines
1.3 KiB
PHP

<?php $this->load->view("partial/header"); ?>
<link rel="stylesheet" rev="stylesheet" href="<?php echo base_url();?>css/tabcontent.css" />
<script src="<?php echo base_url();?>js/tabcontent.js" type="text/javascript" language="javascript" charset="UTF-8"></script>
<div id="title_bar">
<div id="title" class="float_left"><?php echo $this->lang->line('module_config'); ?></div>
</div>
<ul class="tabs" data-persist="true">
<li><a href="#general_config">General</a></li>
<li><a href="#locale_config">Locale</a></li>
<li><a href="#barcode_config">Barcode</a></li>
<li><a href="#stock_config">Stock</a></li>
<li><a href="#receipt_config">Receipt</a></li>
</ul>
<div class="tabcontents">
<div id="general_config">
<?php $this->load->view("configs/general_config"); ?>
</div>
<div id="locale_config">
<?php $this->load->view("configs/locale_config"); ?>
</div>
<div id="barcode_config">
<?php $this->load->view("configs/barcode_config"); ?>
</div>
<div id="stock_config">
<?php $this->load->view("configs/stock_config"); ?>
</div>
<div id="receipt_config">
<?php $this->load->view("configs/receipt_config"); ?>
</div>
</div>
<div id="feedback_bar"></div>
<?php $this->load->view("partial/footer"); ?>