本文整理汇总了PHP中html_td函数的典型用法代码示例。如果您正苦于以下问题:PHP html_td函数的具体用法?PHP html_td怎么用?PHP html_td使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_td函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: right_block
function right_block()
{
//$this->add(html_br());
$table = html_table(Session::getContextValue('mainInterfaceWidth'), 0, 1, 0);
$table->add_row(html_td('', '', $this->_getFileContent($this->getViewVariable('url'))));
return $table;
}
示例2: form
/**
* Este metodo construye el formulario en sí.
*/
function form()
{
$ret_val = container();
$table =& html_table($this->_width, 0, 3);
$table->set_class("mainInterfaceWidth");
//$table->set_style("border: 1px solid");
$row = html_tr("");
$col1 = html_td("");
$col1->set_tag_attribute("align", "right");
$col1->add(html_b(agt("Idioma")));
$col2 = html_td("");
$col2->set_tag_attribute("align", "left");
$col2->add($this->element_form("miguel_lang"));
$row->add($col1, $col2);
$table->add($row);
$ret_val->add($table);
$ret_val->add(html_br(2));
$table =& html_table($this->_width, 0, 0);
$table->set_class("table100 main-info-cell");
$row = html_tr("");
$col1 = html_td("");
$col1->set_tag_attribute("align", "left");
$col1->add($this->element_form("Salir"));
$col2 = html_td("");
$col2->set_tag_attribute("align", "right");
$col2->add($this->element_form("Siguiente"));
$row->add($col1, $col2);
$table->add($row);
$ret_val->add($table);
return $ret_val;
}
示例3: form
function form()
{
$table = html_table('100%', 0, 1, 3);
$elem = html_td('color1-bg', 'left', container(html_b('Ruta del archivo CSV'), $this->element_form('path'), $this->add_action('Procesar')));
$elem->set_id('identification');
$table->add_row($elem);
return $table;
}
示例4: form
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;
}
示例5: form
/**
* Este metodo construye el formulario en sÌ.
*/
function form()
{
$table =& html_table($this->_width, 0, 2, 2, 'center');
$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;
}
示例6: add_info
function add_info($_title, $_value)
{
$row = html_tr();
$item1 = html_td('ptabla02', '', $_title);
$item2 = html_td('ptabla03', '', $_value);
$item1->set_tag_attribute('width', '35%');
$item2->set_tag_attribute('width', '65%');
$row->add($item1);
$row->add($item2);
return $row;
}
示例7: form
function form()
{
$table =& html_table($this->_width, 0, 3);
$table->set_class("mainInterfaceWidth");
//$table->set_style("border: 1px solid");
$row = html_tr('ptabla03');
$row->add(html_td('ptabla02', '', $this->element_label('Nombre de la carpeta')), html_td('ptabla03', '', $this->element_form('Nombre de la carpeta')), html_td('', '', $this->element_form("Crear")));
$table->add_row($row);
//$table->add_row($this->element_form("Crear"), _HTML_SPACE);
return $table;
}
示例8: form
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;
}
示例9: form
function form()
{
$table =& html_table($this->_width, 0, 3);
$table->set_class("mainInterfaceWidth");
//$table->set_style("border: 1px solid");
$table->add_row($this->_tableRow("Nuevo nombre"));
$elem = html_td('ptabla03', '', container($this->element_form("Aceptar")));
$elem->set_tag_attribute('colspan', '9');
$table->add_row($elem);
return $table;
}
示例10: form
/**
* 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;
}
示例11: form
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;
}
示例12: form
function form()
{
$table =& html_table($this->_width, 0, 3);
$table->set_class("mainInterfaceWidth");
//$table->set_style("border: 1px solid");
$table->add_row($this->_tableRow("Nombre del archivo"));
$this->set_form_tabindex("fileZip", '15');
$elem = html_td('ptabla03', '', container($this->element_form("fileZip"), _HTML_SPACE, $this->element_form("Aceptar")));
$elem->set_tag_attribute('colspan', '9');
$table->add_row($elem);
return $table;
}
示例13: form
function form()
{
$table = html_table('50%', 0, 1, 3);
$fila = html_tr();
$elem = html_td('color1-bg', 'left', $this->element_form('name'), $this->add_action('Editar perfil'));
$elem->set_id('identification');
$fila->add($elem);
$table->add_row($fila);
unset($fila);
unset($elem);
return $table;
}
示例14: add_activity
function add_activity($title, $body, $id, $index)
{
$row = html_tr();
$lDelete = html_a(Util::format_URLPath('courseActivities/index.php', "status=delete&idi={$id}"), 'Eliminar');
$lUpdate = html_a(Util::format_URLPath('courseActivities/index.php', "status=showForm&index={$index}"), 'Modificar');
$tdLinks = html_td('ptabla03', '', $lDelete, $lUpdate);
$title = html_td('ptabla02', '', $title);
$body = html_td('ptabla03', '', $body);
$row->add($title);
$row->add($body);
$row->add($tdLinks);
return $row;
}
示例15: form
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;
}