Setup for WWW-Search (#331).

Object setup.

Object name:WWW-Search
Location:<$nothing>
Parent:Generic MSP Object (#300)
Owner:Dax (#789)
Description:
<%if (prepstr == "/sidebar") return this:tell_www_sidebar();endif%><!DOCTYPE HTML PUBLIC "<%=this.www_doctype_fpi%>" "<%=this.www_doctype_uri%>"><HTML><HEAD><%this:tell_www_head(@args);%><link REL="icon" HREF="/favicon.ico" TYPE="image/x-ico"><link REL="SHORTCUT ICON" HREF="/favicon.ico"><SCRIPT LANGUAGE="JavaScript"><!--function addNetscapePanel() { if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) { window.sidebar.addPanel("Search moo.ca", "<%=$www.url%>search/sidebar", ""); } else { var rv = window.confirm("You must use Netscape 6 or Mozilla to use this function." + "Would you like to visit http://www.mozilla.org/ ?"); if (rv) { document.location.href = "http://www.mozilla.org/"; } }}//--></SCRIPT></HEAD><BODY <%=this.www_body_args%>><CENTER><%=$html_utils:tabbar(1, "Search", "/search", "Grep", "/grep", "Tree", "/tree", "Audit", "/audit", "Names", "/names")%></CENTER><IMG SRC="<%=$www.fileURL%>/pics/mc_search.jpg" ALIGN="right" WIDTH=210 HEIGHT=127 ALT="[Search icon]"><H2>Search by Name</H2>Search for a player, room or other object by its name.<P><%caller == this || raise(E_PERM);set_task_perms(player.user);data = $su:trim($www:parse_GET("data") || "");mode = $www:parse_GET("mode");if (data && mode) if (mode == "players") this:search_players(data); elseif (mode == "rooms") this:search_rooms(data); elseif (mode == "objects") this:search_objects(data); else raise(E_INVARG, mode); endifelse data = ""; mode || (mode = "players");endif%><FORM><CENTER>Search for:<BR><%=$html_utils:input_text("data", data, 16)%><BR><INPUT NAME="mode" TYPE="radio" VALUE="players"<%=mode == "players" ? " CHECKED>" | ">"%>players<INPUT NAME="mode" TYPE="radio" VALUE="rooms"<%=mode == "rooms" ? " CHECKED>" | ">"%>rooms<INPUT NAME="mode" TYPE="radio" VALUE="objects"<%=mode == "objects" ? " CHECKED>" | ">"%>all objects<P><INPUT TYPE="submit" VALUE="Search!"></CENTER></FORM><% if (index(player.user_agent, "Mozilla")) player:tell("<P>Add <A HREF=\"javascript:addNetscapePanel();\">this search function</A> to your Mozilla/Netscape 6 sidebar."); endif %><% this:tell_www_tail(@args); %></BODY></HTML><!-- Last modified by Dax (#789) on Sun Jul 10 11:53:31 2005 MDT. -->
View the access limitations with TicketMaster.


Update and repair this object.

Check this object's web page with the W3 HTML 4.0 validator.

Destroy this object utterly and irretrievably.


You are not logged in.

[home | help | who | search | setup | code]