Diff for /loncom/html/adm/help/ext_examples.library between versions 1.2 and 1.3

version 1.2, 2006/02/28 23:03:23 version 1.3, 2014/02/26 15:41:38
Line 1 Line 1
 <library>  <library>
 <startoutext />  <startouttext />
 Some things to do with &amp;EXT()<br />  Some things to do with &amp;EXT()<br />
 <table border="1">  <table border="1">
 <tr><th>Incantation</th><th>result</th><th>Explanation</th></tr>  <tr><th>Incantation</th><th>Result</th><th>Explanation</th></tr>
 <tr><td>request.filename</td><td>&EXT('request.filename')</td>  <tr><td>request.filename</td><td>&EXT('request.filename')</td>
     <td>full internal path of the current resource</td></tr>      <td>full internal path of the current resource</td></tr>
 <tr><td>request.uri</td><td>&EXT('request.uri')</td>  <tr><td>request.uri</td><td>&EXT('request.uri')</td>
     <td>Uri of the currently viewed resource</td></tr>      <td>URI of the currently viewed resource</td></tr>
 <tr><td>request.state</td><td>&EXT('request.state')</td>  <tr><td>request.state</td><td>&EXT('request.state')</td>
     <td>state of the resource, eith construct or publish</td></tr>      <td>state of the resource, either: construct or published</td></tr>
 <tr><td>user.name</td><td>&EXT('user.name')</td>  <tr><td>user.name</td><td>&EXT('user.name')</td>
     <td>username of user</td></tr>      <td>username of user</td></tr>
 <tr><td>user.domain</td><td>&EXT('user.domain')</td>  <tr><td>user.domain</td><td>&EXT('user.domain')</td>
Line 16  Some things to do with &amp;EXT()<br /> Line 16  Some things to do with &amp;EXT()<br />
 <tr><td>user.course.sec</td><td>&EXT('user.course.sec')</td>  <tr><td>user.course.sec</td><td>&EXT('user.course.sec')</td>
     <td>Users's Course Section</td></tr>      <td>Users's Course Section</td></tr>
 <tr><td>environment.firstname</td><td>&EXT('environment.firstname')</td>  <tr><td>environment.firstname</td><td>&EXT('environment.firstname')</td>
     <td>User's firstname</td></tr>      <td>User's first name</td></tr>
 <tr><td>environment.middlename</td><td>&EXT('environment.middlename')</td>  <tr><td>environment.middlename</td><td>&EXT('environment.middlename')</td>
     <td>User's middle name</td></tr>      <td>User's middle name</td></tr>
 <tr><td>environment.lastname</td><td>&EXT('environment.lastname')</td>  <tr><td>environment.lastname</td><td>&EXT('environment.lastname')</td>
     <td>User's lastname</td></tr>      <td>User's last name</td></tr>
 <tr><td>environment.generation</td><td>&EXT('environment.generation')</td>  <tr><td>environment.generation</td><td>&EXT('environment.generation')</td>
     <td>Jr., Sr., III, etc.</td></tr>      <td>Jr., Sr., III, etc.</td></tr>
 <tr><td>environment.screenname</td><td>&EXT('environment.screenname')</td>  <tr><td>environment.screenname</td><td>&EXT('environment.screenname')</td>
     <td>User screen name (name that appears in FDBK postings)</td></tr>      <td>User's screen name (name that appears in discussion postings)</td></tr>
 <tr><td>environment.nickname</td><td>&EXT('environment.nickname')</td>  <tr><td>environment.nickname</td><td>&EXT('environment.nickname')</td>
     <td>User nick name. (Name the user prefers to be called in person</td></tr>      <td>User's nickname. (Name the user prefers to be called in person)</td></tr>
 <tr><td>environment.id</td><td>&EXT('environment.id')</td>  <tr><td>environment.id</td><td>&EXT('environment.id')</td>
     <td>user id number</td></tr>      <td>User's student/employee ID number</td></tr>
 <tr><td>request.browser.version</td><td>&EXT('request.browser.version')</td>  <tr><td>request.browser.version</td><td>&EXT('request.browser.version')</td>
     <td>Version of the users Browser</td></tr>      <td>Version of the user's browser</td></tr>
 <tr><td>request.browser.type</td><td>&EXT('request.browser.type')</td>  <tr><td>request.browser.type</td><td>&EXT('request.browser.type')</td>
     <td>What type of browser is the user using</td></tr>      <td>What type of browser is the user using</td></tr>
 <tr><td>course.description</td><td>&EXT('course.decription')</td>  <tr><td>course.description</td><td>&EXT('course.decription')</td>
     <td>Decriptive name for a course</td></tr>      <td>Descriptive name for a course</td></tr>
 <tr><td>course.num</td><td>&EXT('course.num')</td>  <tr><td>course.num</td><td>&EXT('course.num')</td>
     <td>Internal Course Identifier</td></tr>      <td>Internal Course Identifier</td></tr>
 <tr><td>course.url</td><td>&EXT('course.url')</td>  <tr><td>course.url</td><td>&EXT('course.url')</td>
     <td>Current course toplevel map.</td></tr>      <td>Current course toplevel map.</td></tr>
 <tr><td>query.*</td><td></td>  <tr><td>query.*</td><td></td>
     <td>query.* allows access to the passed in form parameters</td></tr>      <td>query.* allows access to ny passed-in form parameters</td></tr>
 <tr><td>query.grade_target</td><td>&EXT('query.grade_target')</td>  <tr><td>query.grade_target</td><td>&EXT('query.grade_target')</td>
     <td>Ignore this. It isn't generally useful.</td></tr>      <td>Ignore this. It isn't generally useful.</td></tr>
 </table>  </table>
 Other things:  Other things:
 <table border="1">  <table border="1">
 <tr><th>Incantation</th><th>result</th><th>Explanation</th></tr>  <tr><th>Incantation</th><th>Result</th><th>Explanation</th></tr>
 <tr><td>&#36;external::target</td>  <tr><td>&#36;external::target</td>
     <td><display>$external::target</display></td>      <td><display>$external::target</display></td>
     <td>Whether we are printing (tex) or viewing on screen (web)</td></tr>      <td>Whether we are printing (tex) or viewing on screen (web)</td></tr>
Line 61  Other things: Line 61  Other things:
     <td>The current status of the problem       <td>The current status of the problem 
  <table>   <table>
  <tr><td>CLOSED</td>   <tr><td>CLOSED</td>
     <td>either before opendate or between due and answer date</td></tr>      <td>either before opendate or between duedate and answerdate</td></tr>
  <tr><td>CAN_ANSWER</td></tr>   <tr><td>CAN_ANSWER</td></tr>
  <tr><td>CANNOT_ANSWER</td>   <tr><td>CANNOT_ANSWER</td>
     <td>still open but either exhausted tries has the problem correct or has been excused</td></tr>      <td>still open but either exhausted tries, has the problem correct, or has been excused</td></tr>
  <tr><td>SHOW_ANSWER </td>   <tr><td>SHOW_ANSWER </td>
     <td>after answerdate</td></tr>      <td>after answerdate</td></tr>
  </table>   </table>
  and some rare states that if they occur the problem isn't shown (you can safely ignore these):   and some rare states that if they occur the problem isn't shown (you can safely ignore these):
  <table>   <table>
  <tr><td>NOT_YET_VIEWED</td>   <tr><td>NOT_YET_VIEWED</td>
     <td>limited view period being used and student hasn't 'checked out' the problem yet</td></tr>      <td>limited view period being used and student hasn't "checked out" the problem yet</td></tr>
  <tr><td>INVALID_ACCESS</td>   <tr><td>INVALID_ACCESS</td>
     <td>ip restrictions in effect and user is at a banned IP </td></tr>      <td>IP restrictions in effect, and user's IP address is not allowed access</td></tr>
  <tr><td>UNAVAILABLE</td>   <tr><td>UNAVAILABLE</td>
     <td>network problems are occuring</td></tr>      <td>network problems are occurring</td></tr>
  </table>   </table>
   
 <tr><td>&#36;external::randomseed</td>  <tr><td>&#36;external::randomseed</td>

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>