Added event hooks
This commit is contained in:
parent
75e51a4bcd
commit
743711e061
@ -3,6 +3,10 @@
|
||||
Version 1.3 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Added new event-hooks 'backend_directory_delete' and
|
||||
'backend_directory_createoptions' to the backend.
|
||||
(garvinhicking)
|
||||
|
||||
* Updated statistics plugin to contain per week/day visitors.
|
||||
(roti)
|
||||
|
||||
|
@ -360,6 +360,8 @@ switch ($serendipity['GET']['adminAction']) {
|
||||
printf(ERROR_NO_DIRECTORY, $new_dir);
|
||||
}
|
||||
|
||||
serendipity_plugin_api::hook_event('backend_directory_delete', $new_dir);
|
||||
|
||||
break;
|
||||
|
||||
case 'directoryEdit':
|
||||
@ -565,6 +567,7 @@ switch ($serendipity['GET']['adminAction']) {
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php serendipity_plugin_api::hook_event('backend_directory_createoptions', $folders); ?>
|
||||
</table>
|
||||
<div><input name="SAVE" value="<?php echo CREATE_DIRECTORY ?>" class="serendipityPrettyButton input_button" type="submit"></div>
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user