I have tried to add a "Home" tab to the beginning of the code, but am getting an error when I try to access the project:
Parse error: syntax error, unexpected '<' in /home/archomai/public_html/alcreg/conf/ApplicationDelegate.php on line 25
Apologies for my lack of php, but can anyone see what I've got wrong?
- Code: Select all
function block__tables_menu_head(){
<li><a href="qwerty.co.uk/asdfg/HomePage"
accesskey="accesskeys-navigation"
class="table-selection-tab"
title="Home"
id="TableLink_Home">
Home
</a></li>
{foreach from=$ENV.APPLICATION._tables item=label key=table}
<li {if $ENV.table==$table}class="selected"{/if}><a href="{$ENV.DATAFACE_SITE_HREF}?-table={$table}"
accesskey="accesskeys-navigation"
class="table-selection-tab {if $ENV.table==$table}selected{/if}"
title="{$label}"
id="TableLink_{$table}">
{$label}
</a></li>
{/foreach}
}
Many thanks
Neil