remove single_entry item from 34383f1
since that is a matter of plugin list position
This commit is contained in:
parent
34383f19ca
commit
8a2829db75
|
@ -4,8 +4,6 @@
|
|||
* Load lang with lang api
|
||||
* Add Serendpity 2.0+ backend markup
|
||||
* Fix inconistencies
|
||||
* Added entries_header hook to assign $is_single_entry,
|
||||
which else would not be available with custom permalink entries.
|
||||
|
||||
|
||||
1.14.1:
|
||||
|
|
|
@ -23,7 +23,6 @@ class serendipity_event_custom_permalinks extends serendipity_event
|
|||
'css_backend' => true,
|
||||
'entry_display' => true,
|
||||
'backend_save' => true,
|
||||
'entries_header' => true,
|
||||
'frontend_display:html:per_entry' => true,
|
||||
'backend_display' => true));
|
||||
|
||||
|
@ -125,11 +124,6 @@ class serendipity_event_custom_permalinks extends serendipity_event
|
|||
}
|
||||
break;
|
||||
|
||||
case 'entries_header':
|
||||
// for custom permalinks this has to be set, since it else is not available - only with /archives/ path
|
||||
$serendipity['smarty']->assign('is_single_entry', true);
|
||||
break;
|
||||
|
||||
case 'frontend_display:html:per_entry':
|
||||
if (isset($this->ids[$eventData['id']]) && stristr($this->ids[$eventData['id']], '/' . UNKNOWN) === FALSE) {
|
||||
$eventData['link'] = $this->ids[$eventData['id']];
|
||||
|
|
Loading…
Reference in a new issue