|
|
@@ -1,9 +1,5 @@
|
|
|
<?php
|
|
|
/**
|
|
|
- * Html Helper class file.
|
|
|
- *
|
|
|
- * Simplifies the construction of HTML elements.
|
|
|
- *
|
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
|
|
*
|
|
|
@@ -52,29 +48,6 @@ class HtmlHelper extends Helper {
|
|
|
'metalink' => '<link href="%s"%s/>',
|
|
|
'link' => '<a href="%s"%s>%s</a>',
|
|
|
'mailto' => '<a href="mailto:%s" %s>%s</a>',
|
|
|
- 'form' => '<form action="%s"%s>',
|
|
|
- 'formend' => '</form>',
|
|
|
- 'input' => '<input name="%s"%s/>',
|
|
|
- 'textarea' => '<textarea name="%s"%s>%s</textarea>',
|
|
|
- 'hidden' => '<input type="hidden" name="%s"%s/>',
|
|
|
- 'checkbox' => '<input type="checkbox" name="%s" %s/>',
|
|
|
- 'checkboxmultiple' => '<input type="checkbox" name="%s[]"%s />',
|
|
|
- 'radio' => '<input type="radio" name="%s" id="%s"%s />%s',
|
|
|
- 'selectstart' => '<select name="%s"%s>',
|
|
|
- 'selectmultiplestart' => '<select name="%s[]"%s>',
|
|
|
- 'selectempty' => '<option value=""%s> </option>',
|
|
|
- 'selectoption' => '<option value="%s"%s>%s</option>',
|
|
|
- 'selectend' => '</select>',
|
|
|
- 'optiongroup' => '<optgroup label="%s"%s>',
|
|
|
- 'optiongroupend' => '</optgroup>',
|
|
|
- 'checkboxmultiplestart' => '',
|
|
|
- 'checkboxmultipleend' => '',
|
|
|
- 'password' => '<input type="password" name="%s" %s/>',
|
|
|
- 'file' => '<input type="file" name="%s" %s/>',
|
|
|
- 'file_no_model' => '<input type="file" name="%s" %s/>',
|
|
|
- 'submit' => '<input %s/>',
|
|
|
- 'submitimage' => '<input type="image" src="%s" %s/>',
|
|
|
- 'button' => '<button%s>%s</button>',
|
|
|
'image' => '<img src="%s" %s/>',
|
|
|
'tableheader' => '<th%s>%s</th>',
|
|
|
'tableheaderrow' => '<tr%s>%s</tr>',
|
|
|
@@ -83,25 +56,18 @@ class HtmlHelper extends Helper {
|
|
|
'block' => '<div%s>%s</div>',
|
|
|
'blockstart' => '<div%s>',
|
|
|
'blockend' => '</div>',
|
|
|
- 'hiddenblock' => '<div style="display:none;">%s</div>',
|
|
|
'tag' => '<%s%s>%s</%s>',
|
|
|
'tagstart' => '<%s%s>',
|
|
|
'tagend' => '</%s>',
|
|
|
'tagselfclosing' => '<%s%s/>',
|
|
|
'para' => '<p%s>%s</p>',
|
|
|
'parastart' => '<p%s>',
|
|
|
- 'label' => '<label for="%s"%s>%s</label>',
|
|
|
- 'fieldset' => '<fieldset%s>%s</fieldset>',
|
|
|
- 'fieldsetstart' => '<fieldset><legend>%s</legend>',
|
|
|
- 'fieldsetend' => '</fieldset>',
|
|
|
- 'legend' => '<legend>%s</legend>',
|
|
|
'css' => '<link rel="%s" type="text/css" href="%s" %s/>',
|
|
|
'style' => '<style type="text/css"%s>%s</style>',
|
|
|
'charset' => '<meta http-equiv="Content-Type" content="text/html; charset=%s" />',
|
|
|
'ul' => '<ul%s>%s</ul>',
|
|
|
'ol' => '<ol%s>%s</ol>',
|
|
|
'li' => '<li%s>%s</li>',
|
|
|
- 'error' => '<div%s>%s</div>',
|
|
|
'javascriptblock' => '<script%s>%s</script>',
|
|
|
'javascriptstart' => '<script>',
|
|
|
'javascriptlink' => '<script type="text/javascript" src="%s"%s></script>',
|