From b47fcddaf4d3db343b5ecb230c79f4321549fa94 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Sat, 9 Apr 2011 15:56:23 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.url.php | 5 +- inc/ws/Util/class.ws.swf2html.php | 9 ++ inc/ws/Util/packager/_common.php | 1 + .../Util/packager/class.ws.packager.html5.php | 137 ++++++++++++++++++ inc/ws/Util/packager/class.ws.packager.php | 2 + 5 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 inc/ws/Util/packager/class.ws.packager.html5.php diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index ca43df93a..61986ff86 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -145,6 +145,9 @@ class wsUrl { $versions['win-ins'] = array('title' => __('Version offline') . ' - ' . __('Installeur Auto-executable Windows'), 'icon' => cubeMedia::silk('application_view_tile.png')); $versions['mac-exe'] = array('title' => __('Version offline') . ' - ' . __('Exécutable Mac OS X'), 'icon' => cubeMedia::image(IMG . '/macos.png')); $versions['win-cd'] = array('title' => __('Version offline') . ' - ' . __('CD-ROM') . ' / ' . __('Clé USB'), 'icon' => cubeMedia::silk('cd.png')); + if (wsDroits::admin()) { + $versions['html5'] = array('title' => __('Version HTML5 (α)'), 'icon' => cubeMedia::silk('page_white_world.png')); + } $res = '
'; $res .= '