Source: site.view [edit]
Function name: searchByJob
Arguments:
Description: Search for people related to a given Job
Page type: html
Render function:   searchRender
Module: collabExt

Page source:

	
<h1>Search For People</h1>

<webl>

var res = "";
var uname = (wubinfo.fullname ? nil);
if (uname != nil) then
  res = `  <form action="/webl/WubHub_DoIt" method="post">` + "\n" +
          `    <table><input name="cmdline" value="cmdSearchByJob(title, desc)" type="hidden"/>` + "\n" +
          `    <tr><td>Job Title:</td><td> <input name="title" value="" size="45" title="Job Title"/></td></tr>` + "\n" +
          `   <tr><td>Job Description:</td><td> <textarea name="desc" value="" rows="15" cols="45" title="Job Description"/></td></tr><p>` + "\n" +
          `    <tr><td>&nbsp;</td><td><input type="submit" value="Search"></td></tr></table>` + "\n" +
          `</form>`;
   res = res + "\n<p>&nbsp;</p><br></br>";


else
   res = `Please <a href="/site/login">Login</a> first to access this page.`
end;

res;

</webl>