Changeset 569 for trunk/Modules/TimeMeasure
- Timestamp:
- Sep 16, 2013, 11:31:25 PM (11 years ago)
- Location:
- trunk/Modules/TimeMeasure
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/TimeMeasure/Graph.php
r548 r569 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/View.php');4 include_once(dirname(__FILE__).'/../Model/Measure.php');5 2 6 3 class GraphView extends View -
trunk/Modules/TimeMeasure/Main.php
r548 r569 1 1 <?php 2 2 3 include_once(dirname(__FILE__).'/../../Base/View.php'); 4 5 class MainView extends View 3 class MainPage extends Page 6 4 { 7 5 var $Months = array('', 'Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'); … … 169 167 $Output .= '<img alt="Graf" src="?M=Graph&Measure='.$_SESSION['Measure'].'&From='.$_SESSION['TimeStart'].'&To='.$_SESSION['TimeEnd'].'&Width='.$this->Config['Application']['GraphSize']['Width'].'&Height='.$this->Config['Application']['GraphSize']['Height'].'&Differential='.$_SESSION['Differential'].'" width="'.$this->Config['Application']['GraphSize']['Width'].'" height="'.$this->Config['Application']['GraphSize']['Height'].'"><br>'; 170 168 $Output .= '<a href="?Measure='.$_SESSION['Measure'].'&TimeStart='.$_SESSION['TimeStart'].'&TimeEnd='.$_SESSION['TimeEnd'].'&TimeSpecify=1&Differential='.$_SESSION['Differential'].'">Odkaz na vybraný graf</a><br>'; 171 //print_r(GetValues($Measure, $TimeStart, $TimeEnd));172 169 return($Output); 173 170 } -
trunk/Modules/TimeMeasure/Measure.php
r548 r569 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Model.php');4 2 5 3 class Measure extends Model -
trunk/Modules/TimeMeasure/TimeMeasure.php
r565 r569 1 1 <?php 2 3 include_once(dirname(__FILE__).'/Measure.php'); 4 include_once(dirname(__FILE__).'/Graph.php'); 5 include_once(dirname(__FILE__).'/Main.php'); 2 6 3 7 class ModuleTimeMeasure extends AppModule
Note:
See TracChangeset
for help on using the changeset viewer.