source: trunk/templates/log.tmpl@ 97

Last change on this file since 97 was 90, checked in by Kris Deugau, 14 years ago

/trunk

Checkpoint

  • Comment-docu-tweak on addUser()
  • Disallow blank usernames on creation
  • Add docucomment on updateUser()
  • Update getRecLine() to handle long records, switch to more compact $dbh->do() instead of explicit prepare/execute/fetch
  • Update getDomRecs() to handle long records. Clean up SQL formatting.
  • Update addRec() to handle long records
  • Update updateRec() to handle long records
  • Add fixme reminder to handle VegaDNS encrypted passwords (hex-coded MD5)
  • Use getRecData() instead of local SQL for "Edit record" page
  • Log user add and update actions
  • Remember to set $permissions{admin} to 1 on update if user type is "superuser"
  • Uncomment page=deluser segment; this was not integrated with the rest of the user add/update pages
  • HTML-comment "Customer ID" (uid) on log pages; having trouble seeing a use-case
  • Nitpick tweaks on record add/edit page
  • Use HTML::Template's HTML-escaping on the record value on record add/edit page - required for eg SPF records with quotation marks
File size: 984 bytes
RevLine 
[47]1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
[2]4
[47]5<td align="center">
[2]6
[47]7<div id="datatablewrapper">
[2]8
[60]9<table border="0" width="90%">
[59]10<tr><th colspan="5" align="center">Log entries for <TMPL_VAR NAME=logfor></th></tr>
[47]11 <tr class="darkrowheader">
[2]12 <td>Name</td>
[90]13 <!-- Not sure "Customer ID" (filled with uid) is of any use... -->
14 <!-- td>Customer ID</td -->
15 <td>Username/Email</td>
[2]16 <td>Log Entry</td>
[47]17 <td>Date / Time</td>
[2]18 </tr>
[47]19<TMPL_IF logentries>
20<TMPL_LOOP NAME=logentries>
21 <tr class="datalinelight">
22 <td><TMPL_VAR NAME=userfname></td>
[90]23 <!-- td><TMPL_VAR NAME=userid></td -->
[47]24 <td><TMPL_VAR NAME=useremail></td>
25 <td><TMPL_VAR NAME=logentry></td>
26 <td><TMPL_VAR NAME=logtime></td>
[2]27 </tr>
[47]28</TMPL_LOOP>
29<TMPL_ELSE>
30 <tr class="datalinelight">
31 <td colspan="5" align="center">No log entries found</td>
[2]32 </tr>
[47]33</TMPL_IF>
[2]34</table>
35
[47]36</div>
[2]37
[47]38</td>
[2]39</tr>
40</table>
[47]41
Note: See TracBrowser for help on using the repository browser.