Given the pile of templates I have, I find 98 files with Item->title( in them.
A very common thing (60 files) puts what could be before and after param values are used before and after, like this:
- Code: Select all
<h2 class="post_title"><?php $Item->title(); ?></h2>
All the rest have something that means we wouldn't be able to put the H tag into the param values, like this:
- Code: Select all
<h1>
<a href="<?php $Item->permanent_url(); ?>" title="<?php echo T_('Permanent link to full entry') ?>"></a>
<?php $Item->title(); ?>
</h1>
So here's the problem: the first code block looks okay and certainly works, but this whole effort has been all about consistency across templates and functions/methods. Even tiny little details like "comments in code in templates don't use capitals or have a period at the end". Simple right? So by the way I've been doing all this, the before and after HTML bits would be param values. But ... it just seems like ... I dunno. Thoughts?