Cajas de Colores pa' la 2.3
buscar en el Subs.phparray(
'tag' => 'html',
'type' => 'unparsed_content',
'content' => '$1',
'block_level' => true,
'disabled_content' => '$1',
),
agregar despues array(
'tag' => 'error',
'before' => '<div class="error_bbc">',
'after' => '</div>',
),
array(
'tag' => 'warning',
'before' => '<div class="warning_bbc">',
'after' => '</div>',
),
array(
'tag' => 'okay',
'before' => '<div class="okay_bbc">',
'after' => '</div>',
),
array(
'tag' => 'info',
'before' => '<div class="info_bbc">',
'after' => '</div>',
),
buscar en el acciones-sp-1.1.js o como lo tengan{name:'Fuente', dropMenu :[
{name:'Arial', openWith:'[font=Arial]', closeWith:'[/font]' },
{name:'Courier New', openWith:'[font=Courier New]', closeWith:'[/font]' },
{name:'Georgia', openWith:'[font=Georgia]', closeWith:'[/font]' },
{name:'Times New Roman', openWith:'[font=Times New Roman]', closeWith:'[/font]' },
{name:'Verdana', openWith:'[font=Verdana]', closeWith:'[/font]' },
{name:'Trebuchet MS', openWith:'[font=Trebuchet MS]', closeWith:'[/font]' },
{name:'Lucida Sans', openWith:'[font=Lucida Sans]', closeWith:'[/font]' },
{name:'Comic Sans', openWith:'[font=Comic Sans]', closeWith:'[/font]' }
]},
{separator:'-' },
{name:'Insertar video de YouTube', beforeInsert:function(h){ markit_yt(h); }},
{name:'Insertar video de Google Video', beforeInsert:function(h){ markit_gv(h); }},
{name:'Insertar archivo SWF', beforeInsert:function(h){ markit_swf(h); }},
{name:'Insertar Imagen', beforeInsert:function(h){ markit_img(h); }},
{name:'Insertar Link', beforeInsert:function(h){ markit_url(h); }},
{name:'Citar', beforeInsert:function(h){ markit_quote(h); }}remplazar x{name:'Fuente', dropMenu :[
{name:'Arial', openWith:'[font=Arial]', closeWith:'[/font]' },
{name:'Courier New', openWith:'[font=Courier New]', closeWith:'[/font]' },
{name:'Georgia', openWith:'[font=Georgia]', closeWith:'[/font]' },
{name:'Times New Roman', openWith:'[font=Times New Roman]', closeWith:'[/font]' },
{name:'Verdana', openWith:'[font=Verdana]', closeWith:'[/font]' },
{name:'Trebuchet MS', openWith:'[font=Trebuchet MS]', closeWith:'[/font]' },
{name:'Lucida Sans', openWith:'[font=Lucida Sans]', closeWith:'[/font]' },
{name:'Comic Sans', openWith:'[font=Comic Sans]', closeWith:'[/font]' }
]},
{separator:'-' },
{name:'Insertar video de YouTube', beforeInsert:function(h){ markit_yt(h); }},
{name:'Insertar video de Google Video', beforeInsert:function(h){ markit_gv(h); }},
{name:'Insertar archivo SWF', beforeInsert:function(h){ markit_swf(h); }},
{name:'Insertar Imagen', beforeInsert:function(h){ markit_img(h); }},
{name:'Insertar Link', beforeInsert:function(h){ markit_url(h); }},
{name:'Citar', beforeInsert:function(h){ markit_quote(h); }},
{separator:'-' },
{name:lang['Error'], key:'er', openWith:'[error]', closeWith:'[/error]'},
{name:lang['Info'], key:'in', openWith:'[info]', closeWith:'[/info]'},
{name:lang['Okay'], key:'ok', openWith:'[okay]', closeWith:'[/okay]'},
{name:lang['Warning'], key:'wa', openWith:'[warning]', closeWith:'[/warning]'},
buscar /******************/
agregar despueslang['Error'] = "Agregar Caja Error";
lang['Okay'] = "Agregar Caja Okay";
lang['Warning'] = "Agregar Caja Warning";
lang['Info'] = "Agregar Caja Info";
buscar en los estilos-sp.css o como lo tengan
.markItUp .markItUpButton15 a, .markitcomment .markItUp .markItUpButton9 a{background:transparent url('images/icons/bbcode.gif') no-repeat scroll left top;background-position:left -160px;height:10px;}
agregar después.markItUp .markItUpButton16 a, .markitcomment .markItUp .markItUpButton8 a,.miRespuesta .markItUp .markItUpButton8 a {
background:transparent url('images/icons/cajas.png') no-repeat scroll left top;
background-position: left -1px;
height: 10px;
}
.markItUp .markItUpButton17 a, .markitcomment .markItUp .markItUpButton9 a,.miRespuesta .markItUp .markItUpButton9 a {
background:transparent url('images/icons/cajas.png') no-repeat scroll left top;
background-position: left -25px;
height: 10px;
}
.markItUp .markItUpButton18 a, .markitcomment .markItUp .markItUpButton10 a,.miRespuesta .markItUp .markItUpButton10 a {
background:transparent url('images/icons/cajas.png') no-repeat scroll left top;
background-position: left -50px;
height: 10px;
}
.markItUp .markItUpButton19 a, .markitcomment .markItUp .markItUpButton11 a,.miRespuesta .markItUp .markItUpButton11 a {
background:transparent url('images/icons/cajas.png') no-repeat scroll left top;
background-position: left -75px;
height: 10px;
}tmb agregar esto a los estilos-sp.css
/* C S S M E S S A G E B O X E S v1.0
-------------------------------------------------- */
.error_bbc, .warning_bbc, .okay_bbc, .info_bbc {
margin-bottom: 1.5em;
padding: 1em 1.5em 1em 5.5em;
border-bottom: 2px solid #fff;
border-top: 2px solid #fff;
color: #444
}
.error_bbc {background: #fbe3e4 url('images/mBox/error.png') 2.2em center no-repeat; border-color: #e0011b}
.error_bbc a {color: #d12f19}
.warning_bbc {background: #fff6bf url('images/mBox/warning.png') 2.2em center no-repeat; border-color: #ffd324}
.warning_bbc a {color: #817134}
.okay_bbc {background: #e9ffdd url('images/mBox/okay.png') 2.2em center no-repeat; border-color: #72c868}
.okay_bbc a {color: #529214}
.info_bbc {background: #e2ecee url('images/mBox/info.png') 2.2em center no-repeat; border-color: #9ddae6}
.info_bbc a {color: #2d7ba2}
/* Lists */
.error_bbc ul, .warning_bbc ul, .okay_bbc ul, .info_bbc ul {
list-style: none;
margin: 1.3em 1.5em
}
.error_bbc ul li, .warning_bbc ul li, .okay_bbc ul li, .info_bbc ul li {
padding-left: 1.3em
}
.error_bbc ul li { background: url(images/mBox/error-bullet.png) 0 0.55em no-repeat }
.warning_bbc ul li { background: url(images/mBox/warning-bullet.png) 0 0.55em no-repeat }
.okay_bbc ul li { background: url(images/mBox/okay-bullet.png) 0 0.55em no-repeat }
.info_bbc ul li { background: url(images/mBox/info-bullet.png) 0 0.55em no-repeat }
si quieren bordes redondeados pongan esto /* C S S M E S S A G E B O X E S v1.0
-------------------------------------------------- */
.error_bbc, .warning_bbc, .okay_bbc, .info_bbc {
margin-bottom: 1.5em;
padding: 1em 1.5em 1em 5.5em;
border: 2px solid;
color: #444
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
-ms-border-radius: 5px:
}
.error_bbc {background: #fbe3e4 url('images/mBox/error.png') 2.2em center no-repeat; border-color: #e0011b}
.error_bbc a {color: #d12f19}
.warning_bbc {background: #fff6bf url('images/mBox/warning.png') 2.2em center no-repeat; border-color: #ffd324}
.warning_bbc a {color: #817134}
.okay_bbc {background: #e9ffdd url('images/mBox/okay.png') 2.2em center no-repeat; border-color: #72c868}
.okay_bbc a {color: #529214}
.info_bbc {background: #e2ecee url('images/mBox/info.png') 2.2em center no-repeat; border-color: #9ddae6}
.info_bbc a {color: #2d7ba2}
/* Lists */
.error_bbc ul, .warning_bbc ul, .okay_bbc ul, .info_bbc ul {
list-style: none;
margin: 1.3em 1.5em
}
.error_bbc ul li, .warning_bbc ul li, .okay_bbc ul li, .info_bbc ul li {
padding-left: 1.3em
}
.error_bbc ul li { background: url(images/mBox/error-bullet.png) 0 0.55em no-repeat }
.warning_bbc ul li { background: url(images/mBox/warning-bullet.png) 0 0.55em no-repeat }
.okay_bbc ul li { background: url(images/mBox/okay-bullet.png) 0 0.55em no-repeat }
.info_bbc ul li { background: url(images/mBox/info-bullet.png) 0 0.55em no-repeat }
eso es todo subir cajas.png a Themes/default/images/icons o en el theme q se este usando subir la carpeta mBox a Themes/default/imagesEstas son las cajas de colores de J0n4th4ntub3