$clang->eT("Bounce email:"); ?> </label> <input type='email' size='50' id='bounce_email' name='bounce_email' value="<?php echo $esrow['bounce_email']; ?> " /></li> <li><label for='faxto'><?php $clang->eT("Fax to:"); ?> </label> <input type='text' size='50' id='faxto' name='faxto' value="<?php echo $esrow['faxto']; ?> " /> </li> <?php if (isset($pluginSettings)) { Yii::import('application.helpers.PluginSettingsHelper'); $PluginSettings = new PluginSettingsHelper(); foreach ($pluginSettings as $id => $plugin) { foreach ($plugin['settings'] as $name => $setting) { $name = "plugin[{$plugin['name']}][{$name}]"; echo CHtml::tag('li', array(), $PluginSettings->renderSetting($name, $setting, null, true)); } } } ?> </ul> </div>
<?php App()->getClientScript()->registerCssFile(Yii::app()->getBaseUrl() . '/styles/configure.css'); ?> <div class="pluginsettings"> <?php echo CHtml::tag('div', array('class' => 'header ui-widget-header'), gT("Import responses from a deactivated survey table")); Yii::import("application.helpers.PluginSettingsHelper"); $PluginSettings = new PluginSettingsHelper(); echo CHtml::beginForm('', 'post', array('id' => "importresponses")); echo CHtml::openTag('ol'); foreach ($settings as $name => $setting) { echo CHtml::tag('li', array(), $PluginSettings->renderSetting($name, $setting, "importresponses", true)); } echo CHtml::submitButton(gT('Import responses'), array('name' => 'ok')); echo CHtml::closeTag('ol'); echo CHtml::endForm(); echo CHtml::openTag('div', array('class' => 'messagebox ui-corner-all')); echo CHtml::tag('div', array('class' => 'warningheader'), gT("Warning")); eT("You can import all old responses that are compatible with your current survey. Compatibility is determined by comparing column types and names, the ID field is always ignored."); echo '<br/>'; eT("Using type coercion may break your data; use with care or not at all if possible."); echo '<br/>'; eT("Currently we detect and handle the following changes:"); $list = array(gT("Question is moved to another group (result is imported correctly)."), gT("Question is removed from target (result is ignored)."), gT("Question is added to target (result is set to database default value).")); CHtml::openTag('ul'); foreach ($list as $item) { echo CHtml::tag('li', array(), $item); } CHtml::closeTag('ul');