16 lines
546 B
Smarty
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");
|
|
}
|
|
?> |