Ignore:
Timestamp:
04/12/11 14:46:22 (13 years ago)
Author:
Kris Deugau
Message:

/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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/record.tmpl

    r87 r90  
    1919
    2020    <table border="0" cellspacing="2" cellpadding="2" width="100%">
    21 <TMPL_IF failed><tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> record: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF>
     21<TMPL_IF failed>        <tr><td class="errhead" colspan="2">Error <TMPL_VAR NAME=wastrying> record: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF>
    2222        <tr class="tableheader"><td align="center" colspan="2"><TMPL_VAR NAME=todo>: <TMPL_VAR NAME=dohere></td></tr>
    2323        <tr class="datalinelight">
     
    2828                <td>Type</td>
    2929                <td><select name="type">
    30         <TMPL_LOOP NAME=typelist>
     30<TMPL_LOOP NAME=typelist>
    3131                        <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option>
    32         </TMPL_LOOP>
     32</TMPL_LOOP>
    3333                </select></td>
    3434        </tr>
    3535        <tr class="datalinelight">
    3636                <td>Address</td>
    37                 <td><input type="text" name="address" value="<TMPL_VAR NAME=address>" /></td>
     37                <td><input type="text" name="address" value="<TMPL_VAR ESCAPE=HTML NAME=address>" /></td>
    3838        </tr>
    3939        <tr class="datalinelight">
Note: See TracChangeset for help on using the changeset viewer.