<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>The easy way is to use conditional code such as&nbsp;(:if auth edit:)</div><div><br></div><div>Unfortunately, "(:if auth edit:)" only tells you if the <i>current user </i>is authorized to edit the page. Since you said the admin can edit, it won't tell the admin if the page is editable by normal users.</div> <div><br></div> <div>If you want to show the admin how a page is configured for a normal user, you would need to look at the edit password attribute on the page.&nbsp;</div><div><br></div><div>For example if you have MarkupExprPlus installed, you might be able to use this markup:</div> <div><br></div> <div>{(if (test equal "@nopass" (substr "{*$PasswdEdit}" 0 7)) Editable;)}</div> <div><br></div> <div>to show "Editable" if the first 7 characters in the edit attribute is "@nopass". (I haven't tried it for edit - but it worked for me with $PasswdRead.)&nbsp;</div><div><br></div><div>What you'd test for in the attribute, of course, depends on how you have set up your attributes.</div><div><br></div><div>Randy</div><div><br></div><div><div>On Jan 7, 2009, at 9:09 PM, kevin wrote:</div><blockquote type="cite"><br> I would like to do a little programming so that pages that can be edited by any user display "edit this page" and pages that have been locked for editing to all but the admin to display "this page locked for editing".&nbsp;</blockquote></div></body></html>