Ignore:
Timestamp:
Sep 14, 2005, 11:57:05 PM (19 years ago)
Author:
plg
Message:
  • improvement: long localized messages are in HTML files instead of $lang array. This is the case of admin/help and about pages.
  • deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists, check_date_format, date_convert, get_category_directories, get_used_metadata_list, array_remove, pwg_write_debug, get_group_restrictions, get_all_group_restrictions, is_group_allowed, style_select, deprecated_getAttribute).
  • new: many new contextual help pages to replace descriptions previously included in pages.
  • modification: reorganisation of language files. Deletion of unused language keys, alphabetical sort. No faq.lang.php anymore (replaced by help.html). Only done for en_UK.iso-8859-1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r850 r862  
    204204}
    205205
    206 //
    207 // Pick a template/theme combo,
    208 //
    209 function style_select($default_style, $select_name = "style")
    210 {
    211   $templates = get_templates();
    212 
    213   $style_selected = '<select name="' . $select_name . '" >';
    214   foreach ($templates as $template)
    215   {
    216     $selected = ( $template == $default_style ) ? ' selected="selected"' : '';
    217     $style_selected.= '<option value="'.$template.'"'.$selected.'>';
    218     $style_selected.= $template.'</option>';
    219   }
    220   $style_selected .= '</select>';
    221   return $style_selected;
    222 }
    223 
    224206/**
    225207 * returns the list of categories as a HTML string
Note: See TracChangeset for help on using the changeset viewer.