X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=www%2Fplugins%2Fcrayons%2Fvues%2Fhyperlien.html;fp=www%2Fplugins%2Fcrayons%2Fvues%2Fhyperlien.html;h=2c1d3523e6863f15b78edbb28acbdb03c6c6f361;hb=39f8b2ffa1fd0a3c67d6c74ed0fee9af296ccbb8;hp=0000000000000000000000000000000000000000;hpb=65eb21b34b55f850024ccda121bb96c73be4309f;p=lhc%2Fweb%2Fclavette_www.git diff --git a/www/plugins/crayons/vues/hyperlien.html b/www/plugins/crayons/vues/hyperlien.html new file mode 100644 index 0000000..2c1d352 --- /dev/null +++ b/www/plugins/crayons/vues/hyperlien.html @@ -0,0 +1,30 @@ +[(#REM) + + Vue pour le crayon 'hyperlien' + +] +#CACHE{0} + +[(#REM) Cas general ] +#SET{titre,#ENV*{nom_site}} +#SET{url,#ENV*{url_site}} + +[(#REM) syndic-article ] +[(#ENV{id_syndic_article}|?{ + [(#SET{titre,#ENV*{titre}})] + [(#SET{url,#ENV*{url}})] +})] + +[(#REM) breve ] +[(#ENV{id_breve}|?{ + [(#SET{titre,#ENV*{lien_titre}})] + [(#SET{url,#ENV*{lien_url}})] +})] + +[(#ENV{id_article}|?{' '})<:voir_en_ligne:> :] + +[(#GET{url}|?{ + [(#GET{titre}|typo|sinon{[(#GET{url}|couper{80})]})] +, + [(#GET{titre}|typo|sinon{<:info_sans_titre:>})] +})] \ No newline at end of file