|
|
ef5584 |
|
|
|
ef5584 |
/***********************************************************************
|
|
|
ef5584 |
|
|
|
ef5584 |
Copyright (C) 2005-2007 Vincent Garnier and contributors. All rights
|
|
|
ef5584 |
reserved.
|
|
|
ef5584 |
|
|
|
ef5584 |
This file is part of Puntal 2.
|
|
|
ef5584 |
|
|
|
ef5584 |
Puntal 2 is free software; you can redistribute it and/or modify it
|
|
|
ef5584 |
under the terms of the GNU General Public License as published
|
|
|
ef5584 |
by the Free Software Foundation; either version 2 of the License,
|
|
|
ef5584 |
or (at your option) any later version.
|
|
|
ef5584 |
|
|
|
ef5584 |
Puntal 2 is distributed in the hope that it will be useful, but
|
|
|
ef5584 |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
ef5584 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
ef5584 |
GNU General Public License for more details.
|
|
|
ef5584 |
|
|
|
ef5584 |
You should have received a copy of the GNU General Public License
|
|
|
ef5584 |
along with this program; if not, write to the Free Software
|
|
|
ef5584 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
ef5584 |
MA 02111-1307 USA
|
|
|
ef5584 |
|
|
|
ef5584 |
************************************************************************/?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
%s') ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
%s', '%s', '%s') ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
if (!$cats->isEmpty()) : ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
while ($cats->fetch()) : ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
%s', '%s (%s)') ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
/* le bloc si il y a des liens : */ '
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
'.tpl::lang('Selected website(s)',true).'
|
|
|
ef5584 |
|
|
|
ef5584 |
%s
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
'.tpl::lang('Websites',true).'
|
|
|
ef5584 |
|
|
|
ef5584 |
',
|
|
|
ef5584 |
/* le bloc si il y a pas de lien */ '
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
'.tpl::lang('Websites',true).'
|
|
|
ef5584 |
|
|
|
ef5584 |
',
|
|
|
ef5584 |
/* un item : */ '%s%s',
|
|
|
ef5584 |
/* nombre de liens à afficher : */ '2' ,
|
|
|
ef5584 |
/* option de tri */ 'random'
|
|
|
ef5584 |
) ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
if (!$liens->isEmpty()) : ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
while ($liens->fetch()) : ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
%s %s'); ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
else : ?>
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|
|
|
ef5584 |
|