Changeset 1144
- Timestamp:
- 06/19/08 16:36:08 (3 months ago)
- Files:
-
- bbcode-buttons/trunk/BBcode-buttons.js (modified) (1 diff)
- bbcode-buttons/trunk/BBcode-buttons.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
bbcode-buttons/trunk/BBcode-buttons.js
r1143 r1144 12 12 13 13 var CSS='float:left; border: 1px outset; color: black; background: buttonface; padding: 0px 6px 1px 6px; margin: 1px 7px 2px 0;' 14 +'font: 1.2em times, serif; word-spacing: -1px; height: 16px; vertical-align:middle; '14 +'font: 1.2em times, serif; word-spacing: -1px; height: 16px; vertical-align:middle; line-height:16px;' 15 15 +'text-align:center; position:relative; cursor: pointer; cursor: hand;'; 16 var stylesheet = document.styleSheets[ 0];16 var stylesheet = document.styleSheets[document.styleSheets.length-1]; 17 17 if (stylesheet.addRule) {stylesheet.addRule(".ed_button", CSS);} else {if (stylesheet.insertRule) {stylesheet.insertRule(".ed_button {"+CSS+"}",stylesheet);}} 18 18 bbcode-buttons/trunk/BBcode-buttons.php
r1143 r1144 6 6 Author: _ck_ 7 7 Author URI: http://bbShowcase.org 8 Version: 0.0. 18 Version: 0.0.2 9 9 10 10 License: CC-GNU-GPL http://creativecommons.org/licenses/GPL/2.0/ … … 33 33 BBcodeButtons.push(new BBcodeButton('ed_close','close','','','c',' ','auto-close any tags you left open')); 34 34 }</scr"."ipt> 35 <scr"."ipt src='" .bb_get_option('uri').str_replace(array(".php",BBPATH),array(".js",""),__FILE__)." ' type='text/javascript' defer='defer'></scr"."ipt>";35 <scr"."ipt src='" .bb_get_option('uri').str_replace(array(".php",BBPATH),array(".js",""),__FILE__)."?0.0.2' type='text/javascript' defer='defer'></scr"."ipt>"; 36 36 } 37 37 } add_action('bb_foot', 'bbcode_buttons');
