On Jul 20, 2005, at 12:18 PM, Tobias Luetke wrote:

> I think this model would be especially nice because non js browsers
> can still pick up the date.
>
> Please look into that if you have some time.
>
> There is also a ticket on the trac[1].
>
> [1]: http://typo.leetsoft.com/trac/ticket/173

That ticket that I submitted still uses javascript. I suppose maybe  
you could insert a <noscript> tag after each of the <script> blocks  
to show the date when JS is disabled...

Does comment-posting work when JS is disabled?

-- 
Kevin Ballard
[EMAIL PROTECTED]
http://www.tildesoft.com
http://kevin.sb.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
Url : 
http://rubyforge.org/pipermail/typo-list/attachments/20050720/8aca5f2d/smime-0001.bin
From jluster at jluster.org  Wed Jul 20 18:18:41 2005
From: jluster at jluster.org (Jonas M Luster)
Date: Wed Jul 20 18:13:19 2005
Subject: [typo] cookies.js and multi-string names
Message-ID: <[EMAIL PROTECTED]>

I am so not a Javascript guy, but I assume the returning of "A+B+C"  
in fields filled from content retrieved from the new cookies.js is a  
result of unescape not unescaping spaces? For my install, I've for  
now changed the line in cookies.js's getCookie from

return unescape(dc.substring(begin + prefix.length, end));

to

return unescape(dc.substring(begin + prefix.length, end)).split 
("+").join(" ");

which does the trick. Any better solutions?

jonas
From damien.pollet at gmail.com  Wed Jul 20 20:10:51 2005
From: damien.pollet at gmail.com (Damien Pollet)
Date: Wed Jul 20 20:05:25 2005
Subject: [typo] cookies.js and multi-string names
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

> which does the trick. Any better solutions?

To be honest I copy-pasted cookie.js from a googled tutorial... so if
anyone knows a clean implementation to access cookies in JS...

-- 
 D

Reply via email to