What is this that I’m finding all over the place in the lastest check out from CVS?
<? html_header_show();?>
It looks like it wants to be a PHP block of code but not defined as such. After some ‘grepping’ I found the function here:
library/translation.inc.php
Since the code seems to be running OK without the opening PHP block of “<?php” I’m no too worried but shouldn’t this error be corrected to be a syntactically correct?
Even there are little problems using the short form, it’s more ‘standard’ the long version usage, so here I agree with Rod. Unfortunately, the programmer who did this wasn’t of the same opinion (no, I wasn’t me, I just commit them :)).
The big idea is to replace maybe at some point in time, the page header generation with a function (like this), who will generate the needed elements. For the moment, this function tries to resolve the encoding issue for the displayed characters into the html pages.