Posts: 151
Threads: 5
Joined: Dec 2008
Reputation:
0
2009-05-10, 02:24 AM
(This post was last modified: 2009-05-10, 07:09 PM by Gene53.)
Re: Clear cookie url in footer with confirm option.
CraKteR Wrote:(Gah there is an bug with onclick in [php] tag on this forum)
Had the same problem you did so I simplified it by not having the Javascript and simply added to the footer:
| <a href="{$mybb->settings['bburl']}/misc.php?action=clearcookies">Clear Cookies</a>
No confirmation but works the same way as it does in the Help page...
Thanks for the idea,
Gene
Edit: belay the above, I retried but inserted the javascript in /jscripts/general.js and everything works great. Thanks!
“The road to positivity is strewn with the abandoned vehicles of the faint-hearted.” Peter McWilliams