[Alba-desarrollo] SVN Alba r4235 -
prosistem/alba/trunk/alba/apps/principal/templates
commits en pressenter.com.ar
commits en pressenter.com.ar
Vie Feb 16 17:26:26 CET 2007
Author: ftoledo
Date: 2007-02-16 13:26:25 -0300 (Fri, 16 Feb 2007)
New Revision: 4235
Modified:
prosistem/alba/trunk/alba/apps/principal/templates/menu.php
Log:
fix del menu para que sea integra la tabla en datos desde cero
#132
Modified: prosistem/alba/trunk/alba/apps/principal/templates/menu.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/templates/menu.php 2007-02-1=
6 15:44:13 UTC (rev 4234)
+++ prosistem/alba/trunk/alba/apps/principal/templates/menu.php 2007-02-1=
6 16:26:25 UTC (rev 4235)
@@ -22,8 +22,8 @@
* menu
*
* @package alba
- * @author Jos=E9 Luis Di Biase <josx en interorganic.com.ar>
- * @author H=E9ctor Sanchez <hsanchez en pressenter.com.ar>
+ * @author Jos=C3=A9 Luis Di Biase <josx en interorganic.com.ar>
+ * @author H=C3=A9ctor Sanchez <hsanchez en pressenter.com.ar>
* @author Fernando Toledo <ftoledo en pressenter.com.ar>
* @version SVN: $Id$
* @filesource
@@ -37,6 +37,8 @@
echo "<ul>\n";
$c =3D new Criteria();
$c->add(MenuPeer::FK_PADRE_MENU_ID,$id_parent);
+ if ($id_parent =3D=3D 1)
+ $c->add(MenuPeer::ID,1,Criteria::NOT_EQUAL); // evitan menu =
raiz
$c->addAscendingOrderByColumn(MenuPeer::ORDEN);
$nodos =3D MenuPeer::doSelect($c);
=20
Más información sobre la lista de distribución Alba-desarrollo