Module: nagvis
Branch: master
Commit: 9c6f3925d24926cad659dfb3f0e15818c4641d93
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=9c6f3925d24926cad659dfb3f0e15818c4641d93

Author: LaMi <[email protected]>
Date:   Sun Nov  8 14:37:44 2009 +0100

Added param rotation to overview page

---

 .../nagvis-js/classes/FrontendModOverview.php      |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/share/frontend/nagvis-js/classes/FrontendModOverview.php 
b/share/frontend/nagvis-js/classes/FrontendModOverview.php
index f387df9..868b775 100644
--- a/share/frontend/nagvis-js/classes/FrontendModOverview.php
+++ b/share/frontend/nagvis-js/classes/FrontendModOverview.php
@@ -1,9 +1,15 @@
 <?php
 class FrontendModOverview extends FrontendModule {
+       private $rotation = '';
        
        public function __construct(GlobalCore $CORE) {
                $this->CORE = $CORE;
                
+               // Parse the view specific options
+               $aOpts = Array('rotation' => MATCH_ROTATION_NAME_EMPTY);
+               $aVals = $this->getCustomOptions($aOpts);
+               $this->rotation = $aVals['rotation'];
+               
                $this->aActions = Array(
                        'view' => REQUIRES_AUTHORISATION
                );


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to