Changeset 1082
- Timestamp:
- 08/28/06 19:03:25 (6 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 5 added
- 6 modified
-
CHANGELOG (modified) (3 diffs)
-
INSTALL (modified) (1 diff)
-
wifidog/README.txt (modified) (1 diff)
-
wifidog/classes/Dependencies.php (modified) (2 diffs)
-
wifidog/classes/NodeLists/NodeListHTML.php (modified) (3 diffs)
-
wifidog/classes/NodeLists/NodeListKML.php (added)
-
wifidog/classes/NodeLists/NodeListPDF.php (added)
-
wifidog/lib/fpdf (added)
-
wifidog/templates/NodeLists (added)
-
wifidog/templates/NodeLists/NodeListPDF.php (added)
-
wifidog/templates/sites/hotspot_status.tpl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/CHANGELOG
r1080 r1082 1 2006-08-28 Max Horváth <max.horvath@maxspot.de> 2 * Integrated KML node list export 3 * Integrated PDF node list export 4 * Updated Sprintf formatted strings in some Smarty templates 5 1 6 2006-08-27 Benoit Grégoire <bock@step.polymtl.ca> 2 7 * clickthrough.php, HyperLink.php: Implement working hyperlink clickthrough tracking (no reporting yet). … … 4 9 * Make HTMLeditor inherit from Langstring. Allowed a massive reduction of line count and will stop the codebases from needlessly drifting apart. 5 10 * Do not log content displayed as metadata, and log their clickthrough as the parent's. 6 11 7 12 2006-08-27 François Proulx <francois.proulx@gmail.com> 8 13 * Updated French translations 9 14 * Now using Sprintf formatted strings in some Smarty templates (see example in templates/sites/index.tpl). 10 15 * Integrated back the SQL profiling functions 11 16 12 17 2006-07-20 Benoit Grégoire <bock@step.polymtl.ca> 13 18 * Fix a bug where having an empty username would break statistics. … … 17 22 18 23 2006-07-05 Benoit Grégoire <bock@step.polymtl.ca> 19 * Fix #175. 24 * Fix #175. 20 25 * Fix the "Registration Log" and "User registration report" reports giving incorrect statistics 21 26 * Allow disabling EventLogging class in config.php, to make SQL debuging possible (The class was traping errors before AbstractDb could output them) 22 * Make EVENT_LOGGING default to false for now, as it turns out EventLogging was the cause of the 23 Spurious PEAR output ("Runtime Notice: ") we've been seeing. That is probably only because we don't 27 * Make EVENT_LOGGING default to false for now, as it turns out EventLogging was the cause of the 28 Spurious PEAR output ("Runtime Notice: ") we've been seeing. That is probably only because we don't 24 29 understand how to properly control it's logging level. 25 30 -
trunk/wifidog-auth/INSTALL
r952 r1082 16 16 - FCKeditor 2.2 (http://www.fckeditor.net/) (Required if you want to edit 17 17 content with a HTML text editor aka WYSIWYG editor) 18 - FPDF 1.53+ (http://www.fpdf.org/) (Required if you want to export the node 19 list into a PDF file) 18 20 - PEAR (if you need RADIUS auth support, see below) 19 21 - Phlickr 0.2.5+ installed as a PEAR package (http://phlickr.sourceforge.net/) -
trunk/wifidog-auth/wifidog/README.txt
r1045 r1082 3 3 4 4 Subdirectories: 5 admin: PHP scripts for the adminstrative interface 6 auth: Gateway authentication responder 7 classes: All the PHP classes 8 content: Scripts and reports for specific content types (such as PatternLanguage) 9 contrib: Various scripts and templates given as examples 10 cron: PHP scripts meant to be executed on a regular basis 11 include: PHP includes 12 js: Javascripts 13 lib: PHP includes and classes maintained outside wifidog. Some are merely installed there, some are distributed with wifidog. 14 locale: Gettext translation files and scripts 15 login: Login page 16 media: Static media files (stylesheets, theme packs, images) 17 ping: Gateway heartbeat and logging responder 18 portal: Portal page 19 templates: Smarty templates (Note that those are meant to ease development, not for customization) 20 tmp: Wifidog stores all it's temp files here 5 admin: PHP scripts for the adminstrative interface 6 auth: Gateway authentication responder 7 classes: All the PHP classes 8 content: Scripts and reports for specific content types (such as 9 PatternLanguage) 10 contrib: Various scripts and templates given as examples 11 cron: PHP scripts meant to be executed on a regular basis 12 include: PHP includes 13 js: Javascripts 14 lib: PHP includes and classes maintained outside wifidog. Some are 15 merely installed there, some are distributed with wifidog. 16 locale: Gettext translation files and scripts 17 login: Login page 18 media: Static media files (stylesheets, theme packs, images) 19 ping: Gateway heartbeat and logging responder 20 portal: Portal page 21 templates: Smarty templates (Note that those are meant to ease development, 22 not for customization) 23 tmp: Wifidog stores all it's temp files here -
trunk/wifidog-auth/wifidog/classes/Dependencies.php
r1023 r1082 43 43 * @link http://www.wifidog.org/ 44 44 */ 45 require_once ('classes/Locale.php');//Necessary in case gettext isn't defined 45 46 // Detect Gettext support 47 if (!function_exists('gettext')) { 48 require_once ('classes/Locale.php'); 49 } 50 46 51 /** 47 52 * This class checks the existence of components required by WiFiDog. … … 70 75 "Radius" => array ("name" => "PEAR::RADIUS", "files" => array("Auth/RADIUS.php", "Crypt/CHAP.php"), "PhpExtension" => false, "localLib" => false), 71 76 "FCKeditor" => array ("name" => "FCKeditor", "files" => "lib/FCKeditor/fckeditor.php", "PhpExtension" => false, "localLib" => true), 77 "FPDF" => array ("name" => "FPDF", "files" => "lib/fpdf/fpdf.php", "PhpExtension" => false, "localLib" => true), 72 78 "Smarty" => array ("name" => "Smarty", "files" => "lib/smarty/Smarty.class.php", "PhpExtension" => false, "localLib" => true) 73 79 ); -
trunk/wifidog-auth/wifidog/classes/NodeLists/NodeListHTML.php
r1031 r1082 46 46 * Load required classes 47 47 */ 48 require_once('classes/Dependencies.php'); 48 49 require_once('classes/Network.php'); 49 50 require_once('classes/Node.php'); … … 178 179 $this->_smarty->assign('nodes', array()); 179 180 $this->_smarty->assign('num_deployed_nodes', 0); 181 $this->_smarty->assign('PdfSupported', false); 180 182 181 183 /* … … 196 198 $this->_smarty->assign('GMapsEnabled', true); 197 199 } 200 201 if (Dependencies::check("FPDF")) { 202 $this->_smarty->assign('PdfSupported', true); 203 } 204 198 205 // Set section of Smarty template 199 206 $this->_smarty->assign('sectionTOOLCONTENT', true); -
trunk/wifidog-auth/wifidog/templates/sites/hotspot_status.tpl
r1072 r1082 56 56 <li><a href="{$base_non_ssl_path}hotspots_map.php">{"Deployed HotSpots map"|_}</a></li> 57 57 {/if} 58 {if $PdfSupported} 59 <li><a href="?format=PDF">{"Get this list as a PDF file"|_}</a></li> 60 {/if} 61 <li><a href="?format=RSS">{"Get this list as a RSS feed"|_}</a></li> 62 <li><a href="?format=KML">{"Get this list for Google Earth"|_}</a></li> 58 63 <li><a href="{$base_non_ssl_path}node_list.php">{"Full node technical status (includes non-deployed nodes)"|_}</a></li> 59 64 </ul> … … 72 77 <thead> 73 78 <tr> 74 <th colspan= 6>{"Status of the"|_} {$num_deployed_nodes} {"open"|_} {$hotspot_network_name} {"Hotspots (Get this list as a <a href='?format=RSS'>RSS feed</a>)"|_}</th>79 <th colspan="6">{"Status of the %d open %s Hotspots"|_|sprintf:$num_deployed_nodes:$hotspot_network_name}</th> 75 80 </tr> 76 81 <tr> … … 117 122 {/if} 118 123 119 {"Opened on "|_} {$nodes[node].creation_date}124 {"Opened on %s"|_|sprintf:$nodes[node].creation_date} 120 125 </td> 121 126
