Adding feature to coloring and check syntaxis on trigger editor.

This commit is contained in:
ralph
2013-03-22 15:52:26 -04:00
parent 8bde064996
commit cbe2fbe871
10 changed files with 346 additions and 23 deletions

View File

@@ -63,9 +63,10 @@ if (isset( $_GET['TRI_UID'] )) {
$xmlform = 'triggers/triggersProperties';
$xmlform_action = '../triggers/triggers_Save';
}
G::LoadClass( 'xmlfield_InputPM' );
$G_PUBLISH = new Publisher();
$G_PUBLISH->AddContent( 'xmlform', 'xmlform', $xmlform, '', $aFields, $xmlform_action );
$oHeadPublisher =& headPublisher::getSingleton();
$oHeadPublisher->addScriptFile('/js/codemirror/js/codemirror.js', 1);
G::RenderPage( 'publish', 'raw' );