1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 05:37:32 +02:00

Added deprecated message near the old 'form' class (replaced by the new form handler)

This commit is contained in:
Moc
2014-08-13 14:01:00 +02:00
parent ee4ca53bcd
commit 268012e160

View File

@@ -138,8 +138,8 @@ class e_form
} }
else else
{ {
$target = str_replace("&", "&", $target); $target = str_replace("&", "&", $target);
$text = "\n<form {$class} action='{$target}' id='".$this->name2id($name)."' method = '{$method}'{$autoComplete}>\n"; $text = "\n<form {$class} action='{$target}' id='".$this->name2id($name)."' method = '{$method}'{$autoComplete}>\n";
} }
return $text; return $text;
} }
@@ -4453,6 +4453,7 @@ class e_form
} }
} }
// DEPRECATED - use above methods instead ($frm)
class form class form
{ {
function form_open($form_method, $form_action, $form_name = "", $form_target = "", $form_enctype = "", $form_js = "") function form_open($form_method, $form_action, $form_name = "", $form_target = "", $form_enctype = "", $form_js = "")