#5344 validation of PDF fields for the open version
This commit is contained in:
parent
3a318436a9
commit
b6e0dd5998
|
@ -38,6 +38,9 @@ require_once $config['homedir'].'/include/db/oracle.php';
|
|||
// Login check.
|
||||
check_login();
|
||||
|
||||
// Validate enterprise.
|
||||
$is_enterprise = enterprise_installed();
|
||||
|
||||
if (! check_acl($config['id_user'], 0, 'RW')
|
||||
&& ! check_acl($config['id_user'], 0, 'RM')
|
||||
) {
|
||||
|
@ -3645,7 +3648,9 @@ $class = 'databox filters';
|
|||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
if ($is_enterprise) {
|
||||
?>
|
||||
<tr id="row_landscape" class="datos">
|
||||
<td class="bolder">
|
||||
<?php
|
||||
|
@ -3654,7 +3659,6 @@ $class = 'databox filters';
|
|||
</td>
|
||||
<td><?php html_print_checkbox_switch('landscape', 1, $landscape); ?></td>
|
||||
</tr>
|
||||
|
||||
<tr id="row_pagebreak" class="datos">
|
||||
<td class="bolder">
|
||||
<?php
|
||||
|
@ -3663,7 +3667,9 @@ $class = 'databox filters';
|
|||
</td>
|
||||
<td><?php html_print_checkbox_switch('pagebreak', 1, $pagebreak); ?></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr id="row_agents_inventory_display_options" class="datos">
|
||||
<td class="bolder">
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue