manager/actions/messages.static.php 1 location
|
@@ 100-104 (lines=5) @@
|
97 |
|
// ============================================================== |
98 |
|
|
99 |
|
// If current position is not set, set it to zero |
100 |
|
if (!isset($_REQUEST['int_cur_position']) || $_REQUEST['int_cur_position'] == 0) { |
101 |
|
$int_cur_position = 0; |
102 |
|
} else { |
103 |
|
$int_cur_position = (int)$_REQUEST['int_cur_position']; |
104 |
|
} |
105 |
|
|
106 |
|
// Number of result to display on the page, will be in the LIMIT of the sql query also |
107 |
|
$int_num_result = isset($number_of_messages) ? (int)$number_of_messages : 10; |
manager/actions/logging.static.php 1 location
|
@@ 164-168 (lines=5) @@
|
161 |
|
}
|
162 |
|
|
163 |
|
// If current position is not set, set it to zero
|
164 |
|
if (!isset($_REQUEST['int_cur_position']) || $_REQUEST['int_cur_position'] == 0) {
|
165 |
|
$int_cur_position = 0;
|
166 |
|
} else {
|
167 |
|
$int_cur_position = $_REQUEST['int_cur_position'];
|
168 |
|
}
|
169 |
|
|
170 |
|
// Number of result to display on the page, will be in the LIMIT of the sql query also
|
171 |
|
$int_num_result = is_numeric($_REQUEST['nrresults']) ? $_REQUEST['nrresults'] : $number_of_logs;
|