mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
git-svn-id: https://develop.svn.wordpress.org/trunk@2762 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -25,7 +25,7 @@ tinyMCE.init({
|
||||
entity_encoding : "raw",
|
||||
extended_valid_elements : "a[id|href|title|onclick],img[class|src|alt|title|width|height|align]",
|
||||
plugins : "emotions"
|
||||
do_action('mce_options');
|
||||
<?php do_action('mce_options'); ?>
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
@@ -33,6 +33,18 @@ tinyMCE.init({
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
function addLoadEvent(func) {
|
||||
var oldonload = window.onload;
|
||||
if (typeof window.onload != 'function') {
|
||||
window.onload = func;
|
||||
} else {
|
||||
window.onload = function() {
|
||||
oldonload();
|
||||
func();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<?php if ( isset($xfn) ) : ?>
|
||||
|
||||
function GetElementsWithClassName(elementName, className) {
|
||||
@@ -80,13 +92,14 @@ function blurry() {
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = blurry;
|
||||
addLoadEvent(blurry);
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="fat.js"></script>
|
||||
<?php if ( isset( $editing ) ) : ?>
|
||||
<script type="text/javascript" src="dbx.js"></script>
|
||||
<script type="text/javascript" src="dbx-key.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user