summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f77ec4e)
nun ausgefuellte Formularfelder
\r
$tpl_mail = 'mail_individual.txt';\r
$tpl_sent = 'sent.htm';\r
\r
$tpl_mail = 'mail_individual.txt';\r
$tpl_sent = 'sent.htm';\r
-$tpl_user_error = 'user_error.htm';\r
+$tpl_user_error = 'user_error_individual.htm';\r
$tpl_fatal = 'fatal.htm';\r
\r
#\r
$tpl_fatal = 'fatal.htm';\r
\r
#\r
# Parameter: Fehlermeldung\r
\r
function show_user_error(&$errmsg) {\r
# Parameter: Fehlermeldung\r
\r
function show_user_error(&$errmsg) {\r
- global $captcha_enable, $email, $name, $subject, $text, $tpl_user_error;\r
+ global $captcha_enable, $email, $name, $subject, $text, $user_fields, $tpl_user_error;\r
\r
$tpl = new Template;\r
$tpl->read_file($tpl_user_error);\r
\r
$tpl = new Template;\r
$tpl->read_file($tpl_user_error);\r
$tpl->set_var('SUBJECT',htmlentities($subject));\r
$tpl->set_var('TEXT', htmlentities($text));\r
\r
$tpl->set_var('SUBJECT',htmlentities($subject));\r
$tpl->set_var('TEXT', htmlentities($text));\r
\r
+ reset($user_fields);\r
+\r
+ while(list($user_field,$user_field_data) = each($user_fields)) {\r
+ $tpl->set_var($user_field_data['tpl_var'],htmlentities(formdata($user_field)));\r
+ }\r
+\r
$tpl->parse();\r
\r
print $tpl->get_template();\r
$tpl->parse();\r
\r
print $tpl->get_template();\r