Annotation of loncom/html/adm/help/ext_examples.library, revision 1.1

1.1     ! www         1: <library>
        !             2: <startoutext />
        !             3: Some things to do with &amp;EXT()<br />
        !             4: <table border="1">
        !             5: <tr><th>Incantation</th><th>result</th><th>Explanation</th></tr>
        !             6: <tr><td>request.filename</td><td>&EXT('request.filename')</td>
        !             7:     <td>full internal path of the current resource</td></tr>
        !             8: <tr><td>request.uri</td><td>&EXT('request.uri')</td>
        !             9:     <td>Uri of the currently viewed resource</td></tr>
        !            10: <tr><td>request.state</td><td>&EXT('request.state')</td>
        !            11:     <td>state of the resource, eith construct or publish</td></tr>
        !            12: <tr><td>user.name</td><td>&EXT('user.name')</td>
        !            13:     <td>username of user</td></tr>
        !            14: <tr><td>user.domain</td><td>&EXT('user.domain')</td>
        !            15:     <td>Domain the user is in</td></tr>
        !            16: <tr><td>user.course.sec</td><td>&EXT('user.course.sec')</td>
        !            17:     <td>Users's Course Section</td></tr>
        !            18: <tr><td>environment.firstname</td><td>&EXT('environment.firstname')</td>
        !            19:     <td>User's firstname</td></tr>
        !            20: <tr><td>environment.middlename</td><td>&EXT('environment.middlename')</td>
        !            21:     <td>User's middle name</td></tr>
        !            22: <tr><td>environment.lastname</td><td>&EXT('environment.lastname')</td>
        !            23:     <td>User's lastname</td></tr>
        !            24: <tr><td>environment.generation</td><td>&EXT('environment.generation')</td>
        !            25:     <td>Jr., Sr., III, etc.</td></tr>
        !            26: <tr><td>environment.screenname</td><td>&EXT('environment.screenname')</td>
        !            27:     <td>User screen name (name that appears in FDBK postings)</td></tr>
        !            28: <tr><td>environment.nickname</td><td>&EXT('environment.nickname')</td>
        !            29:     <td>User nick name. (Name the user prefers to be called in person</td></tr>
        !            30: <tr><td>environment.id</td><td>&EXT('environment.id')</td>
        !            31:     <td>user id number</td></tr>
        !            32: <tr><td>request.browser.version</td><td>&EXT('request.browser.version')</td>
        !            33:     <td>Version of the users Browser</td></tr>
        !            34: <tr><td>request.browser.type</td><td>&EXT('request.browser.type')</td>
        !            35:     <td>What type of browser is the user using</td></tr>
        !            36: <tr><td>course.description</td><td>&EXT('course.decription')</td>
        !            37:     <td>Decriptive name for a course</td></tr>
        !            38: <tr><td>course.num</td><td>&EXT('course.num')</td>
        !            39:     <td>Internal Course Identifier</td></tr>
        !            40: <tr><td>course.url</td><td>&EXT('course.url')</td>
        !            41:     <td>Current course toplevel map.</td></tr>
        !            42: <tr><td>query.*</td><td></td>
        !            43:     <td>query.* allows access to the passed in form parameters</td></tr>
        !            44: <tr><td>query.grade_target</td><td>&EXT('query.grade_target')</td>
        !            45:     <td>Ignore this. It isn't generally useful.</td></tr>
        !            46: </table>
        !            47: Other things:
        !            48: <table border="1">
        !            49: <tr><th>Incantation</th><th>result</th><th>Explanation</th></tr>
        !            50: <tr><td>&#36;external::target</td>
        !            51:     <td><display>$external::target</display></td>
        !            52:     <td>Whether we are printing (tex) or viewing on screen (web)</td></tr>
        !            53: <tr><td>&#36;external::part</td>
        !            54:     <td><display>$external::part</display></td>
        !            55:     <td>current Part id </td></tr>
        !            56: <tr><td>&#36;external::gradestatus</td>
        !            57:     <td><display>$external::gradestatus</display></td>
        !            58:     <td>The solved status of the current part.</td></tr>
        !            59: <tr><td>&#36;external::datestatus</td>
        !            60:     <td><tex>\verb+</tex><display>$external::datestatus</display><tex>+</tex></td>
        !            61:     <td>The current status of the problem (CLOSE, CAN_ANSWER, etc.)</td></tr>
        !            62: <tr><td>&#36;external::randomseed</td>
        !            63:     <td><display>$external::randomseed</display></td>
        !            64:     <td>The randomseed currently in use.</td></tr>
        !            65: <tr><td></td><td></td>
        !            66:     <td></td></tr>
        !            67: </table>
        !            68: <endouttext />
        !            69: </library>

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