Ignore:
Timestamp:
May 3, 2014, 11:39:07 AM (11 years ago)
Author:
mistic100
Message:

add $confcontact_form_show_ip option

Location:
extensions/ContactForm/template/text
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/template/text/html/mail.tpl

    r25872 r28324  
    66  <b>{'Name'|translate}:</b> {$CONTACT.author}<br>
    77  <b>{'Email address'|translate}:</b> {$CONTACT.email}
    8   {if $CONTACT.show_ip}<br>{'IP: %s'|translate:$CONTACT.ip}{/if}
     8  {if $CONTACT.show_ip}
     9    <br>{'IP: %s'|translate:$CONTACT.ip}
     10    <br>{'Browser: %s'|translate:$CONTACT.agent}
     11  {/if}
    912</p>
    1013
  • extensions/ContactForm/template/text/plain/mail.tpl

    r25872 r28324  
    11{'Name'|translate}: {$CONTACT.author}
    22{'Email address'|translate}: {$CONTACT.email}
    3 {if $CONTACT.show_ip}{'IP: %s'|translate:$CONTACT.ip}{/if}
     3{if $CONTACT.show_ip}{'IP: %s'|translate:$CONTACT.ip}
     4{'Browser: %s'|translate:$CONTACT.agent}{/if}
    45
    56--------------------
Note: See TracChangeset for help on using the changeset viewer.