Make plugins bail out if called directly
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -19,7 +24,7 @@ class serendipity_event_bbcode extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_BBCODE_DESC);
|
$propbag->add('description', PLUGIN_EVENT_BBCODE_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Jez Hancock, Garvin Hicking');
|
$propbag->add('author', 'Jez Hancock, Garvin Hicking');
|
||||||
$propbag->add('version', '2.06');
|
$propbag->add('version', '2.07');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -25,7 +30,7 @@ class serendipity_event_browsercompatibility extends serendipity_event
|
|||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
'php' => '4.1.0'
|
'php' => '4.1.0'
|
||||||
));
|
));
|
||||||
$propbag->add('version', '1.0');
|
$propbag->add('version', '1.1');
|
||||||
$propbag->add('event_hooks', array(
|
$propbag->add('event_hooks', array(
|
||||||
'css' => true,
|
'css' => true,
|
||||||
'css_backend' => true,
|
'css_backend' => true,
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -30,7 +35,7 @@ class serendipity_event_contentrewrite extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_CONTENTREWRITE_DESCRIPTION);
|
$propbag->add('description', PLUGIN_EVENT_CONTENTREWRITE_DESCRIPTION);
|
||||||
$propbag->add('stackable', true);
|
$propbag->add('stackable', true);
|
||||||
$propbag->add('author', 'Garvin Hicking');
|
$propbag->add('author', 'Garvin Hicking');
|
||||||
$propbag->add('version', '1.2');
|
$propbag->add('version', '1.3');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -18,7 +23,7 @@ class serendipity_event_creativecommons extends serendipity_event {
|
|||||||
$propbag->add('description', PLUGIN_CREATIVECOMMONS_DESC);
|
$propbag->add('description', PLUGIN_CREATIVECOMMONS_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Evan Nemerson');
|
$propbag->add('author', 'Evan Nemerson');
|
||||||
$propbag->add('version', '1.1');
|
$propbag->add('version', '1.2');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -20,7 +25,7 @@ class serendipity_event_emoticate extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_EMOTICATE_DESC);
|
$propbag->add('description', PLUGIN_EVENT_EMOTICATE_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Serendipity Team');
|
$propbag->add('author', 'Serendipity Team');
|
||||||
$propbag->add('version', '1.3');
|
$propbag->add('version', '1.4');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -21,7 +26,7 @@ class serendipity_event_entryproperties extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_ENTRYPROPERTIES_DESC);
|
$propbag->add('description', PLUGIN_EVENT_ENTRYPROPERTIES_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Garvin Hicking');
|
$propbag->add('author', 'Garvin Hicking');
|
||||||
$propbag->add('version', '1.12');
|
$propbag->add('version', '1.13');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -26,7 +31,7 @@ class serendipity_event_karma extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_KARMA_BLAHBLAH);
|
$propbag->add('description', PLUGIN_KARMA_BLAHBLAH);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Garvin Hicking');
|
$propbag->add('author', 'Garvin Hicking');
|
||||||
$propbag->add('version', '1.8');
|
$propbag->add('version', '1.9');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -20,7 +25,7 @@ class serendipity_event_livesearch extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_LIVESEARCH_DESC);
|
$propbag->add('description', PLUGIN_EVENT_LIVESEARCH_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Christian Stocker, Garvin Hicking');
|
$propbag->add('author', 'Christian Stocker, Garvin Hicking');
|
||||||
$propbag->add('version', '1.3');
|
$propbag->add('version', '1.4');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -21,7 +26,7 @@ class serendipity_event_mailer extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_MAILER_DESC);
|
$propbag->add('description', PLUGIN_EVENT_MAILER_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Sebastian Nohn, Kristian Koehntopp, Garvin Hicking');
|
$propbag->add('author', 'Sebastian Nohn, Kristian Koehntopp, Garvin Hicking');
|
||||||
$propbag->add('version', '1.46');
|
$propbag->add('version', '1.47');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -20,7 +25,7 @@ class serendipity_event_nl2br extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_NL2BR_DESC);
|
$propbag->add('description', PLUGIN_EVENT_NL2BR_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Serendipity Team');
|
$propbag->add('author', 'Serendipity Team');
|
||||||
$propbag->add('version', '1.6');
|
$propbag->add('version', '1.7');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -20,7 +25,7 @@ class serendipity_event_s9ymarkup extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_S9YMARKUP_DESC);
|
$propbag->add('description', PLUGIN_EVENT_S9YMARKUP_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Serendipity Team');
|
$propbag->add('author', 'Serendipity Team');
|
||||||
$propbag->add('version', '1.2');
|
$propbag->add('version', '1.3');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -4,6 +4,11 @@
|
|||||||
/* Authored by Tom Sommer, 2004 */
|
/* Authored by Tom Sommer, 2004 */
|
||||||
/**********************************/
|
/**********************************/
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -24,7 +29,7 @@ class serendipity_event_searchhighlight extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_SEARCHHIGHLIGHT_DESC);
|
$propbag->add('description', PLUGIN_EVENT_SEARCHHIGHLIGHT_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Tom Sommer');
|
$propbag->add('author', 'Tom Sommer');
|
||||||
$propbag->add('version', '1.2');
|
$propbag->add('version', '1.3');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -34,7 +39,7 @@ var $filter_defaults;
|
|||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
'php' => '4.1.0'
|
'php' => '4.1.0'
|
||||||
));
|
));
|
||||||
$propbag->add('version', '1.60');
|
$propbag->add('version', '1.61');
|
||||||
$propbag->add('event_hooks', array(
|
$propbag->add('event_hooks', array(
|
||||||
'frontend_saveComment' => true,
|
'frontend_saveComment' => true,
|
||||||
'external_plugin' => true,
|
'external_plugin' => true,
|
||||||
|
|||||||
@@ -8,6 +8,11 @@
|
|||||||
|
|
||||||
***********/
|
***********/
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -34,7 +39,7 @@ class serendipity_event_spartacus extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_SPARTACUS_DESC);
|
$propbag->add('description', PLUGIN_EVENT_SPARTACUS_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Garvin Hicking');
|
$propbag->add('author', 'Garvin Hicking');
|
||||||
$propbag->add('version', '2.8');
|
$propbag->add('version', '2.9');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.9',
|
'serendipity' => '0.9',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -20,7 +25,7 @@ class serendipity_event_statistics extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_STATISTICS_DESC);
|
$propbag->add('description', PLUGIN_EVENT_STATISTICS_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Arnan de Gans, Garvin Hicking, Fredrik Sandberg');
|
$propbag->add('author', 'Arnan de Gans, Garvin Hicking, Fredrik Sandberg');
|
||||||
$propbag->add('version', '1.43');
|
$propbag->add('version', '1.44');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id: serendipity_plugin_comments.php 691 2005-11-13 06:58:40Z elf2000 $
|
<?php # $Id: serendipity_plugin_comments.php 691 2005-11-13 06:58:40Z elf2000 $
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -22,7 +27,7 @@ class serendipity_plugin_statistics extends serendipity_plugin
|
|||||||
$propbag->add('description', PLUGIN_EVENT_STATISTICS_NAME);
|
$propbag->add('description', PLUGIN_EVENT_STATISTICS_NAME);
|
||||||
$propbag->add('stackable', true);
|
$propbag->add('stackable', true);
|
||||||
$propbag->add('author', 'Arnan de Gans, Garvin Hicking');
|
$propbag->add('author', 'Arnan de Gans, Garvin Hicking');
|
||||||
$propbag->add('version', '1.2');
|
$propbag->add('version', '1.3');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -21,7 +26,7 @@ class serendipity_event_templatechooser extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_TEMPLATECHOOSER_DESC);
|
$propbag->add('description', PLUGIN_EVENT_TEMPLATECHOOSER_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Evan Nemerson');
|
$propbag->add('author', 'Evan Nemerson');
|
||||||
$propbag->add('version', '1.3');
|
$propbag->add('version', '1.4');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
require_once S9Y_INCLUDE_PATH . 'plugins/serendipity_event_textile/textile.php';
|
require_once S9Y_INCLUDE_PATH . 'plugins/serendipity_event_textile/textile.php';
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -22,7 +27,7 @@ class serendipity_event_textile extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_TEXTILE_DESC);
|
$propbag->add('description', PLUGIN_EVENT_TEXTILE_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Serendipity Team');
|
$propbag->add('author', 'Serendipity Team');
|
||||||
$propbag->add('version', '1.3');
|
$propbag->add('version', '1.4');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -461,7 +466,7 @@ class serendipity_event_textwiki extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_TEXTWIKI_DESC);
|
$propbag->add('description', PLUGIN_EVENT_TEXTWIKI_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Tobias Schlitt');
|
$propbag->add('author', 'Tobias Schlitt');
|
||||||
$propbag->add('version', '1.3');
|
$propbag->add('version', '1.4');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
<?php # $Id$
|
<?php # $Id$
|
||||||
|
|
||||||
|
|
||||||
|
if (IN_serendipity !== true) {
|
||||||
|
die ("Don't hack!");
|
||||||
|
}
|
||||||
|
|
||||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||||
if (file_exists($probelang)) {
|
if (file_exists($probelang)) {
|
||||||
@@ -21,7 +26,7 @@ class serendipity_event_trackexits extends serendipity_event
|
|||||||
$propbag->add('description', PLUGIN_EVENT_TRACKBACK_DESC);
|
$propbag->add('description', PLUGIN_EVENT_TRACKBACK_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Serendipity Team');
|
$propbag->add('author', 'Serendipity Team');
|
||||||
$propbag->add('version', '1.7');
|
$propbag->add('version', '1.8');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|||||||
Reference in New Issue
Block a user