mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Remove overhead whitespace in templates.
This commit is contained in:
parent
ccac3b3e06
commit
51d75bc2be
1 changed files with 10 additions and 10 deletions
|
@ -47,13 +47,13 @@ class HtmlHelper extends AppHelper {
|
||||||
'meta' => '<meta%s/>',
|
'meta' => '<meta%s/>',
|
||||||
'metalink' => '<link href="%s"%s/>',
|
'metalink' => '<link href="%s"%s/>',
|
||||||
'link' => '<a href="%s"%s>%s</a>',
|
'link' => '<a href="%s"%s>%s</a>',
|
||||||
'mailto' => '<a href="mailto:%s" %s>%s</a>',
|
'mailto' => '<a href="mailto:%s"%s>%s</a>',
|
||||||
'form' => '<form action="%s"%s>',
|
'form' => '<form action="%s"%s>',
|
||||||
'formend' => '</form>',
|
'formend' => '</form>',
|
||||||
'input' => '<input name="%s"%s/>',
|
'input' => '<input name="%s"%s/>',
|
||||||
'textarea' => '<textarea name="%s"%s>%s</textarea>',
|
'textarea' => '<textarea name="%s"%s>%s</textarea>',
|
||||||
'hidden' => '<input type="hidden" name="%s"%s/>',
|
'hidden' => '<input type="hidden" name="%s"%s/>',
|
||||||
'checkbox' => '<input type="checkbox" name="%s" %s/>',
|
'checkbox' => '<input type="checkbox" name="%s"%s/>',
|
||||||
'checkboxmultiple' => '<input type="checkbox" name="%s[]"%s />',
|
'checkboxmultiple' => '<input type="checkbox" name="%s[]"%s />',
|
||||||
'radio' => '<input type="radio" name="%s" id="%s"%s />%s',
|
'radio' => '<input type="radio" name="%s" id="%s"%s />%s',
|
||||||
'selectstart' => '<select name="%s"%s>',
|
'selectstart' => '<select name="%s"%s>',
|
||||||
|
@ -65,13 +65,13 @@ class HtmlHelper extends AppHelper {
|
||||||
'optiongroupend' => '</optgroup>',
|
'optiongroupend' => '</optgroup>',
|
||||||
'checkboxmultiplestart' => '',
|
'checkboxmultiplestart' => '',
|
||||||
'checkboxmultipleend' => '',
|
'checkboxmultipleend' => '',
|
||||||
'password' => '<input type="password" name="%s" %s/>',
|
'password' => '<input type="password" name="%s"%s/>',
|
||||||
'file' => '<input type="file" name="%s" %s/>',
|
'file' => '<input type="file" name="%s"%s/>',
|
||||||
'file_no_model' => '<input type="file" name="%s" %s/>',
|
'file_no_model' => '<input type="file" name="%s"%s/>',
|
||||||
'submit' => '<input %s/>',
|
'submit' => '<input%s/>',
|
||||||
'submitimage' => '<input type="image" src="%s" %s/>',
|
'submitimage' => '<input type="image" src="%s"%s/>',
|
||||||
'button' => '<button%s>%s</button>',
|
'button' => '<button%s>%s</button>',
|
||||||
'image' => '<img src="%s" %s/>',
|
'image' => '<img src="%s"%s/>',
|
||||||
'tableheader' => '<th%s>%s</th>',
|
'tableheader' => '<th%s>%s</th>',
|
||||||
'tableheaderrow' => '<tr%s>%s</tr>',
|
'tableheaderrow' => '<tr%s>%s</tr>',
|
||||||
'tablecell' => '<td%s>%s</td>',
|
'tablecell' => '<td%s>%s</td>',
|
||||||
|
@ -91,7 +91,7 @@ class HtmlHelper extends AppHelper {
|
||||||
'fieldsetstart' => '<fieldset><legend>%s</legend>',
|
'fieldsetstart' => '<fieldset><legend>%s</legend>',
|
||||||
'fieldsetend' => '</fieldset>',
|
'fieldsetend' => '</fieldset>',
|
||||||
'legend' => '<legend>%s</legend>',
|
'legend' => '<legend>%s</legend>',
|
||||||
'css' => '<link rel="%s" type="text/css" href="%s" %s/>',
|
'css' => '<link rel="%s" type="text/css" href="%s"%s/>',
|
||||||
'style' => '<style type="text/css"%s>%s</style>',
|
'style' => '<style type="text/css"%s>%s</style>',
|
||||||
'charset' => '<meta http-equiv="Content-Type" content="text/html; charset=%s" />',
|
'charset' => '<meta http-equiv="Content-Type" content="text/html; charset=%s" />',
|
||||||
'ul' => '<ul%s>%s</ul>',
|
'ul' => '<ul%s>%s</ul>',
|
||||||
|
@ -1188,7 +1188,7 @@ class HtmlHelper extends AppHelper {
|
||||||
*
|
*
|
||||||
* ```
|
* ```
|
||||||
* $tags = array(
|
* $tags = array(
|
||||||
* 'meta' => '<meta %s>'
|
* 'meta' => '<meta%s>'
|
||||||
* );
|
* );
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue