source: spip-zone/_plugins_/alias/alias_pipeline.php @ 42186

Last change on this file since 42186 was 42186, checked in by serge.markitanenko@…, 10 years ago

added English & Russian translation

File size: 612 bytes
Line 
1<?php
2
3function alias_affiche_droite($flux){
4        if ($flux['args']['exec']=='articles'){
5                global $spip_lang_right;
6                $out = "";
7                $id_article = $flux['args']['id_article'];
8                $out .= debut_cadre_relief('',true);
9                $securiser_action = charger_fonction('securiser_action','inc');
10                $url = $securiser_action('aliaser',"article-$id_article",str_replace('&amp;','&',self(true)));
11                $out .= "<a href='$url'><img src='"._DIR_PLUGIN_ALIAS."img_pack/article-alias.gif' width='24' height='24' alt='Alias' /> "._T('alias:create_alias')."</a>";
12                $out .= fin_cadre_relief(true);
13                $flux['data'].= $out;
14        }
15        return $flux;
16}
17
18?>
Note: See TracBrowser for help on using the repository browser.