source: trunk/templates/log.tmpl@ 90

Last change on this file since 90 was 90, checked in by Kris Deugau, 13 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
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6
7<div id="datatablewrapper">
8
9<table border="0" width="90%">
10<tr><th colspan="5" align="center">Log entries for <TMPL_VAR NAME=logfor></th></tr>
11 <tr class="darkrowheader">
12 <td>Name</td>
13 <!-- Not sure "Customer ID" (filled with uid) is of any use... -->
14 <!-- td>Customer ID</td -->
15 <td>Username/Email</td>
16 <td>Log Entry</td>
17 <td>Date / Time</td>
18 </tr>
19<TMPL_IF logentries>
20<TMPL_LOOP NAME=logentries>
21 <tr class="datalinelight">
22 <td><TMPL_VAR NAME=userfname></td>
23 <!-- td><TMPL_VAR NAME=userid></td -->
24 <td><TMPL_VAR NAME=useremail></td>
25 <td><TMPL_VAR NAME=logentry></td>
26 <td><TMPL_VAR NAME=logtime></td>
27 </tr>
28</TMPL_LOOP>
29<TMPL_ELSE>
30 <tr class="datalinelight">
31 <td colspan="5" align="center">No log entries found</td>
32 </tr>
33</TMPL_IF>
34</table>
35
36</div>
37
38</td>
39</tr>
40</table>
41
Note: See TracBrowser for help on using the repository browser.