[RC] SlideWeUni 1.1.0

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Anuj Dhawan
Registered User
Posts: 366
Joined: Sat Aug 10, 2013 6:44 pm

Re: [RC] SlideWeUni 1.0.5

Post by Anuj Dhawan » Thu Nov 16, 2017 3:08 pm

Hi,

The colour combination works but the page jumps about because the 'slides' panel at the top gets incorrect for views 1 and 3. The view becomes a thin strip but the text stays where it is but all the sections move up the page. It makes the forum unusable. (Firefox 56.0.2 64 bit on Windows 10) same behaviour is with Mac.
Thanks,

picaron
Registered User
Posts: 38
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [RC] SlideWeUni 1.0.5

Post by picaron » Fri Nov 17, 2017 2:40 am

Hi, this situation is because your images do not have the same size.
You should verify that all the selected images have the same width and height pixels.
And of course, that all the images have a valid format and are accessible.
Greetings.

Anuj Dhawan
Registered User
Posts: 366
Joined: Sat Aug 10, 2013 6:44 pm

Re: [RC] SlideWeUni 1.0.5

Post by Anuj Dhawan » Fri Nov 17, 2017 7:58 am

Thanks. But I have not added any new pictures my own. I have used the extension "as is"...please advise how should I check if I should verify it.
Thanks,

picaron
Registered User
Posts: 38
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [RC] SlideWeUni 1.0.6

Post by picaron » Sat Nov 18, 2017 3:52 am

Ahhh ... Ok.
I think I know what the problem is.
In the extension settings.

In --> Full Name or URL 1st Image:

Change this:
slide_1.jpg

For this:
http://i67.tinypic.com/o7obci.jpg

And In --> Full Name or URL 2st Image:

Change this:
slide_2.jpg

For this:
http://i64.tinypic.com/20szpmq.jpg

-------------------------

or simply... you need update the latest release.

Anuj Dhawan
Registered User
Posts: 366
Joined: Sat Aug 10, 2013 6:44 pm

Re: [RC] SlideWeUni 1.0.6

Post by Anuj Dhawan » Sun Nov 19, 2017 4:43 pm

Thanks.

I faced this when I started adding the "URL to redirect when clicking on the ## Image:", where ## is the image-number.

However, uninstalling and reinstalling seems to solve it.

Thanks for your guidance and time.
Thanks,

User avatar
jan_2017
Registered User
Posts: 124
Joined: Sun May 07, 2017 3:39 pm

Re: [RC] SlideWeUni 1.0.7

Post by jan_2017 » Sun Jan 07, 2018 3:55 pm

Hello.

I don´t want show the pics for guests , how can i change this?

Bye Jan

Edit:

I solved the problem myself. From another extension copied out this command:

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->

Code: Select all

<!-- ENDIF -->
I put this code in this file:

Code: Select all

overall_header_navbar_before.html
The first code at the beginning and the second code at the end.

By the way i found a little "bug".

If read my forum at moblie phone (Huawei P9) then i saw the sitename in huge Font.

At Laptop and pc i don't see it but with smartphone.

I change it here to disappear the huge sitename between navbar and forumstart.

I change file nullheader.css from line 123 to 147.

Code: Select all

@media only screen and (max-width: 1050px), only screen and (max-device-width: 1050px) {
    .inventea-sitename {
      display: none;
    }
    #search-box-we {
    margin-right: 10px;
    margin-top: 10px;
    }
    .text-border {
        font-size: 28px;
    }
}

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
    .slideweuni-title {
        display: none;
    }
    .inventea-sitename {
        display: none;
    }
    .carousel-indicators {
        display: none;
    }
}
After this change the huge sitename it was no longer visible.

Bye Jan

User avatar
jan_2017
Registered User
Posts: 124
Joined: Sun May 07, 2017 3:39 pm

Re: [RC] SlideWeUni 1.0.7

Post by jan_2017 » Sun Jan 21, 2018 1:05 am

How can i disable the random mode from all Pictures????

Bye Jan

picaron
Registered User
Posts: 38
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [RC] SlideWeUni 1.0.8

Post by picaron » Sat Jan 27, 2018 10:18 pm

jan_2017 wrote:
Sun Jan 21, 2018 1:05 am
How can i disable the random mode from all Pictures????

Bye Jan
It has been included in the new version 1.0.8
;)

User avatar
jan_2017
Registered User
Posts: 124
Joined: Sun May 07, 2017 3:39 pm

Re: [RC] SlideWeUni 1.0.8

Post by jan_2017 » Sun Jan 28, 2018 8:45 am

picaron wrote:
Sat Jan 27, 2018 10:18 pm
jan_2017 wrote:
Sun Jan 21, 2018 1:05 am
How can i disable the random mode from all Pictures????

Bye Jan
It has been included in the new version 1.0.8
;)
Nice :ugeek:

As always very good work.

A new idea for version 1.09 would be a preview of the images in the ACP.

Also good would be a shift function of the 15 images in the ACP.

Big thanks :D

User avatar
jan_2017
Registered User
Posts: 124
Joined: Sun May 07, 2017 3:39 pm

Re: [RC] SlideWeUni 1.0.8

Post by jan_2017 » Sun Jan 28, 2018 11:54 am

German Translation :ugeek:

Why i can not upload files? :shock:

Ok ... here the long version :roll:

Code: Select all

<?php
/**
 *
 * Slideshow for Header extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2017 Picaron
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

/**
 * DO NOT CHANGE
 */
if (!defined('IN_PHPBB'))
{
    exit;
}

if (empty($lang) || !is_array($lang))
{
    $lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
        // ACP
        'ACP_SLIDE_WEUNI'                   => 'Wechselnde Bilderpräsentation in der Kopfzeile',
        'ACP_SLIDE_WEUNI_SETTINGS'          => 'Einstellungen',
        'ACP_SLIDE_WEUNI_EXPLAIN'           => 'Empfohlene maximale Bildgröße: 2570px x 465px. <br>FTP Verzeichnis wenn das Bild auf euren Webserver liegt: root/ext/Picaron/SlideWeUni/images/ oder für Bilderadresse mit externer Bildquelle aus dem Internet',
        'ACP_SLIDE_WEUNI_VERSION'           => 'Aktuelle Version der Erweiterung: ',
        'ACP_SLIDE_WEUNI_IMAGES'            => 'Einstellungen zu den Bildern',

        'L_SLIDE_WEUNI_ACTIVE'              => 'Bilderpräsentation aktivieren',
        'L_SLIDE_WEUNI_DELAY'               => 'Verzögerung für den Übergang zwischen den einzelnen Bildern:',
        'L_SLIDE_WEUNI_DELAY_EXPLAIN'       => 'Zeit in Millisekunden. (Minimum: 1000 ms = 1 Sekunde , Maximum: 20000 ms = 20 Sekunden)',
        'L_UNI_DELAY'                       => 'Millisekunden',
        'L_SLIDE_WEUNI_CONTROLS'            => 'Zeige Kontrollvorrichtung an',
        'L_SLIDE_WEUNI_ALEATORY'            => 'Bilder in Zufallsreihenfolge zeigen',
        'L_SLIDE_WEUNI_TITLE'               => 'Zeige Bildtitel und Bildbeschreibung',
        'L_SLIDE_WEUNI_SEARCH'              => 'Zeige Suchfunktion in Kopfzeile an',
        'L_SLIDE_WEUNI_EFFECT'              => 'Übergangseffekte',
        'L_SLIDE_WEUNI_COLOR_TIT_F'         => 'Füllfarbe für Bildtitel und Bildbeschreibung',
        'L_SLIDE_WEUNI_COLOR_TIT_F_EXPLAIN' => '(CSS Farbcode: #ffffff)',
        'L_SLIDE_WEUNI_COLOR_TIT_B'         => 'Randfarbe für Bildtitel und Bildbeschreibung',
        'L_SLIDE_WEUNI_COLOR_TIT_B_EXPLAIN' => '(CSS Farbcode: #000000)',
        'L_SLIDE'                           => 'Gleiteffekt',
        'L_FADE'                            => 'Verwischeffekt',

        'LOG_CONFIG_SLIDE'                  => '<strong>Bearbeitete Erweiterung zur Bildpräsentation in der Kopfzeile</strong>',

        'L_SLIDE_WEUNI_IMG1'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 1. Bildes',
        'L_SLIDE_WEUNI_URL1'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 1. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG2'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 2. Bildes',
        'L_SLIDE_WEUNI_URL2'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 2. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG3'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 3. Bildes',
        'L_SLIDE_WEUNI_URL3'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 3. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG4'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 4. Bildes',
        'L_SLIDE_WEUNI_URL4'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 4. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG5'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 5. Bildes',
        'L_SLIDE_WEUNI_URL5'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 5. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG6'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 6. Bildes',
        'L_SLIDE_WEUNI_URL6'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 6. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG7'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 7. Bildes',
        'L_SLIDE_WEUNI_URL7'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 7. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG8'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 8. Bildes',
        'L_SLIDE_WEUNI_URL8'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 8. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG9'                => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 9. Bildes',
        'L_SLIDE_WEUNI_URL9'                => 'Internetadresse auf die umgeleitet werden soll wenn auf das 9. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG10'               => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 10. Bildes',
        'L_SLIDE_WEUNI_URL10'               => 'Internetadresse auf die umgeleitet werden soll wenn auf das 10. Bild geklickt wird',
        
        'L_SLIDE_WEUNI_IMG11'               => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 11. Bildes',
        'L_SLIDE_WEUNI_URL11'               => 'Internetadresse auf die umgeleitet werden soll wenn auf das 11. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG12'               => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 12. Bildes',
        'L_SLIDE_WEUNI_URL12'               => 'Internetadresse auf die umgeleitet werden soll wenn auf das 12. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG13'               => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 13. Bildes',
        'L_SLIDE_WEUNI_URL13'               => 'Internetadresse auf die umgeleitet werden soll wenn auf das 13. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG14'               => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 14. Bildes',
        'L_SLIDE_WEUNI_URL14'               => 'Internetadresse auf die umgeleitet werden soll wenn auf das 14. Bild geklickt wird',

        'L_SLIDE_WEUNI_IMG15'               => 'Dateiname im FTP Verzeichnis oder externe Internetadresse des 15. Bildes',
        'L_SLIDE_WEUNI_URL15'               => 'Internetadresse auf die umgeleitet werden soll wenn auf das 15. Bild geklickt wird',    
));
?>
For all german users:

Wenn euch die Übersetzung teilweise nicht so gefällt , könnt ihr euch das selbst anpassen. :D

Bye jan

picaron
Registered User
Posts: 38
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [RC] SlideWeUni 1.0.8

Post by picaron » Sun Feb 04, 2018 1:19 am

jan_2017 wrote:
Sun Jan 28, 2018 11:54 am
German Translation :ugeek:
Thanks. Included in v1.0.9
jan_2017 wrote:
Sun Jan 28, 2018 11:54 am
Why i can not upload files? :shock:
Images must be uploaded via FTP or used a external URL.

picaron
Registered User
Posts: 38
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [RC] SlideWeUni 1.0.8

Post by picaron » Sun Feb 04, 2018 1:22 am

jan_2017 wrote:
Sun Jan 28, 2018 8:45 am
Nice :ugeek:

As always very good work.

Big thanks :D
Thanks to you.
jan_2017 wrote:
Sun Jan 28, 2018 8:45 am
A new idea for version 1.09 would be a preview of the images in the ACP.

Also good would be a shift function of the 15 images in the ACP.
Fact.
Included in v1.0.9
;)

User avatar
jan_2017
Registered User
Posts: 124
Joined: Sun May 07, 2017 3:39 pm

Re: [RC] SlideWeUni 1.0.9

Post by jan_2017 » Sun Feb 04, 2018 8:13 am

Hello.

Thank you for version 1.09 ... i will test it :D :D :D
Very good work again :o :)

I meant uploading files to phpbb.com here in a post. :ugeek:
Uploading to my own FTP works great ;)

I will give you feedback.

Bye Jan

EDIT No 1:

Works great.
Overview of all thumbnails is very helpful :D :D :D
If we could now adjust the pictures in the ACP in the order that would be perfect.

very well done! :!:

Bye Jan

EDIT No 2:

For those who want to show more pictures in the header, I have increased this file to a total of 30 pictures.
I use in my forum many banners to present information quickly and easily. That's why I did an increase.

I only change the (german) language file - info_acp_slideweuni.php :!: .
I also edit the german language file too ( translation improvement )

I used this order to unlock the 15 additional pictures:
  • disable the extension SlideWeUni in ACP
  • delete the work data about SlideWeUni in ACP
  • Upload the following four changed files with FTP to ext/Picaron/SlideWeUni/....
  • activate SlideWeUni in ACP again
  • purge cache
  • STRG +F5
release_1_0_9.php in folder ext/Picaron/SlideWeUni/migrations

Code: Select all

<?php
/**
 *
 * Slideshow for Header extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2017 Picaron
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

namespace Picaron\SlideWeUni\migrations;

class release_1_0_9 extends \phpbb\db\migration\migration
{
    static public function depends_on()
    {
        return array(
            '\Picaron\SlideWeUni\migrations\release_1_0_8',
        );
    }

    public function update_data()
    {
        return array(
            array('config.update', array('slide_weuni_version', '1.0.9')),
            array('config.add', array('slide_weuni_cant_img', 30)),
			array('config.add', array('slide_weuni_img16', '')),
            array('config.add', array('slide_weuni_url16', '')),
            array('config.add', array('slide_weuni_img17', '')),
            array('config.add', array('slide_weuni_url17', '')),
            array('config.add', array('slide_weuni_img18', '')),
            array('config.add', array('slide_weuni_url18', '')),
            array('config.add', array('slide_weuni_img19', '')),
            array('config.add', array('slide_weuni_url19', '')),
            array('config.add', array('slide_weuni_img20', '')),
            array('config.add', array('slide_weuni_url20', '')),
	    array('config.add', array('slide_weuni_img21', '')),
            array('config.add', array('slide_weuni_url21', '')),
            array('config.add', array('slide_weuni_img22', '')),
            array('config.add', array('slide_weuni_url22', '')),
            array('config.add', array('slide_weuni_img23', '')),
            array('config.add', array('slide_weuni_url23', '')),
            array('config.add', array('slide_weuni_img24', '')),
            array('config.add', array('slide_weuni_url24', '')),
            array('config.add', array('slide_weuni_img25', '')),
            array('config.add', array('slide_weuni_url25', '')),
	    array('config.add', array('slide_weuni_img26', '')),
            array('config.add', array('slide_weuni_url26', '')),
            array('config.add', array('slide_weuni_img27', '')),
            array('config.add', array('slide_weuni_url27', '')),
            array('config.add', array('slide_weuni_img28', '')),
            array('config.add', array('slide_weuni_url28', '')),
            array('config.add', array('slide_weuni_img29', '')),
            array('config.add', array('slide_weuni_url29', '')),
            array('config.add', array('slide_weuni_img30', '')),
            array('config.add', array('slide_weuni_url30', '')),
        );
    }
}
?>
acp_slideweuni_module.php in folder ext/Picaron/SlideWeUni/acp

Code: Select all

<?php
/**
 *
 * Slideshow for Header extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2017 Picaron
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

namespace Picaron\SlideWeUni\acp;

/**
* @package acp
*/
class acp_slideweuni_module
{
    var $u_action;
    var $new_config = array();

    function main($id, $mode)
    {
        global $config, $request, $user, $phpbb_container, $template, $phpbb_root_path;

        $action = $request->variable('action', '');
        $submit = (isset($_POST['submit'])) ? true : false;

        $form_key = 'acp_slide';
        add_form_key($form_key);
        /**
        *   Validation types are:
        *       string, int, bool,
        *       script_path (absolute path in url - beginning with / and no trailing slash),
        *       rpath (relative), rwpath (realtive, writable), path (relative path, but able to escape the root), wpath (writable)
        */
        $display_vars = array(
            'title' => 'ACP_SLIDE_WEUNI',
            'vars'  => array(
                'legend'                    => 'GENERAL_OPTIONS',
                'slide_weuni_active'        => array('lang' => 'L_SLIDE_WEUNI_ACTIVE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
                'slide_weuni_delay'         => array('lang' => 'L_SLIDE_WEUNI_DELAY', 'validate' => 'int:1000:20000', 'type' => 'number:0:99999', 'explain' => true, 'append' => ' ' . $user->lang('L_UNI_DELAY')),
                'slide_weuni_effect'        => array('lang' => 'L_SLIDE_WEUNI_EFFECT', 'validate' => 'int', 'type' => false, 'method' => false, 'explain' => false),
                'slide_weuni_title'         => array('lang' => 'L_SLIDE_WEUNI_TITLE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
                'slide_weuni_color_tit_f'   => array('lang' => 'L_SLIDE_WEUNI_COLOR_TIT_F', 'validate' => 'string', 'type' => 'text:7:7', 'explain' => true),
                'slide_weuni_color_tit_b'   => array('lang' => 'L_SLIDE_WEUNI_COLOR_TIT_B', 'validate' => 'string', 'type' => 'text:7:7', 'explain' => true),
                'slide_weuni_search'        => array('lang' => 'L_SLIDE_WEUNI_SEARCH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
                'slide_weuni_controls'      => array('lang' => 'L_SLIDE_WEUNI_CONTROLS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
                'slide_weuni_aleatory'      => array('lang' => 'L_SLIDE_WEUNI_ALEATORY', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
                'slide_weuni_cant_img'      => array('lang' => 'L_SLIDE_WEUNI_CANT_IMG', 'validate' => 'int:2:30', 'type' => 'number:2:30', 'explain' => false),
                'legend1'                   => 'ACP_SLIDE_WEUNI_IMAGES',
            )
        );

        // The necessary fields are defined with relation of slide_weuni_cant_img
        for($i=1;$i<=$config['slide_weuni_cant_img'];$i++)
        {
            // IMG
            $display_vars['vars']['slide_weuni_img'.$i]['lang'] = 'L_SLIDE_WEUNI_IMG'.$i;
            $display_vars['vars']['slide_weuni_img'.$i]['validate'] = 'string';
            $display_vars['vars']['slide_weuni_img'.$i]['type'] = 'text:80:255';
            $display_vars['vars']['slide_weuni_img'.$i]['explain'] = false;
            $img_ruta = (substr($config['slide_weuni_img'.$i], 0, 4) == "http") ? null : $phpbb_root_path . 'ext/Picaron/SlideWeUni/images/';
            $display_vars['vars']['slide_weuni_img'.$i]['append'] = '<br /><img src="'.(($config['slide_weuni_img'.$i]) ? $img_ruta . $config['slide_weuni_img'.$i] : '').'" style="max-width: 100%;" title ="'. $img_ruta . $config['slide_weuni_img'.$i] . '" alt="' . $user->lang['L_SLIDE_WEUNI_NO_IMG'] . $i . '"/>';
            // URL
            $display_vars['vars']['slide_weuni_url'.$i]['lang'] = 'L_SLIDE_WEUNI_URL'.$i;
            $display_vars['vars']['slide_weuni_url'.$i]['validate'] = 'string';
            $display_vars['vars']['slide_weuni_url'.$i]['type'] = 'url:80:255';
            $display_vars['vars']['slide_weuni_url'.$i]['explain'] = false;
            $display_vars['vars']['slide_weuni_url'.$i]['append'] = '<br /><br />';
        }

        if (isset($display_vars['lang']))
        {
            $user->add_lang($display_vars['lang']);
        }

        $this->new_config = $config;
        $cfg_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc($request->variable('config', array('' => ''), true)) : $this->new_config;
        $error = array();

        // We validate the complete config if whished
        validate_config_vars($display_vars['vars'], $cfg_array, $error);

        if ($submit && !check_form_key($form_key))
        {
            $error[] = $user->lang['FORM_INVALID'];
        }
        // Do not write values if there is an error
        if (sizeof($error))
        {
            $submit = false;
        }

        // We go through the display_vars to make sure no one is trying to set variables he/she is not allowed to...
        foreach ($display_vars['vars'] as $config_name => $null)
        {
            if (!isset($cfg_array[$config_name]) || strpos($config_name, 'legend') !== false)
            {
                continue;
            }

            $this->new_config[$config_name] = $config_value = $cfg_array[$config_name];

            if ($submit)
            {
                $config->set($config_name, $config_value);

            }
        }

        if ($submit)
        {
            $phpbb_log = $phpbb_container->get('log');
            $phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_CONFIG_' . strtoupper($mode));

            trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
        }

        $this->tpl_name = 'acp_slideweuni';
        $this->page_title = $display_vars['title'];

        $template->assign_vars(array(
            'L_TITLE'                    => $user->lang[$display_vars['title']],
            'L_TITLE_EXPLAIN'            => $user->lang[$display_vars['title'] . '_EXPLAIN'],
            'L_ACP_SLIDE_WEUNI_VERSION'  => $user->lang['ACP_SLIDE_WEUNI_VERSION'],
            'SLIDE_WEUNI_MOD_VERSION'    => isset($config['slide_weuni_version']) ? $config['slide_weuni_version'] : false,
            'S_ERROR'                    => (sizeof($error)) ? true : false,
            'ERROR_MSG'                  => implode('<br />', $error),
            'U_ACTION'                   => $this->u_action)
        );

        // Output relevant page
        foreach ($display_vars['vars'] as $config_key => $vars)
        {
            if (!is_array($vars) && strpos($config_key, 'legend') === false)
            {
                continue;
            }

            if (strpos($config_key, 'legend') !== false)
            {
                $template->assign_block_vars('options', array(
                    'S_LEGEND'      => true,
                    'LEGEND'        => (isset($user->lang[$vars])) ? $user->lang[$vars] : $vars)
                );

                continue;
            }
            $type = explode(':', $vars['type']);

            $l_explain = '';
            if ($vars['explain'] && isset($vars['lang_explain']))
            {
                $l_explain = (isset($user->lang[$vars['lang_explain']])) ? $user->lang[$vars['lang_explain']] : $vars['lang_explain'];
            }
            else if ($vars['explain'])
            {
                $l_explain = (isset($user->lang[$vars['lang'] . '_EXPLAIN'])) ? $user->lang[$vars['lang'] . '_EXPLAIN'] : '';
            }

            $content = build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars);

            if (empty($content))
            {
                continue;
            }

            $template->assign_block_vars('options', array(
                'KEY'           => $config_key,
                'TITLE'         => (isset($user->lang[$vars['lang']])) ? $user->lang[$vars['lang']] : $vars['lang'],
                'S_EXPLAIN'     => $vars['explain'],
                'TITLE_EXPLAIN' => $l_explain,
                'CONTENT'       => $content,
                )
            );

            unset($display_vars['vars'][$config_key]);
        }
    }
}
?>
info_acp_slideweuni.php in folder ext/Picaron/SlideWeUni/language/de

Code: Select all

<?php
/**
 *
 * Slideshow for Header extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2017 Picaron
 * Deutsch translation by jan_2017
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

/**
 * DO NOT CHANGE
 */
if (!defined('IN_PHPBB'))
{
    exit;
}

if (empty($lang) || !is_array($lang))
{
    $lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
        // ACP
        'ACP_SLIDE_WEUNI'                   => 'Wechselnde Bilderpräsentation in der Kopfzeile',
        'ACP_SLIDE_WEUNI_SETTINGS'          => 'Einstellungen',
        'ACP_SLIDE_WEUNI_EXPLAIN'           => 'Empfohlene maximale Bildgröße: 2570px x 465px. <br>FTP Verzeichnis wenn das Bild auf euren Webserver liegt: root/ext/Picaron/SlideWeUni/images/ oder für Bilderadresse mit externer Bildquelle aus dem Internet',
        'ACP_SLIDE_WEUNI_VERSION'           => 'Aktuelle Version der Erweiterung: ',
        'ACP_SLIDE_WEUNI_IMAGES'            => 'Einstellungen zu den Bildern',

        'L_SLIDE_WEUNI_ACTIVE'              => 'Bilderpräsentation aktivieren',
        'L_SLIDE_WEUNI_DELAY'               => 'Verzögerung für den Übergang zwischen den einzelnen Bildern:',
        'L_SLIDE_WEUNI_DELAY_EXPLAIN'       => 'Zeit in Millisekunden. (Minimum: 1000 ms = 1 Sekunde , Maximum: 20000 ms = 20 Sekunden)',
        'L_UNI_DELAY'                       => 'Millisekunden',
        'L_SLIDE_WEUNI_CONTROLS'            => 'Zeige Kontrollvorrichtung an',
        'L_SLIDE_WEUNI_ALEATORY'            => 'Bilder in Zufallsreihenfolge zeigen',
        'L_SLIDE_WEUNI_TITLE'               => 'Zeige Bildtitel und Bildbeschreibung',
        'L_SLIDE_WEUNI_SEARCH'              => 'Zeige Suchfunktion in Kopfzeile an',
        'L_SLIDE_WEUNI_EFFECT'              => 'Übergangseffekte',
        'L_SLIDE_WEUNI_COLOR_TIT_F'         => 'Füllfarbe für Bildtitel und Bildbeschreibung',
        'L_SLIDE_WEUNI_COLOR_TIT_F_EXPLAIN' => '(CSS Farbcode: #ffffff)',
        'L_SLIDE_WEUNI_COLOR_TIT_B'         => 'Randfarbe für Bildtitel und Bildbeschreibung',
        'L_SLIDE_WEUNI_COLOR_TIT_B_EXPLAIN' => '(CSS Farbcode: #000000)',
        'L_SLIDE'                           => 'Gleiteffekt',
        'L_FADE'                            => 'Verwischeffekt',
        'L_SLIDE_WEUNI_CANT_IMG'            => 'Anzahl der zu präsentierenden Bilder',
        'SLIDE_WEUNI_INSTALL_ERROR'         => 'Bilderpräsentation für die Kopfzeile konnte nicht installiert werden. Es wird die phpBB Version 3.2.0 oder aktueller benötigt.',
        'LOG_CONFIG_SLIDE'                  => '<strong>Bearbeitete Erweiterung zur Bildpräsentation in der Kopfzeile</strong>',
        'L_SLIDE_WEUNI_NO_IMG'              => 'Das Bild mit der Nummer konnte nicht gefunden werden: ',

        'L_SLIDE_WEUNI_IMG1'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 1. Bildes',
        'L_SLIDE_WEUNI_URL1'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 1. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG2'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 2. Bildes',
        'L_SLIDE_WEUNI_URL2'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 2. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG3'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 3. Bildes',
        'L_SLIDE_WEUNI_URL3'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 3. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG4'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 4. Bildes',
        'L_SLIDE_WEUNI_URL4'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 4. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG5'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 5. Bildes',
        'L_SLIDE_WEUNI_URL5'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 5. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG6'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 6. Bildes',
        'L_SLIDE_WEUNI_URL6'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 6. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG7'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 7. Bildes',
        'L_SLIDE_WEUNI_URL7'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 7. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG8'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 8. Bildes',
        'L_SLIDE_WEUNI_URL8'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 8. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG9'                => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 9. Bildes',
        'L_SLIDE_WEUNI_URL9'                => 'URL Adresse auf die umgeleitet werden soll wenn auf das 9. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG10'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 10. Bildes',
        'L_SLIDE_WEUNI_URL10'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 10. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG11'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 11. Bildes',
        'L_SLIDE_WEUNI_URL11'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 11. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG12'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 12. Bildes',
        'L_SLIDE_WEUNI_URL12'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 12. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG13'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 13. Bildes',
        'L_SLIDE_WEUNI_URL13'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 13. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG14'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 14. Bildes',
        'L_SLIDE_WEUNI_URL14'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 14. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG15'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 15. Bildes',
        'L_SLIDE_WEUNI_URL15'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 15. Bild geklickt wird (Optional)',
		
        'L_SLIDE_WEUNI_IMG16'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 16. Bildes',
        'L_SLIDE_WEUNI_URL16'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 16. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG17'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 17. Bildes',
        'L_SLIDE_WEUNI_URL17'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 17. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG18'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 18. Bildes',
        'L_SLIDE_WEUNI_URL18'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 18. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG19'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 19. Bildes',
        'L_SLIDE_WEUNI_URL19'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 19. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG20'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 20. Bildes',
        'L_SLIDE_WEUNI_URL20'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 20. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG21'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 21. Bildes',
        'L_SLIDE_WEUNI_URL21'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 21. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG22'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 22. Bildes',
        'L_SLIDE_WEUNI_URL22'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 22. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG23'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 23. Bildes',
        'L_SLIDE_WEUNI_URL23'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 23. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG24'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 24. Bildes',
        'L_SLIDE_WEUNI_URL24'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 24. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG25'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 25. Bildes',
        'L_SLIDE_WEUNI_URL25'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 25. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG26'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 26. Bildes',
        'L_SLIDE_WEUNI_URL26'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 26. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG27'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 27. Bildes',
        'L_SLIDE_WEUNI_URL27'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 27. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG28'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 28. Bildes',
        'L_SLIDE_WEUNI_URL28'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 28. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG29'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 29. Bildes',
        'L_SLIDE_WEUNI_URL29'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 29. Bild geklickt wird (Optional)',

        'L_SLIDE_WEUNI_IMG30'               => 'Bildname im FTP Verzeichnis root/ext/Picaron/SlideWeUni/images oder externe URL Adresse des 30. Bildes',
        'L_SLIDE_WEUNI_URL30'               => 'URL Adresse auf die umgeleitet werden soll wenn auf das 30. Bild geklickt wird (Optional)',
));
?>
listener.php in folder ext/Picaron/SlideWeUni/styles/prosilver/template/event

Code: Select all

<?php
/**
 *
 * Slideshow for Header extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2017 Picaron
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */

namespace Picaron\SlideWeUni\event;

/**
 * Event listener
 */
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

class listener implements EventSubscriberInterface
{
    /** @var \phpbb\user */
    protected $user;

    /** @var \phpbb\template\template */
    protected $template;

    /** @var \phpbb\db\driver\driver_interface */
    protected $db;

    /** @var \phpbb\auth\auth */
    protected $auth;

    /** @var \phpbb\request\request */
    protected $request;

    /** @var string */
    protected $phpbb_root_path;

    /** @var string */
    protected $phpEx;

    /**
    * Constructor
    *
    * @param \phpbb\user                        $user
    * @param \phpbb\template\template           $template
    * @param \phpbb\db\driver\driver_interface  $db
    * @param \phpbb\auth\auth                   $auth
    * @param \phpbb\request\request             $request
    * @param string                             $phpbb_root_path
    * @param string                             $phpEx
    *
    */
    public function __construct(\phpbb\user $user, \phpbb\template\template $template, \phpbb\db\driver\driver_interface $db, \phpbb\auth\auth $auth, \phpbb\request\request $request, $phpbb_root_path, $phpEx)
    {
        $this->user                 = $user;
        $this->template             = $template;
        $this->db                   = $db;
        $this->auth                 = $auth;
        $this->request              = $request;
        $this->phpbb_root_path      = $phpbb_root_path;
        $this->phpEx                = $phpEx;
    }

    /**
     * Assign functions defined in this class to event listeners in the core
     *
     * @return array
     * @static
     * @access public
     */
    static public function getSubscribedEvents()
    {
        return array(
            'core.page_header'                     => 'page_header',
            'core.build_config_template'           => 'build_config_template',
        );
    }

    /**
     * Set SlideShow template data - Execute code and/or overwrite page_header()
     *
     * @return null
     * @access public
     */
    public function page_header()
    {
        global $config;

        if ($config['slide_weuni_active'])
        {
            if ($config['slide_weuni_aleatory'])
            {
                // Random YES
                // Take slide_weuni_cant_img ramdon number
                $valores = array();
                $x = 0;
                $num = $config['slide_weuni_cant_img'];
                while ($x<$num) {
                    $num_aleatorio = rand(1,$num);
                    if (!in_array($num_aleatorio,$valores)) {
                        array_push($valores,$num_aleatorio);
                        $x++;
                    }
                }
            } else {
                // Random NO
                for($i=1;$i<=$config['slide_weuni_cant_img'];$i++)
                {
                    $valores[$i] = $i;
                }
            }

            // By default all variables are false/null
            $img_on = $url_on = $img_in_url = $img_img = $url_img = $url_dest = array();
            for($i=1;$i<=30;$i++)
            {
                $img_on[$i] = $url_on[$i] = $img_in_url[$i] = false;
                $img_img[$i] = $url_img[$i] = '';
                $url_dest[$i] = '_parent';
            }

            // Asign first only vars with any image
            $baner = 1;
            foreach ($valores as $key)
            {
                if($config['slide_weuni_img'.$key] != '')
                {
                    $img_on[$baner] = true;
                    $img_img[$baner] = $config['slide_weuni_img'.$key];
                    $img_in_url[$baner] = (substr($config['slide_weuni_img'.$key], 0, 4) == "http") ? true : false;
                    if($config['slide_weuni_url'.$key] != '')
                    {
                        $url_on[$baner] = true;
                        $url_img[$baner] = $config['slide_weuni_url'.$key];

                        $pos = strpos($config['slide_weuni_url'.$key], $config['server_name']);
                        if ($pos === false) {
                            $url_dest[$baner] = '_blank';
                        }
                    }
                    $baner ++;
                }
            }

            // Any imagen to Show in Slide ??
            if($img_on[1] == false) { $passok = false; } else { $passok = ($config['slide_weuni_active']) ? true : false; }

            // Asign vars to Template
            $this->template->assign_vars(array(
                'S_SLIDE_WEUNI_ACTIVE'      => $passok,
                'S_SLIDE_WEUNI_DELAY'       => $config['slide_weuni_delay'],
                'S_SLIDE_WEUNI_TITLE'       => ($config['slide_weuni_title'] == 1) ?  true : false,
                'S_SLIDE_WEUNI_SEARCH'      => ($config['slide_weuni_search'] == 1) ?  true : false,
                'S_EFFECT'                  => ($config['slide_weuni_effect'] == 1) ? null : ' carousel-fade',
                'S_SLIDE_WEUNI_COLOR_TIT_F' => $config['slide_weuni_color_tit_f'],
                'S_SLIDE_WEUNI_COLOR_TIT_B' => $config['slide_weuni_color_tit_b'],
                'S_SLIDE_WEUNI_CONTROLS'    => ($config['slide_weuni_controls']) ? null : ' hidden',

                'S_SLIDE_WEUNI_IMG1_ON'     => $img_on[1],
                'S_IMAGE_IN_URL1'           => $img_in_url[1],
                'S_SLIDE_WEUNI_IMG1_IMG'    => $img_img[1],
                'S_SLIDE_WEUNI_URL1_ON'     => $url_on[1],
                'S_SLIDE_WEUNI_URL1_IMG'    => $url_img[1],
                'S_SLIDE_WEUNI_URL1_DEST'   => $url_dest[1],

                'S_SLIDE_WEUNI_IMG2_ON'     => $img_on[2],
                'S_IMAGE_IN_URL2'           => $img_in_url[2],
                'S_SLIDE_WEUNI_IMG2_IMG'    => $img_img[2],
                'S_SLIDE_WEUNI_URL2_ON'     => $url_on[2],
                'S_SLIDE_WEUNI_URL2_IMG'    => $url_img[2],
                'S_SLIDE_WEUNI_URL2_DEST'   => $url_dest[2],

                'S_SLIDE_WEUNI_IMG3_ON'     => $img_on[3],
                'S_IMAGE_IN_URL3'           => $img_in_url[3],
                'S_SLIDE_WEUNI_IMG3_IMG'    => $img_img[3],
                'S_SLIDE_WEUNI_URL3_ON'     => $url_on[3],
                'S_SLIDE_WEUNI_URL3_IMG'    => $url_img[3],
                'S_SLIDE_WEUNI_URL3_DEST'   => $url_dest[3],

                'S_SLIDE_WEUNI_IMG4_ON'     => $img_on[4],
                'S_IMAGE_IN_URL4'           => $img_in_url[4],
                'S_SLIDE_WEUNI_IMG4_IMG'    => $img_img[4],
                'S_SLIDE_WEUNI_URL4_ON'     => $url_on[4],
                'S_SLIDE_WEUNI_URL4_IMG'    => $url_img[4],
                'S_SLIDE_WEUNI_URL4_DEST'   => $url_dest[4],

                'S_SLIDE_WEUNI_IMG5_ON'     => $img_on[5],
                'S_IMAGE_IN_URL5'           => $img_in_url[5],
                'S_SLIDE_WEUNI_IMG5_IMG'    => $img_img[5],
                'S_SLIDE_WEUNI_URL5_ON'     => $url_on[5],
                'S_SLIDE_WEUNI_URL5_IMG'    => $url_img[5],
                'S_SLIDE_WEUNI_URL5_DEST'   => $url_dest[5],

                'S_SLIDE_WEUNI_IMG6_ON'     => $img_on[6],
                'S_IMAGE_IN_URL6'           => $img_in_url[6],
                'S_SLIDE_WEUNI_IMG6_IMG'    => $img_img[6],
                'S_SLIDE_WEUNI_URL6_ON'     => $url_on[6],
                'S_SLIDE_WEUNI_URL6_IMG'    => $url_img[6],
                'S_SLIDE_WEUNI_URL6_DEST'   => $url_dest[6],

                'S_SLIDE_WEUNI_IMG7_ON'     => $img_on[7],
                'S_IMAGE_IN_URL7'           => $img_in_url[7],
                'S_SLIDE_WEUNI_IMG7_IMG'    => $img_img[7],
                'S_SLIDE_WEUNI_URL7_ON'     => $url_on[7],
                'S_SLIDE_WEUNI_URL7_IMG'    => $url_img[7],
                'S_SLIDE_WEUNI_URL7_DEST'   => $url_dest[7],

                'S_SLIDE_WEUNI_IMG8_ON'     => $img_on[8],
                'S_IMAGE_IN_URL8'           => $img_in_url[8],
                'S_SLIDE_WEUNI_IMG8_IMG'    => $img_img[8],
                'S_SLIDE_WEUNI_URL8_ON'     => $url_on[8],
                'S_SLIDE_WEUNI_URL8_IMG'    => $url_img[8],
                'S_SLIDE_WEUNI_URL8_DEST'   => $url_dest[8],

                'S_SLIDE_WEUNI_IMG9_ON'     => $img_on[9],
                'S_IMAGE_IN_URL9'           => $img_in_url[9],
                'S_SLIDE_WEUNI_IMG9_IMG'    => $img_img[9],
                'S_SLIDE_WEUNI_URL9_ON'     => $url_on[9],
                'S_SLIDE_WEUNI_URL9_IMG'    => $url_img[9],
                'S_SLIDE_WEUNI_URL9_DEST'   => $url_dest[9],

                'S_SLIDE_WEUNI_IMG10_ON'     => $img_on[10],
                'S_IMAGE_IN_URL10'           => $img_in_url[10],
                'S_SLIDE_WEUNI_IMG10_IMG'    => $img_img[10],
                'S_SLIDE_WEUNI_URL10_ON'     => $url_on[10],
                'S_SLIDE_WEUNI_URL10_IMG'    => $url_img[10],
                'S_SLIDE_WEUNI_URL10_DEST'   => $url_dest[10],

                'S_SLIDE_WEUNI_IMG11_ON'     => $img_on[11],
                'S_IMAGE_IN_URL11'           => $img_in_url[11],
                'S_SLIDE_WEUNI_IMG11_IMG'    => $img_img[11],
                'S_SLIDE_WEUNI_URL11_ON'     => $url_on[11],
                'S_SLIDE_WEUNI_URL11_IMG'    => $url_img[11],
                'S_SLIDE_WEUNI_URL11_DEST'   => $url_dest[11],

                'S_SLIDE_WEUNI_IMG12_ON'     => $img_on[12],
                'S_IMAGE_IN_URL12'           => $img_in_url[12],
                'S_SLIDE_WEUNI_IMG12_IMG'    => $img_img[12],
                'S_SLIDE_WEUNI_URL12_ON'     => $url_on[12],
                'S_SLIDE_WEUNI_URL12_IMG'    => $url_img[12],
                'S_SLIDE_WEUNI_URL12_DEST'   => $url_dest[12],

                'S_SLIDE_WEUNI_IMG13_ON'     => $img_on[13],
                'S_IMAGE_IN_URL13'           => $img_in_url[13],
                'S_SLIDE_WEUNI_IMG13_IMG'    => $img_img[13],
                'S_SLIDE_WEUNI_URL13_ON'     => $url_on[13],
                'S_SLIDE_WEUNI_URL13_IMG'    => $url_img[13],
                'S_SLIDE_WEUNI_URL13_DEST'   => $url_dest[13],

                'S_SLIDE_WEUNI_IMG14_ON'     => $img_on[14],
                'S_IMAGE_IN_URL14'           => $img_in_url[14],
                'S_SLIDE_WEUNI_IMG14_IMG'    => $img_img[14],
                'S_SLIDE_WEUNI_URL14_ON'     => $url_on[14],
                'S_SLIDE_WEUNI_URL14_IMG'    => $url_img[14],
                'S_SLIDE_WEUNI_URL14_DEST'   => $url_dest[14],

                'S_SLIDE_WEUNI_IMG15_ON'     => $img_on[15],
                'S_IMAGE_IN_URL15'           => $img_in_url[15],
                'S_SLIDE_WEUNI_IMG15_IMG'    => $img_img[15],
                'S_SLIDE_WEUNI_URL15_ON'     => $url_on[15],
                'S_SLIDE_WEUNI_URL15_IMG'    => $url_img[15],
                'S_SLIDE_WEUNI_URL15_DEST'   => $url_dest[15],
						
                'S_SLIDE_WEUNI_IMG16_ON'     => $img_on[16],
                'S_IMAGE_IN_URL16'           => $img_in_url[16],
                'S_SLIDE_WEUNI_IMG16_IMG'    => $img_img[16],
                'S_SLIDE_WEUNI_URL16_ON'     => $url_on[16],
                'S_SLIDE_WEUNI_URL16_IMG'    => $url_img[16],
                'S_SLIDE_WEUNI_URL16_DEST'   => $url_dest[16],
				
                'S_SLIDE_WEUNI_IMG17_ON'     => $img_on[17],
                'S_IMAGE_IN_URL17'           => $img_in_url[17],
                'S_SLIDE_WEUNI_IMG17_IMG'    => $img_img[17],
                'S_SLIDE_WEUNI_URL17_ON'     => $url_on[17],
                'S_SLIDE_WEUNI_URL17_IMG'    => $url_img[17],
                'S_SLIDE_WEUNI_URL17_DEST'   => $url_dest[17],
				
                'S_SLIDE_WEUNI_IMG18_ON'     => $img_on[18],
                'S_IMAGE_IN_URL18'           => $img_in_url[18],
                'S_SLIDE_WEUNI_IMG18_IMG'    => $img_img[18],
                'S_SLIDE_WEUNI_URL18_ON'     => $url_on[18],
                'S_SLIDE_WEUNI_URL18_IMG'    => $url_img[18],
                'S_SLIDE_WEUNI_URL18_DEST'   => $url_dest[18],

                'S_SLIDE_WEUNI_IMG19_ON'     => $img_on[19],
                'S_IMAGE_IN_URL19'           => $img_in_url[19],
                'S_SLIDE_WEUNI_IMG19_IMG'    => $img_img[19],
                'S_SLIDE_WEUNI_URL19_ON'     => $url_on[19],
                'S_SLIDE_WEUNI_URL19_IMG'    => $url_img[19],
                'S_SLIDE_WEUNI_URL19_DEST'   => $url_dest[19],

                'S_SLIDE_WEUNI_IMG20_ON'     => $img_on[20],
                'S_IMAGE_IN_URL20'           => $img_in_url[20],
                'S_SLIDE_WEUNI_IMG20_IMG'    => $img_img[20],
                'S_SLIDE_WEUNI_URL20_ON'     => $url_on[20],
                'S_SLIDE_WEUNI_URL20_IMG'    => $url_img[20],
                'S_SLIDE_WEUNI_URL20_DEST'   => $url_dest[20],

                'S_SLIDE_WEUNI_IMG21_ON'     => $img_on[21],
                'S_IMAGE_IN_URL21'           => $img_in_url[21],
                'S_SLIDE_WEUNI_IMG21_IMG'    => $img_img[21],
                'S_SLIDE_WEUNI_URL21_ON'     => $url_on[21],
                'S_SLIDE_WEUNI_URL21_IMG'    => $url_img[21],
                'S_SLIDE_WEUNI_URL21_DEST'   => $url_dest[21],

                'S_SLIDE_WEUNI_IMG22_ON'     => $img_on[22],
                'S_IMAGE_IN_URL22'           => $img_in_url[22],
                'S_SLIDE_WEUNI_IMG22_IMG'    => $img_img[22],
                'S_SLIDE_WEUNI_URL22_ON'     => $url_on[22],
                'S_SLIDE_WEUNI_URL22_IMG'    => $url_img[22],
                'S_SLIDE_WEUNI_URL22_DEST'   => $url_dest[22],

                'S_SLIDE_WEUNI_IMG23_ON'     => $img_on[23],
                'S_IMAGE_IN_URL23'           => $img_in_url[23],
                'S_SLIDE_WEUNI_IMG23_IMG'    => $img_img[23],
                'S_SLIDE_WEUNI_URL23_ON'     => $url_on[23],
                'S_SLIDE_WEUNI_URL23_IMG'    => $url_img[23],
                'S_SLIDE_WEUNI_URL23_DEST'   => $url_dest[23],

                'S_SLIDE_WEUNI_IMG24_ON'     => $img_on[24],
                'S_IMAGE_IN_URL24'           => $img_in_url[24],
                'S_SLIDE_WEUNI_IMG24_IMG'    => $img_img[24],
                'S_SLIDE_WEUNI_URL24_ON'     => $url_on[24],
                'S_SLIDE_WEUNI_URL24_IMG'    => $url_img[24],
                'S_SLIDE_WEUNI_URL24_DEST'   => $url_dest[24],

                'S_SLIDE_WEUNI_IMG25_ON'     => $img_on[25],
                'S_IMAGE_IN_URL25'           => $img_in_url[25],
                'S_SLIDE_WEUNI_IMG25_IMG'    => $img_img[25],
                'S_SLIDE_WEUNI_URL25_ON'     => $url_on[25],
                'S_SLIDE_WEUNI_URL25_IMG'    => $url_img[25],
                'S_SLIDE_WEUNI_URL25_DEST'   => $url_dest[25],

                'S_SLIDE_WEUNI_IMG26_ON'     => $img_on[26],
                'S_IMAGE_IN_URL26'           => $img_in_url[26],
                'S_SLIDE_WEUNI_IM26_IMG'    => $img_img[26],
                'S_SLIDE_WEUNI_URL26_ON'     => $url_on[26],
                'S_SLIDE_WEUNI_URL26_IMG'    => $url_img[26],
                'S_SLIDE_WEUNI_URL26_DEST'   => $url_dest[26],

                'S_SLIDE_WEUNI_IMG27_ON'     => $img_on[27],
                'S_IMAGE_IN_URL27'           => $img_in_url[27],
                'S_SLIDE_WEUNI_IMG27_IMG'    => $img_img[27],
                'S_SLIDE_WEUNI_URL27_ON'     => $url_on[27],
                'S_SLIDE_WEUNI_URL27_IMG'    => $url_img[27],
                'S_SLIDE_WEUNI_URL27_DEST'   => $url_dest[27],

                'S_SLIDE_WEUNI_IMG28_ON'     => $img_on[28],
                'S_IMAGE_IN_URL28'           => $img_in_url[28],
                'S_SLIDE_WEUNI_IMG28_IMG'    => $img_img[28],
                'S_SLIDE_WEUNI_URL28_ON'     => $url_on[28],
                'S_SLIDE_WEUNI_URL28_IMG'    => $url_img[28],
                'S_SLIDE_WEUNI_URL28_DEST'   => $url_dest[28],

                'S_SLIDE_WEUNI_IMG29_ON'     => $img_on[29],
                'S_IMAGE_IN_URL29'           => $img_in_url[29],
                'S_SLIDE_WEUNI_IMG29_IMG'    => $img_img[29],
                'S_SLIDE_WEUNI_URL29_ON'     => $url_on[29],
                'S_SLIDE_WEUNI_URL29_IMG'    => $url_img[29],
                'S_SLIDE_WEUNI_URL29_DEST'   => $url_dest[29],

                'S_SLIDE_WEUNI_IMG30_ON'     => $img_on[30],
                'S_IMAGE_IN_URL30'           => $img_in_url[30],
                'S_SLIDE_WEUNI_IMG30_IMG'    => $img_img[30],
                'S_SLIDE_WEUNI_URL30_ON'     => $url_on[30],
                'S_SLIDE_WEUNI_URL30_IMG'    => $url_img[30],
                'S_SLIDE_WEUNI_URL30_DEST'   => $url_dest[30],				
            ));
        }
    }

    /**
    * ACP fonction : Select type for Search Back
    *
    * @param object $event The event object
    *
    * @return null
    * @access public
    */
    public function build_config_template($event)
    {
        if ($event['key'] == 'slide_weuni_effect')
        {
            global $config;
            $event['tpl'] = '<select id="slide_weuni_effect" name="config[slide_weuni_effect]"><option value="1"' . (($config['slide_weuni_effect'] == 1) ? ' selected="selected"' : '') . '>' . $this->user->lang['L_SLIDE'] . '</option><option value="2"' . (($config['slide_weuni_effect'] == 2) ? ' selected="selected"' : '') . '>' . $this->user->lang['L_FADE'] . '</option></select>';
        }
    }
}
?>
overall_header_navbar_before.html in folder ext/Picaron/SlideWeUni/styles/prosilver/template/event

Code: Select all

<!-- IF S_SLIDE_WEUNI_ACTIVE -->

        <div class="slideweuni-headerbar" role="banner">
            <div class="inner">

                <!-- Carousel -->
                <div id="main-slider" class="carousel slide{S_EFFECT}" data-ride="carousel" data-interval="{S_SLIDE_WEUNI_DELAY}" data-pause="hover">
                    <ol class="carousel-indicators{S_SLIDE_WEUNI_CONTROLS}">
                        <!-- IF S_SLIDE_WEUNI_IMG1_ON --><li data-target="#main-slider" data-slide-to="0" class="active"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG2_ON --><li data-target="#main-slider" data-slide-to="1"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG3_ON --><li data-target="#main-slider" data-slide-to="2"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG4_ON --><li data-target="#main-slider" data-slide-to="3"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG5_ON --><li data-target="#main-slider" data-slide-to="4"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG6_ON --><li data-target="#main-slider" data-slide-to="5"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG7_ON --><li data-target="#main-slider" data-slide-to="6"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG8_ON --><li data-target="#main-slider" data-slide-to="7"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG9_ON --><li data-target="#main-slider" data-slide-to="8"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG10_ON --><li data-target="#main-slider" data-slide-to="9"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG11_ON --><li data-target="#main-slider" data-slide-to="10"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG12_ON --><li data-target="#main-slider" data-slide-to="11"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG13_ON --><li data-target="#main-slider" data-slide-to="12"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG14_ON --><li data-target="#main-slider" data-slide-to="13"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG15_ON --><li data-target="#main-slider" data-slide-to="14"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG16_ON --><li data-target="#main-slider" data-slide-to="15"></li><!-- ENDIF -->
                        <!-- IF S_SLIDE_WEUNI_IMG17_ON --><li data-target="#main-slider" data-slide-to="16"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG18_ON --><li data-target="#main-slider" data-slide-to="17"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG19_ON --><li data-target="#main-slider" data-slide-to="18"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG20_ON --><li data-target="#main-slider" data-slide-to="19"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG21_ON --><li data-target="#main-slider" data-slide-to="20"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG22_ON --><li data-target="#main-slider" data-slide-to="21"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG23_ON --><li data-target="#main-slider" data-slide-to="22"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG24_ON --><li data-target="#main-slider" data-slide-to="23"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG25_ON --><li data-target="#main-slider" data-slide-to="24"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG26_ON --><li data-target="#main-slider" data-slide-to="25"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG27_ON --><li data-target="#main-slider" data-slide-to="26"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG28_ON --><li data-target="#main-slider" data-slide-to="27"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG29_ON --><li data-target="#main-slider" data-slide-to="28"></li><!-- ENDIF -->
						<!-- IF S_SLIDE_WEUNI_IMG30_ON --><li data-target="#main-slider" data-slide-to="29"></li><!-- ENDIF -->
						
                    </ol>
                        <div class="carousel-inner">

                        <!-- IF S_SLIDE_WEUNI_IMG1_ON -->
                            <div class="item active">
                                <!-- IF S_SLIDE_WEUNI_URL1_ON --><a href="{S_SLIDE_WEUNI_URL1_IMG}" target="{S_SLIDE_WEUNI_URL1_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL1 -->src="{S_SLIDE_WEUNI_IMG1_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG1_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL1_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 1-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG2_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL2_ON --><a href="{S_SLIDE_WEUNI_URL2_IMG}" target="{S_SLIDE_WEUNI_URL2_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL2 -->src="{S_SLIDE_WEUNI_IMG2_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG2_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL2_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 2-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG3_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL3_ON --><a href="{S_SLIDE_WEUNI_URL3_IMG}" target="{S_SLIDE_WEUNI_URL3_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL3 -->src="{S_SLIDE_WEUNI_IMG3_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG3_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL3_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 3-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG4_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL4_ON --><a href="{S_SLIDE_WEUNI_URL4_IMG}" target="{S_SLIDE_WEUNI_URL4_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL4 -->src="{S_SLIDE_WEUNI_IMG4_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG4_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL4_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 4-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG5_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL5_ON --><a href="{S_SLIDE_WEUNI_URL5_IMG}" target="{S_SLIDE_WEUNI_URL5_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL5 -->src="{S_SLIDE_WEUNI_IMG5_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG5_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL5_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 5-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG6_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL6_ON --><a href="{S_SLIDE_WEUNI_URL6_IMG}" target="{S_SLIDE_WEUNI_URL6_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL6 -->src="{S_SLIDE_WEUNI_IMG6_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG6_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL6_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 6-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG7_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL7_ON --><a href="{S_SLIDE_WEUNI_URL7_IMG}" target="{S_SLIDE_WEUNI_URL7_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL7 -->src="{S_SLIDE_WEUNI_IMG7_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG7_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL7_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 7-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG8_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL8_ON --><a href="{S_SLIDE_WEUNI_URL8_IMG}" target="{S_SLIDE_WEUNI_URL8_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL8 -->src="{S_SLIDE_WEUNI_IMG8_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG8_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL8_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 8-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG9_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL9_ON --><a href="{S_SLIDE_WEUNI_URL9_IMG}" target="{S_SLIDE_WEUNI_URL9_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL9 -->src="{S_SLIDE_WEUNI_IMG9_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG9_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL9_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 9-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG10_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL10_ON --><a href="{S_SLIDE_WEUNI_URL10_IMG}" target="{S_SLIDE_WEUNI_URL10_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL10 -->src="{S_SLIDE_WEUNI_IMG10_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG10_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL10_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 10-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG11_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL11_ON --><a href="{S_SLIDE_WEUNI_URL11_IMG}" target="{S_SLIDE_WEUNI_URL11_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL11 -->src="{S_SLIDE_WEUNI_IMG11_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG11_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL11_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 11-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG12_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL12_ON --><a href="{S_SLIDE_WEUNI_URL12_IMG}" target="{S_SLIDE_WEUNI_URL12_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL12 -->src="{S_SLIDE_WEUNI_IMG12_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG12_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL12_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 12-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG13_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL13_ON --><a href="{S_SLIDE_WEUNI_URL13_IMG}" target="{S_SLIDE_WEUNI_URL13_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL13 -->src="{S_SLIDE_WEUNI_IMG13_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG13_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL13_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 13-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG14_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL14_ON --><a href="{S_SLIDE_WEUNI_URL14_IMG}" target="{S_SLIDE_WEUNI_URL14_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL14 -->src="{S_SLIDE_WEUNI_IMG14_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG14_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL14_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 14-->
                        <!-- ENDIF -->

                        <!-- IF S_SLIDE_WEUNI_IMG15_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL15_ON --><a href="{S_SLIDE_WEUNI_URL15_IMG}" target="{S_SLIDE_WEUNI_URL15_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL15 -->src="{S_SLIDE_WEUNI_IMG15_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG15_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL15_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 15-->
                        <!-- ENDIF -->
						
                        <!-- IF S_SLIDE_WEUNI_IMG16_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL16_ON --><a href="{S_SLIDE_WEUNI_URL16_IMG}" target="{S_SLIDE_WEUNI_URL16_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL16 -->src="{S_SLIDE_WEUNI_IMG16_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG16_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL16_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 16-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG17_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL17_ON --><a href="{S_SLIDE_WEUNI_URL17_IMG}" target="{S_SLIDE_WEUNI_URL17_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL17 -->src="{S_SLIDE_WEUNI_IMG17_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG17_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL17_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 17-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG18_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL18_ON --><a href="{S_SLIDE_WEUNI_URL18_IMG}" target="{S_SLIDE_WEUNI_URL18_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL18 -->src="{S_SLIDE_WEUNI_IMG18_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG18_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL18_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 18-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG19_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL19_ON --><a href="{S_SLIDE_WEUNI_URL19_IMG}" target="{S_SLIDE_WEUNI_URL19_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL19 -->src="{S_SLIDE_WEUNI_IMG19_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG19_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL19_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 19-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG20_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL20_ON --><a href="{S_SLIDE_WEUNI_URL20_IMG}" target="{S_SLIDE_WEUNI_URL20_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL20 -->src="{S_SLIDE_WEUNI_IMG20_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG20_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL20_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 20-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG21_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL21_ON --><a href="{S_SLIDE_WEUNI_URL21_IMG}" target="{S_SLIDE_WEUNI_URL21_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL21 -->src="{S_SLIDE_WEUNI_IMG21_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG21_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL21_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 21-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG22_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL22_ON --><a href="{S_SLIDE_WEUNI_URL22_IMG}" target="{S_SLIDE_WEUNI_URL22_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL22 -->src="{S_SLIDE_WEUNI_IMG22_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG22_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL22_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 22-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG23_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL23_ON --><a href="{S_SLIDE_WEUNI_URL23_IMG}" target="{S_SLIDE_WEUNI_URL23_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL23 -->src="{S_SLIDE_WEUNI_IMG23_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG23_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL23_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 23-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG24_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL24_ON --><a href="{S_SLIDE_WEUNI_URL24_IMG}" target="{S_SLIDE_WEUNI_URL24_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL24 -->src="{S_SLIDE_WEUNI_IMG24_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG24_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL24_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 24-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG25_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL25_ON --><a href="{S_SLIDE_WEUNI_URL25_IMG}" target="{S_SLIDE_WEUNI_URL25_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL25 -->src="{S_SLIDE_WEUNI_IMG25_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG25_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL25_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 25-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG26_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL26_ON --><a href="{S_SLIDE_WEUNI_URL26_IMG}" target="{S_SLIDE_WEUNI_URL26_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL26 -->src="{S_SLIDE_WEUNI_IMG26_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG26_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL26_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 26-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG27_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL27_ON --><a href="{S_SLIDE_WEUNI_URL27_IMG}" target="{S_SLIDE_WEUNI_URL27_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL27 -->src="{S_SLIDE_WEUNI_IMG27_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG27_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL27_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 27-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG28_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL28_ON --><a href="{S_SLIDE_WEUNI_URL28_IMG}" target="{S_SLIDE_WEUNI_URL28_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL28 -->src="{S_SLIDE_WEUNI_IMG28_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG28_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL28_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 28-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG29_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL29_ON --><a href="{S_SLIDE_WEUNI_URL29_IMG}" target="{S_SLIDE_WEUNI_URL29_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL29 -->src="{S_SLIDE_WEUNI_IMG29_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG29_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL29_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 29-->
                        <!-- ENDIF -->
						
						<!-- IF S_SLIDE_WEUNI_IMG30_ON -->
                            <div class="item">
                                <!-- IF S_SLIDE_WEUNI_URL30_ON --><a href="{S_SLIDE_WEUNI_URL30_IMG}" target="{S_SLIDE_WEUNI_URL30_DEST}"><!-- ENDIF -->
                                    <img <!-- IF S_IMAGE_IN_URL30 -->src="{S_SLIDE_WEUNI_IMG30_IMG}"<!-- ELSE -->src="{ROOT_PATH}ext/Picaron/SlideWeUni/images/{S_SLIDE_WEUNI_IMG30_IMG}"<!-- ENDIF --> style="margin: auto;" />
                                <!-- IF S_SLIDE_WEUNI_URL30_ON --></a><!-- ENDIF -->
                            </div>
                            <!--/.item 30-->
                        <!-- ENDIF -->

                        </div>
                        <!--/.carousel-inner-->
                    <!-- Carousel controls -->
                    <a class="left carousel-control" href="#main-slider" data-slide="prev">
                        <span class="glyphicon glyphicon-chevron-left"></span>
                    </a>
                    <a class="right carousel-control" href="#main-slider" data-slide="next">
                        <span class="glyphicon glyphicon-chevron-right"></span>
                    </a>
                </div>
                <!--/#Carousel main-slider-->

                <!-- EVENT overall_header_searchbox_before -->
                <!-- IF S_SLIDE_WEUNI_SEARCH -->
                    <!-- IF S_DISPLAY_SEARCH -->
                    <style type="text/css">
                        #search-box { display: none; }
                    </style>
                    <div id="search-box-we" class="search-box search-header" role="search">
                        <form action="{U_SEARCH}" method="get" id="search">
                        <fieldset>
                            <input name="keywords" id="keywords" type="search" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" size="20" value="{SEARCH_WORDS}" placeholder="{L_SEARCH_MINI}" />
                            <button class="button button-search" type="submit" title="{L_SEARCH}">
                                <i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
                            </button>
                            <a href="{U_SEARCH}" class="button button-search-end" title="{L_SEARCH_ADV}">
                                <i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH_ADV}</span>
                            </a>
                            {S_SEARCH_HIDDEN_FIELDS}
                        </fieldset>
                        </form>
                    </div>
                    <!-- ENDIF -->
                <!-- ENDIF -->
                <!-- EVENT overall_header_searchbox_after -->

                <!-- IF S_SLIDE_WEUNI_TITLE -->
                    <div class="slideweuni-dashboard">
                        <div class="inventea-sitename">
                            <a href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"><span class="text-border" style="-webkit-text-fill-color: {S_SLIDE_WEUNI_COLOR_TIT_F}; -webkit-text-stroke-color: {S_SLIDE_WEUNI_COLOR_TIT_B};">{SITENAME}</span></a><br />
                            <a href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"><span class="text-border-small" style="-webkit-text-fill-color: {S_SLIDE_WEUNI_COLOR_TIT_F}; -webkit-text-stroke-color: {S_SLIDE_WEUNI_COLOR_TIT_B};">{SITE_DESCRIPTION}</span></a>
                        </div>
                    </div>
                <!-- ENDIF -->

            </div>
        </div>

<!-- ENDIF -->

EDIT No 4:

All 30 Pictures filled - works great!!!!

:-D

picaron
Registered User
Posts: 38
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [RC] SlideWeUni 1.1.0

Post by picaron » Mon Feb 19, 2018 2:19 am

jan_2017 wrote:
Sun Feb 04, 2018 8:13 am
EDIT No 4:

All 30 Pictures filled - works great!!!!

:-D
Hello.

Good work jan_2017 !!!

But now, it's possible 60 pictures in the v1.1.0 ;)

Greetings.

Bermudez
Registered User
Posts: 81
Joined: Mon Aug 15, 2011 11:56 pm
Location: Spain
Name: Juan Antonio
Contact:

Re: [RC] SlideWeUni 1.1.0

Post by Bermudez » Mon Feb 19, 2018 12:57 pm

Good work! Image

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: gossipgarden and 6 guests