Change constant
This commit is contained in:
parent
9190581d0a
commit
c9ae805e7a
@ -1190,7 +1190,7 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
|
|
||||||
<!-- Show categories -->
|
<!-- Show categories -->
|
||||||
<?php
|
<?php
|
||||||
if ($conf->global->TAKEPOS_NO_CATEGORY == 1) {
|
if ($conf->global->TAKEPOS_HIDE_CATEGORY == 1) {
|
||||||
print '<div class="div4" style= "display: none;">';
|
print '<div class="div4" style= "display: none;">';
|
||||||
} else {
|
} else {
|
||||||
print '<div class="div4">';
|
print '<div class="div4">';
|
||||||
@ -1232,13 +1232,13 @@ if (!empty($conf->global->TAKEPOS_WEIGHING_SCALE)) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Show product -->
|
<!-- Show product -->
|
||||||
<div class="div5"<?php if ($conf->global->TAKEPOS_NO_CATEGORY == 1) {
|
<div class="div5"<?php if ($conf->global->TAKEPOS_HIDE_CATEGORY == 1) {
|
||||||
print ' style="width:100%;"';
|
print ' style="width:100%;"';
|
||||||
} ?>>
|
} ?>>
|
||||||
<?php
|
<?php
|
||||||
$count = 0;
|
$count = 0;
|
||||||
while ($count < $MAXPRODUCT) {
|
while ($count < $MAXPRODUCT) {
|
||||||
if ($conf->global->TAKEPOS_NO_CATEGORY == 1) {
|
if ($conf->global->TAKEPOS_HIDE_CATEGORY == 1) {
|
||||||
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
||||||
} else {
|
} else {
|
||||||
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
print '<div class="wrapper2" id="prodiv'.$count.'" ';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user