2010-02-16, 02:21:34
If you would modify the \admin\inc\theme_functions.php
from:
toWe could then specify our own form back-end (saved in /data/other for example) without having to worry about updates wiping out our new form backend code by calling set_contact_page('../../data/myform.php'); in our template.
from:
Code:
function set_contact_page() {
global $EMAIL;
$style='<style>.pot {display:none;}</style>';
echo $style;
include('contactform.php');
}
Code:
function set_contact_page($page = 'contactform.php') {
global $EMAIL;
$style='<style>.pot {display:none;}</style>';
echo $style;
include_once($page);
}