function generar_input_ef($ef) { parent::generar_input_ef($ef); if (in_array($ef, $this->colores)) { $fila = $this->ef($ef)->get_fila_actual(); $id_form = $this->ef($ef)->get_id_form(); $contenido = gif_nulo(16, 16); echo "<span id='css_" . $ef . '_' . $fila . "' onclick='colorpicker(\$\$(\"{$id_form}\"))'\n\t\t\t\t\ttitle='Seleccionar otro color' class='css-preview' >{$contenido}</span>"; } }
function generar_input_ef($ef) { if ($ef == 'imagen') { echo "<div class='editor-imagen-preview'>"; } parent::generar_input_ef($ef); if ($ef == 'imagen') { $fila = $this->ef($ef)->get_fila_actual(); $origen = $this->ef('imagen_recurso_origen')->get_estado(); $img = $this->ef($ef)->get_estado(); seleccion_imagenes::generar_input_ef($origen, $img, $this->objeto_js, $fila); } if ($ef == 'imagen') { echo '</div>'; } }