diff --git a/include/class.nav.php b/include/class.nav.php index ce3623d37acccb57d0eae500360a5579789683b5..a5ce84cb07affcec52e9ecec88460b790ece4fb6 100644 --- a/include/class.nav.php +++ b/include/class.nav.php @@ -181,7 +181,7 @@ class AdminNav extends StaffNav{ $subnav=array(); switch(strtolower($k)){ case 'dashboard': - $subnav[]=array('desc'=>'System Logs','href'=>'syslogs.php','iconclass'=>'logs'); + $subnav[]=array('desc'=>'System Logs','href'=>'logs.php','iconclass'=>'logs'); break; case 'settings': $subnav[]=array('desc'=>'Settings & Preferences','href'=>'settings.php','iconclass'=>'preferences'); diff --git a/include/staff/syslogs.inc.php b/include/staff/syslogs.inc.php index e0f5d2098717dfd360b16fce6959b4a222fd241b..0799e98f8e7a78ad09fa1e2eb1260925be374ecc 100644 --- a/include/staff/syslogs.inc.php +++ b/include/staff/syslogs.inc.php @@ -73,7 +73,7 @@ $total=db_count("SELECT count(*) $qfrom $qwhere"); $page = ($_GET['p'] && is_numeric($_GET['p']))?$_GET['p']:1; //pagenate $pageNav=new Pagenate($total, $page, PAGE_LIMIT); -$pageNav->setURL('syslogs.php',$qstr); +$pageNav->setURL('logs.php',$qstr); $qstr.='&order='.($order=='DESC'?'ASC':'DESC'); $query="$qselect $qfrom $qwhere ORDER BY $order_by LIMIT ".$pageNav->getStart().",".$pageNav->getLimit(); $res=db_query($query); @@ -85,7 +85,7 @@ else <h2>System Logs</h2> <div id='filter' > - <form action="syslogs.php" method="get"> + <form action="logs.php" method="get"> <div style="padding-left:2px;"> <b>Date Span</b>: From <input class="dp" id="sd" size=15 name="startDate" value="<?php echo Format::htmlchars($_REQUEST['startDate']); ?>" autocomplete=OFF> @@ -104,17 +104,17 @@ else </div> </form> </div> -<form action="syslogs.php" method="POST" name="logs" onSubmit="return checkbox_checker(this,1,0);"> +<form action="logs.php" method="POST" name="logs" onSubmit="return checkbox_checker(this,1,0);"> <input type="hidden" name="do" value="mass_process" > <table class="list" border="0" cellspacing="1" cellpadding="0" width="940"> <caption><?php echo $showing; ?></caption> <thead> <tr> <th width="7"> </th> - <th width="320"><a <?php echo $title_sort; ?> href="syslogs.php?<?php echo $qstr; ?>&sort=title">Log Title</a></th> - <th width="100"><a <?php echo $type_sort; ?> href="syslogs.php?<?php echo $qstr; ?>&sort=type">Log Type</a></th> - <th width="200" nowrap><a <?php echo $date_sort; ?>href="syslogs.php?<?php echo $qstr; ?>&sort=date">Log Date</a></th> - <th width="120"><a <?php echo $ip_sort; ?> href="syslogs.php?<?php echo $qstr; ?>&sort=ip">IP Address</a></th> + <th width="320"><a <?php echo $title_sort; ?> href="logs.php?<?php echo $qstr; ?>&sort=title">Log Title</a></th> + <th width="100"><a <?php echo $type_sort; ?> href="logs.php?<?php echo $qstr; ?>&sort=type">Log Type</a></th> + <th width="200" nowrap><a <?php echo $date_sort; ?>href="logs.php?<?php echo $qstr; ?>&sort=date">Log Date</a></th> + <th width="120"><a <?php echo $ip_sort; ?> href="logs.php?<?php echo $qstr; ?>&sort=ip">IP Address</a></th> </tr> </thead> <tbody> diff --git a/scp/syslogs.php b/scp/logs.php similarity index 98% rename from scp/syslogs.php rename to scp/logs.php index 843fecd842cf49e3d3622338aec78777755ba544..79df35aed6c944499b5c49b72748943a110e115e 100644 --- a/scp/syslogs.php +++ b/scp/logs.php @@ -1,6 +1,6 @@ <?php /********************************************************************* - syslogs.php + logs.php System Logs @@ -42,8 +42,6 @@ if($_POST){ } } - - $page='syslogs.inc.php'; $nav->setTabActive('dashboard'); require(STAFFINC_DIR.'header.inc.php');