[typo] typo admin shows up on google.

Shawn Liu shawn at iridesco.com
Thu Jul 28 10:54:57 EDT 2005


Sorry, I should of checked the source code before writing the email.

So here's the hidden HTML,

<div class="post" onmouseover="if (getCookie('is_admin') == 'yes') { 
Element.show('admin_article'); }" 
onmouseout="Element.hide('admin_article');" >
   <a class="admintools" href="/admin/content/edit/80" 
id="admin_article" style="display: none">edit</a>

----

I think it'd be better if we can just check the session variable in the 
Rails code and have the logic there, as opposed to changing the style on 
client side.  Or is there a compelling reason for doing it this way?

Thanks.

/sh

-- 
Shawn Liu  /  Iridesco, Inc.  /  212.226.4160 /  212.226.4161 fax


More information about the Typo-list mailing list