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