|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
waytohell Smarty n00b
Joined: 21 Aug 2006 Posts: 1
|
Posted: Mon Aug 21, 2006 12:01 pm Post subject: Problem with core.load_plugins.php |
|
|
i found this somewhere a long time a go and it worked when i tried it in the past but since i then i totally forgot how to make it work
These are the errors output:
Quote: | Smarty error: [in header.tpl.htm line 112]: syntax error: unrecognized tag 'translate' (Smarty_Compiler.class.php, line 583) in /home/chop/Web/Website/smarty/Smarty.class.php on line 1095 |
header.tpl.htm
Code: |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<!--
<META http-equiv=Page-Enter content="revealtrans(duration=1.2, transition=23)">
<META http-equiv=Page-Exit content="revealtrans(duration=1.2, transition=23)">
-->
<meta name="keywords" content="{$meta_keys}">
<meta name="description" content="{$description}">
<meta http-equiv="keywords" content="{$meta_keys}">
<meta http-equiv="description" content="{$description}">
<META NAME="ROBOTS" CONTENT="all, index, follow">
<title>{$web_title}</title>
<script language="JavaScript1.2" src="js/common_script.js" type='text/javascript'></script>
<script language="JavaScript" src="{$theme}/js/menus.js" type='text/javascript'></script>
</head>
<link href="{$theme}/style.css" rel="stylesheet" type="text/css">
{literal}
<style type="text/css">
#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 10px Verdana;
line-height:18px;
z-index:100;
}
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
height: 25;
z-index:100;
}
#dropmenudiv a:hover{ /*hover background color*/
color: black;
background-color: #CECFCE;
}
</style>
{/literal}
<!-- BEGIN HEADER -->
<body>
<table width="100%" border="0">
<tr >
<td rowspan="2" width="190"><img src="{$theme}/images/index/Logo1.gif" width="190" height="90"></td>
<td colspan="2" valign="top" align="left" nowrap > & & & &
<a class="top_menu" href="{$index_page}"> {$_HOMEPAGE} </a>
|
<a class="top_menu" href="modules.php?module=consultant"> {$_CONSULTANT} </a>
{*|
<a class="top_menu" href="{$payment_method_page}"> {$_PAYMENT_METHOD} </a> *}
{if !$is_login }
|
<a class="top_menu" href="{$login_page}"> {$_LOGIN} </a>
{/if}
{if $is_mod}
|
<a class="top_menu" href="{$admin_page}"> {$_ADMIN_MENU} </a>
{/if}
{if $is_login}
& &&
<font class=title>{$_HELLO}</font> <a class="top_menu" href="{$login_page}">{$username}</a>
<a class=tiny href="{$logout_page}">[{$_LOGOUT}]</a>
{/if}
</td>
</tr>
<tr>
<td width="300" align="center" valign="middle" >
<img src="{$theme}/images/banner2/{$top_banner}" border=0>
</td>
<td align="right" valign="bottom" >
<table border="0" cellpadding="2" cellspacing="2" align="right">
<tr align="center" valign="bottom">
<!-- <td><a class=top_menu2 href="modules.php?module=wishlist&op=view"><img src="{$theme}/images/check.gif" width="29" height="24" border=0 ></a><br><a href="modules.php?module=wishlist&op=view">{$VIEW_PRODUCT_MARK}</a></td>
<td><a class=top_menu2 href="{$request_page}"><img src="{$theme}/images/tu-van.gif" width="29" height="24" border=0 ><br>
{ $_PRIVATE_REQUEST}</a></td>
-->
<td ><a class=top_menu2 href="{$process_page}"><img src="{$theme}/images/giao-hang.gif" width="36" height="19" border=0 ><br>
{ $_TRACK_ORDER }</a></td>
<td ><a class="top_menu2" href="{$utility_page}"> <img src="{$theme}/images/tai-khoan.gif" width="18" height="19" border=0 ><br>
{ $_UTILITY }</a></td>
<td ><a class=top_menu2 href="{$shopping_basket_page}"><img src="{$theme}/images/gio-hang.gif" width="24" height="19" border=0 ><br>
{ $_SHOPPING_BASKET } </a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0">
<tr align="center" height="25">
{foreach from=$cate_arr item=cate_name key=cate_id}
<td class="lred" nowrap onMouseOver="setColumnMenu(this,'over');dropdownmenu(this, event, menu_{$cate_id}, '150px')" onMouseOut="delayhidemenu(this);//setColumnMenu(this,'out');" onClick="openlink('shopping.php?category={$cate_id}')"><a href="" onClick="openlink('shopping.php?category={$cate_id}'); return false;" class="red">{$cate_name.name}</a></td>
<script>
var menu_{$cate_id}=new Array();
{assign var="k" value=0 }
{foreach from=$subcate_arr.$cate_id item=subcate_name key=subcate_id }
{assign var="k" value="`$k+1`"}
menu_{$cate_id}[{$k}]="<a href=\"{$shopping_page}?category={$subcate_name.category_id}\"></a>" ;
{/foreach}
</script>
{/foreach}
</tr>
<tr bgcolor="#FFFFCC" >
<td height="20" colspan="19" align="left" valign="middle">{ center_menu_show }</td>
</tr>
<table width="100%" border="0">
<TR >
{ if $left_menu_size }
<!-- LEFT COLUMN -->
<TD style="width:{$left_width }" valign=top align=left width="{$left_width }" class=tdleft >
<TABLE border=0 cellpadding=0 cellspacing=0 >
<TR>
<TD class=tdleft background="#EEEEEE" >{ left_menu_show }</TD>
<TD bgcolor="#e8f1fa" width=14 ></TD>
<TD bgcolor="#FFFFFF" width=14 ></TD>
</TR>
</TABLE>
</TD>
<!-- END LEFT COLUMN -->
{/if}
<!-- CENTER COLUMN -->
<TD class=tdcenter width="{$center_width}" >
|
Smarty_Compiler.class.php and Smarty.class.php are default as in Smarty-2.6.14
I just wonder if it is because of the version of Smarty??? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Aug 21, 2006 1:54 pm Post subject: Re: Problem with core.load_plugins.php |
|
|
waytohell wrote: | I just wonder if it is because of the version of Smarty??? |
I don't think so.
Check your plugins, your plugins_dirs, your prefilters etc. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|