diff --git a/docs/NEWS b/docs/NEWS index d0773caa..f3642554 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -1,6 +1,9 @@ Version 2.x.x (major) () ------------------------------------------------------------------------ + * Updated entryproperties plugin to support a custom property for + multiple ownership of an article + * Emit and detect rel=trackback element to find trackback url, to have a reliable alternative to RDF used so far diff --git a/plugins/serendipity_event_entryproperties/UTF-8/lang_de.inc.php b/plugins/serendipity_event_entryproperties/UTF-8/lang_de.inc.php index 0b4230b6..119fec72 100644 --- a/plugins/serendipity_event_entryproperties/UTF-8/lang_de.inc.php +++ b/plugins/serendipity_event_entryproperties/UTF-8/lang_de.inc.php @@ -45,3 +45,4 @@ @define('PLUGIN_EVENT_ENTRYPROPERTIES_SEQUENCE', 'Reihenfolge der Optionen'); @define('PLUGIN_EVENT_ENTRYPROPERTIES_SEQUENCE_DESC', 'Hier kann ausgewählt werden, welche Optionen in welcher Reihenfolge im Editiermodus des Artikels angezeigt werden.'); +@define('PLUGIN_EVENT_ENTRYPROPERTIES_MULTI_AUTHORS', 'Mehrere Autoren'); diff --git a/plugins/serendipity_event_entryproperties/lang_de.inc.php b/plugins/serendipity_event_entryproperties/lang_de.inc.php index ad28d036..d10e8f00 100644 --- a/plugins/serendipity_event_entryproperties/lang_de.inc.php +++ b/plugins/serendipity_event_entryproperties/lang_de.inc.php @@ -44,3 +44,4 @@ @define('PLUGIN_EVENT_ENTRYPROPERTIES_SEQUENCE', 'Reihenfolge der Optionen'); @define('PLUGIN_EVENT_ENTRYPROPERTIES_SEQUENCE_DESC', 'Hier kann ausgewählt werden, welche Optionen in welcher Reihenfolge im Editiermodus des Artikels angezeigt werden.'); +@define('PLUGIN_EVENT_ENTRYPROPERTIES_MULTI_AUTHORS', 'Mehrere Autoren'); \ No newline at end of file diff --git a/plugins/serendipity_event_entryproperties/lang_en.inc.php b/plugins/serendipity_event_entryproperties/lang_en.inc.php index e395a02b..e94053eb 100644 --- a/plugins/serendipity_event_entryproperties/lang_en.inc.php +++ b/plugins/serendipity_event_entryproperties/lang_en.inc.php @@ -44,3 +44,4 @@ @define('PLUGIN_EVENT_ENTRYPROPERTIES_SEQUENCE', 'Entry editing screen'); @define('PLUGIN_EVENT_ENTRYPROPERTIES_SEQUENCE_DESC', 'Here you can choose, which elements and in which order the plugin should show its input fields in the entry editing process.'); +@define('PLUGIN_EVENT_ENTRYPROPERTIES_MULTI_AUTHORS', 'Multiple authors'); \ No newline at end of file diff --git a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php index 31ac42dd..ab43b5eb 100644 --- a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php +++ b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php @@ -19,7 +19,7 @@ class serendipity_event_entryproperties extends serendipity_event $propbag->add('description', PLUGIN_EVENT_ENTRYPROPERTIES_DESC); $propbag->add('stackable', false); $propbag->add('author', 'Garvin Hicking'); - $propbag->add('version', '1.40'); + $propbag->add('version', '1.41'); $propbag->add('requirements', array( 'serendipity' => '1.6', 'smarty' => '2.6.27', @@ -113,11 +113,12 @@ class serendipity_event_entryproperties extends serendipity_event 'groups' => array('display' => PERM_READ . ': ' . GROUP), 'authors' => array('display' => PERM_READ . ': ' . AUTHOR), 'author' => array('display' => AUTHOR), + 'multi_authors'=> array('display' => PLUGIN_EVENT_ENTRYPROPERTIES_MULTI_AUTHORS), 'markup' => array('display' => PLUGIN_EVENT_ENTRYPROPERTIES_DISABLE_MARKUP), 'customfields' => array('display' => PLUGIN_EVENT_ENTRYPROPERTIES_CUSTOMFIELDS), ); $propbag->add('values', $values); - $propbag->add('default', 'sticky,frontpage,hiderss,access,password,groups,authors,author,markup'); + $propbag->add('default', 'sticky,frontpage,hiderss,access,password,groups,authors,author,multi_authors,markup'); break; default: @@ -172,7 +173,7 @@ class serendipity_event_entryproperties extends serendipity_event static $supported_properties = null; if ($supported_properties === null) { - $supported_properties = array('is_sticky', 'access', 'access_groups', 'access_users', 'cache_body', 'cache_extended', 'no_frontpage', 'hiderss', 'entrypassword'); + $supported_properties = array('is_sticky', 'access', 'access_groups', 'access_users', 'multi_authors', 'cache_body', 'cache_extended', 'no_frontpage', 'hiderss', 'entrypassword'); // Capture special characters for "," and ":" $special_from = array('\\,', '\\:'); @@ -403,6 +404,41 @@ class serendipity_event_entryproperties extends serendipity_event } break; + case 'multi_authors': +?> +
+