String.prototype.endsWith = function(suffix) { return this.indexOf(suffix, this.length - suffix.length) !== -1; }; if( typeof Joomla != 'undefined' ){ Joomla.submitbutton = submitbutton; Joomla.listItemTask = listItemTask; } </script> <style type="text/css"> label { display: inline; } </style> <?php $cbcompat = new CBCompat(); $cbcompat->initPane(array('tab0' => JText::_('COM_CONTENTBUILDER_STORAGE'))); ?> <form action="index.php" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data"> <div class="col100" style="margin-left: 20px;"> <?php echo $cbcompat->startPane("view-pane"); echo $cbcompat->startPanel(JText::_('COM_CONTENTBUILDER_STORAGE'), "tab0"); ?> <table width="100%"> <tr> <td width="200" valign="top"> <fieldset class="adminform"> <legend><?php
$results = $dispatcher->trigger('onSettingsDisplay', array($this->element->options)); if (count($results)) { $results = $results[0]; } foreach ($removables as $removable) { $dispatcher->detach($removable); } $the_item = $results; $is_plugin = false; ?> <style type="text/css"> label { display: inline; } </style> <?php $cbcompat = new CBCompat(); echo $cbcompat->initPane(array('tab0' => JText::_('COM_CONTENTBUILDER_ELEMENT_OPTIONS'), 'tab1' => JText::_('COM_CONTENTBUILDER_ELEMENT_OPTIONS_SCRIPTS'))); ?> <form action="index.php" method="post" name="adminForm" id="adminForm"> <?php echo JText::_('COM_CONTENTBUILDER_ELEMENT_TYPE'); ?> <select name="type_selection" onchange="document.getElementById('type_change').value='1';document.getElementById('task').value='save';document.adminForm.submit();"> <option value="text"<?php echo $this->element->type == 'text' || $this->element->type == '' ? ' selected="selected"' : ''; ?> ><?php echo JText::_('COM_CONTENTBUILDER_ELEMENT_TYPE_TEXT'); ?> </option> <option value="textarea"<?php
} } } } </script> <style type="text/css"> .cbFieldFix{ margin-bottom: 9px; } </style> <style type="text/css"> label { display: inline; } </style> <?php $cbcompat = new CBCompat(); echo $cbcompat->initPane(array('tab0' => JText::_('COM_CONTENTBUILDER_VIEW'), 'tab1' => JText::_('COM_CONTENTBUILDER_LIST_STATES'), 'tab2' => JText::_('COM_CONTENTBUILDER_LIST_INTRO_TEXT'), 'tab3' => JText::_('COM_CONTENTBUILDER_DETAILS_TEMPLATE'), 'tab4' => JText::_('COM_CONTENTBUILDER_DETAILS_PREPARE'), 'tab5' => JText::_('COM_CONTENTBUILDER_EDITABLE_TEMPLATE'), 'tab6' => JText::_('COM_CONTENTBUILDER_EDITABLE_PREPARE'), 'tab7' => JText::_('COM_CONTENTBUILDER_EMAIL_TEMPLATES'), 'tab8' => JText::_('COM_CONTENTBUILDER_PERMISSIONS'))); ?> <form action="index.php" method="post" name="adminForm" id="adminForm"> <div class="col100 row-fluid" style="margin-left: 20px;"> <?php echo $cbcompat->startPane("view-pane"); echo $cbcompat->startPanel(JText::_('COM_CONTENTBUILDER_VIEW'), "tab0"); ?> <table width="100%"> <tr> <td valign="top"> <fieldset class="adminform">