当前位置: 首页>>代码示例>>PHP>>正文


PHP html_td函数代码示例

本文整理汇总了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;
 }
开发者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


注:本文中的html_td函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。