<a href="<?php echo ee('CP/URL')->make('utilities/query/run-query', array('thequery' => rawurlencode(base64_encode('SHOW STATUS')))); ?> ">SHOW STATUS</a>, <a href="<?php echo ee('CP/URL')->make('utilities/query/run-query', array('thequery' => rawurlencode(base64_encode('SHOW VARIABLES')))); ?> ">SHOW VARIABLES</a>, <a href="<?php echo ee('CP/URL')->make('utilities/query/run-query', array('thequery' => rawurlencode(base64_encode('SHOW PROCESSLIST')))); ?> ">SHOW PROCESSLIST</a></em> </div> </fieldset> <fieldset class="col-group required <?php echo form_error_class('thequery'); ?> last"> <div class="setting-txt col w-16"> <h3><?php echo lang('sql_query_to_run'); ?> </h3> </div> <div class="setting-field col w-16 last"> <textarea class="has-format-options" name="thequery" cols="" rows=""><?php echo set_value('thequery'); ?> </textarea> <?php echo form_error('thequery');
echo lang('cc_recipients_desc'); ?> </em> </div> <div class="setting-field col w-8 last"> <input type="text" name="cc" value="<?php echo set_value('cc', $cc); ?> "> <?php echo form_error('cc'); ?> </div> </fieldset> <fieldset class="col-group <?php echo form_error_class('bcc'); ?> "> <div class="setting-txt col w-8"> <h3><?php echo lang('bcc_recipients'); ?> </h3> <em><?php echo lang('bcc_recipients_desc'); ?> </em> </div> <div class="setting-field col w-8 last"> <input type="text" name="bcc" value="<?php echo set_value('bcc', $bcc);
?> <?php } ?> <?php } ?> </select> <?php echo form_error('replace_where'); ?> </div> </fieldset> <fieldset class="form-ctrls required <?php echo form_error_class('password_auth'); ?> "> <div class="password-req"> <div class="setting-txt col w-8"> <h3><?php echo lang('current_password'); ?> </h3> <em><?php echo lang('sandr_password_desc'); ?> </em> </div> <div class="setting-field col w-8 last"> <input name="password_auth" type="password" value="">
?> <h1><?php echo isset($cp_heading) ? $cp_heading : $cp_page_title; ?> <span class="req-title"><?php echo lang('required_fields'); ?> </span></h1> <?php echo form_open(ee('CP/URL')->make('utilities/translate/' . $language . '/save/' . $file), 'class="settings"'); echo ee('CP/Alert')->getAllInlines(); foreach ($keys as $key => $value) { ?> <fieldset class="col-group required <?php echo form_error_class($key); ?> "> <div class="setting-txt col w-8"> <h3><?php echo $value['original']; ?> </h3> <em></em> </div> <div class="setting-field col w-8 last"> <input type="text" name="<?php echo $key; ?> " value="<?php echo set_value($key, $value['trans']);
echo lang('password'); ?> </h3> </div> <div class="setting-field col w-8 last"> <input name="password" type="password" value="" maxlength="<?php echo PASSWORD_MAX_LENGTH; ?> "> <?php echo form_error('password'); ?> </div> </fieldset> <fieldset class="form-ctrls <?php echo form_error_class('license_agreement'); ?> "> <div class="password-req required"> <div class="setting-txt col w-8"> <h3><?php echo lang('license_agreement'); ?> </h3> </div> <div class="setting-field col w-8 last"> <label class="choice"><input type="checkbox" name="license_agreement" value="y" <?php echo set_checkbox('license_agreement', 'y'); ?> > yes</label> <?php
if (isset($setting['attrs'])) { foreach ($setting['attrs'] as $key => $value) { ?> <?php echo $key; ?> ="<?php echo $value; ?> "<?php } } ?> > <div class="setting-txt col <?php echo $grid ? form_error_class(array_keys($setting['fields'])) : ''; ?> <?php echo isset($setting['wide']) && $setting['wide'] == TRUE ? 'w-16' : 'w-8'; ?> "> <?php if (isset($setting['title'])) { ?> <h3><?php echo lang($setting['title']); ?> </h3> <?php } ?>
tab-open<?php } ?> "> <fieldset class="col-group <?php echo form_error_class('resize_width'); ?> <?php echo form_error_class('resize_height'); ?> "> <div class="setting-txt col w-8 <?php echo form_error_class('resize_width'); ?> <?php echo form_error_class('resize_height'); ?> "> <h3><?php echo lang('constraints'); ?> </h3> <em><?php echo lang('resize_constraints_desc'); ?> </em> </div> <div class="setting-field col w-8 last"> <label class="short-txt"><input type="text" name="resize_width" value="<?php echo set_value('resize_width', $width); ?>
} } $secure_form_ctrls = array(); if (isset($sections['secure_form_ctrls'])) { $secure_form_ctrls = $sections['secure_form_ctrls']; unset($sections['secure_form_ctrls']); } foreach ($sections as $name => $settings) { $this->embed('_shared/form/section', array('name' => $name, 'settings' => $settings)); } // Set invalid class on secure form controls down below if it contains an invalid field $fieldset_classes = ''; if (isset($errors) or validation_errors()) { foreach ($secure_form_ctrls as $setting) { if (validation_errors()) { $fieldset_classes = form_error_class(array_keys($setting['fields'])); if (!empty($fieldset_classes)) { break; } } else { foreach (array_keys($setting['fields']) as $field) { if ($errors->hasErrors($field)) { $fieldset_classes = 'invalid'; break; } } } } } ?>