Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: hitsme on May 02, 2016, 10:36:36 PM

Title: I see style=Register" is missing a double quote, where would i fix it ?
Post by: hitsme on May 02, 2016, 10:36:36 PM
Hi all, i edited some pages myself a while ago i dont remember what page

Basicly what i did was i made every register link dark blue it should be noticeable, as follows
<a href="http://www.MySite.com/forum/index.php?action=register"><span style="color: blue; font-weight: bold;">Register</span></a>

now the problem i have is when one click on it to register
index.php?action=register

instead of displaying a register button this is how its displayed
<span style=Register" tabindex="6" class="button_submit" />

I see style=Register" is missing a double quote, where would i fix it ? template, source....
Title: Re: I see style=Register" is missing a double quote, where would i fix it ?
Post by: vbgamer45 on May 02, 2016, 11:21:35 PM
I would check the Register.template.php of the theme you are using
Title: Re: I see style=Register" is missing a double quote, where would i fix it ?
Post by: hitsme on May 04, 2016, 01:11:41 AM
i tried i couldn't find anything,
I probably changed the file in languages added to "register" a inline style for example the source of
Only registered members are allowed to access this section.
Please login below or register an account with

turned into
QuotePlease <a href="http://www.mysite.com/forum/index.php?action=login">login</a> or <a href="http://www.mysite.com/forum/index.php?action=register"><span style="color: blue; font-weight: bold;">Register</span></a>.<br />Did you miss your <a href="http://www.mysite.com/forum/index.php?action=activate">activation email</a>?</div>
what page in lang, would replace register?
Title: Re: I see style=Register" is missing a double quote, where would i fix it ?
Post by: hitsme on May 04, 2016, 01:29:40 AM
Got it
index.english.php
Line 84
a had
$txt['register'] = '<span style="color: blue; font-weight: bold;">Register</span>';