Initial commit
This commit is contained in:
		
							
								
								
									
										27
									
								
								content/lib/plugins/styling/README
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								content/lib/plugins/styling/README
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
styling Plugin for DokuWiki
 | 
			
		||||
 | 
			
		||||
Allows to edit style.ini replacements
 | 
			
		||||
 | 
			
		||||
All documentation for this plugin can be found at
 | 
			
		||||
https://www.dokuwiki.org/plugin:styling
 | 
			
		||||
 | 
			
		||||
If you install this plugin manually, make sure it is installed in
 | 
			
		||||
lib/plugins/styling/ - if the folder is called different it
 | 
			
		||||
will not work!
 | 
			
		||||
 | 
			
		||||
Please refer to http://www.dokuwiki.org/plugins for additional info
 | 
			
		||||
on how to install plugins in DokuWiki.
 | 
			
		||||
 | 
			
		||||
----
 | 
			
		||||
Copyright (C) Andreas Gohr <andi@splitbrain.org>
 | 
			
		||||
 | 
			
		||||
This program is free software; you can redistribute it and/or modify
 | 
			
		||||
it under the terms of the GNU General Public License as published by
 | 
			
		||||
the Free Software Foundation; version 2 of the License
 | 
			
		||||
 | 
			
		||||
This program is distributed in the hope that it will be useful,
 | 
			
		||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
GNU General Public License for more details.
 | 
			
		||||
 | 
			
		||||
See the COPYING file in your DokuWiki folder for details
 | 
			
		||||
							
								
								
									
										51
									
								
								content/lib/plugins/styling/action.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								content/lib/plugins/styling/action.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,51 @@
 | 
			
		||||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * DokuWiki Plugin styling (Action Component)
 | 
			
		||||
 *
 | 
			
		||||
 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
 | 
			
		||||
 * @author  Andreas Gohr <andi@splitbrain.org>
 | 
			
		||||
 */
 | 
			
		||||
class action_plugin_styling extends DokuWiki_Action_Plugin
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Registers a callback functions
 | 
			
		||||
     *
 | 
			
		||||
     * @param Doku_Event_Handler $controller DokuWiki's event controller object
 | 
			
		||||
     * @return void
 | 
			
		||||
     */
 | 
			
		||||
    public function register(Doku_Event_Handler $controller)
 | 
			
		||||
    {
 | 
			
		||||
        $controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE', $this, 'handleHeader');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Adds the preview parameter to the stylesheet loading in non-js mode
 | 
			
		||||
     *
 | 
			
		||||
     * @param Doku_Event $event  event object by reference
 | 
			
		||||
     * @param mixed      $param  [the parameters passed as fifth argument to register_hook() when this
 | 
			
		||||
     *                           handler was registered]
 | 
			
		||||
     * @return void
 | 
			
		||||
     */
 | 
			
		||||
    public function handleHeader(Doku_Event &$event, $param)
 | 
			
		||||
    {
 | 
			
		||||
        global $ACT;
 | 
			
		||||
        global $INPUT;
 | 
			
		||||
        if ($ACT != 'admin' || $INPUT->str('page') != 'styling') return;
 | 
			
		||||
        /** @var admin_plugin_styling $admin */
 | 
			
		||||
        $admin = plugin_load('admin', 'styling');
 | 
			
		||||
        if (!$admin->isAccessibleByCurrentUser()) return;
 | 
			
		||||
 | 
			
		||||
        // set preview
 | 
			
		||||
        $len = count($event->data['link']);
 | 
			
		||||
        for ($i = 0; $i < $len; $i++) {
 | 
			
		||||
            if ($event->data['link'][$i]['rel'] == 'stylesheet' &&
 | 
			
		||||
                strpos($event->data['link'][$i]['href'], 'lib/exe/css.php') !== false
 | 
			
		||||
            ) {
 | 
			
		||||
                $event->data['link'][$i]['href'] .= '&preview=1&tseed='.time();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// vim:ts=4:sw=4:et:
 | 
			
		||||
							
								
								
									
										224
									
								
								content/lib/plugins/styling/admin.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										224
									
								
								content/lib/plugins/styling/admin.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,224 @@
 | 
			
		||||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * DokuWiki Plugin styling (Admin Component)
 | 
			
		||||
 *
 | 
			
		||||
 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
 | 
			
		||||
 * @author  Andreas Gohr <andi@splitbrain.org>
 | 
			
		||||
 */
 | 
			
		||||
class admin_plugin_styling extends DokuWiki_Admin_Plugin
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
    public $ispopup = false;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @return int sort number in admin menu
 | 
			
		||||
     */
 | 
			
		||||
    public function getMenuSort()
 | 
			
		||||
    {
 | 
			
		||||
        return 1000;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @return bool true if only access for superuser, false is for superusers and moderators
 | 
			
		||||
     */
 | 
			
		||||
    public function forAdminOnly()
 | 
			
		||||
    {
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * handle the different actions (also called from ajax)
 | 
			
		||||
     */
 | 
			
		||||
    public function handle()
 | 
			
		||||
    {
 | 
			
		||||
        global $INPUT;
 | 
			
		||||
        $run = $INPUT->extract('run')->str('run');
 | 
			
		||||
        if (!$run) return;
 | 
			
		||||
        $run = 'run'.ucfirst($run);
 | 
			
		||||
        $this->$run();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Render HTML output, e.g. helpful text and a form
 | 
			
		||||
     */
 | 
			
		||||
    public function html()
 | 
			
		||||
    {
 | 
			
		||||
        $class = 'nopopup';
 | 
			
		||||
        if ($this->ispopup) $class = 'ispopup page';
 | 
			
		||||
 | 
			
		||||
        echo '<div id="plugin__styling" class="'.$class.'">';
 | 
			
		||||
        ptln('<h1>'.$this->getLang('menu').'</h1>');
 | 
			
		||||
        $this->form();
 | 
			
		||||
        echo '</div>';
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create the actual editing form
 | 
			
		||||
     */
 | 
			
		||||
    public function form()
 | 
			
		||||
    {
 | 
			
		||||
        global $conf;
 | 
			
		||||
        global $ID;
 | 
			
		||||
 | 
			
		||||
        $styleUtil = new \dokuwiki\StyleUtils($conf['template'], true, true);
 | 
			
		||||
        $styleini     = $styleUtil->cssStyleini();
 | 
			
		||||
        $replacements = $styleini['replacements'];
 | 
			
		||||
 | 
			
		||||
        if ($this->ispopup) {
 | 
			
		||||
            $target = DOKU_BASE.'lib/plugins/styling/popup.php';
 | 
			
		||||
        } else {
 | 
			
		||||
            $target = wl($ID, array('do' => 'admin', 'page' => 'styling'));
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (empty($replacements)) {
 | 
			
		||||
            echo '<p class="error">'.$this->getLang('error').'</p>';
 | 
			
		||||
        } else {
 | 
			
		||||
            echo $this->locale_xhtml('intro');
 | 
			
		||||
 | 
			
		||||
            echo '<form class="styling" method="post" action="'.$target.'">';
 | 
			
		||||
 | 
			
		||||
            echo '<table><tbody>';
 | 
			
		||||
            foreach ($replacements as $key => $value) {
 | 
			
		||||
                $name = tpl_getLang($key);
 | 
			
		||||
                if (empty($name)) $name = $this->getLang($key);
 | 
			
		||||
                if (empty($name)) $name = $key;
 | 
			
		||||
 | 
			
		||||
                echo '<tr>';
 | 
			
		||||
                echo '<td><label for="tpl__'.hsc($key).'">'.$name.'</label></td>';
 | 
			
		||||
                echo '<td><input type="'.$this->colorType($value).'" name="tpl['.hsc($key).']" id="tpl__'.hsc($key).'"
 | 
			
		||||
                    value="'.hsc($this->colorValue($value)).'" dir="ltr" /></td>';
 | 
			
		||||
                echo '</tr>';
 | 
			
		||||
            }
 | 
			
		||||
            echo '</tbody></table>';
 | 
			
		||||
 | 
			
		||||
            echo '<p>';
 | 
			
		||||
            echo '<button type="submit" name="run[preview]" class="btn_preview primary">'.
 | 
			
		||||
                $this->getLang('btn_preview').'</button> ';
 | 
			
		||||
            #FIXME only if preview.ini exists:
 | 
			
		||||
            echo '<button type="submit" name="run[reset]">'.$this->getLang('btn_reset').'</button>';
 | 
			
		||||
            echo '</p>';
 | 
			
		||||
 | 
			
		||||
            echo '<p>';
 | 
			
		||||
            echo '<button type="submit" name="run[save]" class="primary">'.$this->getLang('btn_save').'</button>';
 | 
			
		||||
            echo '</p>';
 | 
			
		||||
 | 
			
		||||
            echo '<p>';
 | 
			
		||||
            #FIXME only if local.ini exists:
 | 
			
		||||
            echo '<button type="submit" name="run[revert]">'.$this->getLang('btn_revert').'</button>';
 | 
			
		||||
            echo '</p>';
 | 
			
		||||
 | 
			
		||||
            echo '</form>';
 | 
			
		||||
 | 
			
		||||
            echo tpl_locale_xhtml('style');
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Adjust three char color codes to the 6 char one supported by browser's color input
 | 
			
		||||
     *
 | 
			
		||||
     * @param string $value
 | 
			
		||||
     * @return string
 | 
			
		||||
     */
 | 
			
		||||
    protected function colorValue($value)
 | 
			
		||||
    {
 | 
			
		||||
        if (preg_match('/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/', $value, $match)) {
 | 
			
		||||
            return '#' . $match[1] . $match[1] . $match[2] . $match[2] . $match[3] . $match[3];
 | 
			
		||||
        }
 | 
			
		||||
        return $value;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Decide the input type based on the value
 | 
			
		||||
     *
 | 
			
		||||
     * @param string $value
 | 
			
		||||
     * @return string color|text
 | 
			
		||||
     */
 | 
			
		||||
    protected function colorType($value)
 | 
			
		||||
    {
 | 
			
		||||
        if (preg_match('/^#([0-9a-fA-F]{3}){1,2}$/', $value)) {
 | 
			
		||||
            return 'color';
 | 
			
		||||
        } else {
 | 
			
		||||
            return 'text';
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * saves the preview.ini (alos called from ajax directly)
 | 
			
		||||
     */
 | 
			
		||||
    public function runPreview()
 | 
			
		||||
    {
 | 
			
		||||
        global $conf;
 | 
			
		||||
        $ini = $conf['cachedir'].'/preview.ini';
 | 
			
		||||
        io_saveFile($ini, $this->makeini());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * deletes the preview.ini
 | 
			
		||||
     */
 | 
			
		||||
    protected function runReset()
 | 
			
		||||
    {
 | 
			
		||||
        global $conf;
 | 
			
		||||
        $ini = $conf['cachedir'].'/preview.ini';
 | 
			
		||||
        io_saveFile($ini, '');
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * deletes the local style.ini replacements
 | 
			
		||||
     */
 | 
			
		||||
    protected function runRevert()
 | 
			
		||||
    {
 | 
			
		||||
        $this->replaceIni('');
 | 
			
		||||
        $this->runReset();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * save the local style.ini replacements
 | 
			
		||||
     */
 | 
			
		||||
    protected function runSave()
 | 
			
		||||
    {
 | 
			
		||||
        $this->replaceIni($this->makeini());
 | 
			
		||||
        $this->runReset();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * create the replacement part of a style.ini from submitted data
 | 
			
		||||
     *
 | 
			
		||||
     * @return string
 | 
			
		||||
     */
 | 
			
		||||
    protected function makeini()
 | 
			
		||||
    {
 | 
			
		||||
        global $INPUT;
 | 
			
		||||
 | 
			
		||||
        $ini = "[replacements]\n";
 | 
			
		||||
        $ini .= ";These overwrites have been generated from the Template styling Admin interface\n";
 | 
			
		||||
        $ini .= ";Any values in this section will be overwritten by that tool again\n";
 | 
			
		||||
        foreach ($INPUT->arr('tpl') as $key => $val) {
 | 
			
		||||
            $ini .= $key.' = "'.addslashes($val).'"'."\n";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return $ini;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * replaces the replacement parts in the local ini
 | 
			
		||||
     *
 | 
			
		||||
     * @param string $new the new ini contents
 | 
			
		||||
     */
 | 
			
		||||
    protected function replaceIni($new)
 | 
			
		||||
    {
 | 
			
		||||
        global $conf;
 | 
			
		||||
        $ini = DOKU_CONF."tpl/".$conf['template']."/style.ini";
 | 
			
		||||
        if (file_exists($ini)) {
 | 
			
		||||
            $old = io_readFile($ini);
 | 
			
		||||
            $old = preg_replace('/\[replacements\]\n.*?(\n\[.*]|$)/s', '\\1', $old);
 | 
			
		||||
            $old = trim($old);
 | 
			
		||||
        } else {
 | 
			
		||||
            $old = '';
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        io_makeFileDir($ini);
 | 
			
		||||
        io_saveFile($ini, "$old\n\n$new");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// vim:ts=4:sw=4:et:
 | 
			
		||||
							
								
								
									
										1
									
								
								content/lib/plugins/styling/admin.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								content/lib/plugins/styling/admin.svg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 0 1-1.5-1.5A1.5 1.5 0 0 1 17.5 9a1.5 1.5 0 0 1 1.5 1.5 1.5 1.5 0 0 1-1.5 1.5m-3-4A1.5 1.5 0 0 1 13 6.5 1.5 1.5 0 0 1 14.5 5 1.5 1.5 0 0 1 16 6.5 1.5 1.5 0 0 1 14.5 8m-5 0A1.5 1.5 0 0 1 8 6.5 1.5 1.5 0 0 1 9.5 5 1.5 1.5 0 0 1 11 6.5 1.5 1.5 0 0 1 9.5 8m-3 4A1.5 1.5 0 0 1 5 10.5 1.5 1.5 0 0 1 6.5 9 1.5 1.5 0 0 1 8 10.5 1.5 1.5 0 0 1 6.5 12M12 3a9 9 0 0 0-9 9 9 9 0 0 0 9 9 1.5 1.5 0 0 0 1.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 0 1 1.5-1.5H16a5 5 0 0 0 5-5c0-4.42-4.03-8-9-8z"/></svg>
 | 
			
		||||
| 
		 After Width: | Height: | Size: 614 B  | 
							
								
								
									
										21
									
								
								content/lib/plugins/styling/lang/bg/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								content/lib/plugins/styling/lang/bg/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Kiril <neohidra@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Настройки на стила на шаблона';
 | 
			
		||||
$lang['error']                 = 'За съжаление шаблона не поддържа тази функционалност.';
 | 
			
		||||
$lang['btn_preview']           = 'Преглед на промените';
 | 
			
		||||
$lang['btn_save']              = 'Запис на промените';
 | 
			
		||||
$lang['btn_reset']             = 'Анулиране на промените';
 | 
			
		||||
$lang['btn_revert']            = 'Връщане на стила към стандартните стойности';
 | 
			
		||||
$lang['__text__']              = 'Цвят на основния текст';
 | 
			
		||||
$lang['__background__']        = 'Цвят на основния фон';
 | 
			
		||||
$lang['__text_alt__']          = 'Алтернативен цвят за текста';
 | 
			
		||||
$lang['__background_alt__']    = 'Алтернативен цвят за фона';
 | 
			
		||||
$lang['__text_neu__']          = 'Неутрален цвят за текста';
 | 
			
		||||
$lang['__background_neu__']    = 'Неутрален цвят за фона';
 | 
			
		||||
$lang['__border__']            = 'Цвят на рамката';
 | 
			
		||||
$lang['__highlight__']         = 'Цвят за отличаване (основно на резултата от търсения)';
 | 
			
		||||
							
								
								
									
										18
									
								
								content/lib/plugins/styling/lang/ca/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								content/lib/plugins/styling/lang/ca/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Adolfo Jayme Barrientos <fito@libreoffice.org>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Paràmetres d’estil de la plantilla';
 | 
			
		||||
$lang['error']                 = 'Aquesta plantilla no admet aquesta funcionalitat.';
 | 
			
		||||
$lang['btn_preview']           = 'Previsualitza els canvis';
 | 
			
		||||
$lang['btn_save']              = 'Desa els canvis';
 | 
			
		||||
$lang['btn_reset']             = 'Reinicialitza els canvis actuals';
 | 
			
		||||
$lang['btn_revert']            = 'Reverteix els canvis als valors per defecte de la plantilla';
 | 
			
		||||
$lang['__text__']              = 'Color principal del text';
 | 
			
		||||
$lang['__background__']        = 'Color principal del fons';
 | 
			
		||||
$lang['__text_alt__']          = 'Color alternatiu del text';
 | 
			
		||||
$lang['__background_alt__']    = 'Color alternatiu del fons';
 | 
			
		||||
$lang['__border__']            = 'Color de la vora';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/cs/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/cs/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Tento nástroj umožňuje změnu určitých nastavení stylu právě používané šablony vzhledu.
 | 
			
		||||
Všechny změny jsou uloženy v lokálním konfiguračním souboru a tím chráněny před smazáním při aktualizaci.
 | 
			
		||||
							
								
								
									
										24
									
								
								content/lib/plugins/styling/lang/cs/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/lib/plugins/styling/lang/cs/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Jaroslav Lichtblau <jlichtblau@seznam.cz>
 | 
			
		||||
 * @author Martin Růžička <martinr@post.cz>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Nastavení stylů vzhledu';
 | 
			
		||||
$lang['js']['loader']          = 'Náhled se načítá...<br />pokud tento text nezmizí, pravděpodobně jsou nastaveny nesprávné hodnoty';
 | 
			
		||||
$lang['js']['popup']           = 'Otevřít ve vlastním okně';
 | 
			
		||||
$lang['error']                 = 'Omlouváme se, tento ';
 | 
			
		||||
$lang['btn_preview']           = 'Náhled změn';
 | 
			
		||||
$lang['btn_save']              = 'Uložit změny';
 | 
			
		||||
$lang['btn_reset']             = 'Zrušit aktuální změny';
 | 
			
		||||
$lang['btn_revert']            = 'Vrátit styly zpět na výchozí hodnoty vzhledu';
 | 
			
		||||
$lang['__text__']              = 'Barva hlavního textu';
 | 
			
		||||
$lang['__background__']        = 'Barva hlavního pozadí';
 | 
			
		||||
$lang['__text_alt__']          = 'Barva alternativního textu';
 | 
			
		||||
$lang['__background_alt__']    = 'Barva alternativního pozadí';
 | 
			
		||||
$lang['__text_neu__']          = 'Barva neutrálního textu';
 | 
			
		||||
$lang['__background_neu__']    = 'Barva neutrálního pozadí';
 | 
			
		||||
$lang['__border__']            = 'Barva rámování';
 | 
			
		||||
$lang['__highlight__']         = 'Zvýrazněná barva (hlavně pro výsledky vyhledávání)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/cy/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/cy/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Mae'r teclyn hwn yn eich galluogi chi newid gosodiadau arddull penodol y templed rydych chi'n defnyddio'n bresennol.
 | 
			
		||||
Caiff pob newid ei storio mewn ffeil ffurfwedd leol sy'n uwchradd-ddiogel.
 | 
			
		||||
							
								
								
									
										36
									
								
								content/lib/plugins/styling/lang/cy/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								content/lib/plugins/styling/lang/cy/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * Welsh language file for styling plugin
 | 
			
		||||
 *
 | 
			
		||||
 * @author Andreas Gohr <andi@splitbrain.org>
 | 
			
		||||
 * @author Alan Davies <ben.brynsadler@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
// menu entry for admin plugins
 | 
			
		||||
$lang['menu'] = 'Gosodiadau Arddull Templed';
 | 
			
		||||
 | 
			
		||||
$lang['js']['loader'] = 'Rhagolwg yn llwytho...<br />os \'dyw hwn ddim yn diflannu, efallai bod eich gwerthoedd yn annilys';
 | 
			
		||||
$lang['js']['popup'] = 'Agor fel ffurflen naid';
 | 
			
		||||
 | 
			
		||||
// custom language strings for the plugin
 | 
			
		||||
$lang['error'] = 'Sori, \'dyw\'r templed hwn ddim yn cynnal y swyddogaethedd hwn.';
 | 
			
		||||
 | 
			
		||||
$lang['btn_preview'] = 'Rhagolwg newidiadau';
 | 
			
		||||
$lang['btn_save']    = 'Cadw newidiadau';
 | 
			
		||||
$lang['btn_reset']   = 'Ailosod newidiadau cyfredol';
 | 
			
		||||
$lang['btn_revert']  = 'Troi arddulliau\'n ôl i ddiofyn y templed';
 | 
			
		||||
 | 
			
		||||
// default guaranteed placeholders
 | 
			
		||||
$lang['__text__']           = 'Lliw\'r prif destun';
 | 
			
		||||
$lang['__background__']     = 'Lliw\'r prif gefndir';
 | 
			
		||||
$lang['__text_alt__']       = 'Lliw testun amgen';
 | 
			
		||||
$lang['__background_alt__'] = 'Lliw cefndir amgen';
 | 
			
		||||
$lang['__text_neu__']       = 'lliw testun niwtral';
 | 
			
		||||
$lang['__background_neu__'] = 'Lliw cefndir niwtral';
 | 
			
		||||
$lang['__border__']         = 'Lliw border';
 | 
			
		||||
$lang['__highlight__']      = 'Lliw uwcholeuad (am ganlyniadau chwiliad yn bennaf)';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
//Setup VIM: ex: et ts=4 :
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/da/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/da/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Dette værktøj giver dig mulighed for at ændre udvalgte formateringer i dit valgte tema.
 | 
			
		||||
Alle ændringer gemmes i en lokal indstillingsfil, og bevares ved opgraderinger.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/da/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/da/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Jacob Palm <mail@jacobpalm.dk>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Tema indstillinger - formatering';
 | 
			
		||||
$lang['js']['loader']          = 'Eksempel indlæses...<br />Hvis denne side ikke forsvinder, er dine indstillinger muligvis ugyldige';
 | 
			
		||||
$lang['js']['popup']           = 'Åbn som popup';
 | 
			
		||||
$lang['error']                 = 'Beklager, dette tema understøtter ikke denne funktion.';
 | 
			
		||||
$lang['btn_preview']           = 'Forhåndsvis ændringer';
 | 
			
		||||
$lang['btn_save']              = 'Gem ændringer';
 | 
			
		||||
$lang['btn_reset']             = 'Nulstil ændringer';
 | 
			
		||||
$lang['btn_revert']            = 'Nulstil formatering til temaets standardindstillinger';
 | 
			
		||||
$lang['__text__']              = 'Grundlæggende tekstfarve';
 | 
			
		||||
$lang['__background__']        = 'Grundlæggende baggrundsfarve';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternativ tekstfarve';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternativ baggrundsfarve';
 | 
			
		||||
$lang['__text_neu__']          = 'Neutral tekstfarve';
 | 
			
		||||
$lang['__background_neu__']    = 'Neutral baggrundsfarve';
 | 
			
		||||
$lang['__border__']            = 'Ramme farve';
 | 
			
		||||
$lang['__highlight__']         = 'Fremhævningsfarve (hovedsageligt til søgeresultater)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/de-informal/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/de-informal/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Dieses Plugin ermöglicht es, bestimmte Designeinstellungen des ausgewählten Templates zu ändern.
 | 
			
		||||
Alle Änderungen werden in einer lokalen Konfigurationsdatei gespeichert und sind upgrade-sicher.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/de-informal/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/de-informal/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Felix Müller-Donath <j.felix@mueller-donath.de>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Einstellungen fürs Template-Design';
 | 
			
		||||
$lang['js']['loader']          = 'Vorschau lädt...<br />Falls diese Nachricht nicht verschwindet, könnten deine Werte fehlerhaft sein';
 | 
			
		||||
$lang['js']['popup']           = 'Öffne als Popup';
 | 
			
		||||
$lang['error']                 = 'Dieses Template unterstützt diese Funktion nicht.';
 | 
			
		||||
$lang['btn_preview']           = 'Vorschau der Änderungen anzeigen';
 | 
			
		||||
$lang['btn_save']              = 'Änderungen speichern';
 | 
			
		||||
$lang['btn_reset']             = 'Aktuelle Änderungen rückgängig machen';
 | 
			
		||||
$lang['btn_revert']            = 'Design auf die Voreinstellung des Templates zurücksetzen';
 | 
			
		||||
$lang['__text__']              = 'Main text color';
 | 
			
		||||
$lang['__background__']        = 'Haupthintergrundfarbe';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternative Textfarbe';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternative Hintergrundfarbe';
 | 
			
		||||
$lang['__text_neu__']          = 'Neutrale Textfarbe';
 | 
			
		||||
$lang['__background_neu__']    = 'Neutrale Hintergrundfarbe';
 | 
			
		||||
$lang['__border__']            = 'Rahmenfarbe';
 | 
			
		||||
$lang['__highlight__']         = 'Hervorhebungsfarbe (v.a. für Suchergebnisse)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/de/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/de/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Dieses Plugin ermöglicht es, bestimmte Designeinstellungen des ausgewählten Templates zu ändern.
 | 
			
		||||
Alle Änderungen werden in einer lokalen Konfigurationsdatei gespeichert und sind upgrade-sicher.
 | 
			
		||||
							
								
								
									
										24
									
								
								content/lib/plugins/styling/lang/de/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/lib/plugins/styling/lang/de/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Anika Henke <anika@selfthinker.org>
 | 
			
		||||
 * @author Hella Breitkopf <hella.breitkopf@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Einstellungen fürs Template-Design';
 | 
			
		||||
$lang['js']['loader']          = 'Vorschau lädt...<br />Falls diese Nachricht nicht verschwindet, könnten Ihre Werte fehlerhaft sein';
 | 
			
		||||
$lang['js']['popup']           = 'Öffne als Popup';
 | 
			
		||||
$lang['error']                 = 'Dieses Template unterstützt diese Funktion nicht.';
 | 
			
		||||
$lang['btn_preview']           = 'Vorschau der Änderungen anzeigen';
 | 
			
		||||
$lang['btn_save']              = 'Änderungen speichern';
 | 
			
		||||
$lang['btn_reset']             = 'Jetzige Änderungen rückgängig machen';
 | 
			
		||||
$lang['btn_revert']            = 'Design auf die Voreinstellung des Templates zurücksetzen';
 | 
			
		||||
$lang['__text__']              = 'Haupttextfarbe';
 | 
			
		||||
$lang['__background__']        = 'Haupthintergrundfarbe';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternative Textfarbe';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternative Hintergrundfarbe';
 | 
			
		||||
$lang['__text_neu__']          = 'Neutrale Textfarbe';
 | 
			
		||||
$lang['__background_neu__']    = 'Neutrale Hintergrundfarbe';
 | 
			
		||||
$lang['__border__']            = 'Rahmenfarbe';
 | 
			
		||||
$lang['__highlight__']         = 'Hervorhebungsfarbe (hauptsächlich für Suchergebnisse)';
 | 
			
		||||
							
								
								
									
										21
									
								
								content/lib/plugins/styling/lang/el/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								content/lib/plugins/styling/lang/el/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Katerina Katapodi <extragold1234@hotmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Ρυθμίσεις Τύπου Μοντέλου';
 | 
			
		||||
$lang['error']                 = 'Συγγνώμη, αυτό το πρότυπο δεν υποστηρίζει αυτήν την λειτουργία.';
 | 
			
		||||
$lang['btn_preview']           = 'Έλεγχος αλλαγών  ';
 | 
			
		||||
$lang['btn_save']              = 'Αποθηκεύσετε τις αλλαγές';
 | 
			
		||||
$lang['btn_reset']             = 'Ρυθμίστε ξανά τις τρέχουσες αλλαγές';
 | 
			
		||||
$lang['btn_revert']            = 'Τα πρότυπα επαναφοράς πίσω στο επιλεγμένο πρότυπο';
 | 
			
		||||
$lang['__text__']              = 'Κύριο χρώμα κειμένου';
 | 
			
		||||
$lang['__background__']        = 'Κύριο χρώμα φόντου';
 | 
			
		||||
$lang['__text_alt__']          = 'Εναλλακτικό χρώμα κειμένου';
 | 
			
		||||
$lang['__background_alt__']    = 'Εναλλακτικό χρώμα φόντου';
 | 
			
		||||
$lang['__text_neu__']          = 'Ουδέτερο χρώμα κειμένου';
 | 
			
		||||
$lang['__background_neu__']    = 'Ουδέτερο (λευκό?) χρώμα βάσης';
 | 
			
		||||
$lang['__border__']            = 'Χρώμα πλαισίων';
 | 
			
		||||
$lang['__highlight__']         = 'Χρώμα φωτισμού (κυρίως για αναζήτηση αποτελεσμάτων)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/en/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/en/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
This tool allows you to change certain style settings of your currently selected template.
 | 
			
		||||
All changes are stored in a local configuration file and are upgrade safe.
 | 
			
		||||
							
								
								
									
										35
									
								
								content/lib/plugins/styling/lang/en/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								content/lib/plugins/styling/lang/en/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
			
		||||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * English language file for styling plugin
 | 
			
		||||
 *
 | 
			
		||||
 * @author Andreas Gohr <andi@splitbrain.org>
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
// menu entry for admin plugins
 | 
			
		||||
$lang['menu'] = 'Template Style Settings';
 | 
			
		||||
 | 
			
		||||
$lang['js']['loader'] = 'Preview is loading...<br />if this does not goes away, your values may be faulty';
 | 
			
		||||
$lang['js']['popup'] = 'Open as a popup';
 | 
			
		||||
 | 
			
		||||
// custom language strings for the plugin
 | 
			
		||||
$lang['error'] = 'Sorry, this template does not support this functionality.';
 | 
			
		||||
 | 
			
		||||
$lang['btn_preview'] = 'Preview changes';
 | 
			
		||||
$lang['btn_save']    = 'Save changes';
 | 
			
		||||
$lang['btn_reset']   = 'Reset current changes';
 | 
			
		||||
$lang['btn_revert']  = 'Revert styles back to template\'s default';
 | 
			
		||||
 | 
			
		||||
// default guaranteed placeholders
 | 
			
		||||
$lang['__text__']           = 'Main text color';
 | 
			
		||||
$lang['__background__']     = 'Main background color';
 | 
			
		||||
$lang['__text_alt__']       = 'Alternative text color';
 | 
			
		||||
$lang['__background_alt__'] = 'Alternative background color';
 | 
			
		||||
$lang['__text_neu__']       = 'Neutral text color';
 | 
			
		||||
$lang['__background_neu__'] = 'Neutral background color';
 | 
			
		||||
$lang['__border__']         = 'Border color';
 | 
			
		||||
$lang['__highlight__']      = 'Highlight color (for search results mainly)';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
//Setup VIM: ex: et ts=4 :
 | 
			
		||||
							
								
								
									
										9
									
								
								content/lib/plugins/styling/lang/eo/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								content/lib/plugins/styling/lang/eo/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Kristjan SCHMIDT <kristjan.schmidt@googlemail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['btn_preview']           = 'Antaŭaj ŝanĝoj';
 | 
			
		||||
$lang['btn_save']              = 'Konservi ŝanĝojn';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/es/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/es/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Esta herramienta le permite cambiar algunos ajustes de estilo de la plantilla seleccionada.
 | 
			
		||||
Todos los cambios se guardan en un archivo de configuración local y son una actualización segura.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/es/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/es/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Domingo Redal <docxml@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Ajustes de plantilla';
 | 
			
		||||
$lang['js']['loader']          = 'La vista previa se está cargando ... <br /> si esto no se ve, sus valores pueden ser defectuosos';
 | 
			
		||||
$lang['js']['popup']           = 'Abrir como una ventana emergente';
 | 
			
		||||
$lang['error']                 = 'Lo sentimos, esta plantilla no admite esta funcionalidad.';
 | 
			
		||||
$lang['btn_preview']           = 'Vista previa de los cambios';
 | 
			
		||||
$lang['btn_save']              = 'Guardar cambios';
 | 
			
		||||
$lang['btn_reset']             = 'Reiniciar los cambios actuales';
 | 
			
		||||
$lang['btn_revert']            = 'Revertir estilos volviendo a los valores por defecto de la plantilla';
 | 
			
		||||
$lang['__text__']              = 'Color del texto principal';
 | 
			
		||||
$lang['__background__']        = 'Color de fondo del texto principal';
 | 
			
		||||
$lang['__text_alt__']          = 'Color del texto alternativo';
 | 
			
		||||
$lang['__background_alt__']    = 'Color de fondo del texto alternativo';
 | 
			
		||||
$lang['__text_neu__']          = 'Color del texto neutro';
 | 
			
		||||
$lang['__background_neu__']    = 'Color de fondo del texto neutro';
 | 
			
		||||
$lang['__border__']            = 'Color del borde';
 | 
			
		||||
$lang['__highlight__']         = 'Color resaltado (para los resultados de búsqueda, principalmente)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/fa/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/fa/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
این ابزار این امکان را فراهم میسازد که برخی تنظیمات مشخص از قالبی که انتخاب کردید را تغییر دهید.
 | 
			
		||||
تمام تغییرات در فایل داخلی تنظیمات ذخیره میشود و بهروزرسانی هم ایمن است.
 | 
			
		||||
							
								
								
									
										24
									
								
								content/lib/plugins/styling/lang/fa/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/lib/plugins/styling/lang/fa/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Masoud Sadrnezhaad <masoud@sadrnezhaad.ir>
 | 
			
		||||
 * @author Sam01 <m.sajad079@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'تنظیمات ظاهری تمپلیت';
 | 
			
		||||
$lang['js']['loader']          = 'پیشنمایش در حال باز شدن است... <br />اگر این پیش نرفت یعنی مقادیرتان اشکال دارد';
 | 
			
		||||
$lang['js']['popup']           = 'باز کردن به صورت پاپآپ';
 | 
			
		||||
$lang['error']                 = 'ببخشید، این قالب از این قابلیت پشتیبانی نمیکند';
 | 
			
		||||
$lang['btn_preview']           = 'نمایش تغییرات';
 | 
			
		||||
$lang['btn_save']              = 'ذخیره تغییرات';
 | 
			
		||||
$lang['btn_reset']             = 'بازگردانی تغییر فعلی';
 | 
			
		||||
$lang['btn_revert']            = 'بازگردانی ظاهر به پیشفرض قالب';
 | 
			
		||||
$lang['__text__']              = 'رنگ اصلی متن';
 | 
			
		||||
$lang['__background__']        = 'رنگ اصلی زمینه';
 | 
			
		||||
$lang['__text_alt__']          = 'رنگ ثانویه متن';
 | 
			
		||||
$lang['__background_alt__']    = 'رنگ ثانویه زمینه';
 | 
			
		||||
$lang['__text_neu__']          = 'رنگ خنثی متن';
 | 
			
		||||
$lang['__background_neu__']    = 'رنگ خنثی زمینه';
 | 
			
		||||
$lang['__border__']            = 'رنگ حاشیه';
 | 
			
		||||
$lang['__highlight__']         = 'رنگ برجستهسازی (برای نتیجه جستجو)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/fr/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/fr/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Cet outil vous permet de changer les paramètres de certains style de votre thème actuel.
 | 
			
		||||
Tous les changement sont enregistrés dans un fichier de configuration local qui sera inchangé en cas de mise à jour.
 | 
			
		||||
							
								
								
									
										25
									
								
								content/lib/plugins/styling/lang/fr/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								content/lib/plugins/styling/lang/fr/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Carbain Frédéric <fcarbain@yahoo.fr>
 | 
			
		||||
 * @author Nicolas Friedli <nicolas@theologique.ch>
 | 
			
		||||
 * @author Schplurtz le Déboulonné <Schplurtz@laposte.net>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Paramètres de style du thème (template)';
 | 
			
		||||
$lang['js']['loader']          = 'La prévisualisation est en chargement... <br />Si rien ne se passe, les données sont peut-être erronées';
 | 
			
		||||
$lang['js']['popup']           = 'Ouvrir dans une nouvelle fenêtre';
 | 
			
		||||
$lang['error']                 = 'Désolé, ce thème n\'utilise pas cette fonctionnalité.';
 | 
			
		||||
$lang['btn_preview']           = 'Aperçu des changements';
 | 
			
		||||
$lang['btn_save']              = 'sauvegarder les changements.';
 | 
			
		||||
$lang['btn_reset']             = 'Remettre les changements courants à zéro';
 | 
			
		||||
$lang['btn_revert']            = 'Remettre les styles du thème aux valeurs par défaut';
 | 
			
		||||
$lang['__text__']              = 'Couleur de texte principale';
 | 
			
		||||
$lang['__background__']        = 'Couleur de fond principale';
 | 
			
		||||
$lang['__text_alt__']          = 'Couleur de texte alternative';
 | 
			
		||||
$lang['__background_alt__']    = 'Couleur de fond alternative';
 | 
			
		||||
$lang['__text_neu__']          = 'Couleur de texte neutre';
 | 
			
		||||
$lang['__background_neu__']    = 'Couleur de fond neutre';
 | 
			
		||||
$lang['__border__']            = 'Couleur des contours';
 | 
			
		||||
$lang['__highlight__']         = 'Couleur de surbrillance (utilisée pincipalement pour les résultats de recherche)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/hr/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/hr/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Ovaj alat omogućava izmjenu nekih postavki stila vašeg tekućeg wiki predloška.
 | 
			
		||||
Sve postavke su snimljene u lokalnu konfiguracijsku datoteku i neće biti prebrisane kod nadogradnje.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/hr/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/hr/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Davor Turkalj <turki.bsc@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Postavke stila predloška';
 | 
			
		||||
$lang['js']['loader']          = 'Pregled se učitava...<br />ako ovo ne nestane, vaše vrijednosti su možda neispravne';
 | 
			
		||||
$lang['js']['popup']           = 'Otvori kao zasebni prozor';
 | 
			
		||||
$lang['error']                 = 'Oprostite ali ovaj predložak ne podržava ovu funkcionalnost';
 | 
			
		||||
$lang['btn_preview']           = 'Pregled izmjena';
 | 
			
		||||
$lang['btn_save']              = 'Pohrani promjene';
 | 
			
		||||
$lang['btn_reset']             = 'Resetiraj trenutne promjene';
 | 
			
		||||
$lang['btn_revert']            = 'Vrati postavke nazad na inicijalne vrijednosti predloška';
 | 
			
		||||
$lang['__text__']              = 'Primarna boja teksta';
 | 
			
		||||
$lang['__background__']        = 'Primarna boja pozadine';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternativna boja teksta';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternativna boja pozadine';
 | 
			
		||||
$lang['__text_neu__']          = 'Boja neutralnog teksta';
 | 
			
		||||
$lang['__background_neu__']    = 'Boja neutralne pozadine';
 | 
			
		||||
$lang['__border__']            = 'Boja ruba';
 | 
			
		||||
$lang['__highlight__']         = 'Boja isticanja (uglavnom za rezultat pretrage)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/hu/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/hu/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Ezzel az eszközzel módosíthatod az aktuális sablon kinézetének néhány elemét.
 | 
			
		||||
A változtatások egy helyi konfigurációs fájlban kerülnek tárolásra, így a frissítések során megmaradnak.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/hu/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/hu/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 * 
 | 
			
		||||
 * @author Marton Sebok <sebokmarton@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Sablon kinézetének beállításai';
 | 
			
		||||
$lang['js']['loader']          = 'Az előnézet töltődik...<br />ha ez az üzenet nem tűnik el, a beállított értékek hibásak lehetnek';
 | 
			
		||||
$lang['js']['popup']           = 'Megnyitás felugró ablakban';
 | 
			
		||||
$lang['error']                 = 'Ez a sablon sajnos nem támogatja ezt a funkciót';
 | 
			
		||||
$lang['btn_preview']           = 'Változtatások előnézete';
 | 
			
		||||
$lang['btn_save']              = 'Változtatások mentése';
 | 
			
		||||
$lang['btn_reset']             = 'Jelenlegi változtatások visszaállítása';
 | 
			
		||||
$lang['btn_revert']            = 'A sablon alapértelmezett kinézetének visszaállítása';
 | 
			
		||||
$lang['__text__']              = 'Fő szövegszín';
 | 
			
		||||
$lang['__background__']        = 'Fő háttérszín';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternatív szövegszín';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternatív háttérszín';
 | 
			
		||||
$lang['__text_neu__']          = 'Semleges szövegszín';
 | 
			
		||||
$lang['__background_neu__']    = 'Semleges háttérszín';
 | 
			
		||||
$lang['__border__']            = 'Keret színe';
 | 
			
		||||
$lang['__highlight__']         = 'Kijelölés színe (leginkább a keresési eredményeknél)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/it/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/it/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Questo strumento ti permette di cambiare certe configurazioni di stile del tema attualmente in uso.
 | 
			
		||||
Tutte le modifiche sono salvate in un file di configurazione locale e sono aggiornate in modo sicuro.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/it/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/it/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Torpedo <dgtorpedo@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Configurazioni di stile del tema';
 | 
			
		||||
$lang['js']['loader']          = 'Anteprima in corso...<br />se questo non sparisce, potresti aver fornito dei valori sbagliati';
 | 
			
		||||
$lang['js']['popup']           = 'Apri in un finestra a parte';
 | 
			
		||||
$lang['error']                 = 'Spiacente, questo template non supporta questa funzionalità.';
 | 
			
		||||
$lang['btn_preview']           = 'Cambiamenti precedenti';
 | 
			
		||||
$lang['btn_save']              = 'Salva i cambiamenti';
 | 
			
		||||
$lang['btn_reset']             = 'Azzera le modifiche correnti';
 | 
			
		||||
$lang['btn_revert']            = 'Ripristina gli stili ai valori originari del tema';
 | 
			
		||||
$lang['__text__']              = 'Colore principale del testo';
 | 
			
		||||
$lang['__background__']        = 'Colore principale dello sfondo';
 | 
			
		||||
$lang['__text_alt__']          = 'Colore alternativo per il testo';
 | 
			
		||||
$lang['__background_alt__']    = 'Colore alternativo dello sfondo';
 | 
			
		||||
$lang['__text_neu__']          = 'Colore testo neutrale';
 | 
			
		||||
$lang['__background_neu__']    = 'Colore sfondo neutrale';
 | 
			
		||||
$lang['__border__']            = 'Colore del bordo';
 | 
			
		||||
$lang['__highlight__']         = 'Colore di evidenziazione (principalmente per i risultati di ricerca)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/ja/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/ja/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
この画面上で、選択中のテンプレート固有のスタイル設定を変更できます。
 | 
			
		||||
変更内容はすべてローカルの設定ファイル内に保存され、テンプレートを更新しても初期化されません。
 | 
			
		||||
							
								
								
									
										24
									
								
								content/lib/plugins/styling/lang/ja/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/lib/plugins/styling/lang/ja/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author HokkaidoPerson <dosankomali@yahoo.co.jp>
 | 
			
		||||
 * @author Hideaki SAWADA <chuno@live.jp>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'テンプレートのスタイル設定';
 | 
			
		||||
$lang['js']['loader']          = 'プレビューを読込み中です・・・<br/>この表示が消えない場合、変更した設定値に問題があるかもしれません。';
 | 
			
		||||
$lang['js']['popup']           = 'ポップアップとして表示';
 | 
			
		||||
$lang['error']                 = '恐れ入りますが、このテンプレートはこの機能に対応していません。';
 | 
			
		||||
$lang['btn_preview']           = '変更内容のプレビュー';
 | 
			
		||||
$lang['btn_save']              = '変更内容の保存';
 | 
			
		||||
$lang['btn_reset']             = '変更内容の初期化';
 | 
			
		||||
$lang['btn_revert']            = 'テンプレートのデフォルト値に戻す';
 | 
			
		||||
$lang['__text__']              = 'メイン文字色';
 | 
			
		||||
$lang['__background__']        = 'メイン背景色';
 | 
			
		||||
$lang['__text_alt__']          = '代替文字色';
 | 
			
		||||
$lang['__background_alt__']    = '代替背景色';
 | 
			
		||||
$lang['__text_neu__']          = '無彩色の文字色';
 | 
			
		||||
$lang['__background_neu__']    = '無彩色の背景色';
 | 
			
		||||
$lang['__border__']            = '枠線の色';
 | 
			
		||||
$lang['__highlight__']         = '強調色(主に検索結果用)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/ko/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/ko/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
이 도구는 현재 선택한 템플릿의 특정 스타일 설정을 바꿀 수 있습니다.
 | 
			
		||||
모든 바뀜은 로컬 환경 설정 파일에 저장되며 안전하게 업그레이드됩니다.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/ko/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/ko/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Myeongjin <aranet100@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = '템플릿 스타일 설정';
 | 
			
		||||
$lang['js']['loader']          = '미리 보기를 불러오는 중...<br />만약 이것이 사라지지 않는다면, 당신은 실망하겠죠';
 | 
			
		||||
$lang['js']['popup']           = '팝업으로 열기';
 | 
			
		||||
$lang['error']                 = '죄송하지만 이 템플릿은 이 기능으로 지원하지 않습니다.';
 | 
			
		||||
$lang['btn_preview']           = '바뀜 미리 보기';
 | 
			
		||||
$lang['btn_save']              = '바뀜 저장';
 | 
			
		||||
$lang['btn_reset']             = '현재 바뀜 재설정';
 | 
			
		||||
$lang['btn_revert']            = '틀의 기본값으로 스타일을 되돌리기';
 | 
			
		||||
$lang['__text__']              = '주요 텍스트 색';
 | 
			
		||||
$lang['__background__']        = '주요 배경 색';
 | 
			
		||||
$lang['__text_alt__']          = '대체 텍스트 색';
 | 
			
		||||
$lang['__background_alt__']    = '대체 배경 색';
 | 
			
		||||
$lang['__text_neu__']          = '중립 텍스트 색';
 | 
			
		||||
$lang['__background_neu__']    = '중립 배경 색';
 | 
			
		||||
$lang['__border__']            = '윤곽선 색';
 | 
			
		||||
$lang['__highlight__']         = '(주로 검색 결과를 위한) 강조 색';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/nl/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/nl/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Deze tool laat u een aantal stijlinstellingen van uw huidig geselecteerde template aanpassen.
 | 
			
		||||
Alle aanpassingen worden in een lokaal configuratiebestand bewaard en zijn upgrade veilig.
 | 
			
		||||
							
								
								
									
										24
									
								
								content/lib/plugins/styling/lang/nl/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/lib/plugins/styling/lang/nl/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Mark C. Prins <mprins@users.sf.net>
 | 
			
		||||
 * @author hugo smet <hugo.smet@scarlet.be>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Template stijl-instellingen';
 | 
			
		||||
$lang['js']['loader']          = 'Voorbeeldweergave is aan het laden...<br />als dit niet verdwijnt zijn uw instellingen mogelijk foutief.';
 | 
			
		||||
$lang['js']['popup']           = 'Open als popup';
 | 
			
		||||
$lang['error']                 = 'Sorry, deze template ondersteunt deze functionaliteit niet.';
 | 
			
		||||
$lang['btn_preview']           = 'Bekijk aanpassingen';
 | 
			
		||||
$lang['btn_save']              = 'Sla aanpassingen op';
 | 
			
		||||
$lang['btn_reset']             = 'Huidige aanpassingen verwerpen';
 | 
			
		||||
$lang['btn_revert']            = 'Stijlen terugzetten naar de standaard waardes van de template';
 | 
			
		||||
$lang['__text__']              = 'Hoofd tekstkleur';
 | 
			
		||||
$lang['__background__']        = 'Hoofd achtergrondkleur';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternatieve tekstkleur';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternatieve achtergrondkleur';
 | 
			
		||||
$lang['__text_neu__']          = 'Neutrale tekstkleur';
 | 
			
		||||
$lang['__background_neu__']    = 'Neutrale achtergrondkleur';
 | 
			
		||||
$lang['__border__']            = 'Kader kleur';
 | 
			
		||||
$lang['__highlight__']         = 'Markeringskleur (hoofdzakelijk voor zoekresultaten)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/no/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/no/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Dette verktøyet lar deg endre visse instillinger for malen som nå er i bruk.
 | 
			
		||||
Alle endringer lagres i en lokal konfigurasjonsfil og vil ikke bli overskrevet ved en oppgradering.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/no/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/no/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Arne Hanssen <arne.hanssen@getmail.no>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Innstillinger for malstil';
 | 
			
		||||
$lang['js']['loader']          = 'Forhåndsvisning laster...<br />Dersom denne ikke forsvinner, kan det hende at dine verdier er feil';
 | 
			
		||||
$lang['js']['popup']           = 'Åpne som nytt vindu';
 | 
			
		||||
$lang['error']                 = 'Beklager men denne malen støtter ikke denne funksjonaliteten.';
 | 
			
		||||
$lang['btn_preview']           = 'Forhåndsvis endringer';
 | 
			
		||||
$lang['btn_save']              = 'Lagre endringer';
 | 
			
		||||
$lang['btn_reset']             = 'Sett tilbake til nåværende endringer';
 | 
			
		||||
$lang['btn_revert']            = 'Rull tilbake stilen til standard for malen';
 | 
			
		||||
$lang['__text__']              = 'Hovedfarge for tekst';
 | 
			
		||||
$lang['__background__']        = 'Hovedfarge for bagrunn';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternativ tekstfarge';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternativ bakgrunnsfarge';
 | 
			
		||||
$lang['__text_neu__']          = 'Nøytral tekstfarge';
 | 
			
		||||
$lang['__background_neu__']    = 'Nøytral bakgrunnsfarge';
 | 
			
		||||
$lang['__border__']            = 'Kantfarge';
 | 
			
		||||
$lang['__highlight__']         = 'Farge for uthevet tekst (i hovedsak for søk)';
 | 
			
		||||
							
								
								
									
										11
									
								
								content/lib/plugins/styling/lang/oc/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								content/lib/plugins/styling/lang/oc/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author En Mathis <heartattack@free.fr>
 | 
			
		||||
 */
 | 
			
		||||
$lang['__text__']              = 'Color principala del tèxte';
 | 
			
		||||
$lang['__background__']        = 'Color principala del fons';
 | 
			
		||||
$lang['__text_alt__']          = 'Color alternativa del tèxte';
 | 
			
		||||
$lang['__background_alt__']    = 'Color alternativa del fons';
 | 
			
		||||
							
								
								
									
										1
									
								
								content/lib/plugins/styling/lang/pl/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								content/lib/plugins/styling/lang/pl/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
To narzędzie umożliwia zmianę niektórych ustawień stylów aktualnie wybranego szablonu. Wszystkie zmiany są przechowywane w lokalnym pliku konfiguracyjnym i są bezpieczne dla aktualizacji.
 | 
			
		||||
							
								
								
									
										24
									
								
								content/lib/plugins/styling/lang/pl/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/lib/plugins/styling/lang/pl/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Wojciech Lichota <wojciech@lichota.pl>
 | 
			
		||||
 * @author Max <maxrb146@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Ustawienia Szablonu';
 | 
			
		||||
$lang['js']['loader']          = 'Podgląd ładuje się ...<br />jeśli ten komunikat nie zniknie, twoje wartości mogą być błędne';
 | 
			
		||||
$lang['js']['popup']           = 'Otwórz w nowym oknie';
 | 
			
		||||
$lang['error']                 = 'Przepraszamy, ten szablon nie wspiera tej funkcjonalności';
 | 
			
		||||
$lang['btn_preview']           = 'Pokaż zmiany ';
 | 
			
		||||
$lang['btn_save']              = 'Zapisz zmiany';
 | 
			
		||||
$lang['btn_reset']             = 'Cofnij zmiany ';
 | 
			
		||||
$lang['btn_revert']            = 'Przywróć style do wartości domyślnych szablonu';
 | 
			
		||||
$lang['__text__']              = 'Kolor tekstu ';
 | 
			
		||||
$lang['__background__']        = 'Kolor tła ';
 | 
			
		||||
$lang['__text_alt__']          = 'Inny kolor tekstu';
 | 
			
		||||
$lang['__background_alt__']    = 'Inny kolor tła';
 | 
			
		||||
$lang['__text_neu__']          = 'Kolor neutralnego tekstu';
 | 
			
		||||
$lang['__background_neu__']    = 'Kolor neutralnego tła';
 | 
			
		||||
$lang['__border__']            = 'kolor obramowania ';
 | 
			
		||||
$lang['__highlight__']         = 'Kolor podświetlenia (głównie dla wyników wyszukiwania)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/pt-br/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/pt-br/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Essa ferramente permite a alteração de certas configurações do estilo do seu modelo atual.
 | 
			
		||||
Todas as modificações são armazenadas em um arquivo de configuração local e estão protegidas contra atualizações.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/pt-br/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/pt-br/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Frederico Gonçalves Guimarães <frederico@teia.bio.br>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Configurações de estilo do modelo';
 | 
			
		||||
$lang['js']['loader']          = 'A visualização está carregando...<br />Caso essa mensagem não desapareça, pode ter algum problema com os seus valores.';
 | 
			
		||||
$lang['js']['popup']           = 'Abrir como um popup';
 | 
			
		||||
$lang['error']                 = 'Desculpe, mas esse modelo não suporta essa funcionalidade.';
 | 
			
		||||
$lang['btn_preview']           = 'Ver alterações';
 | 
			
		||||
$lang['btn_save']              = 'Salvar alterações';
 | 
			
		||||
$lang['btn_reset']             = 'Eliminar as alterações atuais';
 | 
			
		||||
$lang['btn_revert']            = 'Reverter o estilo para os padrões do modelo';
 | 
			
		||||
$lang['__text__']              = 'Cor principal do texto';
 | 
			
		||||
$lang['__background__']        = 'Cor principal do fundo';
 | 
			
		||||
$lang['__text_alt__']          = 'Cor alternativa do texto';
 | 
			
		||||
$lang['__background_alt__']    = 'Cor alternativa do fundo';
 | 
			
		||||
$lang['__text_neu__']          = 'Cor neutra do texto';
 | 
			
		||||
$lang['__background_neu__']    = 'Cor neutra do fundo';
 | 
			
		||||
$lang['__border__']            = 'Cor da borda';
 | 
			
		||||
$lang['__highlight__']         = 'Cor do destaque (primariamente em resultados da pesquisa)';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/pt/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/pt/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Essa ferramenta permite que você altere determinadas configurações de estilo do modelo atualmente selecionado.
 | 
			
		||||
Todas as alterações são armazenadas em um arquivo de configuração local e são atualizadas com segurança.
 | 
			
		||||
							
								
								
									
										25
									
								
								content/lib/plugins/styling/lang/pt/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								content/lib/plugins/styling/lang/pt/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Paulo Schopf <pschopf@gmail.com>
 | 
			
		||||
 * @author Alfredo Silva <alfredo.silva@sky.com>
 | 
			
		||||
 * @author Guilherme Sá <guilherme.sa@hotmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Configurações de Estilo do Modelo';
 | 
			
		||||
$lang['js']['loader']          = 'A pré-visualização está carregando...<br />se isto não desaparecer, os seus valores podem estar errados';
 | 
			
		||||
$lang['js']['popup']           = 'Abrir como uma janela extra';
 | 
			
		||||
$lang['error']                 = 'Desculpe, este modelo não suporta esta funcionalidade.';
 | 
			
		||||
$lang['btn_preview']           = 'Pré-visualizar alterações';
 | 
			
		||||
$lang['btn_save']              = 'Salvar alterações';
 | 
			
		||||
$lang['btn_reset']             = 'Reiniciar alterações atuais';
 | 
			
		||||
$lang['btn_revert']            = 'Reverter estilos de volta ao padrão do modelo';
 | 
			
		||||
$lang['__text__']              = 'Cor do texto principal';
 | 
			
		||||
$lang['__background__']        = 'Cor principal do fundo';
 | 
			
		||||
$lang['__text_alt__']          = 'Cor alternativa de texto';
 | 
			
		||||
$lang['__background_alt__']    = 'Cor alternativa de fundo';
 | 
			
		||||
$lang['__text_neu__']          = 'Cor neutra de texto';
 | 
			
		||||
$lang['__background_neu__']    = 'Cor de fundo neutro';
 | 
			
		||||
$lang['__border__']            = 'Cor da borda';
 | 
			
		||||
$lang['__highlight__']         = 'Cor de destaque (principalmente para resultados de pesquisa)';
 | 
			
		||||
							
								
								
									
										1
									
								
								content/lib/plugins/styling/lang/ru/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								content/lib/plugins/styling/lang/ru/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
Этот инструмент позволяет изменять стилевые настройки выбранного шаблона. Все изменения хранятся в файле конфигурации и защищены от сброса при обновлении.
 | 
			
		||||
							
								
								
									
										24
									
								
								content/lib/plugins/styling/lang/ru/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/lib/plugins/styling/lang/ru/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Aleksandr Selivanov <alexgearbox@yandex.ru>
 | 
			
		||||
 * @author RainbowSpike <1@2.ru>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Настройки стилей шаблона';
 | 
			
		||||
$lang['js']['loader']          = 'Загружается предпросмотр...<br />Если здесь случился сбой, ваши настройки могут быть сброшены';
 | 
			
		||||
$lang['js']['popup']           = 'Открыть во всплывающем окне';
 | 
			
		||||
$lang['error']                 = 'Этот шаблон не поддерживает такой функционал.';
 | 
			
		||||
$lang['btn_preview']           = 'Просмотреть изменения';
 | 
			
		||||
$lang['btn_save']              = 'Сохранить изменения';
 | 
			
		||||
$lang['btn_reset']             = 'Сбросить сделанные изменения';
 | 
			
		||||
$lang['btn_revert']            = 'Откатить стили к исходным для шаблона';
 | 
			
		||||
$lang['__text__']              = 'Цвет текста';
 | 
			
		||||
$lang['__background__']        = 'Цвет фона';
 | 
			
		||||
$lang['__text_alt__']          = 'Второй цвет текста';
 | 
			
		||||
$lang['__background_alt__']    = 'Второй цвет фона';
 | 
			
		||||
$lang['__text_neu__']          = 'Нейтральный цвет текста';
 | 
			
		||||
$lang['__background_neu__']    = 'Нейтральный цвет фона';
 | 
			
		||||
$lang['__border__']            = 'Цвет границ';
 | 
			
		||||
$lang['__highlight__']         = 'Цвет подсветки (в основном, для результатов поиска)';
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/sk/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/sk/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Peter Mydliar <peto.mydliar@gmail.com>
 | 
			
		||||
 * @author Martin Michalek <michalek.dev@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Nastavenie typov šablón';
 | 
			
		||||
$lang['js']['popup']           = 'Otvor vo vyskakovacom okne';
 | 
			
		||||
$lang['error']                 = 'Táto šablóna nepodporuje túto funkciu.';
 | 
			
		||||
$lang['btn_preview']           = 'Náhľad zmien';
 | 
			
		||||
$lang['btn_save']              = 'Uloženie zmien';
 | 
			
		||||
$lang['btn_reset']             = 'Zruš prevedené zmeny';
 | 
			
		||||
$lang['btn_revert']            = 'Vrátiť späť k základnej šablóne.';
 | 
			
		||||
$lang['__text__']              = 'Primárna farba textu';
 | 
			
		||||
$lang['__background__']        = 'Primárna farba pozadia';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternatívna farba textu';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternatívna farba pozadia';
 | 
			
		||||
$lang['__text_neu__']          = 'Neutrálna farba textu';
 | 
			
		||||
$lang['__background_neu__']    = 'Neutrálna farba pozadia';
 | 
			
		||||
$lang['__border__']            = 'Farba okraja';
 | 
			
		||||
$lang['__highlight__']         = 'Farba zvýraznenia (zvyčajne výsledkov vyhľadávania)';
 | 
			
		||||
							
								
								
									
										17
									
								
								content/lib/plugins/styling/lang/sv/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								content/lib/plugins/styling/lang/sv/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Tor Härnqvist <tor@harnqvist.se>
 | 
			
		||||
 */
 | 
			
		||||
$lang['btn_preview']           = 'Förhandsvisa ändringar';
 | 
			
		||||
$lang['btn_save']              = 'Spara ändringar';
 | 
			
		||||
$lang['btn_reset']             = 'Nollställ aktuella ändringar';
 | 
			
		||||
$lang['__text__']              = 'Huvudsaklig textfärg';
 | 
			
		||||
$lang['__background__']        = 'Huvudsaklig bakgrundsfärg';
 | 
			
		||||
$lang['__text_alt__']          = 'Alternativ textfärg';
 | 
			
		||||
$lang['__background_alt__']    = 'Alternativ bakgrundsfärg';
 | 
			
		||||
$lang['__text_neu__']          = 'Neutral textfärg';
 | 
			
		||||
$lang['__background_neu__']    = 'Neutral bakgrundsfärg';
 | 
			
		||||
$lang['__border__']            = 'Ramfärg';
 | 
			
		||||
							
								
								
									
										13
									
								
								content/lib/plugins/styling/lang/uk/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								content/lib/plugins/styling/lang/uk/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Dmytro Marchenko <dmytro.marchenko1989@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Налаштування стилю шаблону';
 | 
			
		||||
$lang['js']['popup']           = 'Відкрити як спливаюче вікно';
 | 
			
		||||
$lang['error']                 = 'На жаль, цей шаблон не підтримує цю функцію.';
 | 
			
		||||
$lang['btn_preview']           = 'Попередній перегляд змін';
 | 
			
		||||
$lang['btn_save']              = 'Зберегти зміни';
 | 
			
		||||
$lang['btn_reset']             = 'Скидання поточних змін';
 | 
			
		||||
							
								
								
									
										2
									
								
								content/lib/plugins/styling/lang/vi/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								content/lib/plugins/styling/lang/vi/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
Công cụ này cho phép bạn thay đổi các cài đặt kiểu cách nhất định của chủ đề đang được sử dụng.
 | 
			
		||||
Tất cả các thay đổi được lưu trữ trong một tập tin cấu hình cục bộ và được nâng cấp an toàn.
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/vi/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/vi/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author Thien Hau <thienhau.9a14@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = 'Cài đặt kiểu cách Chủ đề';
 | 
			
		||||
$lang['js']['loader']          = 'Đang tải xem trước...<br />nếu cái này không biến mất, giá trị của bạn có thể bị lỗi';
 | 
			
		||||
$lang['js']['popup']           = 'Mở dưới dạng cửa sổ bật lên';
 | 
			
		||||
$lang['error']                 = 'Xin lỗi, chủ đề này không hỗ trợ chức năng này.';
 | 
			
		||||
$lang['btn_preview']           = 'Xem trước thay đổi';
 | 
			
		||||
$lang['btn_save']              = 'Lưu thay đổi';
 | 
			
		||||
$lang['btn_reset']             = 'Đặt lại các thay đổi hiện tại';
 | 
			
		||||
$lang['btn_revert']            = 'Lùi lại các kiểu cách về mặc định của chủ đề';
 | 
			
		||||
$lang['__text__']              = 'Màu văn bản chính';
 | 
			
		||||
$lang['__background__']        = 'Màu nền chính';
 | 
			
		||||
$lang['__text_alt__']          = 'Màu văn bản thay thế';
 | 
			
		||||
$lang['__background_alt__']    = 'Màu nền thay thế';
 | 
			
		||||
$lang['__text_neu__']          = 'Màu văn bản tự nhiên';
 | 
			
		||||
$lang['__background_neu__']    = 'Màu nền tự nhiên';
 | 
			
		||||
$lang['__border__']            = 'Màu viền';
 | 
			
		||||
$lang['__highlight__']         = 'Màu phần tô lên (chủ yếu cho kết quả tìm kiếm)';
 | 
			
		||||
							
								
								
									
										15
									
								
								content/lib/plugins/styling/lang/zh-tw/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								content/lib/plugins/styling/lang/zh-tw/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 * 
 | 
			
		||||
 * @author Liou, Jhe-Yu <lioujheyu@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = '模板風格設定';
 | 
			
		||||
$lang['error']                 = '抱歉,該模板不支持這個功能';
 | 
			
		||||
$lang['btn_preview']           = '預覽';
 | 
			
		||||
$lang['btn_save']              = '儲存';
 | 
			
		||||
$lang['btn_reset']             = '重設';
 | 
			
		||||
$lang['btn_revert']            = '將風格復原至模板預設值';
 | 
			
		||||
$lang['__text__']              = '主要文字顏色';
 | 
			
		||||
$lang['__background__']        = '主要背景顏色';
 | 
			
		||||
							
								
								
									
										1
									
								
								content/lib/plugins/styling/lang/zh/intro.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								content/lib/plugins/styling/lang/zh/intro.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
这个工具可以让您对当前选中的模板的某些样式设置进行改变。所有改动会保存在一个本地配置文件中,不会被升级所影响。
 | 
			
		||||
							
								
								
									
										23
									
								
								content/lib/plugins/styling/lang/zh/lang.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								content/lib/plugins/styling/lang/zh/lang.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
			
		||||
 *
 | 
			
		||||
 * @author lainme <lainme993@gmail.com>
 | 
			
		||||
 */
 | 
			
		||||
$lang['menu']                  = '模板样式设置';
 | 
			
		||||
$lang['js']['loader']          = '正在载入预览...<br />如果本句一直没有消失,您的设置可能有错';
 | 
			
		||||
$lang['js']['popup']           = '作为弹出窗口打开';
 | 
			
		||||
$lang['error']                 = '抱歉,这个模板不支持这项功能。';
 | 
			
		||||
$lang['btn_preview']           = '预览改动';
 | 
			
		||||
$lang['btn_save']              = '保存改动';
 | 
			
		||||
$lang['btn_reset']             = '重置当前改动';
 | 
			
		||||
$lang['btn_revert']            = '回退样式到模板的默认值';
 | 
			
		||||
$lang['__text__']              = '主要的字体颜色';
 | 
			
		||||
$lang['__background__']        = '主要的背景颜色';
 | 
			
		||||
$lang['__text_alt__']          = '备选字体的颜色';
 | 
			
		||||
$lang['__background_alt__']    = '备选背景的颜色';
 | 
			
		||||
$lang['__text_neu__']          = '中性字体的颜色';
 | 
			
		||||
$lang['__background_neu__']    = '中性背景的颜色';
 | 
			
		||||
$lang['__border__']            = '边框颜色';
 | 
			
		||||
$lang['__highlight__']         = '高亮颜色 (主要用于搜索结果)';
 | 
			
		||||
							
								
								
									
										7
									
								
								content/lib/plugins/styling/plugin.info.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								content/lib/plugins/styling/plugin.info.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
base   styling
 | 
			
		||||
author Andreas Gohr
 | 
			
		||||
email  andi@splitbrain.org
 | 
			
		||||
date   2020-06-14
 | 
			
		||||
name   styling plugin
 | 
			
		||||
desc   Allows to edit style.ini replacements
 | 
			
		||||
url    https://www.dokuwiki.org/plugin:styling
 | 
			
		||||
							
								
								
									
										31
									
								
								content/lib/plugins/styling/popup.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								content/lib/plugins/styling/popup.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
<?php
 | 
			
		||||
// phpcs:disable PSR1.Files.SideEffects
 | 
			
		||||
if (!defined('DOKU_INC')) define('DOKU_INC', dirname(__FILE__) . '/../../../');
 | 
			
		||||
require_once(DOKU_INC . 'inc/init.php');
 | 
			
		||||
//close session
 | 
			
		||||
session_write_close();
 | 
			
		||||
header('Content-Type: text/html; charset=utf-8');
 | 
			
		||||
header('X-UA-Compatible: IE=edge,chrome=1');
 | 
			
		||||
 | 
			
		||||
/** @var admin_plugin_styling $plugin */
 | 
			
		||||
$plugin = plugin_load('admin', 'styling');
 | 
			
		||||
if (!$plugin->isAccessibleByCurrentUser()) die('only admins allowed');
 | 
			
		||||
$plugin->ispopup = true;
 | 
			
		||||
 | 
			
		||||
// handle posts
 | 
			
		||||
$plugin->handle();
 | 
			
		||||
 | 
			
		||||
// output plugin in a very minimal template:
 | 
			
		||||
?><!DOCTYPE html>
 | 
			
		||||
<html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="utf-8" />
 | 
			
		||||
    <title><?php echo $plugin->getLang('menu') ?></title>
 | 
			
		||||
    <?php tpl_metaheaders(false) ?>
 | 
			
		||||
    <meta name="viewport" content="width=device-width,initial-scale=1" />
 | 
			
		||||
    <?php echo tpl_favicon(array('favicon')) ?>
 | 
			
		||||
</head>
 | 
			
		||||
<body class="dokuwiki">
 | 
			
		||||
    <?php $plugin->html() ?>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										92
									
								
								content/lib/plugins/styling/script.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										92
									
								
								content/lib/plugins/styling/script.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,92 @@
 | 
			
		||||
jQuery(function () {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Function to reload the preview styles in the main window
 | 
			
		||||
     *
 | 
			
		||||
     * @param {Window} target the main window
 | 
			
		||||
     */
 | 
			
		||||
    function applyPreview(target) {
 | 
			
		||||
        // remove style
 | 
			
		||||
        var $style = target.jQuery('link[rel=stylesheet][href*="lib/exe/css.php"]');
 | 
			
		||||
        $style.attr('href', '');
 | 
			
		||||
 | 
			
		||||
        // append the loader screen
 | 
			
		||||
        var $loader = target.jQuery('#plugin__styling_loader');
 | 
			
		||||
        if (!$loader.length) {
 | 
			
		||||
            $loader = target.jQuery('<div id="plugin__styling_loader">' + LANG.plugins.styling.loader + '</div>');
 | 
			
		||||
            $loader.css({
 | 
			
		||||
                'position':         'absolute',
 | 
			
		||||
                'width':            '100%',
 | 
			
		||||
                'height':           '100%',
 | 
			
		||||
                'top':              0,
 | 
			
		||||
                'left':             0,
 | 
			
		||||
                'z-index':          5000,
 | 
			
		||||
                'background-color': '#fff',
 | 
			
		||||
                'opacity':          '0.7',
 | 
			
		||||
                'color':            '#000',
 | 
			
		||||
                'font-size':        '2.5em',
 | 
			
		||||
                'text-align':       'center',
 | 
			
		||||
                'line-height':      1.5,
 | 
			
		||||
                'padding-top':      '2em'
 | 
			
		||||
            });
 | 
			
		||||
            target.jQuery('body').append($loader);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // load preview in main window (timeout works around chrome updating CSS weirdness)
 | 
			
		||||
        setTimeout(function () {
 | 
			
		||||
            var now = new Date().getTime();
 | 
			
		||||
            $style.attr('href', DOKU_BASE + 'lib/exe/css.php?preview=1&tseed=' + now);
 | 
			
		||||
        }, 500);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    var doreload = 1;
 | 
			
		||||
    var $styling_plugin = jQuery('#plugin__styling');
 | 
			
		||||
 | 
			
		||||
    // if we are not on the plugin page (either main or popup)
 | 
			
		||||
    if (!$styling_plugin.length) {
 | 
			
		||||
        // handle the preview cookie
 | 
			
		||||
        if(DokuCookie.getValue('styling_plugin') == 1) {
 | 
			
		||||
            applyPreview(window);
 | 
			
		||||
        }
 | 
			
		||||
        return; // nothing more to do here
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /* ---- from here on we're in the popup or admin page ---- */
 | 
			
		||||
 | 
			
		||||
    // add button on main page
 | 
			
		||||
    if (!$styling_plugin.hasClass('ispopup')) {
 | 
			
		||||
        var $form = $styling_plugin.find('form.styling').first();
 | 
			
		||||
        var $btn = jQuery('<button>' + LANG.plugins.styling.popup + '</button>');
 | 
			
		||||
        $form.prepend($btn);
 | 
			
		||||
 | 
			
		||||
        $btn.on('click', function (e) {
 | 
			
		||||
            var windowFeatures = "menubar=no,location=no,resizable=yes,scrollbars=yes,status=false,width=500,height=500";
 | 
			
		||||
            window.open(DOKU_BASE + 'lib/plugins/styling/popup.php', 'styling_popup', windowFeatures);
 | 
			
		||||
            e.preventDefault();
 | 
			
		||||
            e.stopPropagation();
 | 
			
		||||
        }).wrap('<p></p>');
 | 
			
		||||
        return; // we exit here if this is not the popup
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /* ---- from here on we're in the popup only ---- */
 | 
			
		||||
 | 
			
		||||
    // reload the main page on close
 | 
			
		||||
    window.onunload = function(e) {
 | 
			
		||||
        if(doreload) {
 | 
			
		||||
            DokuCookie.setValue('styling_plugin', 0);
 | 
			
		||||
            if(window.opener) window.opener.document.location.reload();
 | 
			
		||||
        }
 | 
			
		||||
        return null;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    // don't reload on our own buttons
 | 
			
		||||
    jQuery(':button').click(function(e){
 | 
			
		||||
        doreload = false;
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    // on first load apply preview
 | 
			
		||||
    if(window.opener) applyPreview(window.opener);
 | 
			
		||||
 | 
			
		||||
    // enable the preview cookie
 | 
			
		||||
    DokuCookie.setValue('styling_plugin', 1);
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										13
									
								
								content/lib/plugins/styling/style.less
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								content/lib/plugins/styling/style.less
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
#plugin__styling {
 | 
			
		||||
    button.primary {
 | 
			
		||||
        font-weight: bold;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    [dir=rtl] & table input {
 | 
			
		||||
        text-align: right;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#plugin__styling_loader {
 | 
			
		||||
    display: none;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user