public static function get_start_page_widget_content()
 {
     $ul = new HTMLTags_UL();
     $info = array('Title' => HaddockProjectOrganisation_ProjectInformationHelper::get_title(), 'Version' => HaddockProjectOrganisation_ProjectInformationHelper::get_version_code(), 'Copyright Holder' => HaddockProjectOrganisation_ProjectInformationHelper::get_copyright_holder());
     $dl = new HTMLTags_DL();
     foreach ($info as $key => $value) {
         $dt = new HTMLTags_DT($key . ': ');
         $dd = new HTMLTags_DD($value);
         $dl->append($dt);
         $dl->append($dd);
     }
     return $dl;
 }
    #
    #$row_adding_action->set_file('/admin/redirect-script.php');
    #$row_adding_action->set_get_variable('module', 'shop');
    #$row_adding_action->set_get_variable('page', 'currencies');
    #$row_adding_action->set_get_variable('table', $currencies_table->get_name());
    #$row_adding_action->set_get_variable('add_row');
    $row_adding_url = clone $redirect_script_url;
    $row_adding_url->set_get_variable('add_row');
    $row_adding_form = $table_renderer->get_currency_adding_form($row_adding_url, $cancel_href);
    $content_div->append_tag_to_content($row_adding_form);
    $explanation_div = new HTMLTags_Div();
    $explanation_text = <<<TXT
The ISO 4217 Currency code is a three letter unique identifier for currency. Eg.
TXT;
    $explanation_div->append_tag_to_content(new HTMLTags_P($explanation_text));
    $explanation_dl = new HTMLTags_DL();
    $explanation_1_dt = new HTMLTags_DT('GBP');
    $explanation_dl->append_tag_to_content($explanation_1_dt);
    $explanation_1_dd = new HTMLTags_DT('Pound Sterling');
    $explanation_dl->append_tag_to_content($explanation_1_dd);
    $explanation_2_dt = new HTMLTags_DT('USD');
    $explanation_dl->append_tag_to_content($explanation_2_dt);
    $explanation_2_dd = new HTMLTags_DT('US Dollar');
    $explanation_dl->append_tag_to_content($explanation_2_dd);
    $explanation_div->append_tag_to_content($explanation_dl);
    $explanation_div->append_tag_to_content(new HTMLTags_P('See also:'));
    $explanation_link_a = new HTMLTags_A('Wikipedia - ISO 4217');
    $explanation_link_href = new HTMLTags_URL();
    $explanation_link_href->set_file('http://en.wikipedia.org/wiki/ISO_4217');
    $explanation_link_a->set_href($explanation_link_href);
    $explanation_div->append_tag_to_content($explanation_link_a);
 public function get_all_fields_dl($ignore_fields_str = 'id', $include_zero_length_fields = FALSE)
 {
     $all_fields_dl = new HTMLTags_DL();
     $row = $this->get_element();
     $table = $row->get_table();
     $fields = $table->get_fields();
     $ignore_fields_array = explode(' ', $ignore_fields_str);
     foreach ($fields as $field) {
         if (!in_array($field->get_name(), $ignore_fields_array)) {
             $value = $row->get($field->get_name());
             #$value = $this->get_display_str($field->get_name());
             #$cell = $row->get_cell($field->get_name());
             if (strlen($value) > 0 || $include_zero_length_fields) {
                 #if ($cell->is_value_set() || $include_zero_length_fields) {
                 $field_renderer = $field->get_renderer();
                 #echo $field->get_name() . "\n";
                 #print_r($field_renderer);
                 $field_dt = $field_renderer->get_html_tags_dt();
                 $all_fields_dl->append_tag_to_content($field_dt);
                 #$cell_renderer = $cell->get_renderer();
                 #
                 #$cell_dd
                 #    = $cell_renderer
                 #        ->get_html_tags_dd($value);
                 #
                 #$all_fields_dl->append_tag_to_content($cell_dd);
                 $field_dd = $field_renderer->get_html_tags_dd($value);
                 #print_r($field_dd);
                 $all_fields_dl->append_tag_to_content($field_dd);
             }
         }
     }
     return $all_fields_dl;
 }