function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $this->set_form_tabindex('Modificar', '10');
     $label = html_label('submit');
     $label->add($this->element_form('Modificar'));
     $table->add_row(html_td('', 'center', $label));
     return $table;
 }
Exemple #2
0
/**
 * Editor
 *
 * @param array $attr
 * @param array $item
 *
 * @return string
 */
function editor(array $attr, array $item) : string
{
    if (!in_array('edit', $attr['actions'])) {
        return '';
    }
    $item[$attr['id']] = $item[$attr['id']] ?? $attr['val'];
    $attr['opt'] = opt($attr);
    $attr['context'] = 'edit';
    $attr['html']['id'] = html_id($attr, $item);
    $attr['html']['name'] = html_name($attr, $item);
    $attr['html']['data-type'] = $attr['type'];
    if ($attr['required'] && !ignorable($attr, $item)) {
        $attr['html']['required'] = true;
    }
    if (!empty($attr['multiple'])) {
        $attr['html']['multiple'] = true;
    }
    if (!empty($item['_error'][$attr['id']])) {
        $attr['html']['class'] = empty($attr['html']['class']) ? 'invalid' : $attr['html']['class'] . ' invalid';
    }
    $html = '';
    $callback = fqn('editor_' . $attr['type']);
    if (is_callable($callback)) {
        $html = $callback($attr, $item);
    } else {
        // @todo
        switch ($attr['frontend']) {
            case 'select':
                $html = editor_select($attr, $item);
                break;
            case 'checkbox':
            case 'radio':
                $html = editor_opt($attr, $item);
                break;
            case 'color':
            case 'email':
            case 'url':
                $html = editor_text($attr, $item);
                break;
            case 'number':
            case 'range':
                $html = editor_int($attr, $item);
                break;
            case 'date':
            case 'time':
                $html = editor_datetime($attr, $item);
                break;
            case 'file':
                $html = editor_file($attr, $item);
                break;
            case 'textarea':
                $html = editor_textarea($attr, $item);
                break;
        }
    }
    return $html ? html_label($attr, $item) . $html . html_message($attr, $item) : '';
}
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla01');
     $labelAdd = html_label('anadir');
     $labelAdd->add($this->element_form('anadir'));
     $tdAnadir = html_td('', 'left', $labelAdd);
     $this->set_form_tabindex('anadir', '10');
     $table->add_row($this->_showElement('name', '7', 'name', 'Nuevo submenú', 'name', 'left'), $tdAnadir);
     return $table;
 }
 /**
  * Este metodo construye el formulario que se va a mostrar en la Vista.
  * Formatea la forma en que se va a mostrar al usuario los distintos elementos del formulario.
  */
 function form()
 {
     //El formateo va a ser realizado sobre una tabla en la que cada fila es un campo del formulario
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla02');
     $table->add_row($this->_showElement('nombre', '8', 'nombre', 'Nuevo Tema: ', 'nombre', 'left'));
     $this->set_form_tabindex('Aceptar', '10');
     $label = html_label('submit');
     $label->add($this->element_form('Aceptar'));
     $table->add_row(html_td('', 'left', $label));
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla02');
     $table->add_row($this->_showElement('title', '7', 'title', 'Concepto', 'title', 'left'));
     $table->add_row($this->_showElement('body', '8', 'body', 'Descripción', 'body', 'left'));
     $this->set_form_tabindex('Guardar', '10');
     $label = html_label('submit');
     $label->add($this->element_form('Guardar'));
     $table->add_row(html_td('', 'left', $label));
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla02');
     $table->add_row($this->_showElement('objectives', '7', 'objectives', 'Objetivos', 'objectives', 'left'));
     $table->add_row($this->_showElement('description', '8', 'description', 'Descripción', 'description', 'left'));
     $table->add_row($this->_showElement('contents', '9', 'contents', 'Contenidos', 'contents', 'left'));
     $this->set_form_tabindex('Guardar', '10');
     $label = html_label('submit');
     $label->add($this->element_form('Guardar'));
     $table->add_row(html_td('', 'left', $label));
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla02');
     //$table->add_row($this->_showElement('From', '6', 'To', 'miguel_fromMail', 'From', 'left' ));
     $table->add_row($this->_showElement('To', '7', 'To', 'miguel_toMail', 'To', 'left'));
     $table->add_row($this->_showElement('Subject', '8', 'Subject', 'miguel_subjectMail', 'Subject', 'left'));
     $table->add_row($this->_showElement('Body', '9', 'Body', 'miguel_bodyMail', 'Body', 'left'));
     $this->set_form_tabindex('Enviar', '10');
     $label = html_label('submit');
     $label->add($this->element_form('Enviar'));
     $table->add_row(html_td('', 'left', $label));
     return $table;
 }
 /**
  * Este metodo construye el formulario que se va a mostrar en la Vista.
  * Formatea la forma en que se va a mostrar al usuario los distintos elementos del formulario.
  */
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2, 'center');
     $label = html_label("comentario");
     $label->add(container(agt('Añadir comentario'), html_br(), $this->element_form("Comentario")));
     $elem = html_td('ptabla03', '', $label);
     $table->add_row($elem);
     $item1 = html_td('', '', $this->element_form("valoracion"));
     $item1->set_tag_attribute('align', 'center');
     $item2 = html_td('', '', $this->element_form("aceptar"));
     $item2->set_tag_attribute('align', 'center');
     $table->add_row($item1);
     $table->add_row($item2);
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2, 'center');
     $row = html_tr();
     $label = html_label("título");
     $label->add(container(agt("Nombre del enlace"), _HTML_SPACE, $this->element_form('ptabla01')));
     $elem1 = html_td('ptabla02', '', $label);
     $row->add($elem1);
     $label = html_label("enlace");
     $label->add(container(agt("Dirección Web"), _HTML_SPACE, $this->element_form("enlace")));
     $elem2 = html_td('ptabla02', '', $label);
     $row->add($elem2);
     $table->add_row($row);
     $row2 = html_tr();
     $elem3 = html_td('ptabla02', '', $this->element_form("aceptar"));
     $elem3->set_tag_attribute('align', 'center');
     $elem3->set_tag_attribute('colspan', '2');
     $row2->add($elem3);
     $table->add_row($row2);
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla02');
     $labelAdd = html_label('submit');
     $labelAdd->add($this->element_form('submit'));
     $tdsubmit = html_td('', 'left', $labelAdd);
     $this->set_form_tabindex('submit', '10');
     $menu_id = $this->getViewVariable('menu_id');
     $arrSmn = $this->getViewVariable('arrSubmenus');
     for ($i = 0; $i < count($arrSmn); $i++) {
         if ($arrSmn[$i]['name'] != '') {
             $submenu_id = $arrSmn[$i]['submenu_id'];
             $tdDelete = html_td('', '', html_a(Util::format_URLPath('moduleManager/index.php', "status=deleteSubmenu&menu_id={$menu_id}&submenu_id={$submenu_id}"), 'Eliminar'));
             $opt_id = 'submenu' . $submenu_id;
             $table->add_row($this->_showElement($opt_id, 7 + $i, $opt_id, $arrSmn[$i]['name'], $opt_id, 'left'), $tdDelete);
         }
     }
     $table->add_row($tdsubmit);
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla01');
     $labelAdd = html_label('anadir');
     $labelAdd->add($this->element_form('Anadir'));
     $tdAnadir = html_td('', 'left', $labelAdd);
     $this->set_form_tabindex('Anadir', '10');
     $labelDel = html_label('borrar');
     $labelDel->add($this->element_form('Borrar'));
     $tdBorrar = html_td('', 'left', $labelDel);
     $this->set_form_tabindex('Borrar', '8');
     //$table->add_row($this->_showElement('From', '6', 'To', 'miguel_fromMail', 'From', 'left' ));
     $table->add_row($this->_showElement('To', '7', 'To', 'Para', 'To', 'left'), $tdBorrar, $this->_showElement('listto', '9', 'listto', 'Destinatarios', 'listto', 'left'), $tdAnadir);
     $table->add_row($this->_showElement('Subject', '10', 'Subject', 'Asunto', 'Subject', 'left'));
     $table->add_row($this->_showElement('Body', '11', 'Body', 'Mensaje', 'Body', 'left'));
     $this->set_form_tabindex('Enviar', '12');
     $label = html_label('submit');
     $label->add($this->element_form('Enviar'));
     $table->add_row(html_td('', 'left', $label));
     return $table;
 }
 /**
  * Este metodo construye el formulario que se va a mostrar en la Vista.
  * Formatea la forma en que se va a mostrar al usuario los distintos elementos del formulario.
  */
 function form()
 {
     //El formateo va a ser realizado sobre una tabla en la que cada fila es un campo del formulario
     $table =& html_table($this->_width, 0, 2, 2);
     $table->add_row($this->_showElement("Asunto", '6', "asunto_de_usuario", 'Asunto', "Asunto", "left"));
     $table->add_row($this->_showElement("Comentario", '7', "comentario", 'Texto', "Comentario", "left"));
     $this->set_form_tabindex("Aceptar", '10');
     $label = html_label("submit");
     $label->add($this->element_form("Aceptar"));
     $table->add_row(html_td("", "left", $label));
     return $table;
 }
Exemple #13
0
				</div>
			</div>
			<div class="row">
				<div class="form-group col-md-4">
					<?php 
echo html_label(array("value" => "Nome", "class" => "control-label requered", "for" => "admin_nome"));
?>
					<?php 
echo html_input_text(array("name" => "admin_nome", "value" => $usuario["admin_nome"]));
?>
				</div>
			</div>
			<div class="row">
				<div class="form-group col-md-4">
					<?php 
echo html_label(array("value" => "E-mail", "class" => "control-label requered", "for" => "admin_email"));
?>
					<?php 
echo html_input_text(array("name" => "admin_email", "value" => $usuario["admin_email"]));
?>
				</div>
			</div>
		</form>
	</div>

	<div class="form-actions">
		<?php 
echo html_input_button(array("value" => "Cancelar", "class" => "btn btn-default"));
?>
		<?php 
echo html_input_button(array("value" => "Restabelecer Senha", "class" => "btn btn-warning"));
 /**
  * Este metodo construye el formulario que se va a mostrar en la Vista.
  * Formatea la forma en que se va a mostrar al usuario los distintos elementos del formulario.
  */
 function form()
 {
     //El formateo va a ser realizado sobre una tabla en la que cada fila es un campo del formulario
     $table =& html_table($this->_width, 0, 2, 2);
     $rowFecha = $this->_showElement("Fecha del evento", '5', "fecha", 'Fecha del evento', "Fecha del evento", "left");
     $rowHoraIni = $this->_showElement("Hora Inicio", '5', "hora_ini", 'Hora Inicio', "Hora Inicio", "left");
     $rowHoraFin = $this->_showElement("Hora Fin", '5', "hora_fin", 'Hora Fin', "Hora Fin", "left");
     $rowTipo = $this->_showElement("Tipo de Evento", '6', "event", 'Tipo de Evento', "Tipo de Evento", "left");
     $rowAsunto = $this->_showElement("Asunto", '7', "asunto_de_usuario", 'Asunto', "Asunto", "left");
     $rowComentario = $this->_showElement("Comentario", '8', "comentario", 'Texto', "Comentario", "left");
     $rowFecha->set_class('ptabla03');
     $rowHoraIni->set_class('ptabla03');
     $rowHoraFin->set_class('ptabla03');
     $rowTipo->set_class('ptabla03');
     $rowAsunto->set_class('ptabla03');
     $rowComentario->set_class('ptabla03');
     $table->add_row($rowFecha);
     $table->add_row($rowHoraIni);
     $table->add_row($rowHoraFin);
     $table->add_row($rowTipo);
     $table->add_row($rowAsunto);
     $table->add_row($rowComentario);
     $this->set_form_tabindex("Aceptar", '10');
     $label = html_label("submit");
     $label->add($this->element_form("Aceptar"));
     $table->add_row(html_td("", "left", $label));
     return $table;
 }
 /**
  * Este metodo construye el formulario en sÌ.
  */
 function form()
 {
     $table =& html_table($this->_width, 0, 1, 3);
     //$table->set_style("border: 1px solid");
     $this->set_form_tabindex("courseName", '7');
     $label = html_label("coursename");
     $label->add(container(html_b(agt('Nombre: ')), html_br(), $this->element_form("courseName")));
     $elem = html_td("", "left", $label);
     $elem->set_id("courseName");
     $table->add_row($elem);
     $this->set_form_tabindex("coursedataDescripcion", '8');
     $label = html_label("coursedatadescripcion");
     $label->add(container(html_b(agt('Descripción: ')), html_br(), $this->element_form("coursedataDescripcion")));
     $elem = html_td("", "left", $label);
     $elem->set_id("coursedataDescripcion");
     $table->add_row($elem);
     $this->set_form_tabindex("courseLanguage", '9');
     $label = html_label("courselanguage");
     $label->add(container(html_b(agt('Idioma: ')), html_br(), $this->element_form("courseLanguage")));
     $elem = html_td("", "left", $label);
     $elem->set_id("courseLanguage");
     $table->add_row($elem);
     $this->set_form_tabindex("coursedataVersion", '10');
     $label = html_label("coursedataversion");
     $label->add(container(html_b(agt('Version: ')), html_br(), $this->element_form("coursedataVersion")));
     $elem = html_td("", "left", $label);
     $elem->set_id("coursedataversion");
     $table->add_row($elem);
     $this->set_form_tabindex("coursedataPalabrasClaves", '11');
     $label = html_label("coursedatapalabrasclaves");
     $label->add(container(html_b(agt('Palabras Claves: ')), html_br(), $this->element_form("coursedataPalabrasClaves")));
     $elem = html_td("", "left", $label);
     $elem->set_id("coursedatapalabrasclaves");
     $table->add_row($elem);
     $this->set_form_tabindex("coursedataDestinatarios", '12');
     $label = html_label("coursedatadestinatarios");
     $label->add(container(html_b(agt('Destinatarios: ')), html_br(), $this->element_form("coursedataDestinatarios")));
     $elem = html_td("", "left", $label);
     $elem->set_id("coursedatadestinatarios");
     $table->add_row($elem);
     $this->set_form_tabindex("coursedataConocimientosPrevios", '13');
     $label = html_label("coursedataconocimientosprevios");
     $label->add(container(html_b(agt('Conocimientos Previos: ')), html_br(), $this->element_form("coursedataConocimientosPrevios")));
     $elem = html_td("", "left", $label);
     $elem->set_id("coursedataconocimientosprevios");
     $table->add_row($elem);
     $this->set_form_tabindex("coursedataMetodologia", '14');
     $label = html_label("coursedatametodologia");
     $label->add(container(html_b(agt('Metodologia: ')), html_br(), $this->element_form("coursedataMetodologia")));
     $elem = html_td("", "left", $label);
     $elem->set_id("coursedatametodologia");
     $table->add_row($elem);
     $this->set_form_tabindex("courseActive", '15');
     $label = html_label("courseactive");
     $label->add(container('', html_br(), $this->element_form("courseActive")));
     $elem = html_td("", "left", $label);
     $elem->set_id("courseActive");
     $table->add_row($elem);
     $this->set_form_tabindex("courseAccess", '16');
     $label = html_label("courseaccess");
     $label->add(container('', html_br(), $this->element_form("courseAccess")));
     $elem = html_td("", "left", $label);
     $elem->set_id("courseAccess");
     $table->add_row($elem);
     $this->set_form_tabindex("Aceptar", '17');
     $label = html_label("submit");
     $label->add($this->element_form("Aceptar"));
     $table->add_row(html_td("", "left", $label));
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 2, 2);
     $table->set_class('ptabla03');
     $labelAdd = html_label('submit');
     $labelAdd->add($this->element_form('submit'));
     $tdsubmit = html_td('', 'left', $labelAdd);
     $this->set_form_tabindex('submit', '10');
     $menu_id = $this->getViewVariable('menu_id');
     $submenu_id = $this->getViewVariable('submenu_id');
     $arrOpt = $this->getViewVariable('arrOptions');
     for ($i = 0; $i < count($arrOpt); $i++) {
         if ($arrOpt[$i]['name'] != '') {
             $option_id = $arrOpt[$i]['option_id'];
             $strParam = $arrOpt[$i]['param'];
             if ($strParam != '') {
                 $tdInfo = html_td('', '', "{$strParam}");
             }
             $opt_id = 'option' . $option_id;
             $combo_id = 'modulefile' . $arrOpt[$i]['option_id'];
             $param_id = 'param' . $arrOpt[$i]['option_id'];
             $tdCheck = $this->_showElement($opt_id, 7 + 3 * $i, $opt_id, $arrOpt[$i]['name'], $opt_id, 'left');
             $tdCombo = $this->_showElement($combo_id, 8 + 3 * $i, $combo_id, 'módulo', $combo_id, 'left');
             $tdParam = $this->_showElement($param_id, 9 + 3 * $i, $combo_id, 'parámetros', $param_id, 'left');
             $tdDelete = html_td('', '', html_a(Util::format_URLPath('moduleManager/index.php', "status=deleteOption&menu_id={$menu_id}&submenu_id={$submenu_id}&option_id={$option_id}"), 'Eliminar'));
             $table->add_row($tdCheck, $tdCombo, $tdParam, $tdDelete);
         }
     }
     $table->add_row($tdsubmit);
     return $table;
 }
 /**
  * Este metodo construye el formulario que se va a mostrar en la Vista.
  * Formatea la forma en que se va a mostrar al usuario los distintos elementos del formulario.
  */
 function form()
 {
     //Crear la tabla
     $table =& html_table($this->_width, 0, 2, 2);
     //Añadir el texto de asunto
     $row = $this->_showElement("Asunto", '6', "asunto_de_usuario", 'Asunto', "Asunto", "left");
     $row->set_class('ptabla03');
     $table->add_row($row);
     //Añadir el texto de comentario
     $row = $this->_showElement("Comentario", '7', "comentario", 'Texto', "Comentario", "left");
     $row->set_class('ptabla03');
     $table->add_row($row);
     $this->set_form_tabindex("Aceptar", '10');
     $label = html_label("submit");
     $label->add($this->element_form("Aceptar"));
     $table->add_row(html_td("", "left", $label));
     return $table;
 }
 function form()
 {
     $table =& html_table($this->_width, 0, 0);
     $row = $this->_tableRow("autor");
     $table->add_row($row);
     $row = $this->_tableRow('titulo');
     $table->add_row($row);
     $row = $this->_tableRow("año");
     $table->add_row($row);
     $row = $this->_tableRow("editorial");
     $table->add_row($row);
     $row = $this->_tableRow("lugar de publicación");
     $table->add_row($row);
     $row = $this->_tableRow("ISBN");
     $table->add_row($row);
     $row = $this->_tableRow("descripción");
     $table->add_row($row);
     $row = $this->_tableRow("tabla de contenidos");
     $table->add_row($row);
     /*
     $row=$this->_tableRow("Lugar y/o forma de obtenerlo");
     $table->add_row($row);
     */
     $row = $this->_tableRow("imagen");
     $table->add_row($row);
     $this->set_form_tabindex("Aceptar", '10');
     $label = html_label("submit");
     $label->add($this->element_form("Aceptar"));
     $table->add_row(html_td("", "left", $label));
     return $table;
 }
 /**
  * Este metodo construye el formulario que se va a mostrar en la Vista.
  * Formatea la forma en que se va a mostrar al usuario los distintos elementos del formulario.
  */
 function form()
 {
     //El formateo va a ser realizado sobre una tabla en la que cada fila es un campo del formulario
     $table =& html_table($this->_width, 0, 2, 2);
     //Indica el indice de tabulado del campo. Será necesario para navegadores donde no se use el ratón
     $this->set_form_tabindex("Nombre", '7');
     //Creamos una etiqueta(<label>) que lleva asociados el texto de la etiqueta y el campo
     $label = html_label("nombre");
     //Construye el contenido de la etiqueta: texto y campo
     $label->add(container(agt("miguel_TodoName"), html_br(), $this->element_form("Nombre")));
     //Crea el contenedor celda que se va a incluir en la fila de la tabla. El contenido es $label
     $elem = html_td("", "", $label);
     //Añade en la tabla la fila con el campo
     $table->add_row($elem);
     $this->set_form_tabindex("Email", '8');
     $label = html_label("email");
     $label->add(container(agt("miguel_TodoEmail"), html_br(), $this->element_form("Email")));
     $elem = html_td("", "", $label);
     $table->add_row($elem);
     $this->set_form_tabindex("Comentario", '9');
     $label = html_label("comentario");
     $label->add(container(agt("miguel_TodoComment"), html_br(), $this->element_form("Comentario")));
     $elem = html_td("", "", $label);
     $table->add_row($elem);
     $this->set_form_tabindex("Aceptar", '10');
     $label = html_label("submit");
     $label->add($this->element_form("Aceptar"));
     $table->add_row(html_td("", "left", $label));
     return $table;
 }
 /**
  * @access private
  */
 function _getShowElement($name, $tab_index, $label, $text, $element)
 {
     $this->set_form_tabindex($name, $tab_index);
     $label = html_label($label);
     $label->add(container(html_b(agt($text)), html_br(), $this->element_form($element)));
     return $label;
 }
 /**
  * Este metodo construye el formulario que se va a mostrar en la Vista.
  * Formatea la forma en que se va a mostrar al usuario los distintos elementos del formulario.
  */
 function form()
 {
     //El formateo va a ser realizado sobre una tabla en la que cada fila es un campo del formulario
     $table =& html_table($this->_width, 0, 2, 2);
     //titulo
     $table->add_row($this->add_head());
     $fechaIni = $this->_showElement('Fecha Inicial', '5', 'dia_inicial', '(dd-mm-yyyy)', 'Fecha Inicial', "left");
     $fechaFin = $this->_showElement('Fecha Final', '6', 'dia_final', '(dd-mm-yyyy)', 'Fecha Final', "left");
     $tipo = $this->_showElement("Tipo de Evento", '7', "event", 'Tipo de Evento', "Tipo de Evento", "left");
     $asunto = $this->_showElement("Asunto", '8', "asunto_de_usuario", 'Asunto del Evento', "Asunto", "left");
     $fechaIni->set_class('ptabla03');
     $fechaFin->set_class('ptabla03');
     $tipo->set_class('ptabla03');
     $asunto->set_class('ptabla03');
     $tableIni =& html_table($this->_width / 4, 0, 2, 2);
     $tableIni->set_class('ptabla03');
     $tableIni->add_row($fechaIni, $this->get_img_cal(true));
     //Fecha Fin
     $tableFin =& html_table($this->_width / 4, 0, 2, 2);
     $tableFin->set_class('ptabla03');
     $tableFin->add_row($fechaFin, $this->get_img_cal(false));
     $table->add_row($tableIni, $tableFin, $tipo, $asunto);
     $this->set_form_tabindex("Aceptar", '10');
     $label = html_label("submit");
     $label->add($this->element_form("Aceptar"));
     $table->add_row(html_td("", "left", $label));
     return $table;
 }
 /**
  * Este metodo construye el formulario en sÌ.
  */
 function form()
 {
     $table =& html_table($this->_width, 0, 1, 3);
     //$table->set_style("border: 1px solid");
     $this->set_form_tabindex("Nombre de usuario", '6');
     $label = html_label("nombre_de_usuario");
     $label->add(container(html_b(agt('miguel_UserName')), html_br(), $this->element_form("Nombre de usuario")));
     $elem = html_td("colorLogin-bg", "center", $label);
     $elem->set_id("identification");
     $table->add_row($elem);
     $this->set_form_tabindex("Clave de acceso", '6');
     $label = html_label("clave_de_acceso");
     $label->add(container(html_b(agt('miguel_UserPassword')), html_br(), $this->element_form("Clave de acceso")));
     $elem = html_td("colorLogin-bg", "center", $label);
     $elem->set_id("identification");
     $table->add_row($elem);
     $this->set_form_tabindex("Entrar", '11');
     $label = html_label("submit");
     $label->add($this->element_form("Entrar"));
     $table->add_row(html_td("", "center", $label));
     return $table;
 }