Hola, para los botones puedes añadir una clase a los input y luego definir sus propiedades en el css del componente.
Los dos botones están en los archivos:
- com_kide/view/kide/tmpl/default_mostrar.php
- mod_kide/tmpl/default_mostrar.php
Haz estos cambios:
<input onclick="KIDE_retardo_input()" type="button" value="<?php echo JText::_("KIDE_RETARDO_INPUT"); ?>" onfocus="if(this.name=='<?php echo $this->user->name; ?>')this.name=''" />
POR
<input class="inputbutton" onclick="KIDE_retardo_input()" type="button" value="<?php echo JText::_("KIDE_RETARDO_INPUT"); ?>" onfocus="if(this.name=='<?php echo $this->user->name; ?>')this.name=''" />
<input type="button" onclick="KIDE_save_options()" value="<?php echo JText::_("SEND"); ?>" />
POR
<input class="inputbutton" type="button" onclick="KIDE_save_options()" value="<?php echo JText::_("SEND"); ?>" />
Luego en los archivos
- com_kide/assets/css/chat.css
- mod_kide/css/chat.css
Define la clase, por ejemplo
.inputbutton {
color: green;
background-color: blue;
border: 1px solid orange;
}
Donde quieres el cajón? Ponlo donde más te guste, es esto:
<?php
if (!$this->user->userid) : ?>
<div><input type="text" name="nuevo_nick" value="<?php echo stripslashes($this->user->name); ?>" /></div>
<br />
<input type="button" onclick="KIDE_save_options()" value="Cambiar" />
<?php
endif;
?>
Si lo haces borra
<?php
if (!$this->user->userid) : ?>
<div><input type="text" name="nuevo_nick" value="<?php echo stripslashes($this->user->name); ?>" /></div>
<br />
<?php
endif;
?>
De los archivos default_mostrar.php