| 1 | <?cs include "header.cs"?> |
|---|
| 2 | <?cs include "macros.cs"?> |
|---|
| 3 | |
|---|
| 4 | <div id="contextnav" class="nav"></div> |
|---|
| 5 | |
|---|
| 6 | <div id="content" class="settings"> |
|---|
| 7 | |
|---|
| 8 | <h1>Settings and Session Management</h1> |
|---|
| 9 | |
|---|
| 10 | <h2>User Settings</h2> |
|---|
| 11 | <p> |
|---|
| 12 | This page lets you customize and personalize your Trac settings. Session |
|---|
| 13 | settings are stored on the server and identified using a 'Session Key' |
|---|
| 14 | stored in a browser cookie. The cookie lets Trac restore your settings |
|---|
| 15 | </p> |
|---|
| 16 | <form method="get" action="<?cs var:cgi_location?>/settings/"> |
|---|
| 17 | <div> |
|---|
| 18 | <h3>Personal Information</h3> |
|---|
| 19 | <div> |
|---|
| 20 | <input type="hidden" name="action" value="save" /> |
|---|
| 21 | <label for="name">Name:</label> |
|---|
| 22 | <input type="text" id="name" name="name" class="textwidget" size="30" |
|---|
| 23 | value="<?cs var:trac.session.var.name ?>" /> |
|---|
| 24 | </div> |
|---|
| 25 | <div> |
|---|
| 26 | <label for="email">Email:</label> |
|---|
| 27 | <input type="text" id="email" name="email" class="textwidget" size="30" |
|---|
| 28 | value="<?cs var:trac.session.var.email ?>" /> |
|---|
| 29 | </div> |
|---|
| 30 | |
|---|
| 31 | <h3>Session</h3> |
|---|
| 32 | <div> |
|---|
| 33 | <label for="newsid">Session Key:</label> |
|---|
| 34 | <input type="text" id="newsid" name="newsid" class="textwidget" size="30" |
|---|
| 35 | value="<?cs var:trac.session.id ?>" /> |
|---|
| 36 | <p> |
|---|
| 37 | The session key is used to identify stored custom settings and session |
|---|
| 38 | data on the server. Automatically generated by default, you may change it |
|---|
| 39 | to something easier to remember at any time if you wish to use your |
|---|
| 40 | settings in a different web browser. |
|---|
| 41 | </p> |
|---|
| 42 | </div> |
|---|
| 43 | |
|---|
| 44 | <div> |
|---|
| 45 | <br /> |
|---|
| 46 | <input type="submit" value="Save Changes" /> |
|---|
| 47 | </div > |
|---|
| 48 | </div> |
|---|
| 49 | </form> |
|---|
| 50 | |
|---|
| 51 | <hr /> |
|---|
| 52 | |
|---|
| 53 | <h2>Load Session</h2> |
|---|
| 54 | <p> |
|---|
| 55 | You may load a previously created session by entering the corresponding |
|---|
| 56 | session key below and clicking 'Recover'. This lets you share settings between |
|---|
| 57 | multiple computers and/or web browsers. |
|---|
| 58 | </p> |
|---|
| 59 | <form method="get" action="<?cs var:cgi_location?>/settings"> |
|---|
| 60 | <div> |
|---|
| 61 | <input type="hidden" name="action" value="load" /> |
|---|
| 62 | <label for="loadsid">Existing Session Key:</label> |
|---|
| 63 | <input type="text" id="loadsid" name="loadsid" class="textwidget" size="30" |
|---|
| 64 | value="" /> |
|---|
| 65 | <input type="submit" value="Recover" /> |
|---|
| 66 | </div> |
|---|
| 67 | </form> |
|---|
| 68 | |
|---|
| 69 | </div> |
|---|
| 70 | <?cs include:"footer.cs"?> |
|---|