Changeset 4654 in spip-zone


Ignore:
Timestamp:
Aug 17, 2006, 10:55:20 PM (13 years ago)
Author:
cedric@…
Message:

emb flash et jquery cote public aussi

Location:
_plugins_/_ze_laboratoire_/spiip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_ze_laboratoire_/spiip/modeles/emb.html

    r4643 r4654  
    1818<BOUCLE_svg (DOCUMENTS) {id_document} {doublons} {extension==svg}>
    1919
    20 <embed src='#FICHIER' [(#ENV*|params_spip_to_attributs_html)] width='#LARGEUR' height='#HAUTEUR' />
     20<embed src='#EVAL{_DIR_RACINE}#FICHIER' [(#ENV*|params_spip_to_attributs_html)] width='#LARGEUR' height='#HAUTEUR' />
    2121
    2222</BOUCLE_svg>
     
    2424<BOUCLE_real (DOCUMENTS) {id_document}{doublons} {extension==rm|ram|ra}>
    2525<div><object width='0' height='0'>
    26 <param name='movie' value='#FICHIER' />
    27 <param name='src' value='#FICHIER' />
    28 <param name='controls' value='ImageWindow' /><param name='type' value='audio/x-pn-realaudio-plugin' /><param name='console' value='Console#ID_DOCUMENT' /><param name='nojava' value='true' /><inclus src='#FICHIER'  controls='ImageWindow' type='audio/x-pn-realaudio-plugin' console='Console#ID_DOCUMENT' nojava='true' width='0' height='0'></inclus>
     26<param name='movie' value='#EVAL{_DIR_RACINE}#FICHIER' />
     27<param name='src' value='#EVAL{_DIR_RACINE}#FICHIER' />
     28<param name='controls' value='ImageWindow' /><param name='type' value='audio/x-pn-realaudio-plugin' /><param name='console' value='Console#ID_DOCUMENT' /><param name='nojava' value='true' /><inclus src='#EVAL{_DIR_RACINE}#FICHIER'  controls='ImageWindow' type='audio/x-pn-realaudio-plugin' console='Console#ID_DOCUMENT' nojava='true' width='0' height='0'></inclus>
    2929</object>
    3030</div><object width='40' height='25'>
    31 <param name='movie' value='#FICHIER' />
    32 <param name='src' value='#FICHIER' />
    33 <param name='controls' value='PlayButton' /><param name='type' value='audio/x-pn-realaudio-plugin' /><param name='console' value='Console#ID_DOCUMENT' /><param name='nojava' value='true' /><inclus src='#FICHIER'  controls='PlayButton' type='audio/x-pn-realaudio-plugin' console='Console#ID_DOCUMENT' nojava='true' width='40' height='25'></inclus>
     31<param name='movie' value='#EVAL{_DIR_RACINE}#FICHIER' />
     32<param name='src' value='#EVAL{_DIR_RACINE}#FICHIER' />
     33<param name='controls' value='PlayButton' /><param name='type' value='audio/x-pn-realaudio-plugin' /><param name='console' value='Console#ID_DOCUMENT' /><param name='nojava' value='true' /><inclus src='#EVAL{_DIR_RACINE}#FICHIER'  controls='PlayButton' type='audio/x-pn-realaudio-plugin' console='Console#ID_DOCUMENT' nojava='true' width='40' height='25'></inclus>
    3434</object>
    3535<object width='-40' height='25'>
    36 <param name='movie' value='#FICHIER' />
     36<param name='movie' value='#EVAL{_DIR_RACINE}#FICHIER' />
    3737
    38 <param name='src' value='#FICHIER' />
    39 <param name='controls' value='PositionSlider' /><param name='type' value='audio/x-pn-realaudio-plugin' /><param name='console' value='Console#ID_DOCUMENT' /><param name='nojava' value='true' /><inclus src='#FICHIER'  controls='PositionSlider' type='audio/x-pn-realaudio-plugin' console='Console#ID_DOCUMENT' nojava='true' width='-40' height='25'></inclus>
     38<param name='src' value='#EVAL{_DIR_RACINE}#FICHIER' />
     39<param name='controls' value='PositionSlider' /><param name='type' value='audio/x-pn-realaudio-plugin' /><param name='console' value='Console#ID_DOCUMENT' /><param name='nojava' value='true' /><inclus src='#EVAL{_DIR_RACINE}#FICHIER'  controls='PositionSlider' type='audio/x-pn-realaudio-plugin' console='Console#ID_DOCUMENT' nojava='true' width='-40' height='25'></inclus>
    4040</object>
    4141
    4242</BOUCLE_real>
     43
     44<BOUCLE_flash(DOCUMENTS) {id_document}{doublons} {extension=swf}>
     45<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     46 codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
     47 width='#GET{largeur}' height='#GET{hauteur}'>
     48        <param name='movie' value='#EVAL{_DIR_RACINE}#FICHIER' />
     49        [(#ENV{quality,''}|?{'',' '})<param name="quality" value="high" />]
     50        [(#ENV*|params_spip_to_params_html)]
     51
     52        <!--[if !IE]> <-->
     53        <object data="#EVAL{_DIR_RACINE}#FICHIER" width='#GET{largeur}' height='#GET{hauteur}' type="application/x-shockwave-flash">
     54                [(#ENV{quality,''}|?{'',' '})<param name="quality" value="high" />]
     55                [(#ENV*|params_spip_to_params_html)]
     56                <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
     57       
     58        </object>
     59        <!--> <![endif]-->
     60</object>
     61</BOUCLE_flash>
    4362
    4463<BOUCLE_inclus (DOCUMENTS) {id_document} {doublons} {inclus=embed}>
  • _plugins_/_ze_laboratoire_/spiip/spiip_pipelines.php

    r4650 r4654  
    2222        $flux .= '<link rel="stylesheet" href="'.generer_url_public('style_spiip_public',$args).'" type="text/css" media="projection, screen" />';
    2323        $flux .= "<script type='text/javascript' src='".find_in_path('dist_back/pagination-ahah.js')."'></script>\n";
     24        if (_request('jqdb')!==NULL)
     25                $flux = '<script src="'.find_in_path('jquery_uncompressed.js').'" type="text/javascript"></script>'.$flux;
     26        else
     27                $flux = '<script src="'.find_in_path('jquery.lite.213.js').'" type="text/javascript"></script>'.$flux;
    2428        return $flux;
    2529}
Note: See TracChangeset for help on using the changeset viewer.