[[toc]] + A short-hand reference of common Horde idioms to get things done. Mostly useful to those who have recurring intermissions in their horde development. ++ Classic UI: Reference an image from Theme Horde::img('image.png', 'Alt Text'); // The Image will be searched in the themes folders, precedence: current app, selected theme - current app, default theme - horde, current theme - horde, default theme ++ Locations +++ App Icon Url $GLOBALS['registry']->get('icon', $app); +++ App Web Root Url $GLOBALS['registry']->get('webroot', $app); +++ App's Javascript Url$registry->applications['timetool']['jsuri'];$registry->applications[$app]['jsuri']; Note: This is most likely not what you want. Use the template & js loading mechanism instead ---- Back to the ((Project|Project List))