Show
Ignore:
Timestamp:
08/28/06 19:03:25 (5 years ago)
Author:
max-horvath
Message:

"2006-08-28 Max Horvath <max.horvath@…>

  • Integrated KML node list export
  • Integrated PDF node list export
  • Updated Sprintf formatted strings in some Smarty templates"
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/NodeLists/NodeListHTML.php

    r1031 r1082  
    4646 * Load required classes 
    4747 */ 
     48require_once('classes/Dependencies.php'); 
    4849require_once('classes/Network.php'); 
    4950require_once('classes/Node.php'); 
     
    178179        $this->_smarty->assign('nodes', array()); 
    179180        $this->_smarty->assign('num_deployed_nodes', 0); 
     181        $this->_smarty->assign('PdfSupported', false); 
    180182 
    181183        /* 
     
    196198            $this->_smarty->assign('GMapsEnabled', true); 
    197199        } 
     200 
     201        if (Dependencies::check("FPDF")) { 
     202            $this->_smarty->assign('PdfSupported', true); 
     203        } 
     204 
    198205        // Set section of Smarty template 
    199206        $this->_smarty->assign('sectionTOOLCONTENT', true);