Beispiel #1
0
 function NextendTabDefaultVertical(&$form, &$xml)
 {
     $css = NextendCss::getInstance();
     $css->addCssLibraryFile('tabs/defaultvertical.css');
     $this->_matrixname = NextendXmlGetAttribute($xml, 'name');
     parent::NextendTab($form, $xml);
 }
Beispiel #2
0
 function render($control_name)
 {
     parent::render($control_name);
     $js = NextendJavascript::getInstance();
     $js->addLibraryJsAssetsFile('dojo', 'fontmatrix.js');
     $element = new SimpleXMLElement('<param type="fontmanager" base64="1" label="**label**" default="**value**" name="**name**" tabs="Text|Link|Link:Hover" />');
     $extrafont = new NextendElementFontmanager($this->_form, $this, $element);
     $extrafont->_includeJS = false;
     $extrafont->_editableName = true;
     $extrahtml = $extrafont->render($control_name);
     $js->addLibraryJs('dojo', '
         new NextendFontmatrix({
           table: "nextend-' . $this->_matrixname . '",
           name: "' . $this->_matrixname . '",
           html: ' . json_encode($extrahtml) . ',
           js: ' . json_encode($extrafont->printjs) . ',
           biggestindex: ' . $this->biggestindex . '
         });
     ');
 }
Beispiel #3
0
 function NextendTabHorizontal(&$form, &$xml)
 {
     $css = NextendCss::getInstance();
     $css->addCssLibraryFile('tabs/horizontal.css');
     parent::NextendTab($form, $xml);
 }
 function NextendTabTabbed(&$form, &$xml)
 {
     $css = NextendCss::getInstance();
     $css->addCssLibraryFile('tabs/tabbed.css');
     parent::NextendTab($form, $xml);
 }
Beispiel #5
0
 function __construct(&$form, &$xml)
 {
     $css = NextendCss::getInstance();
     $css->addCssLibraryFile('tabs/tabbed.css');
     parent::__construct($form, $xml);
 }