Hola necro880
Si existe una traduccion parcial del menu ACP, pero la otra parte se tiene que traducir directamente desde la db .....creo, ya lo estuve mirando hace un tiempo pero es mucho trabajo para nada...
Mod Hide
en sources buscas /lib/post_parser.php CODE
while ( preg_match( "#\[size=([^\]]+)\](.+?)\[/size\]#ies", $txt ) )
{
$txt = preg_replace( "#\[size=([^\]]+)\](.+?)\[/size\]#ies" , "\$this->regex_font_attr(array('s'=>'size','1'=>'\\1','2'=>'\\2'))", $txt );
}
Añadir encima:CODE
$txt = preg_replace( "#\[showhide=(.+?)\](.+?)\[/showhide\]#ies" , "\$this->parse_showhide_tag('\\1','\\2')", $txt );
Buscar:CODE
//-----------------------------------------
// Checks opening and closing bbtags - doesn't parse at this point
//-----------------------------------------
añadir antes:CODE
function parse_showhide_tag($header,$content) {
$id = uniqid("sh_");
$html = "";
$html .= "<!--SHOWHIDE:{$id}-->";
$html .= "<a rel="nofollow" href=\"java script:toggleview('{$id}');\">{$header}</a>";
$html .= "<div style=\"display: none;\" id=\"{$id}\">{$content}</div>";
$html .= "<!--SHOWHIDE:{$id}-->";
return $html;
}
function unconvert_showhide_tag($id,$html) {
preg_match("#<a rel="nofollow" href=.+?>(.+?)<\/a>#is",$html,$header);
preg_match("#<div style=.+? id=.+?>(.+?)</div>#is",$html,$content);
$bbcode = "[showhide={$header[1]}]";
$bbcode .= $content[1];
$bbcode .= "[/showhide]";
return $bbcode;
}
buscar:CODE
$txt = preg_replace( "#<!--sql-->(.+?)<!--sql1-->(.+?)<!--sql2-->(.+?)<!--sql3-->#eis" , "\$this->unconvert_sql(\"\\2\")", $txt);
$txt = preg_replace( "#<!--html-->(.+?)<!--html1-->(.+?)<!--html2-->(.+?)<!--html3-->#e", "\$this->unconvert_htm(\"\\2\")", $txt);
añadir encima:CODE
while(preg_match("#<!--SHOWHIDE:.+?-->.+?<!--SHOWHIDE:.+?-->#is",$txt)) {
$txt = preg_replace("#<!--SHOWHIDE:(.+?)-->(.+?)<!--SHOWHIDE:.+?-->#ise", "\$this->unconvert_showhide_tag('\\1','\\2')",$txt);
}
Moidficas, subes el archivo y listo
Saludo