本文整理汇总了PHP中html_tr函数的典型用法代码示例。如果您正苦于以下问题:PHP html_tr函数的具体用法?PHP html_tr怎么用?PHP html_tr使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_tr函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: form
/**
* Este metodo construye el formulario en sí.
*/
function form()
{
$ret_val = container();
$table =& html_table($this->_width, 0, 2);
$table->set_class("table100 main-info-cell");
$row0 = html_tr("");
$col0 = html_td("");
$col0->set_tag_attribute("align", "center");
$col0->set_tag_attribute("colspan", "2");
$col0->add($this->element_form("Licence"));
$row0->add($col0);
$table->add($row0);
$row00 = html_tr("");
$col00 = html_td("");
$col00->set_tag_attribute("align", "center");
$col00->set_tag_attribute("colspan", "2");
$col00->add(html_a(Util::app_urlPath('install/include/gpl_print.txt'), agt('Versión Imprimible')));
$row00->add($col00);
$table->add($row00);
$row = html_tr("");
$col1 = html_td("");
$col1->set_tag_attribute("align", "left");
$col1->add($this->element_form("Salir"));
$container = container();
$container->add($this->element_form("Regresar"));
$container->add($this->element_form("Acepto"));
$col2 = html_td("");
$col2->set_tag_attribute("align", "right");
$col2->add($container);
$row->add($col1, $col2);
$table->add($row);
$ret_val->add($table);
return $ret_val;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:37,代码来源:miguel_licenceform.class.php
示例2: add_mainMenu
function add_mainMenu()
{
$div = html_div('');
$div->add(html_br());
$table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
$row = html_tr();
$blank = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 10, 10));
//$blank->set_tag_attribute('colspan','4');
$image = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 20, 14));
$image->set_tag_attribute('align', 'right');
$image->set_tag_attribute('width', '40%');
$link = html_a(Util::format_URLPath("entityManager/index.php", 'submit=new'), agt('Registrar entidad'), null, "_top");
$link->set_tag_attribute('class', '');
$item1 = html_td('', '', $link);
$item1->set_tag_attribute('width', '20%');
$link = html_a(Util::format_URLPath("entityManager/index.php", 'submit=ficha entidad'), agt('Ficha entidad'), null, "_top");
$link->set_tag_attribute('class', '');
$item2 = html_td('', '', $link);
$item2->set_tag_attribute('width', '20%');
$link = html_a(Util::format_URLPath("entityManager/index.php", 'submit=del&entity=' . $this->getViewVariable('id')), agt('Baja entidad'), null, "_top");
$link->set_tag_attribute('class', '');
$item3 = html_td('', '', $link);
$item3->set_tag_attribute('width', '20%');
$row->add($blank);
$row->add($image);
$row->add($item1);
$row->add($item2);
$row->add($item3);
$table->add_row($row);
$div->add($table);
return $div;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:32,代码来源:miguel_ventitymanager.class.php
示例3: add_mainMenu
function add_mainMenu()
{
$div = html_div('');
$div->add(html_br());
$table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
$row = html_tr();
$blank = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 10, 10));
//$blank->set_tag_attribute('colspan','4');
$image = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 20, 14));
$image->set_tag_attribute('align', 'right');
$image->set_tag_attribute('width', '40%');
$link = html_a(Util::format_URLPath("bibliography/index.php"), agt('Catálogo'), null, "_top");
$link->set_tag_attribute('class', '');
$item1 = html_td('', '', $link);
$item1->set_tag_attribute('width', '20%');
$link = html_a(Util::format_URLPath("bibliography/index.php", 'status=ref'), agt('Referencias bibliográficas'), null, "_top");
$link->set_tag_attribute('class', '');
$item2 = html_td('', '', $link);
$item2->set_tag_attribute('width', '20%');
$link = html_a(Util::format_URLPath("bibliography/index.php", 'status=link'), agt('Enlaces de interés'), null, "_top");
$link->set_tag_attribute('class', '');
$item3 = html_td('', '', $link);
$item3->set_tag_attribute('width', '20%');
$row->add($blank);
$row->add($image);
$row->add($item1);
$row->add($item2);
$row->add($item3);
$table->add_row($row);
$div->add($table);
return $div;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:32,代码来源:miguel_vnewuserprofile.class.php
示例4: add_mainMenu
function add_mainMenu()
{
$div = html_div('');
$div->add(html_br());
$table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
$row = html_tr();
$blank = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 10, 10));
//$blank->set_tag_attribute('colspan','4');
$image = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 20, 14));
$image->set_tag_attribute('align', 'right');
$image->set_tag_attribute('width', '40%');
$link = html_a(Util::format_URLPath("profileManager/index.php", 'submit=new'), agt('Nuevo perfil'), null, "_top");
$link->set_tag_attribute('class', '');
$item1 = html_td('', '', $link);
$item1->set_tag_attribute('width', '20%');
/*$link = html_a(Util::format_URLPath("profileManager/index.php",'submit=del'), agt('Baja perfil'), null, "_top");
$link->set_tag_attribute('class', '');
$item2 = html_td('', '', $link);
$item2->set_tag_attribute('width', '20%');
*/
$row->add($blank);
$row->add($image);
$row->add($item1);
//$row->add($item2);
$table->add_row($row);
$div->add($table);
return $div;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:28,代码来源:miguel_vprofile.class.php
示例5: 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
示例6: 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
示例7: 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
示例8: 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
示例9: 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
示例10: add_noticeHead
function add_noticeHead()
{
$row = html_tr();
$from = html_td('ptabla01', '', agt('De'));
$subject = html_td('ptabla01', '', agt('Aviso'));
$date = html_td('ptabla01', '', agt('Fecha'));
$from->set_tag_attribute('width', '20%');
$subject->set_tag_attribute('width', '60%');
$date->set_tag_attribute('width', '20%');
$row->add($from);
$row->add($subject);
$row->add($date);
return $row;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:14,代码来源:miguel_vnotice.class.php
示例11: form
/**
* Este metodo construye el formulario en sí.
*/
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"));
$table->add_row($this->_tableRow("Descripción"));
$table->add_row($this->_tableRow("URL"));
//$table->add_row($this->_tableRow("Politica de privacidad"));
$row = html_tr();
$row->add("Politica de privacidad", "Los datos serán almacenados de forma segura y no se cederán a terceras partes.");
$table->add_row($row);
$table->add_row($this->element_form("Cancelar"), $this->element_form("Aceptar"), _HTML_SPACE);
return $table;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:18,代码来源:miguel_insertionform.class.php
示例12: 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
示例13: form
/**
* Este metodo construye el formulario en sí.
*/
function form()
{
$ret_val = container();
$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("Regresar"));
$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,代码行数:20,代码来源:miguel_prevnextform.class.php
示例14: main_block
function main_block()
{
$main = html_div();
$main->set_id("content");
$table = html_table(Session::getContextValue("mainInterfaceWidth"), 0, 1, 0);
$table->set_class("simple");
//Centros
$elem1 = html_td("color1-bg", "", $this->left_block());
$elem1->set_id("anonymous");
//Nombre del sitio web
$elem2 = html_td("colorLogin-bg", "", $this->right_block());
$elem2->set_id("identification");
$row = html_tr();
$row->add($elem1);
$row->add($elem2);
$table->add_row($row);
$main->add($table);
return $main;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:19,代码来源:miguel_vintro.class.php
示例15: form
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;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:21,代码来源:miguel_referenceform.class.php
示例16: main_block
function main_block()
{
$main = html_div();
$main->set_id('content');
$table = html_table(Session::getContextValue('mainInterfaceWidth'), 0, 1, 0);
$table->set_class('simple');
//Barra Herramientas
if ($this->str_type == 'toolbar') {
$elem1 = html_td('', '', $this->left_block());
//$elem1->set_id("anonymous");
//$elem1->set_tag_attribute('width', 40);
//$elem1->set_tag_attribute('valign', 'top');
}
//Principal
$elem2 = html_td('toolmain', '', $this->right_block());
//$elem2->set_tag_attribute('valign', 'top');
//$elem2->set_id("identification");
$row = html_tr();
$row->add($elem1);
$row->add($elem2);
$table->add_row($row);
$main->add($table);
return $main;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:24,代码来源:miguel_vmenu.class.php
示例17: add_Row
function add_Row($label, $value)
{
$row = html_tr();
//$row->set_class('ptabla01');
$title = html_td('ptabla02', "", agt($label));
$title->set_tag_attribute("width", "12%");
$value = html_td('ptabla03', "", $value);
//$value->set_tag_attribute("width","90%");
$row->add($title);
$row->add($value);
return $row;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:12,代码来源:miguel_vusermanager.class.php
示例18: right_block
/**
* this function returns the contents
* of the right block. It is already wrapped
* in a TD
* Solo se define right_block porque heredamos de VMenu y el left_block se encuentra ya definido por defecto con el menË™ del sistema.
* Si heredara de miguel_VPage entonces habrÌa que definir de igual forma right_block y main_block. Esta ˙ltima es un contenedor de left_block y right_block
* @return HTMLTag object
*/
function right_block()
{
//Crea el contenedor del right_block
$main = container();
$hr = html_hr();
$hr->set_tag_attribute('noshade');
$hr->set_tag_attribute('size', 2);
//Añade la linea horizontal al contenedor principal
$main->add($hr);
$table = html_table(Session::getContextValue('mainInterfaceWidth'), 0, 1, 0);
$table->set_class('simple');
$elem1 = html_td('', '', $this->left_section());
$elem1->set_tag_attribute('width', '20%');
$elem1->set_tag_attribute('valign', 'top');
$elem2 = html_td('', '', $this->right_section());
$elem2->set_tag_attribute('valign', 'top');
$row = html_tr();
$row->add($elem1);
$row->add($elem2);
$table->add_row($row);
$main->add($table);
return $main;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:31,代码来源:miguel_valumnPage.class.php
示例19: form
function form()
{
$table = html_table($this->_width, 0, 1, 3);
//Comprueba que el formulario ha recibido todos los datos necesarios
if (!$this->isFormComplete()) {
return null;
}
$table->add('(Entradas ' . $this->getViewVariable('min_index') . ' a ' . $this->getViewVariable('max_index') . ' de ' . $this->getViewVariable('total_elements') . ')');
$table->add(html_br(2));
$fila = html_tr();
for ($i = 1; $this->getViewVariable('col_' . $i . '_description'); $i++) {
$fila->add(html_b($this->getViewVariable('col_' . $i . '_description')));
}
$table->add_row($fila);
//Construimos el formulario a partir de las variables de la vista
for ($j = 1; $this->getViewVariable('col_1_value_' . $j); $j++) {
$fila = html_tr();
for ($i = 1; $this->getViewVariable('col_' . $i . '_value_1'); $i++) {
$fila->add($this->getViewVariable('col_' . $i . '_value_' . $j));
}
//Dibujamos la acción que se puede realizar en esta fila según la pantalla en la que estemos
switch ($this->getViewVariable('admin_screen')) {
case 'del_user':
$username = $this->getViewVariable('col_1_value_' . $j);
$fila->add(html_td('color1-bg', '', $this->add_hidden_action('Dar de baja', $username)));
break;
case 'edit_user_profile':
$username = $this->getViewVariable('col_1_value_' . $j);
$fila->add(html_td('color1-bg', '', $this->add_hidden_action('Editar perfil', $username)));
break;
default:
break;
}
$table->add_row($fila);
unset($fila);
}
//Dibujamos los botones para avanzar/retroceder en la lista de peticiones
$fila = html_tr();
if ($this->getViewVariable('min_index') > 1) {
$elem1 = container($this->add_hidden_action('Anterior', 'prev'));
} else {
$elem1 = container($this->add_action('Anterior', 1));
}
if ($this->getViewVariable('max_index') < $this->getViewVariable('total_elements')) {
$elem2 = container($this->add_hidden_action('Siguiente', 'next'));
} else {
$elem2 = container($this->add_action('Siguiente', 1));
}
$fila->add(html_td('', 'left', $elem1, $elem2));
$table->add_row($fila);
return $table;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:52,代码来源:miguel_searchresultForm.class.php
示例20: addRadioButton
function addRadioButton($indexCheck, $variable, $status = '')
{
// $this->set_form_tabindex($element, $tab_index);
$row = html_tr();
//$check = html_td('ptabla02', '', $this->element_form($element));
switch ($status) {
case 'ok':
$img = Theme::getThemeImagePath('rcorrecta.gif');
break;
case 'ko':
$img = Theme::getThemeImagePath('rincorrecta.gif');
break;
default:
$img = Theme::getThemeImagePath('invisible.gif');
}
$element =& $this->get_element($variable);
$td_radio = html_td('ptabla02', '', $element->get_element($indexCheck, true, $img));
$row->add($td_radio);
return $row;
}
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:20,代码来源:miguel_externalform.class.php
注:本文中的html_tr函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论