-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05 May 2005, at 12:38 AM, K B wrote:
Can you explain this a little bit more? Is this something that needs to happen for every theme, or specific to pushbutton? Can you also explain more what needs to be changed in more detail? This is for all phptemplate templates. The underlying theme_ functions have been changed to be more consistent.
We found it was common in all templates to have : <?php if ($help) : ?> <div class='help'><?php print $help ?></div> <?php endif; ?> The html in there was moved to a theme_help function , so now you only have to do : <?php print $help ?> in your templates. The new menu stuff that still needs to land will change the templates too. The end result of the link changes will be that we will change : <?php if (is_array($primary_links)) : ?> <ul> <?php foreach ($primary_links as $link): ?> <li><?php print $link?></li> <?php endforeach; ?> </ul> <?php endif; ?> into : <?php print ($primary_links) ?> Similarly, due to a new theme_ function we will be introducing. PHPTemplate only landed today,and there's a lot of things in the theme system that will be changing in the near to mid future. These will all be documented fairly soon. - -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCeVFrgegMqdGlkasRAlGrAJ9kUijI6IBfTl38cYU2L8wbOzC8NQCcCtD6 Z57FFVaU/Z4ZClNsZ0d4C5M= =rveH -----END PGP SIGNATURE-----