Coinbase

Author Topic: Simplewhite Theme  (Read 2179 times)

0 Members and 1 Guest are viewing this topic.

Offline legend 1234

  • Newbie
  • *
  • Posts: 1
    • Advancedscape
    • Email
Simplewhite Theme
« on: October 24, 2008, 09:15:05 pm »
Wooow really nice guide mate

but when i try adding to simplewhite2 i get this error:

btw. all ive done is just index.template.php

Code: [Select]

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in .../Themes/simplywhite2/index.template.php on line 281

272: }
273: echo ' </span>';
274: }
275: // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
276: else
277: {
278: echo ' </span>
279: <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
280:
281: <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, '' . $context['session_id'] . '');"' : '', '>282: <input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
283: <select name="cookielength">
284: <option value="60">', $txt['smf53'], '</option>
285: <option value="1440">', $txt['smf47'], '</option>

JOIN ADVANCEDSCAPE. 24/7 Server with client and tons of features. Website is www.advanced-scape.110mb.com

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: Simplewhite Theme
« Reply #1 on: October 24, 2008, 09:43:44 pm »
Topic split.

Could you attach the file?

If you're getting that error, it most likely means that you simply forgot a ';' somewhere previously like:

Code: [Select]
echo 'this is stuff to echo';
echo' this is more stuff to echo'

function_name($variables);

Look closely at all the code that comes before your 'T_CONSTANT_ENCAPSED_STRING' error, especially the line immediately before.
« Last Edit: October 24, 2008, 09:45:44 pm by ccbtimewiz »

SMF Ads Support Forum

Re: Simplewhite Theme
« Reply #1 on: October 24, 2008, 09:43:44 pm »
.