[themes] shortcut for phptemplate variable printouts
Farsheed
tfarsheed at yahoo.com
Fri Jun 23 17:40:28 UTC 2006
I forgot to mention another idea (which is still valid
php but would shorten code):
<?=$content ?>
<?=$sidebar_left ?>
I can definitely appreciate Morbus Iff's sentiments.
Just for clarification, I wasn't suggesting making an
entire markup language, just one alias for single
variable printouts.
--- Morbus Iff <morbus at disobey.com> wrote:
> > BEFORE:
> > <?php print $content ?>
> > <?php print $sidebar_left ?>
> >
> > AFTER:
> > {$content}
> > {$sidebar_left}
>
> I, personally, see no rationale in a theming markup
> language. There is
> very little point in saying "I know you don't
> understand { or } but use
> it to encase this dollar-sign word" when the exact
> same mentality is
> required for "I know you don't understand <?php
> print or ?> but use it
> to encase this dollar-sign word".
>
> For the same reason, I have similar complaints about
> wiki markup
> (memorize _ as opposed to the far more useful
> everywhere <em>) and
> bbcode systems (memorize [url=][/url] as opposed to
> the far more useful
> everywhere <a href=></a>).
>
> If we're going to force people to memorize
> something, let's force them
> to memorize something *useful* and which has a
> semblance of repeat
> knowledge and value at other sites and software they
> may use.
>
> --
> Morbus Iff ( if i could change the future, i'd
> change the past instead )
> Technical: http://www.oreillynet.com/pub/au/779
> Culture: http://www.disobey.com/ and
> http://www.gamegrene.com/
> icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff /
> jabber.org: morbus
> _______________________________________________
> themes mailing list
> themes at drupal.org
> http://lists.drupal.org/mailman/listinfo/themes
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the themes
mailing list