rlang  Thu, 24 Jan 2013 19:19:22 +0100

Modified page: http://wiki.horde.org/Doc/Dev/ConversionH5
New Revision:  3
Change log:  Adding JavaScript, Footer

@@ -4,9 +4,28 @@

 ++ Mandatory
 +++ Use Horde_PageOutput
  * There is a new class Horde_PageOutput which is an OO-style output buffer
- * horde/templates/common-header.inc does not exist anymore
+++++ common header to $page_output->header
+
+horde/templates/common-header.inc does not exist anymore
+
+@@---require $registry->get('templates', 'horde') . '/common-header.inc';
+echo Horde::menu();@@
+@@+++ $page_output->header(array(
+    'title' => _("List")
+));
+@@
+
+
+++++ Page Footer
+@@---require $registry->get('templates', 'horde') . '/common-footer.inc';@@
+$page_output->footer();
+
+++++ Adding Javascript
+@@---Horde::addScriptFile('jquery-ui/jquery-1.7.min.js', 'insysgui');@@
+@@+++$page_output->addScriptFile('jquery-ui/jquery-1.7.min.js');@@
+

 +++ New parameter format for entries in menu
 In Application.php's menu function, entries now go like this

@@ -22,8 +41,9 @@
 }
 </code>


+++

 ++ UI
 +++ Topbar search bar
* If your app sported a custom search bar (like wicked, sesha or whups), convert it to the Horde Topbar

--
commits mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to