$image_div = new HTMLTags_Div(); $image_div->set_attribute_str('id', 'logo_image'); $logo_img = new HTMLTags_IMG(); $logo_src_url = new HTMLTags_URL(); $cmf = HaddockProjectOrganisation_ConfigManagerFactory::get_instance(); $config_manager = $cmf->get_config_manager('haddock', 'admin'); $logo_config_filename = $config_manager->get_logo_image_filename(); $logo_src_url->set_file($logo_config_filename); $logo_img->set_src($logo_src_url); $image_div->append($logo_img); echo $image_div->get_as_string(); $h1_title = new HTMLTags_Heading(1); $home_link = new HTMLTags_A(HaddockProjectOrganisation_ProjectInformationHelper::get_title()); $home_link->set_href(new HTMLTags_URl('/')); $h1_title->append_tag_to_content($home_link); echo $h1_title->get_as_string(); $gvm = Caching_GlobalVarManager::get_instance(); echo "<h2>\n"; // //echo "Admin\n"; // //echo " > \n"; #echo $current_module_directory->get_admin_section_title(); #echo "\n"; #print_r($current_admin_page_directory); //if (isset($current_admin_page_directory)) { // echo " > \n"; // // echo $current_admin_page_directory->get_title(); // // echo "\n";
<?php /** * The heading of the page where the user confirms that * they want to reset their password. * * @copyright Clear Line Web Design, 2007-09-24 */ $reset_password_heading = new HTMLTags_Heading(2, 'Reset Password'); echo $reset_password_heading->get_as_string();
<?php /** * The header of the log in page. * * @copyright Clear Line Web Design, 2007-08-21 */ $main_page_header_id = 'login'; $main_page_header_title = 'Customer Login'; $main_page_header_class = 'login'; $main_page_header_h = new HTMLTags_Heading(2); $main_page_header_h->set_attribute_str('class', $main_page_header_class); $main_page_header_h->set_attribute_str('id', $main_page_header_id); $main_page_header_h->append_tag_to_content(new HTMLTags_Span($main_page_header_title)); echo $main_page_header_h->get_as_string();
<?php /** * The Title that goes at the top of the page for a table in database admin. * * RFI & SANH 2007-01-05 */ require_once PROJECT_ROOT . '/haddock/html-tags/classes/standard/HTMLTags_Heading.inc.php'; $header_title = new HTMLTags_Heading(1, 'Database Admin > table'); if (isset($table)) { $header_title->append_str_to_content(' > ' . $table->get_name()); } echo $header_title->get_as_string();