Changeset 9913 in spip-zone


Ignore:
Timestamp:
Feb 26, 2007, 11:08:41 AM (13 years ago)
Author:
cedric@…
Message:

une css agregee pour optimiser les hits

Location:
_plugins_/_stable_/forms/forms_et_tables_1_9_1
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/forms/forms_et_tables_1_9_1/forms_filtres.php

    r9535 r9913  
    1515
    1616        function Forms_insert_head($flux){
    17                 $flux .=        "<link rel='stylesheet' href='".find_in_path('spip_forms.css')."' type='text/css' media='all' />\n";
    18                 $flux .=        "<link rel='stylesheet' href='".find_in_path('donnee_voir.css')."' type='text/css' media='all' />\n";
    19                 $flux .=        "<link rel='stylesheet' href='".find_in_path('donnees_tous.css')."' type='text/css' media='all' />\n";
    20                 $flux .=        "<link rel='stylesheet' href='"._DIR_PLUGIN_FORMS."img_pack/date_picker.css' type='text/css' media='all' />\n";
    21                 $flux .=        "<link rel='stylesheet' href='"._DIR_PLUGIN_FORMS."img_pack/jtip.css' type='text/css' media='all' />\n";
     17                if ($GLOBALS['spip_version_code']<1.9207) {
     18                        $flux .=        "<link rel='stylesheet' href='".find_in_path('spip_forms.css')."' type='text/css' media='all' />\n";
     19                        $flux .=        "<link rel='stylesheet' href='".find_in_path('donnee_voir.css')."' type='text/css' media='all' />\n";
     20                        $flux .=        "<link rel='stylesheet' href='".find_in_path('donnees_tous.css')."' type='text/css' media='all' />\n";
     21                        $flux .=        "<link rel='stylesheet' href='"._DIR_PLUGIN_FORMS."img_pack/date_picker.css' type='text/css' media='all' />\n";
     22                        $flux .=        "<link rel='stylesheet' href='"._DIR_PLUGIN_FORMS."img_pack/jtip.css' type='text/css' media='all' />\n";
     23                }
     24                else
     25                        $flux .= "<link rel='stylesheet' href='".generer_url_public('forms_styles.css')."' type='text/css' media='all' />\n";
    2226                return $flux;
    2327        }
Note: See TracChangeset for help on using the changeset viewer.