Changeset 783


Ignore:
Timestamp:
Jan 9, 2016, 12:33:50 PM (9 years ago)
Author:
chronos
Message:
  • Moved: Generic class Page is now part of Common package.
Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r781 r783  
    11<?php
    22
    3 $Revision = 781; // Subversion revision
     3$Revision = 782; // Subversion revision
    44$DatabaseRevision = 770; // SQL structure revision
    5 $ReleaseTime = strtotime('2016-01-01');
     5$ReleaseTime = strtotime('2016-01-09');
  • trunk/Application/View.php

    r782 r783  
    125125  function GetOutput($Page)
    126126  {
     127    $Page->OnSystemMessage = array($this->System->BaseView, 'SystemMessage');
     128
    127129    $Output = $Page->Show();
    128130    if($Page->ClearPage == false)
  • trunk/Common/Global.php

    r782 r783  
    88include_once(dirname(__FILE__).'/../Packages/Package.php');
    99include_once(dirname(__FILE__).'/../Packages/Common/Common.php');
    10 include_once(dirname(__FILE__).'/Page.php');
    1110include_once(dirname(__FILE__).'/Table.php');
    1211include_once(dirname(__FILE__).'/Form/Form.php');
     
    368367  global $Database;
    369368
    370   $DbResult = $Database->query('SELECT Id FROM Member WHERE '.
    371   '(SELECT Member FROM NetworkDevice WHERE (SELECT Device FROM NetworkInterface '.
    372   'WHERE LocalIP = "'.$IP.'") = NetworkDevice.Id) = Member.Id');
     369  $DbResult = $Database->query('SELECT `Id` FROM `Member` WHERE '.
     370  '(SELECT `Member` FROM `NetworkDevice` WHERE (SELECT `Device` FROM `NetworkInterface` '.
     371  'WHERE `LocalIP` = "'.$IP.'") = `NetworkDevice`.`Id`) = `Member`.`Id`');
    373372  if($DbResult->num_rows > 0)
    374373  {
  • trunk/Packages/Common/Common.php

    r782 r783  
    1313include_once(dirname(__FILE__).'/AppModule.php');
    1414include_once(dirname(__FILE__).'/Config.php');
     15include_once(dirname(__FILE__).'/Page.php');
    1516
    1617class PackageCommon extends Package
Note: See TracChangeset for help on using the changeset viewer.