aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/SwiftThemeCreator/language/en_UK/description.txt1
-rw-r--r--plugins/SwiftThemeCreator/language/en_UK/index.php30
-rw-r--r--plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php35
-rw-r--r--plugins/SwiftThemeCreator/language/fr_FR/description.txt1
-rw-r--r--plugins/SwiftThemeCreator/language/fr_FR/index.php30
-rw-r--r--plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php35
-rw-r--r--plugins/SwiftThemeCreator/language/index.php30
-rw-r--r--plugins/SwiftThemeCreator/theme_creator.php2
-rw-r--r--plugins/SwiftThemeCreator/theme_creator.tpl8
9 files changed, 168 insertions, 4 deletions
diff --git a/plugins/SwiftThemeCreator/language/en_UK/description.txt b/plugins/SwiftThemeCreator/language/en_UK/description.txt
new file mode 100644
index 000000000..a23b2c67c
--- /dev/null
+++ b/plugins/SwiftThemeCreator/language/en_UK/description.txt
@@ -0,0 +1 @@
+Create new theme elements which can be manually updated later. \ No newline at end of file
diff --git a/plugins/SwiftThemeCreator/language/en_UK/index.php b/plugins/SwiftThemeCreator/language/en_UK/index.php
new file mode 100644
index 000000000..871b52b6a
--- /dev/null
+++ b/plugins/SwiftThemeCreator/language/en_UK/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | 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 |
+// | |
+// | 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. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php b/plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php
new file mode 100644
index 000000000..997c25478
--- /dev/null
+++ b/plugins/SwiftThemeCreator/language/en_UK/plugin.lang.php
@@ -0,0 +1,35 @@
+<?php
+
+$lang['Swift Theme Creator'] = 'Swift Theme Creator';
+$lang[''] = '';
+$lang['The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.'] = 'The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.';
+$lang['Template selection'] = 'Template selection';
+$lang['Template'] = 'Template';
+$lang['New theme to be created'] = 'New theme to be created';
+$lang['Colours selection'] = 'Colours selection';
+$lang['Main background'] = 'Main background';
+$lang['Default text'] = 'Default text';
+$lang['Internal links'] = 'Internal links';
+$lang['Hover links'] = 'Hover links';
+$lang['External links'] = 'External links';
+$lang['Header background selection'] = 'Header background selection';
+$lang['No picture'] = 'No picture';
+$lang['Random source'] = 'Random source';
+$lang['Fixed path'] = 'Fixed path';
+$lang['Colorize'] = 'Colorize';
+$lang['Enhance brightness'] = 'Enhance brightness';
+$lang['Reduce contrast'] = 'Reduce contrast';
+$lang['Width limit in pixels'] = 'Width limit in pixels';
+$lang['Height limit in pixels'] = 'Height limit in pixels';
+$lang['Display mode'] = 'Display mode';
+$lang['Reset'] = 'Reset';
+$lang['Generate'] = 'Generate';
+$lang['Simulate'] = 'Simulate';
+$lang['Just a yoga preview...'] = 'Just a yoga preview...';
+$lang['"Fixed header" preview'] = '"Fixed header" preview';
+$lang['"Random header" preview'] = '"Random header" preview';
+$lang['"No header" preview'] = '"No header" preview';
+$lang['Preview'] = 'Preview';
+$lang['home'] = 'home';
+$lang['...to get an idea of the expected result. Preview is based on yoga-like template only.'] = '...to get an idea of the expected result. Preview is based on yoga-like template only.';
+?> \ No newline at end of file
diff --git a/plugins/SwiftThemeCreator/language/fr_FR/description.txt b/plugins/SwiftThemeCreator/language/fr_FR/description.txt
new file mode 100644
index 000000000..a23b2c67c
--- /dev/null
+++ b/plugins/SwiftThemeCreator/language/fr_FR/description.txt
@@ -0,0 +1 @@
+Create new theme elements which can be manually updated later. \ No newline at end of file
diff --git a/plugins/SwiftThemeCreator/language/fr_FR/index.php b/plugins/SwiftThemeCreator/language/fr_FR/index.php
new file mode 100644
index 000000000..871b52b6a
--- /dev/null
+++ b/plugins/SwiftThemeCreator/language/fr_FR/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | 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 |
+// | |
+// | 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. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php b/plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php
new file mode 100644
index 000000000..997c25478
--- /dev/null
+++ b/plugins/SwiftThemeCreator/language/fr_FR/plugin.lang.php
@@ -0,0 +1,35 @@
+<?php
+
+$lang['Swift Theme Creator'] = 'Swift Theme Creator';
+$lang[''] = '';
+$lang['The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.'] = 'The Swift Theme Creator is powerful webmaster tool to create a new theme in few seconds. You can update later the result as you need.';
+$lang['Template selection'] = 'Template selection';
+$lang['Template'] = 'Template';
+$lang['New theme to be created'] = 'New theme to be created';
+$lang['Colours selection'] = 'Colours selection';
+$lang['Main background'] = 'Main background';
+$lang['Default text'] = 'Default text';
+$lang['Internal links'] = 'Internal links';
+$lang['Hover links'] = 'Hover links';
+$lang['External links'] = 'External links';
+$lang['Header background selection'] = 'Header background selection';
+$lang['No picture'] = 'No picture';
+$lang['Random source'] = 'Random source';
+$lang['Fixed path'] = 'Fixed path';
+$lang['Colorize'] = 'Colorize';
+$lang['Enhance brightness'] = 'Enhance brightness';
+$lang['Reduce contrast'] = 'Reduce contrast';
+$lang['Width limit in pixels'] = 'Width limit in pixels';
+$lang['Height limit in pixels'] = 'Height limit in pixels';
+$lang['Display mode'] = 'Display mode';
+$lang['Reset'] = 'Reset';
+$lang['Generate'] = 'Generate';
+$lang['Simulate'] = 'Simulate';
+$lang['Just a yoga preview...'] = 'Just a yoga preview...';
+$lang['"Fixed header" preview'] = '"Fixed header" preview';
+$lang['"Random header" preview'] = '"Random header" preview';
+$lang['"No header" preview'] = '"No header" preview';
+$lang['Preview'] = 'Preview';
+$lang['home'] = 'home';
+$lang['...to get an idea of the expected result. Preview is based on yoga-like template only.'] = '...to get an idea of the expected result. Preview is based on yoga-like template only.';
+?> \ No newline at end of file
diff --git a/plugins/SwiftThemeCreator/language/index.php b/plugins/SwiftThemeCreator/language/index.php
new file mode 100644
index 000000000..871b52b6a
--- /dev/null
+++ b/plugins/SwiftThemeCreator/language/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | 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 |
+// | |
+// | 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. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/plugins/SwiftThemeCreator/theme_creator.php b/plugins/SwiftThemeCreator/theme_creator.php
index 9bd30d7c7..25c20fd77 100644
--- a/plugins/SwiftThemeCreator/theme_creator.php
+++ b/plugins/SwiftThemeCreator/theme_creator.php
@@ -26,6 +26,8 @@ if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
if (!defined('IN_ADMIN') or !IN_ADMIN) die('Hacking attempt!');
define('STC_PATH', PHPWG_PLUGINS_PATH.'SwiftThemeCreator/');
define('STC_INTERNAL_VERSION', '1.40');
+load_language('plugin.lang', STC_PATH);
+
/*
* stc_hex2rgb convert any string to array of RGB values
*/
diff --git a/plugins/SwiftThemeCreator/theme_creator.tpl b/plugins/SwiftThemeCreator/theme_creator.tpl
index 9261b0d64..cb71f8b5d 100644
--- a/plugins/SwiftThemeCreator/theme_creator.tpl
+++ b/plugins/SwiftThemeCreator/theme_creator.tpl
@@ -9,7 +9,7 @@ You can update later the result as you need.'|@translate}
<form method="post" action="" class="general">
<fieldset>
- <legend>{'Template selection '|@translate}</legend>
+ <legend>{'Template selection'|@translate}</legend>
<table><tr><td style="padding-right:20px;">
{'Template'|@translate}
</td><td>
@@ -43,7 +43,7 @@ You can update later the result as you need.'|@translate}
</script>
<fieldset>
- <legend>{'Colours selection '|@translate}</legend>
+ <legend>{'Colours selection'|@translate}</legend>
<table>
<tr><td style="padding-right:20px;">
{'Main background'|@translate}
@@ -73,7 +73,7 @@ You can update later the result as you need.'|@translate}
</fieldset>
<fieldset>
- <legend>{'Header background selection '|@translate}</legend>
+ <legend>{'Header background selection'|@translate}</legend>
<table>
<tr>
<td style="padding-right:120px;">
@@ -154,7 +154,7 @@ You can update later the result as you need.'|@translate}
</p>
</form>
<fieldset>
- <legend>{'Just a yoga preview... '|@translate}</legend>
+ <legend>{'Just a yoga preview...'|@translate}</legend>
<div style="background-color:{$main.color1}; width: 600px; overflow: hidden; margin: 5px auto 5px auto;
font-family:Univers,Helvetica,Optima,'Bitstream Vera Sans',sans-serif;">
{* Preview header *}<div style="width: 600px; height: 80px; overflow: hidden;">