//
Bold: __bold text__ (2 "_" before and after the text)
Italic: //italic text//
Link: {(ftp|http)://www.myurl.com This is the link text}
Internal Link: {link pageid Another internal webpage}
Section Link: {link #woadsectionX Link to a section} (X = section number)
Document Link: {doclink myfile.pdf My File}
Email: {myuser@myemail.com}
Image: {image src alt} (alt is optional)
Header: == This is a level 2 header (level is number of "=")
Column Break: | (on own line)
Right Justified: > This paragraph is right justified
Centered: ^ This paragraph is centered
Indented: : This paragraph is indented
Bulleted List: * Bulleted list item
Numbered List: # Bulleted list item
Horizontal Line: ---- (at least 4 "-")
');
doc.close();
}
// ]]>
// A few tips on searching the directory');
doc.writeln('');
doc.writeln('- Searches for any of the words listed (boolean OR)
');
doc.writeln('- "+" before a term will make it a required term: "John +Smith" finds "John Smith" but not "John Doe"
');
doc.writeln('- "-" before a term will make it required to not be present: "John -Smith" finds "John Doe" but not "John Smith"
');
doc.writeln('- "*" after a term will match words starting with the term: "cat*" matches "cat" "catalog" "category"
');
doc.writeln('
');
doc.close();
return true;
}
// ]]>
//
function openPageBrowser() {
url = "pagebrowser.php?field=" + arguments[0] + ( (arguments[1]) ? "&append=1" : "") + ( (arguments[2]) ? "&display=" + arguments[2] : "");
options = "width=480,height=350,status=no,resizable=yes,top=300,left=300,scrollbars=yes";
pageBrowseWin = window.open(url, "PageBrowser", options);
pageBrowseWin.opener = self;
}
/**********************************************************************/
/*
AJAX Connect
*** STANDARD METHOD ***
Call this with:
ajaxConnect(url, target_field_name[, output_type][, http_method]);
url:
URL of the file or script you are calling.
target_field_name:
Field ID to be used for the returned data.
output_type (optional):
html: Default behavior, assumes the data is in HTML format and
puts it into the innerHTML of the supplied target field.
custom: Requires a function called ajaxCustom that takes
the arguments http_request and target. The function will
be triggered when the content is sucessfully returned,
and should be used to display the returned data.
function_name: A function name can be passed in as an output type.
In this case the function will be called in place of
ajaxHandleContent, and should take http_request and target as
arguments. This function will need to check for the readyState
since it will be called for every state change of the
http_request object.
http_method (optional):
GET: default behavior, treats the request as standard HTTP GET.
Include any parameters in the URL using normal query string
behavior.
POST: treats the request as a HTTP POST. Include any parameters
in the URL field using normal query string behavior.
*** REMOTE METHOD USING