-
- 203 Posts
There was a small problem in the login form PHP source code of the snippet wich made it non compliant with the Xhtml standard. Open the weblogin.inc.php and change that line :
<script language="JavaScript">
for this one :
<script type="text/JavaScript">
It on line number 55!
Hope it make you all happy!
Blaise Bernier
www.medialdesign.com - Solutions for small business, hosting, design and more!
-
- 203 Posts
I get another warning from this snippet : when parsing the logout link, XHTML standard recommand to use & instead of a single &, even in a url. I don’t know where to change it, so if anybody can help there!
bye,
Blaise
P.S.: It’s the only warning on my whole website!
Blaise Bernier
www.medialdesign.com - Solutions for small business, hosting, design and more!
it’s line 110 of /assets/snippets/weblogin/weblogin.inc.php.
-
- 203 Posts
Quote from: sottwell at Dec 11, 2005, 06:59 AM
it’s line 110 of /assets/snippets/weblogin/weblogin.inc.php.
Sorry, nothing like that on line 110 :s I finally found it :
Line 217 :
$url = $url.((strpos($url,"?")===false) ? "?":"&")."webloginmode=lo";
instead of :
$url = $url.((strpos($url,"?")===false) ? "?":"&")."webloginmode=lo";
Blaise Bernier
www.medialdesign.com - Solutions for small business, hosting, design and more!
Maybe a different version; with the weblogin.inc.php file that comes with 0.9, it’s actually line 109. There’s only 181 lines in the whole file.
-
- 372 Posts
A quick grammer issue, "forget password" is grammatically incorrect and should be "forgot password"
<td colspan="2"><a href="#" onclick="webLoginShowForm(2);return false;">Forget Password?</a></td>
Cheers.
Unless it’s "shorthand" for "Did you forget your password?" or even "I forget what my password is"
-
- 372 Posts
Quote from: sottwell at Dec 30, 2005, 12:19 PM
Unless it’s "shorthand" for "Did you forget your password?" or even "I forget what my password is"
Except its a question and starts with a capital, which means its the entire phrase. otherwise it would have to be ’forget password?
I have changed it via the template, guess thats the power of MODx
Thought I’d bring it to your attention in case it was an oversight since a proof reader of my site made me aware of it.