News:

Join the Facebook Fan Page.

Main Menu

Denge

Started by by designer, June 21, 2009, 12:24:53 PM

Previous topic - Next topic

by designer

Link to the theme


deruni style simple, opaque theme


Sponsors and Supporters:

www.bilisimzamani.net

www.temavizyon.com

Demo

FriedeKind*


by designer

#2
Thank you.

Cado

Nice Theme Deruni

by designer


doughboy99

Hello

I am using SMF2 RC1.2 with only the SimplePortal mod installed. When using the Denge theme I am getting errors such as the following

File: /xxxxx/forum2/Themes/default/Errors.template.php (body_above sub template - eval?)
Line: 213


File: /xxxxx/forum2/Themes/default/GenericMenu.template.php (body_above sub template - eval?)
Line: 213
   

File: /xxxxx/forum2/Themes/denge/BoardIndex.template.php (body_above sub template - eval?)
Line: 213

The errors don't occur when using the default theme. They seem to actually be caused in line 213 of \Themes\denge\index.template.php

<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $text['character_set'], '">

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
<div id="hg">
<div id="arama">

<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $text['character_set'], '">
<input class="searchbox" type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" />';
// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';



Do you know what might be causing this. Its causing s problem as an error is generasted for each action performed on the forum.

Thanks

doughboy99

I think it may be that

<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $text['character_set'], '">


should be

<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">



Advertisement: