Updated some of the main pages to no longer refresh

This commit is contained in:
laf 2015-03-21 21:30:55 +00:00
parent f163a60a59
commit a404082d51
8 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,9 @@
<?php
$no_refresh = TRUE;
?>
<div class="row">
<div class="col-sm-12">
<span id="message"></span>
@ -243,4 +249,5 @@ function changePage(page,e) {
$('#page_number').val(page);
$('#result_form').submit();
}
</script>

View File

@ -1,3 +1,9 @@
<?php
$no_refresh = TRUE;
?>
<div class="row">
<div class="col-sm-12">
<span id="message"></span>

View File

@ -1,5 +1,7 @@
<?php
$no_refresh = TRUE;
if ($_SESSION['userlevel'] < 10)
{
include("includes/error-no-perm.inc.php");

View File

@ -1,5 +1,7 @@
<?php
$no_refresh = TRUE;
if ($_SESSION['userlevel'] < '10')
{
include("includes/error-no-perm.inc.php");

View File

@ -1,5 +1,7 @@
<?php
$no_refresh = TRUE;
$link_array = array('page' => 'device',
'device' => $device['device_id'],
'tab' => 'edit');

View File

@ -1,5 +1,7 @@
<?php
$no_refresh = TRUE;
include("includes/javascript-interfacepicker.inc.php");
echo("<div style='margin: 10px;'>");

View File

@ -12,6 +12,8 @@
* the source code distribution for details.
*/
$no_refresh = TRUE;
echo('<ul class="nav nav-tabs">');
$poll_tabs = array(array("name" => 'Pollers', 'icon' => 'clock_link'),

View File

@ -1,5 +1,7 @@
<?php
$no_refresh = TRUE;
$pagetitle[] = "Preferences";
echo("<h3>User Preferences</h3>");