dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set TransactionProfiler expectations in the API
[lhc/web/wiklou.git]
/
includes
/
Html.php
diff --git
a/includes/Html.php
b/includes/Html.php
index
c61dca8
..
5f91dac
100644
(file)
--- a/
includes/Html.php
+++ b/
includes/Html.php
@@
-359,8
+359,6
@@
class Html {
'keygen' => array( 'keytype' => 'rsa' ),
'link' => array( 'media' => 'all' ),
'menu' => array( 'type' => 'list' ),
'keygen' => array( 'keytype' => 'rsa' ),
'link' => array( 'media' => 'all' ),
'menu' => array( 'type' => 'list' ),
- // Note: the use of text/javascript here instead of other JavaScript
- // MIME types follows the HTML5 spec.
'script' => array( 'type' => 'text/javascript' ),
'style' => array(
'media' => 'all',
'script' => array( 'type' => 'text/javascript' ),
'style' => array(
'media' => 'all',
@@
-597,7
+595,6
@@
class Html {
// we may as well not call htmlspecialchars().
// @todo FIXME: Verify that we actually need to
// escape \n\r\t here, and explain why, exactly.
// we may as well not call htmlspecialchars().
// @todo FIXME: Verify that we actually need to
// escape \n\r\t here, and explain why, exactly.
- #
// We could call Sanitizer::encodeAttribute() for this, but we
// don't because we're stubborn and like our marginal savings on
// byte size from not having to encode unnecessary quotes.
// We could call Sanitizer::encodeAttribute() for this, but we
// don't because we're stubborn and like our marginal savings on
// byte size from not having to encode unnecessary quotes.
@@
-675,7
+672,6
@@
class Html {
}
return self::rawElement( 'style', array(
}
return self::rawElement( 'style', array(
- 'type' => 'text/css',
'media' => $media,
), $contents );
}
'media' => $media,
), $contents );
}
@@
-692,7
+688,6
@@
class Html {
return self::element( 'link', array(
'rel' => 'stylesheet',
'href' => $url,
return self::element( 'link', array(
'rel' => 'stylesheet',
'href' => $url,
- 'type' => 'text/css',
'media' => $media,
) );
}
'media' => $media,
) );
}
@@
-745,10
+740,10
@@
class Html {
}
/**
}
/**
- * Convenience function to produce a
checkbox (input element with type=checkbox
)
+ * Convenience function to produce a
radio button (input element with type=radio
)
*
* @param string $name Name attribute
*
* @param string $name Name attribute
- * @param bool $checked Whether the
checkbox
is checked or not
+ * @param bool $checked Whether the
radio button
is checked or not
* @param array $attribs Array of additional attributes
* @return string Raw HTML
*/
* @param array $attribs Array of additional attributes
* @return string Raw HTML
*/