Changeset 142 for minimanager/scripts/bbcode_lib.php
- Timestamp:
- Nov 23, 2007, 11:29:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/bbcode_lib.php
r19 r142 28 28 $bbcode_colors = Array( 29 29 0 => Array ("colors", "Colors"), 30 1 => Array (" black", "Black"),31 2 => Array (" white", "White"),32 3 => Array (" red", "Red"),33 4 => Array (" green", "Green"),34 5 => Array (" blue", "Blue"),35 6 => Array (" yellow", "Yellow"),36 7 => Array (" purple", "Purple"),37 8 => Array (" navy", "Navy"),30 1 => Array ("white", "White"), 31 2 => Array ("silver", "Silver"), 32 3 => Array ("gray", "Gray"), 33 4 => Array ("yellow", "Yellow"), 34 5 => Array ("olive", "Olive"), 35 6 => Array ("maroon", "Maroon"), 36 7 => Array ("red", "Red"), 37 8 => Array ("purple", "Purple"), 38 38 9 => Array ("fuchsia", "Fuchsia"), 39 10=> Array ("aqua", "Aqua"), 39 10=> Array ("navy", "Navy"), 40 11=> Array ("blue", "Blue"), 41 12=> Array ("teal", "Teal"), 42 13=> Array ("aqua", "Aqua"), 43 14=> Array ("lime", "Lime"), 44 15=> Array ("green", "Green"), 40 45 ); 41 46 … … 77 82 <option>".$bbcode_colors[0][1]."</option>"; 78 83 for($i=1;$i<count($bbcode_colors);$i++){ 79 $output .= "<option onclick=\"addbbcode('msg','color','{$bbcode_colors[$i][0]}');\" style=\"color:{$bbcode_colors[$i][0]}; \">{$bbcode_colors[$i][1]}</option>";84 $output .= "<option onclick=\"addbbcode('msg','color','{$bbcode_colors[$i][0]}');\" style=\"color:{$bbcode_colors[$i][0]};background-color:#383838;\">{$bbcode_colors[$i][1]}</option>"; 80 85 } 81 86 $output .= "</select>
Note:
See TracChangeset
for help on using the changeset viewer.