From 358f7089561ba3f3db534b755781279a5056e277 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 10 Apr 2006 17:22:11 +0000 Subject: [PATCH] http://www.s9y.org/137.html --- docs/NEWS | 7 +- include/admin/templates.inc.php | 83 +++++++++++++++++-- include/functions_config.inc.php | 15 ++++ include/functions_smarty.inc.php | 5 ++ lang/UTF-8/serendipity_lang_bg.inc.php | 3 + lang/UTF-8/serendipity_lang_cn.inc.php | 5 +- lang/UTF-8/serendipity_lang_cs.inc.php | 5 +- lang/UTF-8/serendipity_lang_cz.inc.php | 5 +- lang/UTF-8/serendipity_lang_da.inc.php | 5 +- lang/UTF-8/serendipity_lang_de.inc.php | 5 +- lang/UTF-8/serendipity_lang_en.inc.php | 5 +- lang/UTF-8/serendipity_lang_es.inc.php | 5 +- lang/UTF-8/serendipity_lang_fa.inc.php | 5 +- lang/UTF-8/serendipity_lang_fi.inc.php | 5 +- lang/UTF-8/serendipity_lang_fr.inc.php | 5 +- lang/UTF-8/serendipity_lang_hu.inc.php | 3 + lang/UTF-8/serendipity_lang_is.inc.php | 5 +- lang/UTF-8/serendipity_lang_it.inc.php | 3 + lang/UTF-8/serendipity_lang_ja.inc.php | 5 +- lang/UTF-8/serendipity_lang_ko.inc.php | 5 +- lang/UTF-8/serendipity_lang_nl.inc.php | 5 +- lang/UTF-8/serendipity_lang_no.inc.php | 5 +- lang/UTF-8/serendipity_lang_pt.inc.php | 5 +- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 3 + lang/UTF-8/serendipity_lang_ro.inc.php | 3 + lang/UTF-8/serendipity_lang_ru.inc.php | 5 +- lang/UTF-8/serendipity_lang_se.inc.php | 3 + lang/UTF-8/serendipity_lang_ta.inc.php | 3 + lang/UTF-8/serendipity_lang_tn.inc.php | 5 +- lang/UTF-8/serendipity_lang_tr.inc.php | 3 + lang/UTF-8/serendipity_lang_tw.inc.php | 5 +- lang/UTF-8/serendipity_lang_zh.inc.php | 5 +- lang/addlang.txt | 3 +- lang/plugin_lang.php | 3 + lang/serendipity_lang_bg.inc.php | 3 + lang/serendipity_lang_cn.inc.php | 3 + lang/serendipity_lang_cs.inc.php | 3 + lang/serendipity_lang_cz.inc.php | 3 + lang/serendipity_lang_da.inc.php | 3 + lang/serendipity_lang_de.inc.php | 3 + lang/serendipity_lang_en.inc.php | 3 + lang/serendipity_lang_es.inc.php | 3 + lang/serendipity_lang_fa.inc.php | 3 + lang/serendipity_lang_fi.inc.php | 3 + lang/serendipity_lang_fr.inc.php | 3 + lang/serendipity_lang_hu.inc.php | 3 + lang/serendipity_lang_is.inc.php | 3 + lang/serendipity_lang_it.inc.php | 3 + lang/serendipity_lang_ja.inc.php | 3 + lang/serendipity_lang_ko.inc.php | 3 + lang/serendipity_lang_nl.inc.php | 3 + lang/serendipity_lang_no.inc.php | 3 + lang/serendipity_lang_pt.inc.php | 3 + lang/serendipity_lang_pt_PT.inc.php | 3 + lang/serendipity_lang_ro.inc.php | 3 + lang/serendipity_lang_ru.inc.php | 3 + lang/serendipity_lang_se.inc.php | 3 + lang/serendipity_lang_ta.inc.php | 3 + lang/serendipity_lang_tn.inc.php | 3 + lang/serendipity_lang_tr.inc.php | 3 + lang/serendipity_lang_tw.inc.php | 3 + lang/serendipity_lang_zh.inc.php | 3 + serendipity_config.inc.php | 2 +- sql/db.sql | 8 ++ sql/db_update_1.1-alpha3_1.1-alpha4_mysql.sql | 7 ++ 65 files changed, 312 insertions(+), 29 deletions(-) create mode 100644 sql/db_update_1.1-alpha3_1.1-alpha4_mysql.sql diff --git a/docs/NEWS b/docs/NEWS index a84f897..6a96623 100644 --- 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) diff --git a/include/admin/templates.inc.php b/include/admin/templates.inc.php index fe35fcc..557b25e 100644 --- a/include/admin/templates.inc.php +++ b/include/admin/templates.inc.php @@ -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' ) { ?> '. WARNING_TEMPLATE_DEPRECATED .''; +if ( @file_exists($serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] .'/layout.php') ) { + echo '
'. WARNING_TEMPLATE_DEPRECATED .'
'; +} + +echo '

' . STYLE_OPTIONS . '

'; +@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 '
' . DONE .': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%H:%M:%S')) . '
'; } -?> + echo '
'; + echo ''; + echo ''; + + 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 '

'; +} else { + echo '

' . STYLE_OPTIONS_NONE . '

'; +} - +echo '

' . SELECT_TEMPLATE . '

'; +?>

'; } elseif (!empty($info['previewURL'])) { - $preview = ''; + $preview = ''; } else { $preview = ' '; } - + if (empty($info['customURI'])) { $info['customURI'] = ''; } diff --git a/include/functions_config.inc.php b/include/functions_config.inc.php index 576df28..c16d2b8 100644 --- a/include/functions_config.inc.php +++ b/include/functions_config.inc.php @@ -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 : */ diff --git a/include/functions_smarty.inc.php b/include/functions_smarty.inc.php index 4c688f8..af2d35d 100644 --- a/include/functions_smarty.inc.php +++ b/include/functions_smarty.inc.php @@ -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; } diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 735d013..127723f 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -826,3 +826,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index f4d95bd..61fb4eb 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 178252b..3f4d778 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index 654a956..a3424c6 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -840,3 +840,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index a4769a3..6a6bcd9 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -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'); + diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 9dec6fd..a5bda43 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -840,3 +840,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index a8b70f8..e682c46 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -838,3 +838,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index 133404d..1ded97f 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -845,3 +845,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 5078c62..5e44704 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 35fa184..7b622a0 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index b7897a8..08bf40f 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -842,3 +842,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index b027959..75b465a 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. @@ -842,3 +842,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 8983481..aa26c78 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 12affe9..67d966d 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index efe91f5..2868ed2 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 564ed26..ab06527 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -843,3 +843,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 2b5a924..91abd62 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -846,3 +846,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 3828d08..b4717fb 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index ddcc63e..bfd4ad9 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -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'); + diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index 4b114dd..5393ca3 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -838,3 +838,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index eb40765..d76be07 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -838,3 +838,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index 85c3875..442c0fc 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -1,4 +1,4 @@ - @@ -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'); + diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index 8e0ab03..f4d7a81 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -842,3 +842,6 @@ @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'); + diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 6eba486..5c3dbfb 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -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'); + diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index 169d2e9..77431fa 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ - $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'); + diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 5916f54..09e7e2f 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -826,3 +826,6 @@ @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'); + diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index a2632fb..85ddc50 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index f707602..0da754b 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index 8c99ad7..1415c2e 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index ad1d497..fa5b1a4 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -840,3 +840,6 @@ @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'); + diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index 6b9db38..4f1976d 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index 1fe67e6..5ebff8f 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -838,3 +838,6 @@ @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'); + diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 92f3276..4883eb7 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -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'); + diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index 0c64482..d26f5fd 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -840,3 +840,6 @@ @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'); + diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index 2b73176..50c901a 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -838,3 +838,6 @@ @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'); + diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index c725ad7..388ae53 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -845,3 +845,6 @@ @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'); + diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index 0992966..a230788 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index 1a8407b..c221e7e 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index 24f0fba..ae9994b 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -842,3 +842,6 @@ @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'); + diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index ded04d1..6018338 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -842,3 +842,6 @@ @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'); + diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 7a40c45..4fb621b 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index 1a5c31f..ae54fa6 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 8540a13..200bade 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -841,3 +841,6 @@ @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'); + diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index c14001a..371296c 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -843,3 +843,6 @@ @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'); + diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index d9232ec..2283e85 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -846,3 +846,6 @@ @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'); + diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 3828d08..b4717fb 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index 17c89fa..aee231c 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -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'); + diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index 3060cde..1c4278a 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -838,3 +838,6 @@ @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'); + diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index eb40765..d76be07 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -838,3 +838,6 @@ @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'); + diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index 51a1135..bc0edd1 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -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'); + diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index 8e0ab03..f4d7a81 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -842,3 +842,6 @@ @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'); + diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index a1f6f79..3c34966 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -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'); + diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index de184a4..01a613f 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -839,3 +839,6 @@ @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'); + diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 2578e1b..09ade05 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -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'; diff --git a/sql/db.sql b/sql/db.sql index 5089808..763fbe3 100644 --- a/sql/db.sql +++ b/sql/db.sql @@ -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 index 0000000..314eb03 --- /dev/null +++ b/sql/db_update_1.1-alpha3_1.1-alpha4_mysql.sql @@ -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); -- 2.39.5