[commits] [Wiki] changed: Doc/Dev/ConversionH5

Ralf Lang (B1 Systems GmbH) lang at b1-systems.de
Thu Jan 24 18:12:24 UTC 2013


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

Modified page: http://wiki.horde.org/Doc/Dev/ConversionH5
New Revision:  2
Change log:  Wiki markup

@@ -1,14 +1,14 @@
  Notes on converting apps from Horde 4 to Horde 5.

  These are by far not complete.

-== Mandatory ==
-=== Use Horde_PageOutput ===
+++ 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

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

  <code>
              $menu->add(Horde::url('data.php'), _("_Import/Export"),  
'horde-data');
@@ -23,10 +23,10 @@
  </code>



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

  <code>
  $topbar = $injector->getInstance('Horde_View_Topbar');
@@ -38,9 +38,10 @@
  $topbar->searchLabel =  $session->get('sesha', 'search') ?: _("Stock Id");
  /* Define a search icon. Leave away if you want the default */
  $topbar->searchIcon = Horde_Themes::img('search-topbar.png');
  </code>
-=== Custom apps handling ===
+
++++ Custom apps handling
  If your conf.xml had such a section

  <code>
  <configsection name="menu">



More information about the commits mailing list