trac-ticketlinks / templates / settings.cs

<?cs include "header.cs"?>
<?cs include "macros.cs"?>

<div id="ctxtnav" class="nav"></div>

<div id="content" class="settings">

 <h1>Settings and Session Management</h1>

 <h2>User Settings</h2>
 <p>
 This page lets you customize and personalize your Trac settings. Session
 settings are stored on the server and identified using  a 'Session Key'
 stored in a browser cookie. The cookie lets Trac restore your settings 
 </p>
 <form method="post" action="">
 <div>
  <h3>Personal Information</h3>
  <div>
   <input type="hidden" name="action" value="save" />
   <label for="name">Name:</label>
   <input type="text" id="name" name="name" class="textwidget" size="30"
          value="<?cs var:settings.name ?>" />
  </div>
  <div>
   <label for="email">Email:</label>
   <input type="text" id="email" name="email" class="textwidget" size="30"
          value="<?cs var:settings.email ?>" />
  </div><?cs
  if:settings.session_id ?>
   <h3>Session</h3>
   <div>
    <label for="newsid">Session Key:</label>
    <input type="text" id="newsid" name="newsid" class="textwidget" size="30"
           value="<?cs var:settings.session_id ?>" />
    <p>The session key is used to identify stored  custom settings and session
    data on the server. Automatically generated by default, you may change it
    to something easier to remember at any time if you wish to use your settings
    in a different web browser.</p>
   </div><?cs
  /if ?>
  <div>
   <br />
   <input type="submit" value="Submit changes" />
  </div >
 </div>
</form><?cs
if:settings.session_id ?>
 <hr />
 <h2>Load Session</h2>
 <p>You may load a previously created session by entering the corresponding
 session key below and clicking 'Recover'. This lets you share settings between
 multiple computers and/or web browsers.</p>
 <form method="post" action="">
  <div>
   <input type="hidden" name="action" value="load" />
   <label for="loadsid">Existing Session Key:</label>
   <input type="text" id="loadsid" name="loadsid" class="textwidget" size="30"
          value="" />
   <input type="submit" value="Recover" />
  </div>
 </form><?cs
/if ?>

</div>
<?cs include:"footer.cs"?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.