Changeset 336

Show
Ignore:
Timestamp:
10/09/08 09:43:31 (12 years ago)
Author:
beans
Message:

* Fixed logo and T2 icon on about pages
* Fixed session, now using siteid also
* Removed Syncronization from administration menu

Location:
dev
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • dev/common/about.php

    r314 r336  
    1515                     'Mitchman', 
    1616                     'Coni', 
    17                      'beansman'); 
     17                     'beansman', 
     18                     'FriedRoadKill', 
     19                     'bunjiboys'); 
    1820sort($contributor); 
    1921 
     
    2426$html .= "This is the EVE Development Network Killboard running version ".KB_VERSION." ".KB_RELEASE." rev ".SVN_REV.", created for <a href=\"http://www.eve-online.com/\">EVE Online</a> corporations and alliances. Based on the EVE-Killboard created by rig0r, it is now developed and maintained by the <a href=\"http://www.eve-dev.net/\">EVE-Dev</a> group.<br/>" 
    2527        ."All EVE graphics and data used are property of <a href=\"http://www.ccpgames.com/\">CCP</a>.<br/><br/>"; 
    26 $html .= '<a href="http://www.eve-dev.net/" target="_blank"><img src="http://www.eve-dev.net/e107_images/evedev_button.png" border="0"/></a><br/><br/>'; 
     28$html .= '<a href="http://www.eve-dev.net/" target="_blank"><img src="http://www.eve-dev.net/logo.png" border="0"/></a><br/><br/>'; 
    2729 
    2830$html .= '<b>Staff:</b><br/>'; 
     
    100102    elseif ($value > 80 && $value <= 250) 
    101103        $color = "orange"; 
    102     elseif ($value > 250 && $value <= 7000) 
     104    elseif ($value > 250 && $value) 
    103105        $color = "purple"; 
    104106 
     
    123125        if ($row['shp_techlevel'] == 2) 
    124126        { 
    125             $row['shp_name'] = '<img src="'.IMG_URL.'/ships/32_32/t2.gif">'.$row['shp_name']; 
     127            $row['shp_name'] = '<img src="'.IMG_URL.'/items/32_32/t2.gif">'.$row['shp_name']; 
    126128        } 
    127129        $html .= "<tr class=kb-table-row-odd><td>".$row['shp_name']."&nbsp;</td><td>".$row['scl_class']."&nbsp;</td><td align=\"right\">".number_format($row['scl_points'],0,',','.')."</td><td align=\"right\">&nbsp;".number_format($row['shp_value'],0,',','.')."&nbsp;<img src=\"".getVictimShipValueIndicator($row['shp_value']/1000000)."\"></td></tr>"; 
  • dev/common/admin/admin_menu.php

    r216 r336  
    4949 
    5050options::oldMenu('Advanced', "Ship Values", "?a=admin_shp_val"); 
    51 options::oldMenu('Advanced', "Synchronization", "?a=admin_sync"); 
     51#options::oldMenu('Advanced', "Synchronization", "?a=admin_sync"); 
    5252options::oldMenu('Advanced', "Post Permissions", "?a=admin_postperm"); 
    5353 
  • dev/common/includes/class.session.php

    r254 r336  
    1717    function isAdmin() 
    1818    { 
    19         return (bool)$_SESSION['admin']; 
     19        return (bool)($_SESSION['admin'] && $_SESSION['rsite'] == $_SERVER["HTTP_HOST"]); 
    2020    } 
    2121 
    2222    function isSuperAdmin() 
    2323    { 
    24         return (bool)$_SESSION['admin_super']; 
     24        return (bool)($_SESSION['admin_super']&& $_SESSION['rsite'] == $_SERVER["HTTP_HOST"]); 
    2525    } 
    2626 
     
    2929        session_start(); 
    3030        $_SESSION['admin'] = $admin; 
     31                                $_SESSION['rsite'] = $_SERVER["HTTP_HOST"]; 
    3132    } 
    3233 
  • dev/common/includes/globals.php

    r326 r336  
    11<?php 
    22// current subversion revision 
    3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 326 $', $match); 
     3preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 336 $', $match); 
    44define('SVN_REV', $match[1]); 
    55 
  • dev/mods/history/about.php

    r315 r336  
    1515                     'Mitchman', 
    1616                     'Coni', 
    17                      'beansman'); 
     17                     'beansman', 
     18                     'FriedRoadKill', 
     19                     'bunjiboys'); 
    1820sort($contributor); 
    1921 
     
    2426$html .= "This is the EVE Development Network Killboard running version ".KB_VERSION." ".KB_RELEASE." rev ".SVN_REV.", created for <a href=\"http://www.eve-online.com/\">EVE Online</a> corporations and alliances. Based on the EVE-Killboard created by rig0r, it is now developed and maintained by the <a href=\"http://www.eve-dev.net/\">EVE-Dev</a> group.<br/>" 
    2527        ."All EVE graphics and data used are property of <a href=\"http://www.ccpgames.com/\">CCP</a>.<br/><br/>"; 
    26 $html .= '<a href="http://www.eve-dev.net/" target="_blank"><img src="http://www.eve-dev.net/e107_images/evedev_button.png" border="0"/></a><br/><br/>'; 
     28$html .= '<a href="http://www.eve-dev.net/" target="_blank"><img src="http://www.eve-dev.net/logo.png" border="0"/></a><br/><br/>'; 
    2729 
    2830$html .= '<b>Staff:</b><br/>'; 
     
    133135    elseif ($value > 80 && $value <= 250) 
    134136        $color = "orange"; 
    135     elseif ($value > 250 && $value <= 7000) 
     137    elseif ($value > 250) 
    136138        $color = "purple"; 
    137139 
     
    156158        if ($row['shp_techlevel'] == 2) 
    157159        { 
    158             $row['shp_name'] = '<img src="'.IMG_URL.'/ships/32_32/t2.gif">'.$row['shp_name']; 
     160            $row['shp_name'] = '<img src="'.IMG_URL.'/items/32_32/t2.gif">'.$row['shp_name']; 
    159161        } 
    160162        $html .= "<tr class=kb-table-row-odd><td>".$row['shp_name']."&nbsp;</td><td>".$row['scl_class']."&nbsp;</td><td align=\"right\">".number_format($row['scl_points'],0,',','.')."</td><td align=\"right\">&nbsp;".number_format($row['shp_value'],0,',','.')."&nbsp;<img src=\"".getVictimShipValueIndicator($row['shp_value']/1000000)."\"></td></tr>";