]> git.mjollnir.org Git - s9y.git/commitdiff
http://www.s9y.org/137.html
authorgarvinhicking <garvinhicking>
Mon, 10 Apr 2006 17:22:11 +0000 (17:22 +0000)
committergarvinhicking <garvinhicking>
Mon, 10 Apr 2006 17:22:11 +0000 (17:22 +0000)
65 files changed:
docs/NEWS
include/admin/templates.inc.php
include/functions_config.inc.php
include/functions_smarty.inc.php
lang/UTF-8/serendipity_lang_bg.inc.php
lang/UTF-8/serendipity_lang_cn.inc.php
lang/UTF-8/serendipity_lang_cs.inc.php
lang/UTF-8/serendipity_lang_cz.inc.php
lang/UTF-8/serendipity_lang_da.inc.php
lang/UTF-8/serendipity_lang_de.inc.php
lang/UTF-8/serendipity_lang_en.inc.php
lang/UTF-8/serendipity_lang_es.inc.php
lang/UTF-8/serendipity_lang_fa.inc.php
lang/UTF-8/serendipity_lang_fi.inc.php
lang/UTF-8/serendipity_lang_fr.inc.php
lang/UTF-8/serendipity_lang_hu.inc.php
lang/UTF-8/serendipity_lang_is.inc.php
lang/UTF-8/serendipity_lang_it.inc.php
lang/UTF-8/serendipity_lang_ja.inc.php
lang/UTF-8/serendipity_lang_ko.inc.php
lang/UTF-8/serendipity_lang_nl.inc.php
lang/UTF-8/serendipity_lang_no.inc.php
lang/UTF-8/serendipity_lang_pt.inc.php
lang/UTF-8/serendipity_lang_pt_PT.inc.php
lang/UTF-8/serendipity_lang_ro.inc.php
lang/UTF-8/serendipity_lang_ru.inc.php
lang/UTF-8/serendipity_lang_se.inc.php
lang/UTF-8/serendipity_lang_ta.inc.php
lang/UTF-8/serendipity_lang_tn.inc.php
lang/UTF-8/serendipity_lang_tr.inc.php
lang/UTF-8/serendipity_lang_tw.inc.php
lang/UTF-8/serendipity_lang_zh.inc.php
lang/addlang.txt
lang/plugin_lang.php
lang/serendipity_lang_bg.inc.php
lang/serendipity_lang_cn.inc.php
lang/serendipity_lang_cs.inc.php
lang/serendipity_lang_cz.inc.php
lang/serendipity_lang_da.inc.php
lang/serendipity_lang_de.inc.php
lang/serendipity_lang_en.inc.php
lang/serendipity_lang_es.inc.php
lang/serendipity_lang_fa.inc.php
lang/serendipity_lang_fi.inc.php
lang/serendipity_lang_fr.inc.php
lang/serendipity_lang_hu.inc.php
lang/serendipity_lang_is.inc.php
lang/serendipity_lang_it.inc.php
lang/serendipity_lang_ja.inc.php
lang/serendipity_lang_ko.inc.php
lang/serendipity_lang_nl.inc.php
lang/serendipity_lang_no.inc.php
lang/serendipity_lang_pt.inc.php
lang/serendipity_lang_pt_PT.inc.php
lang/serendipity_lang_ro.inc.php
lang/serendipity_lang_ru.inc.php
lang/serendipity_lang_se.inc.php
lang/serendipity_lang_ta.inc.php
lang/serendipity_lang_tn.inc.php
lang/serendipity_lang_tr.inc.php
lang/serendipity_lang_tw.inc.php
lang/serendipity_lang_zh.inc.php
serendipity_config.inc.php
sql/db.sql
sql/db_update_1.1-alpha3_1.1-alpha4_mysql.sql [new file with mode: 0644]

index a84f897bcc54da494c0a1623c0f2537e639ab670..6a96623e971c26eab85281e11cbf47c066947408 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,11 @@
 Version 1.1-alpha1()
 ------------------------------------------------------------------------
 
+   * Support template/theme/style-specific options via "config.inc.php"
+     file in template directory. Allows values like "background-color",
+     "header" etc. to be made configurable in the admin screen.
+     (garvinhicking)
+
    * Make media manager able to store media properties (garvinhicking)
      TODO:
         - Show more existing properties in edit interface [see TODO in file]
@@ -74,7 +79,7 @@ Version 1.0 ()
      set to MODERATE if maybe other rules override the status to
      REJECTED. This should reduce the amount of moderation mails that
      definitely are spam. (Bug #1467707) (garvinhicking)
-                  
+
    * Fix UTF-8 encoding of $i18n_filename_* variables for building
      permalinks (Bug #1461754, Thanks to Kim Sullivan) (garvinhicking)
 
index fe35fccd674f8b6eda20c35fda02cfcac51dc56e..557b25e39700dd67881dbd9e4c43972bcc57f732 100644 (file)
@@ -10,6 +10,39 @@ if (!serendipity_checkPermission('adminTemplates')) {
     return;
 }
 
+class template_option {
+    var $config = null;
+    var $values = null;
+    var $keys   = null;
+
+    function introspect_config_item($item, &$bag) {
+        foreach($this->config[$item] AS $key => $val) {
+            $bag->add($key, $val);
+        }
+    }
+
+    function get_config($item) {
+        return $this->values[$item];
+    }
+
+    function set_config($item, $value) {
+        global $serendipity;
+        serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}options
+                               WHERE okey = 't_" . serendipity_db_escape_string($serendipity['template']) . "'
+                                 AND name = '" . serendipity_db_escape_string($item) . "'");
+        serendipity_db_query("INSERT INTO {$serendipity['dbPrefix']}options (okey, name, value)
+                                   VALUES ('t_" . serendipity_db_escape_string($serendipity['template']) . "', '" . serendipity_db_escape_string($item) . "', '" . serendipity_db_escape_string($value) . "')");
+        return true;
+    }
+
+    function import(&$config) {
+        foreach($config AS $key => $item) {
+            $this->config[$item['var']] = $item;
+            $this->keys[$item['var']]   = $item['var'];
+        }
+    }
+}
+
 if ($serendipity['GET']['adminAction'] == 'install' ) {
     serendipity_plugin_api::hook_event('backend_templates_fetchtemplate', $serendipity);
 
@@ -23,13 +56,51 @@ if ($serendipity['GET']['adminAction'] == 'install' ) {
 ?>
 
 <?php
-    if ( @file_exists($serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] .'/layout.php') ) {
-        echo '<div class="serendipityAdminMsgNote">'. WARNING_TEMPLATE_DEPRECATED .'</div>';
+if ( @file_exists($serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] .'/layout.php') ) {
+    echo '<div class="serendipityAdminMsgNote">'. WARNING_TEMPLATE_DEPRECATED .'</div>';
+}
+
+echo '<h3>' . STYLE_OPTIONS . '</h3>';
+@include $serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] . '/config.inc.php';
+
+if (is_array($template_config)) {
+    if ($serendipity['POST']['adminAction'] == 'configure') {
+        foreach($serendipity['POST']['template'] AS $option => $value) {
+            template_option::set_config($option, $value);
+        }
+        echo '<div class="serendipityAdminMsgSuccess">' . DONE .': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '</div>';
     }
-?>
 
+    echo '<form method="post" action="serendipity_admin.php">';
+    echo '<input type="hidden" name="serendipity[adminModule]" value="templates" />';
+    echo '<input type="hidden" name="serendipity[adminAction]" value="configure" />';
+
+    include S9Y_INCLUDE_PATH . 'include/functions_plugins_admin.inc.php';
+    $template_vars =& serendipity_loadThemeOptions($template_config);
+
+    $template_options = new template_option();
+    $template_options->import($template_config);
+    $template_options->values =& $template_vars;
+
+    serendipity_plugin_config(
+        $template_options,
+        $template_vars,
+        $serendipity['template'],
+        $serendipity['template'],
+        $template_options->keys,
+        true,
+        true,
+        true,
+        true,
+        'template'
+    );
+    echo '</form><br />';
+} else {
+    echo '<p>' . STYLE_OPTIONS_NONE . '</p>';
+}
 
-<?php echo SELECT_TEMPLATE; ?>
+echo '<h3>' . SELECT_TEMPLATE . '</h3>';
+?>
 <br /><br />
 <?php
     $i = 0;
@@ -53,11 +124,11 @@ if ($serendipity['GET']['adminAction'] == 'install' ) {
         if (file_exists($serendipity['serendipityPath'] . $serendipity['templatePath'] . $theme . '/preview.png')) {
             $preview = '<img src="' . $serendipity['templatePath'] . $theme . '/preview.png" width="100" style="border: 1px #000000 solid" />';
         } elseif (!empty($info['previewURL'])) {
-            $preview = '<img src="' . $info['previewURL'] . '" width="100" style="border: 1px #000000 solid" />';        
+            $preview = '<img src="' . $info['previewURL'] . '" width="100" style="border: 1px #000000 solid" />';
         } else {
             $preview = '&nbsp;';
         }
-        
+
         if (empty($info['customURI'])) {
             $info['customURI'] = '';
         }
index 576df28830bbcfb6daba8e991996a39bc6679a67..c16d2b88be4ab2cfd4f9b2ccbcb38cbe12c4665a 100644 (file)
@@ -1726,4 +1726,19 @@ function serendipity_setFormToken($type = 'form') {
     }
 }
 
+function &serendipity_loadThemeOptions(&$template_config) {
+    global $serendipity;
+    $template_vars =& serendipity_db_query("SELECT name, value FROM {$serendipity['dbPrefix']}options
+                                             WHERE okey = 't_" . serendipity_db_escape_string($serendipity['template']) . "'", false, 'assoc', false, 'name', 'value');
+    if (!is_array($template_vars)) {
+        $template_vars = array();
+    }
+    foreach($template_config AS $key => $item) {
+        if (!isset($template_vars[$item['var']])) {
+            $template_vars[$item['var']] = $item['default'];
+        }
+    }
+
+    return $template_vars;
+}
 /* vim: set sts=4 ts=4 expandtab : */
index 4c688f86900a2a3701436e679d8041f40245040b..af2d35d0f6ef0b192b3f19fb393d0e4df0e73329 100644 (file)
@@ -677,6 +677,11 @@ function serendipity_smarty_init($vars = array()) {
     // setup custom smarty variables, modifiers etc. to use in their templates.
     @include $serendipity['smarty']->config_dir . '/config.inc.php';
 
+    if (is_array($template_config)) {
+        $template_vars =& serendipity_loadThemeOptions($template_config);
+        $serendipty['smarty']->assign('template_option', $template_vars);
+    }
+
     return true;
 }
 
index 735d013c02fe8a03e89de9042f50b5db0e90885a..127723fe8ad05b48970175bd711b56e863664567 100644 (file)
 @define('MEDIA_PROP_DESC', 'Въведете списък от свойства, разделени с \';\', които искате да дефинирате за всеки медиен файл.');
 @define('MEDIA_PROP_MULTIDESC', '(Можете да добавите ":MULTI" след името на свойство за да укажете, че то ще съдържа дълъг текст вместо само няколко символа)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index f4d95bdb583167312193cab9f63d06e7cd80126d..61fb4ebd27a8d624ef4ae915c7e53861bfa5215c 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cn.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_cn.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 56a01b91a95addad9ba88b8375d0a9644194140b..f4ecc5dfdf50d5746e5a51ea6fcd64221df46e0d 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cs.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_cs.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2005 Josef Klimosz <ok2wo@centrum.cz>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 178252b23483374b8dbe99e95aca6c04b476e531..3f4d7789636bc6cae54980905266baf43b4dfb68 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_cz.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_cz.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) 2004 Josef Klimosz <ok2wo@centrum.cz>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 654a956f7c9bfefbb31dc08fd3fe65a09e45a927..a3424c6e92a6e0ec8736feabe30c9852995e1b8b 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_da.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_da.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Tom Sommer, <ts@dreamcoder.dk>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index a4769a3045ec5c190473613ca8b7c40585a07723..6a6bcd9c4f726deb41ade78a43f2a9ef6f2721c7 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_de.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_de.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Jannis Hermanns, Garvin Hicking and others
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 6ddeade53fb909bc0703aeb1ba4fb7756aaa3ed6..4c7aec704fdfbb88de35355ec01e51298f94b662 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_en.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_en.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 69e1a93de75ce327137f195da3c5eddaafd04df9..91a9969165a1c48942552aac341fd6b81f1b7db1 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_es.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_es.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Luis Cervantes <LuisCervantes@ono.com>,
@@ -856,3 +856,6 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 9dec6fdd581d29345465e40de42eeac7566c1bce..a5bda43b4a9bad35a8f284fa5af237add840a2c5 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fa.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_fa.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved. See LICENSE file for licensing details
 # this translation, translated by Omid Mottaghi <http://oxygenws.com>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index a8b70f84f893608b21b3baccf050e7bd48066ca6..e682c46d6068fbf3ae1601cb56b89630d13aa1e2 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fi.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_fi.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Mauri Sahlberg <mos@iki.fi>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 133404d376d9a32b3da1d24cac993568f8c4fd50..1ded97f9ac092434208ab36f25f7faf44e490808 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_fr.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_fr.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Sebastian Mordziol <argh@php-tools.net>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 5078c62065709df00630f276a1361f36a4ce38e5..5e44704dba1fee2e701ce8647ecb5b318890afa4 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 35fa184e11a4af9357016f91b0ba97708d9dfc00..7b622a0ac6cfce06a1a921e964814e70c8a5d22c 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_is.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_is.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Örn Arnarson <orn@arnarson.net>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index b7897a87917504e8bba51c7aa15cbf3eec421ca6..08bf40f1bc7ddbf4a3016d6510d6a5590fce27be 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index b027959d28b3062d79f2f842c093b80f56fc5994..75b465a14a897285424a23a98f2c796af6783c84 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ja.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_ja.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) Tadashi Jokagi <elf2000@users.sourceforge.net>, 2004-2005.
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 898348170c544e1eae1d8a953c22b0c18eefcf33..aa26c78c556c6a6d44fcb32b40f9c1c2f0dc71e1 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ko.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_ko.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 12affe937a2c3e1bf1b07b869a57e242377c4282..67d966d878436949f85e326313d6e75c7eaeebfe 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_nl.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_nl.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Christiaan Heerze <webmaster@heimp.nl>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index efe91f5672368fdbe61f1ff31188252e384a4dc6..2868ed2f39aa9985730c608e3af55d4dec8187e8 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_no.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_no.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Jo Christian Oterhals <oterhals@gmail.com>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 564ed2658a6d139c31f1316434faf3788246ad43..ab0652714e0ba3268839f6b5a65d8103057d638d 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_pt.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_pt.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation (c) by Agner Olson <agner@agner.net>
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 2b5a924791fe0443bda2853b96a9f5515053057a..91abd62a8908a3bac47d20361ec9b1b7ef73fcdd 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 3828d08aecc20260507aef2f407befd4f4b4279e..b4717fb8382422f9d0c205cc52aff6b15f9b7562 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index ddcc63ea38cc908d31bf92d4974d791b61a82cd6..bfd4ad91a52695a17c07722132467e9f7b3667bc 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_ru.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_ru.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translation by Nightly <nightly@reys.net>
@@ -842,3 +842,6 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 4b114dd7366d425895e61e6e4ee77d47343e9bee..5393ca369c17e597be2c6f9103eab64346200076 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index eb4076582ab52a0b15f62cb9b7c539ff815bb106..d76be074d1c1246cf86b93f8bbd8a1c2de71e088 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 85c3875342008cdaf4b28ca4f05e7708cc271906..442c0fc07348e3bed57c139f4e761f0faad61c15 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tn.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_tn.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
@@ -841,3 +841,6 @@ $i18n_unknown = 'tw';
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 8e0ab0300fcd5578ffd16e7ce9c7194206b360cd..f4d7a8125a27cd5b9370a9120c5c6fe24128d658 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 6eba486224886d75ab14d4732dd31cbcc261d47d..5c3dbfb94b9f9d8546fc8bce82fb4ec6fa6fccd5 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_tw.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_tw.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 # Translated by CapriSkye <admin@capriskye.com>
@@ -841,3 +841,6 @@ $i18n_unknown = 'tw';
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 169d2e9970549a547b989ad11f973637eaac1663..77431fac87562bda5f8d90bd1b941a7edc86c8ea 100644 (file)
@@ -1,4 +1,4 @@
-<?php # $Id: serendipity_lang_zh.inc.php 1041 2006-03-30 16:28:55Z garvinhicking $
+<?php # $Id: serendipity_lang_zh.inc.php 1059 2006-04-07 16:01:20Z garvinhicking $
 # Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
 # All rights reserved.  See LICENSE file for licensing details
 /* vim: set sts=4 ts=4 expandtab : */
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 1a51f427e9891a140632b39ebc1a24e4af6f1575..49ccad4aa34e1085cfee930a933814386a64ff47 100644 (file)
@@ -1,2 +1,3 @@
-@define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
 
index 69b3ff2595ade198279e0a47c11a3983fb72262f..0f560866fad4fbde420a279e5cf4310485e3ad47 100644 (file)
@@ -114,3 +114,6 @@ foreach($const['missing'] AS $file => $constants) {
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 5916f5476687b3ea7cd0a2f4f570b11cb02fcecb..09e7e2f3342796ac1d4d3e81961c20d5a89e608e 100644 (file)
 @define('MEDIA_PROP_DESC', 'Âúâåäåòå ñïèñúê îò ñâîéñòâà, ðàçäåëåíè ñ \';\', êîèòî èñêàòå äà äåôèíèðàòå çà âñåêè ìåäèåí ôàéë.');
 @define('MEDIA_PROP_MULTIDESC', '(Ìîæåòå äà äîáàâèòå ":MULTI" ñëåä èìåòî íà ñâîéñòâî çà äà óêàæåòå, ÷å òî ùå ñúäúðæà äúëúã òåêñò âìåñòî ñàìî íÿêîëêî ñèìâîëà)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index a2632fb9767c3d0b1c97bfd6e2262f9d41770a03..85ddc5032e95aa92a65738db7e23c3520d551dae 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index f707602e80faf07070f77e30516c51b95b83700b..0da754bc4f3dfabc58fdc5e3943108b337ec392e 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 8c99ad7621cfa6e81a55987c2f0c75943153a074..1415c2eefb4424ee6dccb723b7f1b2f51f4b4292 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index ad1d497e6dfe6428a8f48f809d7576a8b82e3b70..fa5b1a4a567d5eee1e37e62f5107a938a2347a4c 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 6b9db38092047b27e7067e42bda6fb7dab36a0cd..4f1976d54fbe7caef428c3967db42dcc0ce36ac1 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 1fe67e6456fc7053ecff58970104c661727d4b9e..5ebff8f22d614271705e93547e0f1a13a29cff68 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 92f3276cf67187b00d49f937f431d7c9c86da5bf..4883eb7d3237b2026e974c5771e19b83cc2ce001 100644 (file)
@@ -856,3 +856,6 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 0c64482c3f3c6fbb9dd15ddf5b172ff18c49201d..d26f5fdba9b1d8ceec443acc7f83caab7df0ec66 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 2b73176584f1f3d07813cb0d211ddd9c821617dd..50c901a234c32e0e2c7a7b567dce51394a494a76 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index c725ad7e3ff352d4e89d6dda6ab8b8ac8d316d32..388ae537dc8dcf695aff2d9c140e934b038964eb 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 0992966af248ef4f5caa47b1ea2bb05a7f030ccf..a230788ccb7b278aa1dc6a3787db9caef3db1544 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 1a8407bfa902050e961735bf3e40235cc89d9d9d..c221e7e30b597016299657977c7a6c25ddf940ef 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 24f0fba57eff5bad69554d88af4a9930c6e02ca9..ae9994bd8b53924e110502af531b2907c5fd1951 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index ded04d1023d867f12dcd7c82ec9b94af33f75b89..60183382e84fd4b95bee73330b4b8339f84b048a 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 7a40c450f91ed02715b22334e9e5cae7f96f6828..4fb621b0cd613e4da47f2b34a54c51996bade638 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 1a5c31f19c324ab42c824b70310ae30730b2f486..ae54fa63fd10c30d9c6d0a81838eb2eea805793a 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 8540a13947daddaea6bc96ec4bb91d1d0a517f86..200badefb74e2093ef3677795f990c8a6662b520 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index c14001a572d64fef1fb7c59040b8cf66ed0ddc39..371296c74be3453a499294781f56b5f092c66c74 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index d9232ec391f399790b05d01a568f86e310f1fa86..2283e8519dbdd289d7720bb4e43ed5fe23d6d066 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 3828d08aecc20260507aef2f407befd4f4b4279e..b4717fb8382422f9d0c205cc52aff6b15f9b7562 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 17c89fa155c2bf4d1b4ca2811284f3830f45a142..aee231cfd924fc131d7acf99990d7bb8be73f82a 100644 (file)
@@ -842,3 +842,6 @@ $i18n_filename_to   = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 3060cde8442cf62455cbd8de39ad2f13598229f2..1c4278adf0c7c7ea6b49d1f291a6cc1b4e848281 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index eb4076582ab52a0b15f62cb9b7c539ff815bb106..d76be074d1c1246cf86b93f8bbd8a1c2de71e088 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 51a1135f43280c7f2930f45d13fde121da3fb373..bc0edd134fcbfd65cf0d6b1f6fd781486ae50608 100644 (file)
@@ -841,3 +841,6 @@ $i18n_unknown = 'tw';
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 8e0ab0300fcd5578ffd16e7ce9c7194206b360cd..f4d7a8125a27cd5b9370a9120c5c6fe24128d658 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index a1f6f79debac56f98f0b9d3ba782929bbd2fd0d9..3c34966495ea472dc92f647fd904f5cd7cd874e1 100644 (file)
@@ -841,3 +841,6 @@ $i18n_unknown = 'tw';
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index de184a4ff7b1b2ccff1d646c365f8d4d4e301439..01a613f8b73c7e30a50133774facd21d12abe0fa 100644 (file)
 @define('MEDIA_PROP_DESC', 'Enter a list of ";" separated property fields you want to define for each media file');
 @define('MEDIA_PROP_MULTIDESC', '(You can append ":MULTI" after any item to indicate that this item will contain long text instead of just some characters)');
 
+@define('STYLE_OPTIONS_NONE', 'This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".');
+@define('STYLE_OPTIONS', 'Theme/Style options');
+
index 2578e1beff24bfe3013a31a081c419534d4b1e17..09ade053a44a1e6a1ee495313620e4fe7ebd6e39 100644 (file)
@@ -27,7 +27,7 @@ if (IS_installed === true && !defined('IN_serendipity')) {
 include(S9Y_INCLUDE_PATH . 'include/compat.inc.php');
 
 // The version string
-$serendipity['version']         = '1.1-alpha3';
+$serendipity['version']         = '1.1-alpha4';
 
 // Name of folder for the default theme
 $serendipity['defaultTemplate'] = 'carl_contest';
index 5089808ec64d0de547ea30af1df697bc83596dac..763fbe322e787bbc22d6ff1ade0341cf6c71ea7f 100644 (file)
@@ -173,6 +173,14 @@ create table {PREFIX}config (
 
 CREATE INDEX configauthorid_idx ON {PREFIX}config (authorid);
 
+create table {PREFIX}options (
+  name varchar(255) not null,
+  value text not null,
+  okey varchar(64) not null default ''
+) {UTF_8};
+
+CREATE INDEX options_idx ON {PREFIX}options (okey);
+
 CREATE TABLE {PREFIX}suppress (
   ip varchar(15) default NULL,
   scheme varchar(5),
diff --git a/sql/db_update_1.1-alpha3_1.1-alpha4_mysql.sql b/sql/db_update_1.1-alpha3_1.1-alpha4_mysql.sql
new file mode 100644 (file)
index 0000000..314eb03
--- /dev/null
@@ -0,0 +1,7 @@
+create table {PREFIX}options (
+  name varchar(255) not null,
+  value text not null,
+  okey varchar(64) not null default ''
+) {UTF_8};
+
+CREATE INDEX options_idx ON {PREFIX}options (okey);