Adding new tags for JavaScript and FormHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3208 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2006-07-06 16:43:18 +00:00
parent 08b8fca099
commit cd88eb01ef

View file

@ -82,6 +82,9 @@ file_no_model = "<input type="file" name="%s" %s/>"
; Tag template for a submit button tag. ; Tag template for a submit button tag.
submit = "<input type="submit" %s/>" submit = "<input type="submit" %s/>"
; Tag template for a image input tag.
submitimage = "<input type="image" src="%s" %s/>"
; Tag template for an image tag. ; Tag template for an image tag.
image ="<img src="%s" %s/>" image ="<img src="%s" %s/>"
@ -102,6 +105,18 @@ block = "<div%s>%s</div>"
blockstart = "<div%s>" blockstart = "<div%s>"
blockend = "</div>" blockend = "</div>"
; Tag templates for a paragraph element.
para = "<p%s>%s</p>"
; Tag templates for a label element.
label = "<label for="%s"%s>%s</label>"
; Tag templates for fieldset and legend element.
fieldset = "<fieldset><legend>%s</legend>%s</fieldset>"
fieldsetstart = "<fieldset><legend>%s</legend>"
fieldsetend = "</fieldset>"
legend = "<legend>%s</legend>"
; Tag template for a CSS link tag. ; Tag template for a CSS link tag.
css = "<link rel="%s" type="text/css" href="%s" %s/>" css = "<link rel="%s" type="text/css" href="%s" %s/>"
@ -113,6 +128,7 @@ charset = "<meta http-equiv="Content-Type" content="text/html; charset=%s" />"
; Tag template for inline JavaScript. ; Tag template for inline JavaScript.
javascriptblock = "<script type="text/javascript">%s</script>" javascriptblock = "<script type="text/javascript">%s</script>"
javascriptstart = "<script type="text/javascript">"
; Tag template for included JavaScript. ; Tag template for included JavaScript.
javascriptlink = "<script type="text/javascript" src="%s"></script>" javascriptlink = "<script type="text/javascript" src="%s"></script>"