public function render_body_div_content()
 {
     // print_r($_GET);exit;
     $content_div = new HTMLTags_Div();
     $content_div->set_attribute_str('id', 'content');
     $content_div->set_attribute_str('class', 'thumbnails-page');
     $provider_wrapper = new HTMLTags_Div();
     $provider_wrapper->set_attribute_str('id', 'providers-wrapper');
     $provider_wrapper->append('<h3 id="channels">Channels</h3>');
     $provider_wrapper->append($this->get_provider_navigation_div());
     $provider_wrapper->append('<h3 id="categories">Categories</h3>');
     $tags_nav = $this->get_tags_navigation_div();
     $tags_nav->set_attribute_str('id', 'sidebar-tags');
     $provider_wrapper->append($tags_nav);
     $content_div->append($provider_wrapper);
     $videos_description = new HTMLTags_Div();
     $videos_description->set_attribute_str('id', 'videos-description');
     $videos_description->append($this->get_videos_description_div());
     $content_div->append($videos_description);
     $thumbnails_wrapper = new HTMLTags_Div();
     $thumbnails_wrapper->set_attribute_str('id', 'thumbnails-wrapper');
     $thumbnails_wrapper->append($this->get_thumbnails_extra_content_div());
     $thumbnails_wrapper->append($this->get_thumbnails_div());
     $thumbnails_wrapper->append($this->get_pager_div());
     $content_div->append($thumbnails_wrapper);
     echo $content_div->get_as_string();
 }
 private function get_content_div()
 {
     $content_div = new HTMLTags_Div();
     $content_div->set_attribute_str('class', 'content');
     $content_div->set_attribute_str('id', 'TagsPage');
     //$content_div->append($this->get_advert_div());
     $content_div->append(VideoLibrary_DisplayHelper::get_tags_page_tags_div($this->get_primary_tags(), $this->get_external_video_library_id()));
     return $content_div;
 }
 public static function get_widget_content(RSS_RSS $rss)
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'rss');
     $div->append(self::get_rss_titles_ul($rss));
     return $div;
 }
 public static function get_feed_div($feeds, $number_of_items_per_feed, $options = array('length' => 'summaries'))
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'feeds-wrapper');
     foreach ($feeds as $feed) {
         // print_r($feed);exit;
         /** 
          * summary_display_quantity_multiplier
          * This multiplier allows us to give some feeds more headlines if they
          * tend to have short summaries
          */
         if ($options['length'] == 'summaries' && isset($feed['summary_display_quantity_multiplier'])) {
             $number_of_items_per_feed = round($number_of_items_per_feed * $feed['summary_display_quantity_multiplier']);
         }
         $feed['items'] = FeedAggregator_DatabaseHelper::get_items_for_feed_id($feed['id'], NULL, 0, $number_of_items_per_feed);
         // print_r($feed);exit;
         switch ($options['length']) {
             case 'summaries':
                 $div->append(FeedAggregator_DisplayHelper::get_feed_summary_div($feed));
                 break;
             case 'headlines':
                 $div->append(FeedAggregator_DisplayHelper::get_feed_headlines_div($feed));
                 break;
             default:
                 $div->append(FeedAggregator_DisplayHelper::get_feed_summary_div($feed));
         }
     }
     return $div;
 }
 public static function get_note_preview_div(Oedipus_Note $note)
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'note-preview');
     $div->append($note->get_note_text_html());
     return $div;
 }
 public function __construct(HTMLTags_Tag $fluid_box_content, $style = 'text_box')
 {
     parent::__construct();
     $this->set_attribute_str('class', 'dialog_black');
     $this->set_attribute_str('id', $style);
     $fluid_box_hd = new HTMLTags_Div();
     $fluid_box_hd->set_attribute_str('class', 'hd');
     $fluid_box_hd_c = new HTMLTags_Div();
     $fluid_box_hd_c->set_attribute_str('class', 'c');
     $fluid_box_hd->append_tag_to_content($fluid_box_hd_c);
     $this->append_tag_to_content($fluid_box_hd);
     $fluid_box_bd = new HTMLTags_Div();
     $fluid_box_bd->set_attribute_str('class', 'bd');
     $fluid_box_c = new HTMLTags_Div();
     $fluid_box_c->set_attribute_str('class', 'c');
     $fluid_box_s = new HTMLTags_Div();
     $fluid_box_s->set_attribute_str('class', 's');
     $fluid_box_s->append_tag_to_content($fluid_box_content);
     $fluid_box_c->append_tag_to_content($fluid_box_s);
     $fluid_box_bd->append_tag_to_content($fluid_box_c);
     $this->append_tag_to_content($fluid_box_bd);
     $fluid_box_ft = new HTMLTags_Div();
     $fluid_box_ft->set_attribute_str('class', 'ft');
     $fluid_box_ft_c = new HTMLTags_Div();
     $fluid_box_ft_c->set_attribute_str('class', 'c');
     $fluid_box_ft->append_tag_to_content($fluid_box_ft_c);
     $this->append_tag_to_content($fluid_box_ft);
     return $this;
 }
 public function __construct($item_reviewed, $review, $reviewer, $date_reviewed)
 {
     parent::__construct();
     $this->set_attribute_str('class', 'hreview');
     $item_div = new HTMLTags_Div();
     $item_div->set_attribute_str('class', 'item');
     $item_div->append_str_to_content($item_reviewed);
     $this->append_tag_to_content($item_div);
     $description_div = new HTMLTags_Div();
     $description_div->set_attribute_str('class', 'description');
     $description_p = new HTMLTags_P($review);
     $description_div->append_tag_to_content($description_p);
     $this->append_tag_to_content($description_div);
     $reviewer_vcard_span = new HTMLTags_Span();
     $reviewer_vcard_span->set_attribute_str('class', 'reviewer vcard');
     $reviewer_fn_span = new HTMLTags_Span();
     $reviewer_fn_span->set_attribute_str('class', 'fn');
     $reviewer_fn_span->append_str_to_content($reviewer);
     $reviewer_vcard_span->append_tag_to_content($reviewer_fn_span);
     $random_br_tag = new HTMLTags_BR();
     $reviewer_vcard_span->append_tag_to_content($random_br_tag);
     $date_reviewed_abbr = new HTMLTags_Abbr();
     $date_reviewed_abbr->set_attribute_str('class', 'dtreviewed');
     $datetime_iso8601 = Formatting_DateTime::datetime_to_ISO8601($date_reviewed);
     $date_reviewed_abbr->set_attribute_str('title', $datetime_iso8601);
     $datetime_human_readable = Formatting_DateTime::datetime_to_human_readable($date_reviewed);
     $date_reviewed_abbr->append_str_to_content($datetime_human_readable);
     $reviewer_vcard_span->append_tag_to_content($date_reviewed_abbr);
     $this->append_tag_to_content($reviewer_vcard_span);
     return $this;
 }
 public function get_mini_orders_for_current_session_div()
 {
     $mini_order_div = new HTMLTags_Div();
     $top_right_p = new HTMLTags_P('Shopping Basket');
     $top_right_p->set_attribute_str('class', 'top-right');
     $mini_order_div->append_tag_to_content($top_right_p);
     $mini_order_table = $this->get_mini_orders_for_current_session_table();
     $middle_right_div = new HTMLTags_Div();
     $middle_right_div->set_attribute_str('class', 'middle-right');
     $middle_right_div->append_tag_to_content($mini_order_table);
     $mini_order_div->append_tag_to_content($middle_right_div);
     $bottom_left_div = new HTMLTags_Div();
     $bottom_left_div->set_attribute_str('class', 'bottom-left');
     $bottom_right_p = new HTMLTags_P();
     $bottom_right_p->set_attribute_str('class', 'bottom-right');
     $go_to_basket_link = new HTMLTags_A();
     $go_to_basket_link->set_attribute_str('class', 'add-to-basket-link');
     $go_to_basket_link->set_attribute_str('id', 'add-to-basket-link');
     $go_to_basket_location = new HTMLTags_URL();
     $go_to_basket_location->set_file('/shopping-basket.html');
     $go_to_basket_link->set_href($go_to_basket_location);
     $go_to_basket_link->append_tag_to_content(new HTMLTags_Span('Go to Basket'));
     $bottom_right_p->append_tag_to_content($go_to_basket_link);
     $bottom_left_div->append_tag_to_content($bottom_right_p);
     $mini_order_div->append_tag_to_content($bottom_left_div);
     return $mini_order_div;
 }
 private function get_external_links_ul()
 {
     $welcome_div = new HTMLTags_Div();
     $welcome_div->set_attribute_str('class', 'external-links');
     $welcome_div->append_tag_to_content(Navigation_HTMLListsHelper::get_1d_ul('External Links'));
     return $welcome_div;
 }
 public function get_html_div()
 {
     $html_div = new HTMLTags_Div();
     $html_div->set_attribute_str('id', 'payment_option_buttons');
     $html_div->append_tag_to_content($this->get_html_ul());
     return $html_div;
 }
 public function get_widget_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'StartPageWidget');
     $heading = new HTMLTags_Heading(3, $this->get_widget_title());
     $div->append($heading);
     $div->append($this->get_widget_content());
     return $div;
 }
 private function get_all_dramas_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'my-dramas-list');
     $html = $this->get_all_dramas_ul();
     $div->append_tag_to_content(new HTMLTags_Heading(3, 'Dramas created by me'));
     $div->append_tag_to_content($html);
     return $div;
 }
 public function get_tag_cloud_div($current_url, $javascript = FALSE)
 {
     $tags_table = $this->get_element();
     #$database = $productgraph_row->get_database();
     #$tags_table = $database->get_table('hpi_shop_product_tags');
     #$productgraph_row = $productgraphs_table->get_row_by_id($_GET['productgraph_id']);
     #$database = $productgraph_row->get_database();
     $tag_cloud_div = new HTMLTags_Div();
     $tag_cloud_div->set_attribute_str('id', 'tag_cloud_div');
     $tag_cloud_heading = new HTMLTags_Heading(3);
     $tag_cloud_heading->append_str_to_content('All Tags');
     $tag_cloud_div->append_tag_to_content($tag_cloud_heading);
     $tag_cloud_list = new HTMLTags_OL();
     $tags = $tags_table->get_tags_with_counts('hpi_shop_product_tags.tag', 'ASC');
     foreach ($tags as $tag) {
         $tag_cloud_line = new HTMLTags_LI();
         $tag_cloud_href = clone $current_url;
         $tag_cloud_href->set_get_variable('tag_id', $tag->get_id());
         $tag_cloud_link = new HTMLTags_A();
         $tag_cloud_link->set_href($tag_cloud_href);
         $tag_cloud_link->set_attribute_str('id', $tag->get_id());
         if ($javascript) {
             $onclick = 'javascript:return tagsOnClick(this);';
             $tag_cloud_link->set_attribute_str('onclick', $onclick);
         }
         #tag_cloud_link->set_attribute_str('id', 'productgraph_page_link');
         #echo $tag->get_product_count();
         /*
          * RFI 2007-03-27
          * 
          * Is this the right way around?
          *
          * Aren't tags with a lower product count less popular?
          */
         #if ($tag->get_product_count() > 3) {
         #    $tag_cloud_link->set_attribute_str('class', 'not-very-popular');
         #}
         $popularity_css_class = $tag->get_popularity_css_class();
         #echo "\$popularity_css_class: $popularity_css_class\n\n";
         $tag_cloud_link->set_attribute_str('class', $popularity_css_class);
         $tag_cloud_link->set_attribute_str('rel', 'tag');
         $tag_product_count = $tag->get_product_count();
         if ($tag_product_count == 1) {
             $tag_product_count_span_text = $tag_product_count . ' product is tagged with ';
         } else {
             $tag_product_count_span_text = $tag_product_count . ' products are tagged with ';
         }
         $tag_cloud_link_span = new HTMLTags_Span($tag_product_count_span_text);
         $tag_cloud_link->append_tag_to_content($tag_cloud_link_span);
         $tag_cloud_link->append_str_to_content($tag->get_tag());
         $tag_cloud_line->append_tag_to_content($tag_cloud_link);
         $tag_cloud_list->append_tag_to_content($tag_cloud_line);
     }
     $tag_cloud_div->append_tag_to_content($tag_cloud_list);
     return $tag_cloud_div;
 }
 public static function get_link_to_edit_video_admin_page_div($video_id)
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'admin');
     $a = new HTMLTags_A('Edit this Video');
     $a->set_attribute_str('class', 'edit');
     $a->set_href(VideoLibrary_URLHelper::get_edit_external_video_admin_page_url($video_id));
     $div->append($a);
     return $div;
 }
 public function render_body_div_navigation()
 {
     $navigation_div = new HTMLTags_Div();
     $navigation_div->set_attribute_str('id', 'navigation');
     ob_start();
     require PROJECT_ROOT . '/plug-ins/admin/www-includes/html/' . 'body.div.nav-or-error-msg.inc.php';
     $str = ob_get_clean();
     $navigation_div->append_str_to_content($str);
     echo $navigation_div->get_as_string();
 }
 protected function get_admin_header_navigation_link_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('id', 'admin_header_navigation_link');
     $url = PublicHTML_URLHelper::get_oo_page_url('Admin_StartPage');
     $a = new HTMLTags_A('Start Page');
     $a->set_href($url);
     $div->append($a);
     return $div;
 }
 protected function get_last_action_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'last-action-div');
     /*
      * See if we edited anything
      */
     if (isset($_GET['edited']) && isset($_GET['message'])) {
         $p = new HTMLTags_P();
         if (isset($_GET['error'])) {
             $div->append('<p><em>Please contact your Website Administrator</em></p>');
             $p->append(urldecode($_GET['error']));
             $div->set_attribute_str('id', 'error');
         } else {
             $p->append($_GET['message']);
         }
         $div->append($p);
     }
     return $div;
 }
 public function render_body_div_footer_nav()
 {
     /*
      *Second Tier Nav - libraries and search
      */
     $footer_nav_div = new HTMLTags_Div();
     $footer_nav_div->set_attribute_str('id', 'footer-nav');
     $footer_nav_div->append($this->get_second_tier_navigation_div());
     $footer_nav_div->append($this->get_external_video_search_div());
     echo $footer_nav_div->get_as_string();
 }
 protected function render_top_links_ul()
 {
     $page_options_div = new HTMLTags_Div();
     $page_options_div->set_attribute_str('id', 'page-options');
     $other_pages_ul = new HTMLTags_UL();
     foreach ($this->get_top_links_as() as $a) {
         $li = new HTMLTags_LI();
         $li->append_tag_to_content($a);
         $other_pages_ul->append_tag_to_content($li);
     }
     $page_options_div->append_tag_to_content($other_pages_ul);
     echo $page_options_div->get_as_string();
 }
 public function render_xml()
 {
     if (isset($_GET['ajax']) && isset($_GET['related_videos']) && isset($_GET['rewrite_controls'])) {
         $div = new HTMLTags_Div();
         $thumbnails_wrapper_div = new HTMLTags_Div();
         $thumbnails_wrapper_div->set_attribute_str('id', 'thumbnails-wrapper');
         $thumbnails_wrapper_div->append(VideoLibrary_DisplayHelper::get_thumbnails_div($this->get_related_videos()));
         $div->append($thumbnails_wrapper_div);
         $div->append(VideoLibrary_DisplayHelper::get_pager_div($this->get_start(), $this->get_duration(), $this->get_total_related_videos_count(), $this->get_page_url()));
         echo $div->get_as_string();
     } elseif (isset($_GET['ajax']) && isset($_GET['related_videos'])) {
         echo VideoLibrary_DisplayHelper::get_thumbnails_div($this->get_related_videos());
     }
 }
 public function content()
 {
     $cmf = HaddockProjectOrganisation_ConfigManagerFactory::get_instance();
     $config_manager = $cmf->get_config_manager('plug-ins', 'admin');
     $widget_classes = $config_manager->get_start_page_widget_classes();
     $div = new HTMLTags_Div();
     $div->set_attribute_str('id', 'StartPageWidgetContainer');
     foreach ($widget_classes as $key => $value) {
         $widget_class_str = trim($value);
         $instance = new $widget_class_str();
         $content = $instance->get_widget_div();
         $div->append($content);
     }
     echo $div->get_as_string();
 }
 public static function get_feed_headlines_div($feed)
 {
     if ($feed['items'] == '') {
         throw new Exception('Feed contains no items.');
     }
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'feed');
     $div->append('<h3>' . $feed['title'] . '</h3>');
     foreach ($feed['items'] as $item) {
         $item_div = new HTMLTags_Div();
         $item_div->set_attribute_str('class', 'item');
         $link = self::get_item_external_link($item);
         $item_div->append('<h4>' . $link . '</h4>');
         $div->append($item_div);
     }
     return $div;
 }
 public static function get_google_code_rss_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'rss');
     $div->append('<h3>Project Code Changes</h3>');
     try {
         $rss = new RSS_RSS('http://code.google.com/feeds/p/oedipus-decision-maker/updates/basic', 'atom');
     } catch (Exception $e) {
         $rss = NULL;
         //throw new Exception ('Google Code RSS_RSS object creation failed');
     }
     if ($rss) {
         $div->append(RSS_RSSHelper::get_rss_titles_ul($rss));
     } else {
         $div->append('<p class="error">RSS feed not found</p>');
     }
     return $div;
 }
 public function render_body_div_navigation()
 {
     $navigation_div = new HTMLTags_Div();
     $navigation_div->set_attribute_str('id', 'navigation');
     #$pdf = HaddockProjectOrganisation_ProjectDirectoryFinder::get_instance();
     #$pd = $pdf->get_project_directory_for_this_project();
     #
     #$anxf = $pd->get_admin_navigation_xml_file();
     #
     #$site_map_ul = new Admin_SiteMapUL($anxf);
     #
     #$navigation_div->append_tag_to_content($site_map_ul);
     ob_start();
     require PROJECT_ROOT . '/haddock/admin/www-includes/html/' . 'body.div.nav-or-error-msg.inc.php';
     $str = ob_get_clean();
     $navigation_div->append_str_to_content($str);
     echo $navigation_div->get_as_string();
 }
 public static function get_gallery_div_for_images($images)
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'gallery_div');
     $main_image_div = new HTMLTags_Div();
     $main_image_div->set_attribute_str('id', 'main_image');
     $div->append($main_image_div);
     $ul = new HTMLTags_UL();
     $ul->set_attribute_str('class', 'gallery_demo_unstyled');
     $first = TRUE;
     foreach ($images as $image) {
         $li = new HTMLTags_LI();
         if ($first) {
             $li->set_attribute_str('class', 'active');
             $first = FALSE;
         }
         $li->append($image->get_image_img());
         $ul->append($li);
     }
     $div->append($ul);
     return $div;
 }
 protected function get_scene_content_div()
 {
     $div = new HTMLTags_Div();
     # The left and right column divs
     $left_div = new HTMLTags_Div();
     $left_div->set_attribute_str('class', 'left-column');
     /*
      * Tree View Div
      */
     $left_div->append(Oedipus_FrameTreeHelper::get_frame_tree_div($this->get_scene()));
     $div->append_tag_to_content($left_div);
     $right_div = new HTMLTags_Div();
     $right_div->set_attribute_str('class', 'right-column');
     /*
      * Scene Note Div
      */
     $right_div->append(Oedipus_DramaHelper::get_scene_notes_div($this->get_scene()));
     $div->append_tag_to_content($right_div);
     $clear_div = new HTMLTags_Div();
     $clear_div->set_attribute_str('class', 'clear-columns');
     $div->append_tag_to_content($clear_div);
     return $div;
 }
 public function get_order_description_div()
 {
     $order = $this->get_element();
     $customer = $order->get_customer();
     #$product = $order->get_product();
     $address = $customer->get_address();
     $description_div = new HTMLTags_Div();
     $description_div->set_attribute_str('class', 'details');
     $html = '<h3>Order #' . $order->get_id() . ':</h3><dl><dt>Customer:</dt><dd>' . $customer->get_first_name() . '&nbsp;' . $customer->get_last_name() . '</dd><dt>Address:</dt><dd>' . $address->get_street_address() . ',<br />' . $address->get_locality() . ',<br />' . $address->get_postal_code() . ',<br />' . $address->get_country_name() . '</dd><dt>Order received:</dt><dd>' . date('F j, Y, g:i a', strtotime($order->get_added())) . '</dd>' . '<dt>Transaction ref:</dt><dd>' . $order->get_txn_id() . '</dd></dl>';
     $description_div->append_str_to_content($html);
     return $description_div;
 }
    protected function render_limit_previous_next_div()
    {
        ?>
<!-- Start of a limit_previous_next div -->
<?php 
        /*
         * DIV for limits and previous and nexts.
         */
        $limit_previous_next_div = new HTMLTags_Div();
        $limit_previous_next_div->set_attribute_str('class', 'table_pages_div');
        /*
         * To allow the user to set the number of extras to show at a time.
         */
        $limit_action = $this->get_current_url_just_file();
        #$limit_form = new Database_LimitForm(
        #	$limit_action,
        #	$this->get_current_limit(),
        #	'10 20 50'
        #);
        $limit_form = new Database_LimitForm($limit_action, $this->get_current_limit(), $this->get_limits_str());
        $cbu = $this->get_current_base_url();
        foreach ($cbu->get_get_variables() as $key => $value) {
            $limit_form->add_hidden_input($key, $value);
        }
        $limit_form->add_hidden_input('order_by', $this->get_current_order_by());
        $limit_form->add_hidden_input('direction', $this->get_current_direction());
        $limit_form->add_hidden_input('offset', $this->get_current_offset());
        $limit_previous_next_div->append_tag_to_content($limit_form);
        /*
         * Go the previous or next list of extras.
         */
        $previous_next_url = clone $cbu;
        $previous_next_url->set_get_variable('order_by', $this->get_current_order_by());
        $previous_next_url->set_get_variable('direction', $this->get_current_direction());
        $row_count = $this->get_total_matching_row_count();
        if ($row_count > 0) {
            $previous_next_ul = new Database_PreviousNextUL($previous_next_url, $this->get_current_offset(), $this->get_current_limit(), $row_count);
            $limit_previous_next_div->append_tag_to_content($previous_next_ul);
        }
        echo $limit_previous_next_div->get_as_string();
        ?>
<!-- End of a limit_previous_next div -->
<?php 
    }
$redirect_script_url = clone $current_page_url;
$redirect_script_url->set_get_variable('type', 'redirect-script');
$cancel_href = $current_page_url;
/*
 * Create other objects.
 */
$mysql_user = $mysql_user_factory->get_for_this_project();
$database = $mysql_user->get_database();
$comments_table = $database->get_table('hpi_shop_comments');
$product_row = $gvm->get('product');
$product_row_renderer = $product_row->get_renderer();
/*
 * Start assembling the display.
 */
$content_div = new HTMLTags_Div();
$content_div->set_attribute_str('id', 'content');
if (isset($_GET['product_id'])) {
    #	if (isset($_GET['share_product']))
    #	{
    #		$share_product_div = $product_row_renderer->get_share_product_div_in_public();
    #		$content_div->append_tag_to_content($share_product_div);
    #	}
    #	else
    #	{
    $full_product_div = $product_row_renderer->get_full_product_div_in_public();
    $content_div->append_tag_to_content($full_product_div);
    #		$share_links_ul = $product_row_renderer->get_share_links_ul_in_public();
    #		$share_links_ul->set_attribute_str('class', 'share-links');
    #		$content_div->append_tag_to_content($share_links_ul);
    $product_links_ul = $product_row_renderer->get_product_links_ul_in_public();
    $content_div->append_tag_to_content($product_links_ul);
 * @copyright Clear Line Web Design, 2006-11-17
 */
#$pdf = HaddockProjectOrganisation_ProjectDirectoryFinder::get_instance();
#$project_directory = $pdf->get_project_directory_for_this_project();
#
#$config_file = $project_directory->get_config_file();
/*
 * Find the module config manager.
 */
$cmf = HaddockProjectOrganisation_ConfigManagerFactory::get_instance();
$config_manager = $cmf->get_config_manager('haddock', 'haddock-project-organisation');
/*
 * Create the HTML tags objects.
 */
$div_header = new HTMLTags_Div();
$div_header->set_attribute_str('id', 'header');
$h1_title = new HTMLTags_Heading(1);
#$home_link = new HTMLTags_A($config_file->get_project_title());
#$element_names = array('project', 'name');
#
#if ($config_manager->has_nested_config_variable($element_names)) {
#	$home_link = new HTMLTags_A($config_manager->get_nested_config_variable($element_names));
#
#	$home_link->set_href(new HTMLTags_URl('/'));
#
#	$h1_title->append_tag_to_content($home_link);
#
#	$div_header->append_tag_to_content($h1_title);
#
#	echo $div_header->get_as_string();
#}