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


PHP Theme::getThemeImagePath方法代码示例

本文整理汇总了PHP中Theme::getThemeImagePath方法的典型用法代码示例。如果您正苦于以下问题:PHP Theme::getThemeImagePath方法的具体用法?PHP Theme::getThemeImagePath怎么用?PHP Theme::getThemeImagePath使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Theme的用法示例。


在下文中一共展示了Theme::getThemeImagePath方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: 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

示例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("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

示例4: form_init_elements

 /**
  * Este metodo se llama cada vez que se instancia la clase.
  * Se utiliza para crear los objetos del formulario
  */
 function form_init_elements()
 {
     $elem = new FEImgRadioGroup("valoracion", array('1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5), array(Theme::getThemeImagePath('valoracion1.gif'), Theme::getThemeImagePath('valoracion2.gif'), Theme::getThemeImagePath('valoracion3.gif'), Theme::getThemeImagePath('valoracion4.gif'), Theme::getThemeImagePath('valoracion5.gif')));
     //$elem->set_attribute('class','ptabla03');
     $this->add_element($elem);
     $submit = $this->_formatElem("base_SubmitButton", "aceptar", "submit", agt('Valorar'));
     $submit->set_attribute('class', 'p');
     $submit->set_attribute("id", "submit");
     $submit->set_attribute("accesskey", "r");
     $this->add_element($submit);
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:15,代码来源:miguel_valorateform.class.php

示例5: initialize

 function initialize()
 {
     //Preparamos valores para los header de la página
     // <META HTTP-EQUIV="refresh" content="5; URL=http://">
     //  html_meta  (string $content, [string $http_equiv = ""], [string $name = ""])
     //$this->add_head_content("<meta http-equiv=\"refresh\" content=\"5\" url=\"".Util::main_URLPath('index.php')."\">");
     $this->add_head_content("<meta name=\"keywords\" content=\"miguel,hispalinux,indetec,campus,ecampus,e-campus,classroom,elearning,learning,pedagogy,platform,teach,teaching,teacher,prof,professor,student,study,open,source,gpl,mysql,php,e-learning, apprentissage,ecole,universite,university,contenu,classe, universidad, enseñanza, virtual, distribuida, sl, gpl, software, libre, clases, aprendizaje, proceso\">");
     $this->add_head_content("<link rel=\"icon\" href=\"" . Theme::getThemeImagePath('favicon.png') . "\" type=\"image/png\">");
     //Hojas de estilo CSS
     $this->add_css_link(Theme::getThemeCSSPath('common.css'));
     //$this->add_js_link(Theme::getThemeJSPath('miguel.js'));
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:12,代码来源:miguel_vbase.class.php

示例6: main_block

 function main_block()
 {
     $wrapper_div = html_div('');
     $table = html_table(Session::getContextValue("mainInterfaceWidth"), 0, 0, 0);
     $elem1 = html_td('', '', html_img(Theme::getThemeImagePath("esquina.gif"), 37, 39, 0, ''));
     $elem1->set_tag_attribute('width', '1%');
     $elem2 = html_td('', '', '');
     $elem2->set_tag_attribute('width', '96%');
     $elem3 = html_td('', '', '');
     $elem3->set_tag_attribute('width', '3%');
     $row = html_tr();
     $row->add($elem1);
     $row->add($elem2);
     $row->add($elem3);
     $table->add_row($row);
     $row = html_tr();
     $space = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif")));
     $space->set_tag_attribute('width', '3%');
     $row->add($space);
     //Preparamos contenido
     $content = html_td('', '', $this->content());
     $content->set_tag_attribute('width', '94%');
     $row->add($content);
     $row->add($space);
     $table->add_row($row);
     $marco = html_table(Session::getContextValue("mainInterfaceWidth"), 0, 0, 0);
     $mc_cont = html_td('plomoizda', '', $table);
     $mc_cont->set_tag_attribute('valign', 'top');
     $marco->add_row($mc_cont);
     //add the main body
     $wrapper_div->add($marco);
     //linea fondo
     $linea = html_table(Session::getContextValue("mainInterfaceWidth"), 0, 0, 0);
     $yellowLine = html_tr();
     $yellowLine->set_tag_attribute('bgcolor', '#FFCC33');
     //$yellowLine->set_tag_attribute('valign','top');
     $line = html_td('', '', html_img(Theme::getThemeImagePath("invisible.gif"), 10, 10));
     $line->set_tag_attribute('colspan', '3');
     $yellowLine->add($line);
     $linea->add_row($yellowLine);
     $wrapper_div->add($linea);
     $this->add($wrapper_div);
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:43,代码来源:miguel_vresume.class.php

示例7: form_init_elements

 /**
  * Este metodo se llama cada vez que se instancia la clase.
  * Se utiliza para crear los objetos del formulario
  */
 function form_init_elements()
 {
     //Creamos un Area de Texto llamada comentario
     $elemTA = new FETextArea("Comentario", FALSE, 10, 60, "100%", "100px");
     $elemTA->set_attribute('class', '');
     //$elemTA->set_attribute('wrap', 'physical');
     //Le asignamos el id email y la tecla de acceso c (ctrl+c)
     //$elemTA->set_attribute("id","comentario");
     //$elemTA->set_attribute("accesskey","d");
     //Añade en el contenedor formulario el elemento creado e inicializado
     $this->add_element($elemTA);
     $elem = new FEImgRadioGroup("valoracion", array('1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5), array(Theme::getThemeImagePath('valoracion1.gif'), Theme::getThemeImagePath('valoracion2.gif'), Theme::getThemeImagePath('valoracion3.gif'), Theme::getThemeImagePath('valoracion4.gif'), Theme::getThemeImagePath('valoracion5.gif')));
     //$elem->set_attribute('class','ptabla03');
     $this->add_element($elem);
     $submit = $this->_formatElem("base_SubmitButton", "aceptar", "submit", agt('Añadir Comentario'));
     $submit->set_attribute('class', 'p');
     $submit->set_attribute("id", "submit");
     $submit->set_attribute("accesskey", "r");
     $this->add_element($submit);
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:24,代码来源:miguel_commentform.class.php

示例8: addPopup

 /**
  * Permite añadir un enlace pop-up en la ventana
  * @param string $str_url Nombre del módulo que se invoca
  * @param string $str_param Parametros adicionales (opcional)
  * @param string $str_image Nombre de la imagen
  * @param string $str_image_text Texto para la imagen (opcional)
  * @param string $int_h Ancho de la ventana (opcional)
  * @param string $int_w Alto de la ventana (opcional)
  * @param string $int_x Posición horizontal de la ventana (opcional)
  * @param string $int_y Posición vertical de la ventana (opcional)
  * @return object Instancia de html_a
  */
 function addPopup($str_url, $str_image, $str_param = '', $str_image_text = '', $int_w = 0, $int_h = 0, $int_x = 0, $int_y = 0)
 {
     if ($str_param == '') {
         $path_action = Util::format_URLPath($str_url);
     } else {
         $path_action = Util::format_URLPath($str_url, $str_param);
     }
     $path_action = Util::format_URLPath($str_url, $str_param);
     $link = html_a($path_action);
     //$link = html_a('#','');
     $link->add(html_img(Theme::getThemeImagePath($str_image), null, null, null, $str_image_text));
     /*
     if($str_param == ''){
                             $path_action = Util::format_URLPath($str_url);
                     } else {
                             $path_action = Util::format_URLPath($str_url, $str_param);
                     }
     
                     $path_action = Util::format_URLPath($str_url, $str_param);
                     $link->set_tag_attribute('onClick', "javascript:newWin('".$path_action."', ".$int_w.", ".$int_h.", ".$int_x.", ".$int_y.")");
     $link->set_tag_attribute('onClick', "javascript:ponerIframe('".$path_action."')");
     */
     $link->set_tag_attribute('target', 'myFrame');
     return $link;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:37,代码来源:base_layoutpage.class.php

示例9: add_referenceInfo

 function add_referenceInfo($_bookid, $_title, $_value)
 {
     $row = html_tr();
     $title = html_td('ptabla03', '', agt($_title));
     //$link = $this->imag_alone(Util::format_URLPath('bibliography/index.php',"status=resum&id=$_bookid"),
     //                                                , agt('Resumen'));
     $link = html_a("#", "");
     $link->add(html_img(Theme::getThemeImagePath('icono01.gif'), 0, 0, 0, 'resumen'));
     $path_action = Util::format_URLPath('bibliography/index.php', "status=resum&id={$_bookid}");
     $link->set_tag_attribute("onClick", "javascript:newWin('" . $path_action . "',750,400,25,100)");
     $resum = html_td('ptabla03', '', $link);
     $resum->set_tag_attribute('align', 'center');
     $value = html_td('ptabla03', '', html_img(Theme::getThemeImagePath('valoracion' . $_value . '.gif')));
     $value->set_tag_attribute('align', 'center');
     $title->set_tag_attribute("width", "80%");
     $resum->set_tag_attribute("width", "10%");
     $value->set_tag_attribute("width", "10%");
     $row->add($title);
     $row->add($resum);
     $row->add($value);
     return $row;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:22,代码来源:miguel_vbibliography.class.php

示例10: _addImage

 function _addImage()
 {
     //Choose image
     switch (PHP_OS) {
         case "WIN32":
         case "WINNT":
             $wizardImage = "install/windowsWizard.png";
             break;
         case "Linux":
             $wizardImage = "install/linuxWizard.png";
             break;
         default:
             $wizardImage = "install/defaultWizard.png";
     }
     $wizImage = html_img(Theme::getThemeImagePath($wizardImage), 0, 0, 0, "Wizzard Image");
     $wizImage->set_tag_attribute("align", "right");
     return $wizImage;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:18,代码来源:miguel_vinstall.class.php

示例11: 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
     $ret_val = container();
     //Vamos a ir creando los distintos elementos (Estos a su vez son tambiÈn contenedores) del contenedor principal.
     //hr es una linea horizontal de HTML.
     $hr = html_hr();
     $hr->set_tag_attribute('noshade');
     $hr->set_tag_attribute('size', 2);
     //Añade la linea horizontal al contenedor principal
     $ret_val->add($hr);
     //Crea un bloque div y le asigna la clase ul-big del CSS
     $div = html_div();
     //Añade una imagen del tema
     $div->add(Theme::getThemeImage('modules/announces.png'));
     //Incluimos texto en negrita
     $div->add(html_b('Tabl�n de anuncios'));
     //Ahora dos retornos de carro
     $div->add(html_br(2));
     //$ret_val->add($div);
     //$div = html_div('medium-text');
     $status = $this->getViewVariable('status');
     switch ($status) {
         case 'menu':
         default:
             $div->add($this->icon_link(Util::format_URLPath('notice/index.php', 'status=new'), Theme::getThemeImagePath('modules/announces.png'), 'Nuevo Mensaje'));
             $div->add(html_br(2));
             $div->add($this->icon_link(Util::format_URLPath('notice/index.php', 'status=list'), Theme::getThemeImagePath('modules/announces.png'), 'Ver Mensajes'));
             $div->add(html_br(2));
             $ret_val->add($div);
             break;
         case 'new':
             //Incluye en el Div un texto. Usa la funciÛn agt('etiqueta') para internacionalizar
             //$div->add(agt('miguelNoticeText'));
             //$div->add(html_br(2));
             $ret_val->add($div);
             //Añadimos al contenedor principal el formulario de entrada de datos
             $ret_val->add($this->addForm('notice', 'miguel_noticeForm'));
             break;
         case 'list':
             $notice_array = $this->getViewVariable('notice_array');
             for ($i = 0; $i < count($notice_array); $i++) {
                 $div->add($this->add_notice($notice_array[$i]['notice.author'], $notice_array[$i]['notice.subject'], $notice_array[$i]['notice.time'], $notice_array[$i]['notice.notice_id']));
                 $div->add(html_br(2));
             }
             $ret_val->add($div);
             break;
         case 'show':
             $ret_val->add($this->add_noticeDetails());
             break;
     }
     //EnvÌa el contenedor del bloque right para que sea renderizado por el sistema
     return $ret_val;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:62,代码来源:miguel_vnotice.class.php

示例12: form

 /**
  * Este metodo construye el formulario en sí.
  */
 function form()
 {
     $this->initialize();
     $table =& html_table($this->_width, 0, 0, 0);
     $table->set_class("mainInterfaceWidth");
     //$table->set_style("border: 1px solid");
     //$titulo = html_td('ptabla01','', agt('Ficha alumno'));
     //$titulo->set_tag_Attribute('colspan', '2');
     //$table->add_row($titulo);
     //Tabla de detalle
     $row = html_tr();
     $arr_data = $this->getViewVariable('arr_info');
     //Debug::oneVar($arr_data);
     if ($arr_data['image'] != '') {
         $img = Util::main_URLPath('var/secretary/user_image/user_' . $arr_data['person_id'] . '.' . $arr_data['image']);
     } else {
         $img = Theme::getThemeImagePath("anonimo.jpg");
     }
     $image = html_td('', '', html_img($img, 90, 118));
     $image->set_tag_attribute("width", "12%");
     $image->set_tag_attribute("align", "center");
     $detail_table =& html_table(Session::getContextValue('mainInterfaceWidth'), 0, 0, 0);
     $this->add_class_row($detail_table, "Nombre");
     $detail_table->add_row(html_td('ptabla02', '', agt('Apellido')), html_td('ptabla03', '', container($this->element_form("Primer Apellido"), $this->element_form("Segundo Apellido"))));
     //Condicionar vvvvvvvvv
     $label1 = $this->element_label("Usuario");
     $label1->set_tag_attribute('class', 'ptabla02');
     $label2 = $this->element_label("Contraseña");
     $label2->set_tag_attribute('class', 'ptabla02');
     if ($this->getViewVariable('status') == 'show') {
         $detail_table->add_row(html_td('ptabla02', '', agt('Datos de acceso')), html_td('ptabla03', '', container($label1, $this->element_form("Usuario"), $label2, $this->element_form("Contraseña"))));
     }
     $this->add_class_row($detail_table, "DNI");
     $this->add_class_row($detail_table, "Dirección");
     $this->add_class_row($detail_table, "Población");
     $this->add_class_row($detail_table, "Provincia");
     $this->add_class_row($detail_table, "Pais");
     $this->add_class_row($detail_table, "Código Postal");
     $row->add($image);
     $row->add($detail_table);
     $table->add($row);
     /*
             //$this->add_class_row($table,"Tratamiento");
             $this->add_class_row($table,"Nombre");
             //$this->add_class_row($table,"Primer Apellido");
             //$this->add_class_row($table,"Segundo Apellido");
     $table->add_row(html_td('ptabla02','',agt('Apellido')), html_td('ptabla03', '', container($this->element_form("Primer Apellido"), $this->element_form("Segundo Apellido"))));
             $this->add_class_row($table,"DNI");
             //$this->add_class_row($table,"Fecha de nacimiento");
             $this->add_class_row($table,"Dirección");
             $this->add_class_row($table,"Población");
             $this->add_class_row($table,"Provincia");
             $this->add_class_row($table,"Pais");
             $this->add_class_row($table,"Código Postal");
     */
     //$this->add_class_row($table,"Teléfono");
     $table->add_row(html_td('ptabla02', '', agt('Teléfono')), html_td('ptabla03', '', container($this->element_form("Teléfono1"), $this->element_form("Teléfono2"))));
     $this->add_class_row($table, "Fax");
     //$this->add_class_row($table,"E-mail");
     $table->add_row(html_td('ptabla02', '', agt('e-mail')), html_td('ptabla03', '', container($this->element_form("E-mail1"), $this->element_form("E-mail2"), $this->element_form("E-mail3"))));
     $this->add_class_row($table, "Web");
     if ($this->getViewVariable('status') == 'new') {
         $table->add_row(html_td('ptabla02', '', agt('Fotografía')), html_td('ptabla03', '', $this->element_form("imagen")));
     }
     if ($this->getViewVariable('pid') == 3) {
         $table->add_row(html_td('ptabla02', '', agt('C.V.')), html_td('ptabla03', '', $this->element_form("cv_doc")));
     }
     if ($arr_data['cv'] != '') {
         $link = Util::main_URLPath('var/secretary/user_cv/user_' . $arr_data['person_id'] . '.' . $arr_data['cv']);
         $table->add_row(html_td('ptabla02', '', agt('CV')), html_td('ptabla03', '', html_a($link, agt('Abrir'), 'titulo03a')));
     }
     $this->add_class_row($table, "Observaciones");
     //$table->add_row($this->_tableRow("Nombre de usuario"));
     //$table->add_row($this->_tableRow("Clave de acceso"));
     //$table->add_row($this->_tableRow("Clave de acceso (confirmación)"));
     //$table->add_row($this->_tableRow("Correo electrónico"));
     //$table->add_row($this->_tableRow("Tema"));
     //$table->add_row($this->_tableRow("Perfil de usuario"));
     //$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.");
     $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(_HTML_SPACE, $this->element_form("Aceptar"));
     return $table;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:89,代码来源:miguel_inscriptionform.class.php

示例13: formatCheckBox

 function formatCheckBox($element, $tab_index, $text, $status = '')
 {
     $this->set_form_tabindex($element, $tab_index);
     $cont = container();
     $cont->add($this->element_form($element));
     switch ($status) {
         case 'ok':
             $img = Theme::getThemeImagePath('boton_green.gif');
             break;
         case 'ko':
             $img = Theme::getThemeImagePath('boton_red.gif');
             break;
         default:
             $img = Theme::getThemeImagePath('invisible.gif');
     }
     $cont->add(html_img($img));
     $cont->add(html_b(agt($text)));
     return $cont;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:19,代码来源:miguel_bdform.class.php

示例14: 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%');
     $item1 = html_td('', '', 'Mi progreso');
     $item1->set_tag_attribute('width', '12%');
     $item2 = html_td('', '', 'Mis accesos directos');
     $item2->set_tag_attribute('width', '16%');
     $item3 = html_td('', '', 'Mis contactos');
     $item3->set_tag_attribute('width', '12%');
     $item4 = html_td('', '', 'Mis notas');
     $item4->set_tag_attribute('width', '10%');
     $link = html_a(Util::format_URLPath("filemanager/index.php"), agt('Mis documentos'), null, "_top");
     $link->set_tag_attribute('class', '');
     $item5 = html_td('', '', $link);
     $item5->set_tag_attribute('width', '12%');
     $row->add($blank);
     $row->add($image);
     $row->add($item1);
     $row->add($item2);
     $row->add($item3);
     $row->add($item4);
     $row->add($item5);
     $table->add_row($row);
     $div->add($table);
     return $div;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:34,代码来源:miguel_vfilemanager.class.php

示例15: addMenu

 function addMenu()
 {
     $row = html_tr();
     $tdTitulo = html_td('ptabla01', '', 'Menú');
     $manageMenu = html_td('ptabla01', 'center', $this->imag_alone(Util::format_URLPath('moduleManager/index.php', "status=selectSubmenusForm&menu_id={$_menu_id}"), Theme::getThemeImagePath('redactar_mensaje.gif'), agt('Editar')));
     $tdWriteXML = html_td('ptabla01', '', html_a(Util::format_URLPath('moduleManager/index.php', "status=writeXML&menu_id={$_menu_id}"), 'Crear XML'));
     $row->add($tdTitulo, $manageMenu, $tdWriteXML);
     return $row;
 }
开发者ID:BackupTheBerlios,项目名称:migueloo,代码行数:9,代码来源:miguel_vmodulemanager.class.php


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