Ignore:
Timestamp:
Sep 16, 2013, 11:31:25 PM (11 years ago)
Author:
chronos
Message:
  • Přidáno: Základní statické generování DNS záznamů do RouterOS. Původní soubor generování pro Linux přesunut do NetworkConfigLinux.
Location:
trunk/Modules/TimeMeasure
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/TimeMeasure/Graph.php

    r548 r569  
    11<?php
    2 
    3 include_once(dirname(__FILE__).'/../../Base/View.php');
    4 include_once(dirname(__FILE__).'/../Model/Measure.php');
    52
    63class GraphView extends View
  • trunk/Modules/TimeMeasure/Main.php

    r548 r569  
    11<?php
    22
    3 include_once(dirname(__FILE__).'/../../Base/View.php');
    4 
    5 class MainView extends View
     3class MainPage extends Page
    64{
    75  var $Months = array('', 'Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec');
     
    169167    $Output .= '<img alt="Graf" src="?M=Graph&amp;Measure='.$_SESSION['Measure'].'&amp;From='.$_SESSION['TimeStart'].'&amp;To='.$_SESSION['TimeEnd'].'&amp;Width='.$this->Config['Application']['GraphSize']['Width'].'&amp;Height='.$this->Config['Application']['GraphSize']['Height'].'&amp;Differential='.$_SESSION['Differential'].'" width="'.$this->Config['Application']['GraphSize']['Width'].'" height="'.$this->Config['Application']['GraphSize']['Height'].'"><br>';
    170168    $Output .= '<a href="?Measure='.$_SESSION['Measure'].'&amp;TimeStart='.$_SESSION['TimeStart'].'&amp;TimeEnd='.$_SESSION['TimeEnd'].'&amp;TimeSpecify=1&amp;Differential='.$_SESSION['Differential'].'">Odkaz na vybraný graf</a><br>';
    171 //print_r(GetValues($Measure, $TimeStart, $TimeEnd));
    172169    return($Output);
    173170  }
  • trunk/Modules/TimeMeasure/Measure.php

    r548 r569  
    11<?php
    2 
    3 include_once(dirname(__FILE__).'/../../Base/Model.php');
    42
    53class Measure extends Model
  • trunk/Modules/TimeMeasure/TimeMeasure.php

    r565 r569  
    11<?php
     2
     3include_once(dirname(__FILE__).'/Measure.php');
     4include_once(dirname(__FILE__).'/Graph.php');
     5include_once(dirname(__FILE__).'/Main.php');
    26
    37class ModuleTimeMeasure extends AppModule
Note: See TracChangeset for help on using the changeset viewer.