1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fix a few little things that got broken

This commit is contained in:
e107steved
2008-12-13 17:33:44 +00:00
parent 2d6fc3af73
commit c9ebac0827
3 changed files with 12 additions and 11 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/admin_log.php,v $
| $Revision: 1.20 $
| $Date: 2008-12-07 14:22:32 $
| $Revision: 1.21 $
| $Date: 2008-12-13 17:33:38 $
| $Author: e107steved $
|
| Preferences:
@@ -274,7 +274,7 @@ $rl_cookiename = $pref['cookie_name']."_rl_admin";
if (isset($_POST['updatefilters']) || isset($_POST['clearfilters']))
{ // Need to put the filter values into the cookie
if (!isset($_POST['clearfilters']))
{ // Only update filter values from S_POST[] if 'clear filters' not active
{ // Only update filter values from $_POST[] if 'clear filters' not active
$start_time = intval($_POST['starttimedate'] + $_POST['starttimehours']*3600 + $_POST['starttimemins']*60);
$start_enabled = isset($_POST['start_enabled']);
if (isset($_POST['timelength']))
@@ -286,7 +286,8 @@ if (isset($_POST['updatefilters']) || isset($_POST['clearfilters']))
$end_time = intval($_POST['endtimedate'] + $_POST['endtimehours']*3600 + $_POST['endtimemins']*60);
}
$end_enabled = isset($_POST['end_enabled']);
$user_filter = intval($_POST['roll_user_filter']);
$user_filter = trim(varset($_POST['roll_user_filter'],''));
if ($user_filter != '') $user_filter = intval($user_filter);
$event_filter = $tp->toDB($_POST['roll_event_filter']);
$pri_filter_cond = $tp->toDB($_POST['roll_pri_cond']);
$pri_filter_val = $tp->toDB($_POST['roll_pri_val']);
@@ -841,7 +842,7 @@ $sort_fields = array(
if ($filter_cols >= 4) { $text .= '</tr>'; $filter_cols = 0; }
}
// $text .= "<tr><td colspan='4'>Query = {$qry}<br />{$_COOKIE[$rl_cookiename]}</td></tr>";
// $text .= "<tr><td colspan='4'>Query = ".$qry.$limit_clause."<br />{$_COOKIE[$rl_cookiename]}</td></tr>";
$text .= "
<tr>
<td colspan='1' style='text-align:center' class='forumheader3'><input class='button' type='submit' name='clearfilters' value='".RL_LAN_114."' /></td>

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/e_notify.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:20 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2008-12-13 17:33:44 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -21,7 +21,7 @@ if (!defined('e107_INIT')) { exit; }
if(defined('ADMIN_PAGE') && ADMIN_PAGE === true)
{
include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE.".php");
@include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE."_admin_links_page.php");
$config_category = NT_LAN_LP_1;
$config_events = array('linksub' => NT_LAN_LP_2);
}

View File

@@ -1,7 +1,7 @@
<?php
if (!defined('e107_INIT')) { exit; }
include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE.".php");
@include_lan(e_PLUGIN."links_page/languages/".e_LANGUAGE."_admin_links_page.php");
$count = $sql -> db_Count("links_page", "(*)");
$text .= "<div style='padding-bottom: 2px;'><img src='".e_PLUGIN."links_page/images/linkspage_16.png' style='width: 16px; height: 16px; vertical-align: bottom' alt='' /> ".LCLAN_ADMIN_14.": ".$count."</div>";
$text .= "<div style='padding-bottom: 2px;'><img src='".e_PLUGIN_ABS."links_page/images/linkspage_16.png' style='width: 16px; height: 16px; vertical-align: bottom' alt='' /> ".LCLAN_ADMIN_14.": ".$count."</div>";
?>