Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..
Gracias.
La Administración de phpBB España.
Cambiar el estado de los botones
Antes de participar en los foros, leer esto por favor.
Normas generales de phpBB-Es y las de Soporte
Cambiar el estado de los botones
Un saludo y mil gracias!
Raul [ThE KuKa] en phpBB
Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación
phpBB España - En línea desde 2003
Re: Cambiar el estado de los botones
Gracias.
Un favor amigo!!
Código: Seleccionar todo
#
#-----[ ABRIR ]---------------------------------------------
#
includes/template.php
#
#-----[ ENCONTRAR ]---------------------------------------------
#
// This will hold the uncompiled code for that handle.
var $uncompiled_code = array();
#
#-----[ DESPUES Aí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?ADIR ]--------------------------------------
#
//sets cool transparent alpha style for IE in imgs
var $alpha_style='style="filter:alpha(opacity=65)" onMouseOver="this.filters.alpha.opacity=100" onMouseOut="this.filters.alpha.opacity=65"';
#
#-----[ ENCONTRAR ]---------------------------------------------
#
eval($this->compiled_code[$handle]);
return true;
}
#
#-----[ ANTES Aí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?ADIR ]--------------------------------------
#
// make all img. hrefs in template code alpha blending on mouseover:
$this->compiled_code[$handle] = preg_replace('#]+)>]+?)(/)?>#', 'alpha_style.' \\3>', $this->compiled_code[$handle]);
#
#-----[ BUSCAR ]---------------------------------------------
#
// This will handle the remaining root-level varrefs
$code = preg_replace('#\{([a-z0-9\-_]*?)\}#is', '\' . ( ( isset($this->_tpldata[\'.\'][0][\'\1\']) ) ? $this->_tpldata[\'.\'][0][\'\1\'] : \'\' ) . \'', $code);
#
#-----[ SUSTITUIR POR ]--------------------------------------
#
//for root level vars {xxx}
$replacer = 'preg_replace(\'#]+)>]+?)(/)?>#\', \'alpha_style.\' \\\\3>\', $this->_tpldata[\'.\'][0][\'\1\'])';
// This will handle the remaining root-level varrefs
$code = preg_replace('#\{([a-z0-9\-_]*?)\}#is', '\' . ( ( isset($this->_tpldata[\'.\'][0][\'\1\']) ) ? '.$replacer.' : \'\' ) . \'', $code);
#
#-----[ ENCONTRAR ]---------------------------------------------
#
$varref = '\' . ( ( isset(' . $varref . ') ) ? ' . $varref . ' : \'\' ) . \'';
return $varref;
#
#-----[ SUSTITUIR POR ]--------------------------------------
#
//replace with button style opacity thingies (fading)
//for all vars with namespaces {xxx.xxx}
$replacer = 'preg_replace(\'#]+)>]+?)(/)?>#\', \'alpha_style.\' \\\\3>\', '.$varref.')';
$varref = '\' . ( ( isset(' . $varref . ') ) ? ' . $replacer . ' : \'\' ) . \'';
return $varref;
#
#-----[ GUARDA TODOS LOS FICHEROS ]------------------------------------------
#
Re: Cambiar el estado de los botones
