raise more events to plugins
It would be nice if more events would be available in interface plugins.
At least one to manipulate the tform/template
Something like this
diff --git a/interface/lib/classes/tform_actions.inc.php b/interface/lib/classes/tform_actions.inc.php
--- a/interface/lib/classes/tform_actions.inc.php
+++ b/interface/lib/classes/tform_actions.inc.php (date 1745571582943)
@@ -594,6 +594,7 @@
function onShowEnd() {
global $app, $conf;
+ $app->plugin->raiseEvent($_SESSION['s']['module']['name'].':'.$app->tform->formDef['name'].':'.'on_after_onShowEnd', $this);
// Template parsen
$app->tpl->pparse();
}
with this it would possible to do in own plugins
$app->plugin->registerEvent('dns:dns_soa:on_after_onShowEnd', $this->plugin_name, 'dns_soa_form_onShowEnd');
to get access to the template