本文整理汇总了PHP中html_td函数的典型用法代码示例。如果您正苦于以下问题:PHP html_td函数的具体用法?PHP html_td怎么用?PHP html_td使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_td函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:7,代码来源:miguel_vpageviewer.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:34,代码来源:miguel_selectlangform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:8,代码来源:miguel_adduserlistForm.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:9,代码来源:miguel_coursesubmitform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:14,代码来源:miguel_valorateform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:11,代码来源:miguel_vdetail.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:11,代码来源:miguel_newfolderform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:11,代码来源:miguel_newsubmenuform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:11,代码来源:miguel_renameform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:16,代码来源:miguel_newtopicform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:12,代码来源:miguel_courseevaluationform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:12,代码来源:miguel_submitfileform.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:12,代码来源:miguel_edituserprofileForm.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:13,代码来源:miguel_vcourseactivities.class.php
示例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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:13,代码来源:miguel_coursecardform.class.php
示例16: form
/**
* Este metodo construye el formulario en sí.
*/
function form()
{
$table =& html_table($this->_width, 0, 2, 2);
//$table->set_style("border: 1px solid");
$elem = html_td("colorLogin-bg", "", container("Nombre de usuario", html_br(), $this->element_form("Nombre de usuario")));
$elem->set_id("identification");
$table->add_row($elem);
$elem = html_td("colorLogin-bg", "", container("Clave de acceso", html_br(), $this->element_form("Clave de acceso")));
$elem->set_id("identification");
$table->add_row($elem);
$table->add_row($this->add_action("Entrar"), _HTML_SPACE);
return $table;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:16,代码来源:miguel_authForm.class.php
示例17: form
function form()
{
//El formateo va a ser realizado sobre una tabla en la que cada fila es un campo del formulario
$table =& html_table('40%', 0, 0, 0, 'center');
$table->set_class('ptabla03');
$this->set_form_tabindex('orden', '13');
$sort = html_td('ptabla03', '', $this->element_form('orden'));
$this->set_form_tabindex('orden', '14');
$link = html_td('ptabla03', '', $this->element_form('data_form'));
$this->set_form_tabindex('Aceptar', '15');
$boton = html_td('ptabla03', '', $this->element_form('Aceptar'));
//$boton->set_tag_attribute('valign', 'center');
$table->add_row($sort, $link, $boton);
return $table;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:15,代码来源:miguel_searchuserform.class.php
示例18: form
function form()
{
//El formateo va a ser realizado sobre una tabla en la que cada fila es un campo del formulario
$table =& html_table('40%', 0, 0, 0, 'center');
$table->set_class('ptabla03');
$param = '&id_forum=' . $this->getViewVariable('id_forum') . '&id_topic=' . $this->getViewVariable('id_topic');
$link = html_td('p', '', html_a(Util::format_URLPath('forum/index.php', 'status=new_post' . $param), agt('Añadir nuevo hilo'), 'boton02a'));
$this->set_form_tabindex('orden', '14');
$sort = html_td('ptabla03', '', $this->element_form('orden'));
$this->set_form_tabindex('Aceptar', '15');
$boton = html_td('ptabla03', '', $this->element_form('Aceptar'));
//$boton->set_tag_attribute('valign', 'center');
$table->add_row($link, $sort, $boton);
return $table;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:15,代码来源:miguel_forumMenuform.class.php
示例19: form
function form()
{
$table = html_table('25%', 0, 1, 3);
$elem = html_td('color1-bg', 'center', container(html_b('Nombre del nuevo usuario'), html_br(), $this->element_form('name')));
$elem->set_id('identification');
$table->add_row($elem);
$elem = html_td('color1-bg', 'center', container(html_b('Clave de acceso'), html_br(), $this->element_form('pass')));
$elem->set_id('identification');
$table->add_row($elem);
$elem = html_td('color1-bg', 'center', container(html_b('Confirmar clave de acceso'), html_br(), $this->element_form('pass_confirm')));
$elem->set_id('identification');
$table->add_row($elem);
$table->add_row(html_td('', 'center', $this->add_hidden_action('Procesar', 'add_user')));
return $table;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:15,代码来源:miguel_adduserForm.class.php
示例20: get_element
function get_element()
{
$container = html_table('100%', 0, 0, 0);
$row = html_tr();
$count = count($this->_data_list);
for ($x = 0; $x <= $count - 1; $x++) {
list($name, $value) = each($this->_data_list[$x]);
$elem = container();
$elem->add($this->_get_index_element($x), html_br(), html_img($this->_img_list[$x]));
$col = html_td('', '', $elem);
$col->set_tag_attribute('align', 'center');
$row->add($col);
}
$container->add_row($row);
return $container;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:16,代码来源:base_FEImgRadioGroup.class.php
注:本文中的html_td函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论