Касается отступа слева в С++
Откройте в редакторе Notepad++
product-cb_geshi_bbcode
и замените блок /// CPPS
Код:
/// CPPS
$this->tag_list['no_option']['cpps'] = array ();
$this->tag_list['no_option']['cpps']['callback'] = 'handle_external';
$this->tag_list['no_option']['cpps']['external_callback'] = 'handle_geshi_cpp';
if (!function_exists ('handle_geshi_cpp'))
{
function handle_geshi_cpp(&$theobj, &$value, &$option)
{
$code = handle_geshi_code($value,'cpp');
return '<div class="bbcode_container"><div class="bbcode_description">C++ Code:</div><div style="max-height: 300px;padding-left: 5px;" class="bbcode_code">'.$code.'</div></div>';
}
}
Перезалейте продукт с заменой