'. PHP_EOL, $i, $i == 0 ? ' class="active"' : '');
echo $li;
}?>
', $active ? ' active' : '');
$div .= sprintf('
',$src, $ttl, $ttl);
if ( $title || $text ){
$div .= sprintf('
');
$div .= $title ? sprintf('
%s
',$title) : '';
$div .= $text ? sprintf('
%s
', $text) : '';
$div .= sprintf('
');
}
$div .= sprintf ('
'. PHP_EOL);
echo $div;
}
//carousel('/g/path/to.png', 'alt text', 'TitleCaption', 'TextCaption', active);
carousel('/g/8/slide/live-plasma-1.png', 'live-plasma-1', _r('Welcome to Mageia'), _r('Try without installing.', ' ') . sprintf(_r('Here is the %s Desktop'), _r('Plasma')), true );
carousel('/g/8/slide/live-plasma-2.png', 'live-plasma-2', _r('Daily use'), _r('Access all your files') );
carousel('/g/8/slide/live-plasma-3.png', 'live-plasma-3', _r('Daily use'), _r('Watch all your media') );
carousel('/g/8/slide/live-plasma-4.png', 'live-plasma-4', _r('Install'), _r('If you are happy with the Mageia experience, you can then install it onto your hard drive from the Live media.') . sprintf('
%s', _r('Doc')) );
carousel('/g/8/slide/live-gnome-1.png', 'live-gnome-1', _r('A choice of desktops'), sprintf(_r('Here is the %s Desktop'), _r('GNOME')) );
carousel('/g/8/slide/live-gnome-2.png', 'live-gnome-2', '', '');
carousel('/g/8/slide/live-gnome-3.png', 'live-gnome-3', _r('Install'), '' );
carousel('/g/8/slide/live-xfce-1.png', 'live-xfce-1', _r('A choice of desktops'), sprintf(_r('Here is the %s Desktop'), _r('Xfce')) );
carousel('/g/8/slide/live-xfce-2.png', 'live-xfce-2', _r('Install'), _r('You can install all
apps available even in live mode') );
carousel('/g/8/slide/mcc-1.png', 'mcc-1', _r('Tools'), _r('Mageia Control Center', ': ') . _r('Install applications') );
carousel('/g/8/slide/mcc-2.png', 'mcc-2', _r('Tools'), _r('Mageia Control Center', ': '). _r('Configure your hardware') );
carousel('/g/8/slide/classical-1.png', 'classical-1', _r('Install') , _r('Classic Installation') );
?>