Thanks for this snip, it works a treat
At 12:14 11/08/00 -0400, you wrote:
>I don't know if this will help you but I added an "Edit Item" link to the
>bottom of modules/screens/item that would only appear if you were logged
>in and an administrator. I also had it open in a new window, if JS is
>avaialble. The code is:
>
> /* CW - edit item link if admin */
> if((isset($UserInfo["Permission"]["Administrate"])) AND
>($UserInfo["Permission"]["Administrate"])) {
> print("<BR><BR><A HREF=\"".
>ScreenURL("admin_item",FALSE,array("item"=>$item)) . "\" ");
> if(GENERATE_CLOAKING_CONSTANTS AND
>BROWSER_JAVASCRIPTOK) {
> print(" onClick=\"popupwindow(this.href);
>return false;\"");
> } else {
> print(" TARGET=\"detail\"");
> }
> print(">Edit Item</A>");
> }
>
>
>--
>Christie Walker
>
>
>
>
>On Fri, 11 Aug 2000, Andre M[ISO-8859-1] �ller wrote:
>
> > hi all,
> >
> > there would be something on my wishlist for the next release, let me
> mention
> > it here :
> >
> > Especially when sites grow large it would be a tremendous help if there was
> > a faster way to reach an item thats to be edited in the admin screen. Maybe
> > a little form where one can search by title or ID.
> > Or does this belong to the section extra features, that everyone has to
> > implement who needs it?
> >
> > regards
> > andre
> >
> >
> >
> >
> >
> >
> >
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Site: http://www.working-dogs.com/freetrade/
> > Problems?: [EMAIL PROTECTED]
> >
>
>
>
>------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Site: http://www.working-dogs.com/freetrade/
>Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]