Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- fix EOL

  • Loading branch information...
commit 4bfd00ff0a4a4bcab93bbb68efe493babaa10031 1 parent 3e1e898
Mark Wiesemann authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 HTML/QuickForm/Renderer/Tableless.php
View
22 HTML/QuickForm/Renderer/Tableless.php
@@ -6,7 +6,7 @@
* PHP versions 4 and 5
*
* LICENSE:
- *
+ *
* Copyright (c) 2005-2007, Mark Wiesemann <wiesemann@php.net>
* All rights reserved.
*
@@ -17,9 +17,9 @@
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
+ * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * * The names of the authors may not be used to endorse or promote products
+ * * The names of the authors may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
@@ -50,7 +50,7 @@
/**
* Replacement for the default renderer of HTML_QuickForm that uses only XHTML
* and CSS but no table tags, and generates fully valid XHTML output
- *
+ *
* You need to specify a stylesheet like the one that you find in
* data/stylesheet.css to make this work.
*
@@ -78,7 +78,7 @@ class HTML_QuickForm_Renderer_Tableless extends HTML_QuickForm_Renderer_Default
* @var string
* @access private
*/
- var $_elementTemplate =
+ var $_elementTemplate =
"\n\t\t\t<li><label class=\"element\"><!-- BEGIN required --><span class=\"required\">*</span><!-- END required -->{label}</label><div class=\"element<!-- BEGIN error --> error<!-- END error -->\"><!-- BEGIN error --><span class=\"error\">{error}</span><br /><!-- END error -->{element}</div></li>";
/**
@@ -86,7 +86,7 @@ class HTML_QuickForm_Renderer_Tableless extends HTML_QuickForm_Renderer_Default
* @var string
* @access private
*/
- var $_formTemplate =
+ var $_formTemplate =
"\n<form{attributes}>\n\t<div style=\"display: none;\">\n{hidden}\t</div>\n{content}\n</form>";
/**
@@ -116,7 +116,7 @@ class HTML_QuickForm_Renderer_Tableless extends HTML_QuickForm_Renderer_Default
* @var string
* @access private
*/
- var $_requiredNoteTemplate =
+ var $_requiredNoteTemplate =
"\n\t\t\t<li class=\"reqnote\"><label class=\"element\">&nbsp;</label>{requiredNote}</li>";
/**
@@ -255,7 +255,7 @@ function renderElement(&$element, $required, $error)
/**
* Renders an hidden element
* Called when visiting a hidden element
- *
+ *
* @param object An HTML_QuickForm_hidden object being visited
* @access public
* @return void
@@ -350,7 +350,7 @@ function startForm(&$form)
/**
* Called when visiting a form, after processing all form elements
* Adds required note, form attributes, validation javascript and form content.
- *
+ *
* @param object An HTML_QuickForm object being visited
* @access public
* @return void
@@ -480,9 +480,9 @@ function _handleStopFieldsetElements($element)
} // end func _handleStopFieldsetElements
/**
- * Sets element template
+ * Sets element template
*
- * @param string The HTML surrounding an element
+ * @param string The HTML surrounding an element
* @param mixed (optional) Name(s) of the element to apply template
* for (either single element name as string or multiple
* element names as an array)
Please sign in to comment.
Something went wrong with that request. Please try again.