What's this?:
This WebGUI macro detects the current browser and returns it.
System requirements:
- Web server (tested on Apache 2).
- WebGUI (tested on WebGUI V7.4.x).
- Perl module HTTP::BrowserDetect.
Files:
- WebGUI/docs/Macro_Browser.html: This document here.
- WebGUI/lib/WebGUI/Help/Macro_Browser.pm: Help file.
- WebGUI/lib/WebGUI/Macro/Browser.pm: WebGUI macro.
- WebGUI/lib/WebGUI/i18n/English/Macro_Browser.pm: Texts in english language.
- WebGUI/lib/WebGUI/i18n/German/Macro_Browser.pm: Texts in german language.
Installation:
- Download the package source from http://sourceforge.net/projects/addons4webgui.
- Extract it into your WebGUI install. Example: tar xvfz /path/to/Macro_Browser-x.x.x.tar.gz /path/to/WebGUI.
- Edit WebGUI conf file to add the Browser macro to the macro list.
- Restart web server.
Usage:
ˆBrowser(); returns the browser type.
ˆBrowser(version); returns the browser version.
Troubleshooting:
See web server log file and/or webgui log file.
|
Changelog:
V3.0.1:
- Renamed and updated this document
V3.0.0:
- Migrated to WebGUI V7.4.x
V2.1.0:
- Migrated to WebGUI V6.8.x
- Added text files
- Added help file
V2.0.0:
- Testet with WebGUI 6.7.x
- Added this doc
V0.1.0:
|