Changeset 28324 for extensions/ContactForm
- Timestamp:
- May 3, 2014, 11:39:07 AM (10 years ago)
- Location:
- extensions/ContactForm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/functions.inc.php
r26850 r28324 159 159 array( 160 160 'ip' => $_SERVER['REMOTE_ADDR'], 161 'agent' => $_SERVER['HTTP_USER_AGENT'] 161 'agent' => $_SERVER['HTTP_USER_AGENT'], 162 'show_ip' => isset($conf['contact_form_show_ip']) && $conf['contact_form_show_ip'], 162 163 ) 163 164 ); -
extensions/ContactForm/main.inc.php
r25872 r28324 8 8 Author URI: http://piwigo.org 9 9 */ 10 11 /* 12 * $conf['contact_form_show_ip'] = true; 13 */ 10 14 11 15 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); -
extensions/ContactForm/template/text/html/mail.tpl
r25872 r28324 6 6 <b>{'Name'|translate}:</b> {$CONTACT.author}<br> 7 7 <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} 9 12 </p> 10 13 -
extensions/ContactForm/template/text/plain/mail.tpl
r25872 r28324 1 1 {'Name'|translate}: {$CONTACT.author} 2 2 {'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} 4 5 5 6 --------------------
Note: See TracChangeset
for help on using the changeset viewer.