mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
removed depreciated *tag()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3142 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
85d5fe3bba
commit
342a91e09d
1 changed files with 2 additions and 2 deletions
|
@ -296,7 +296,7 @@ class FormHelper extends Helper{
|
|||
* @return string The formatted submit widget
|
||||
*/
|
||||
function generateSubmitDiv($displayText, $htmlOptions = null) {
|
||||
return $this->divTag('submit', $this->Html->submitTag($displayText, $htmlOptions));
|
||||
return $this->divTag('submit', $this->Html->submit($displayText, $htmlOptions));
|
||||
}
|
||||
/**
|
||||
* Generates a form to go onto a HtmlHelper object.
|
||||
|
@ -389,7 +389,7 @@ class FormHelper extends Helper{
|
|||
if(!isset($field['value'])){
|
||||
$field['value'] = null;
|
||||
}
|
||||
$strFormFields = $strFormFields . $this->Html->hiddenTag($field['tagName'], $field['value']);
|
||||
$strFormFields = $strFormFields . $this->Html->hidden($field['tagName'], $field['value']);
|
||||
break;
|
||||
case "date":
|
||||
if (!isset($field['selected'])) {
|
||||
|
|
Loading…
Reference in a new issue