From: vincent@cubedesigners.com Date: Tue, 17 Jul 2012 11:58:18 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c195b8cc7023894568e655b643bee9a9e0ca499f;p=cubeextranet.git --- diff --git a/images/ws/phonegap.png b/images/ws/phonegap.png new file mode 100644 index 000000000..a5447b228 Binary files /dev/null and b/images/ws/phonegap.png differ diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index dd1bd3ea3..b199b1b91 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -186,6 +186,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 ($droits->admin) { + $versions['phonegap'] = array('title' => __('Version offline') . ' - ' . __('Application mobile'), 'icon' => cubeMedia::image(IMG . '/phonegap.png')); + } $res = '
'; $res .= '