additional check
This commit is contained in:
parent
130e989c34
commit
14fa88d5f4
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,7 @@ class serendipity_event_entrycheck extends serendipity_event
|
||||||
$propbag->add('description', PLUGIN_EVENT_ENTRYCHECK_DESC);
|
$propbag->add('description', PLUGIN_EVENT_ENTRYCHECK_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Garvin Hicking, Gregor Voeltz');
|
$propbag->add('author', 'Garvin Hicking, Gregor Voeltz');
|
||||||
$propbag->add('version', '1.13');
|
$propbag->add('version', '1.14');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '0.8',
|
'serendipity' => '0.8',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
@ -237,10 +237,12 @@ class serendipity_event_entrycheck extends serendipity_event
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<?php if (serendipity_db_bool($this->get_config('emptyCategories')) { ?>
|
||||||
if (showerror) {
|
if (showerror) {
|
||||||
alert('<?php echo str_replace("'", "\\'", PLUGIN_EVENT_ENTRYCHECK_EMPTYCATEGORIES_WARNING); ?>');
|
alert('<?php echo str_replace("'", "\\'", PLUGIN_EVENT_ENTRYCHECK_EMPTYCATEGORIES_WARNING); ?>');
|
||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
|
<?php } ?>
|
||||||
}
|
}
|
||||||
|
|
||||||
<?php if (serendipity_db_bool($this->get_config('emptyTitle')) == true) { ?>
|
<?php if (serendipity_db_bool($this->get_config('emptyTitle')) == true) { ?>
|
||||||
|
|
Loading…
Reference in a new issue