Correct comments and spaces - refs #6715

1.9.x
Francis Gonzales 12 years ago
parent 3e1c53d3df
commit 3f6495d04f
  1. 8
      main/inc/lib/display.lib.php
  2. 1
      main/inc/lib/formvalidator/FormValidator.class.php

@ -418,7 +418,7 @@ class Display
* @param bool Whether to XSS-filter or not
* @return string Message wrapped into an HTML div
*/
public static function return_message($message, $type='normal', $filter = true)
public static function return_message($message, $type = 'normal', $filter = true)
{
if ($filter) {
$message = api_htmlentities($message, ENT_QUOTES, api_is_xml_http_request() ? 'UTF-8' : api_get_system_encoding());
@ -712,9 +712,9 @@ class Display
/**
* Returns the htmlcode for a tag (h3, h1, div, a, button), etc
*
* @param string $image the filename of the file (in the main/img/ folder
* @param string $alt_text the alt text (probably a language variable)
* @param array additional attributes (for instance height, width, onclick, ...)
* @param string $tag the tag name
* @param string $content the tag's content
* @param array $additional_attributes (for instance height, width, onclick, ...)
* @author Julio Montoya 2010
*/
public static function tag($tag, $content, $additional_attributes = array()) {

@ -340,7 +340,6 @@ EOT;
* A rule is attached to check for unwanted HTML
* @param string $name
* @param string $label The label for the form-element
* @param string $name The element name
* @param boolean $required (optional) Is the form-element required (default=true)
* @param boolean $full_page (optional) When it is true, the editor loads completed html code for a full page.
* @param array $editor_config (optional) Configuration settings for the online editor.

Loading…
Cancel
Save