Beispiel #1
0
 */
defined('_JEXEC') or die;
$this->loadHelper('select');
$js = <<<JS
akeeba.jQuery(document).ready(function(){
    akeeba.jQuery('#exportdataemailtemplates').change(function(){
        if(akeeba.jQuery(this).val() == 1){
            akeeba.jQuery('#emailtemplateWarning').show();
        }
        else{
            akeeba.jQuery('#emailtemplateWarning').hide();
        }
    });
});
JS;
AkeebaStrapper::addJSdef($js);
?>
<div id="emailtemplateWarning" class="alert alert-error" style="display: none">
    <?php 
echo JText::_('COM_ADMINTOOLS_IMPORTEXPORT_EMAILTEMPLATE_WARN');
?>
</div>
<form name="adminForm" id="adminForm" action="index.php" method="post" class="form form-horizontal">
    <input type="hidden" name="option" value="com_admintools"/>
    <input type="hidden" name="view" value="importexport"/>
    <input type="hidden" name="task" value=""/>
    <input type="hidden" name="<?php 
echo JFactory::getSession()->getFormToken();
?>
" value="1"/>