Files
luos/gulliver/bin/tasks/templates/pluginApplication2.php.tpl
Marco Antonio Nina Mena 0d533e19d9 HOR-4527
2018-05-08 10:16:52 -04:00

16 lines
546 B
Smarty

<?php
try {
$oHeadPublisher = headPublisher::getSingleton();
$oHeadPublisher->addContent("{className}/{className}Application2"); //Adding a html file .html.
$oHeadPublisher->addExtJsScript("{className}/{className}Application2", false); //Adding a javascript file .js
G::RenderPage("publish", "extJs");
} catch (Exception $e) {
$G_PUBLISH = new Publisher;
$aMessage["MESSAGE"] = $e->getMessage();
$G_PUBLISH->AddContent("xmlform", "xmlform", "{className}/messageShow", "", $aMessage);
G::RenderPage("publish", "blank");
}
?>