From: Michael J. Rubinsky Date: Sun, 26 Dec 2010 05:40:42 +0000 (-0500) Subject: Build initial gallery list X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f19cc7f3f415a32b416b7f9971af70622dbed381;p=horde.git Build initial gallery list --- diff --git a/ansel/js/mobile.js b/ansel/js/mobile.js new file mode 100644 index 000000000..c0f246791 --- /dev/null +++ b/ansel/js/mobile.js @@ -0,0 +1,73 @@ +/** + * mobile.js - Base mobile application logic. + * + * Copyright 2010 The Horde Project (http://www.horde.org/) + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + * + * @author Michael J. Rubinsky + * @category Horde + * @license http://www.fsf.org/copyleft/gpl.html GPL + * @package Ansel + */ +var AnselMobile = { + + /** + * Build a gallery list + */ + buildGalleryList: function(galleries) + { + var list = $(' -
- +
\ No newline at end of file diff --git a/ansel/templates/mobile/javascript_defs.php b/ansel/templates/mobile/javascript_defs.php index 00d9b8287..bc254b5b2 100644 --- a/ansel/templates/mobile/javascript_defs.php +++ b/ansel/templates/mobile/javascript_defs.php @@ -1,7 +1,7 @@ get('webroot'); +$ansel_webroot = $registry->get('webroot'); $horde_webroot = $registry->get('webroot', 'horde'); $has_tasks = $registry->hasInterface('tasks');