Example #1
0
        if ($item == $end) {
            echo ' class="last"';
        }
        ?>
><?php 
        echo $item['kind'];
        ?>
: <b><?php 
        echo $item['desc'];
        ?>
</b></li>
									<?php 
    }
}
?>
							</ul>
							<div class="ajax"></div>
						</div>
						<fieldset class="form-ctrls">
							<?php 
echo cp_form_submit('btn_confirm_and_decline', 'btn_confirm_and_decline_working');
?>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<?php 
ee('CP/Modal')->endModal();
Example #2
0
        if ($item == $end) {
            echo ' class="last"';
        }
        ?>
><?php 
        echo $item['kind'];
        ?>
: <b><?php 
        echo $item['desc'];
        ?>
</b></li>
									<?php 
    }
}
?>
							</ul>
							<div class="ajax"></div>
						</div>
						<fieldset class="form-ctrls">
							<?php 
echo cp_form_submit('btn_confirm_and_uninstall', 'btn_confirm_and_uninstall_working');
?>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<?php 
ee('CP/Modal')->endModal();
Example #3
0
?>
		</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="">
				<?php 
echo form_error('password_auth');
?>
			</div>
		</div>
		<?php 
echo cp_form_submit('btn_sandr', 'btn_sandr_working');
?>
	</fieldset>
</form>
Example #4
0
">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');
?>
		</div>
	</fieldset>

	<fieldset class="form-ctrls">
		<?php 
echo cp_form_submit('query_btn', 'query_btn_saving');
?>
	</fieldset>
</form>
Example #5
0
        ?>
									<td>
										<label class="choice yes">
											<?php 
        echo form_checkbox($field . '[' . $i . ']', 'y', set_checkbox($field . '[' . $i . ']', 'y'));
        ?>
 <?php 
        echo lang('yes');
        ?>
										</label>
									</td>
								<?php 
    }
    ?>
							</tr>
						<?php 
    $i++;
}
?>
					</tbody>
				</table>
			</div>
		</div>
	</fieldset>

	<fieldset class="form-ctrls">
		<?php 
echo cp_form_submit('btn_add_fields', 'btn_add_fields_working');
?>
	</fieldset>
</form>
Example #6
0
									<li<?php 
        if ($item == $end) {
            echo ' class="last"';
        }
        ?>
><?php 
        echo $item['kind'];
        ?>
: <b><?php 
        echo $item['desc'];
        ?>
</b></li>
									<?php 
    }
}
?>
							</ul>
							<div class="ajax"></div>
						</div>
						<fieldset class="form-ctrls">
							<?php 
echo cp_form_submit('btn_confirm_and_remove', 'btn_confirm_and_remove_working');
?>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
Example #7
0
				<?php 
    foreach ($member_groups as $group => $details) {
        ?>
				<label class="choice block">
					<?php 
        echo form_checkbox($details['attrs']);
        ?>
 <?php 
        echo $group;
        ?>
 (<?php 
        echo $details['members'];
        ?>
)
				</label>
				<?php 
    }
    ?>
			</div>
		</div>
	</fieldset>
	<?php 
}
?>
	<fieldset class="form-ctrls">
		<?php 
echo cp_form_submit('btn_send_email', 'btn_send_email_working');
?>
	</fieldset>
</form>
Example #8
0
 private function getFieldtypeSettings($fieldtype)
 {
     if (!ee()->cp->allowed_group('can_access_addons')) {
         show_error(lang('unauthorized_access'));
     }
     ee()->api_channel_fields->fetch_installed_fieldtypes();
     $FT = ee()->api_channel_fields->setup_handler($fieldtype['package'], TRUE);
     $FT->settings = $fieldtype['settings'];
     $fieldtype_settings = ee()->api_channel_fields->apply('display_global_settings');
     if (is_array($fieldtype_settings)) {
         $vars = array('base_url' => ee('CP/URL')->make('addons/settings/' . $fieldtype['package'] . '/save'), 'cp_page_title' => $fieldtype['name'] . ' ' . lang('configuration'), 'save_btn_text' => 'btn_save_settings', 'save_btn_text_working' => 'btn_saving', 'sections' => array(array($fieldtype_settings)));
         return ee('View')->make('_shared/form')->render($vars);
     } else {
         $html = '<div class="box">';
         $html .= '<h1>' . $fieldtype['name'] . ' ' . lang('configuration') . '</h1>';
         $html .= form_open(ee('CP/URL')->make('addons/settings/' . $fieldtype['package'] . '/save'), 'class="settings"');
         $html .= ee('CP/Alert')->get('shared-form');
         $html .= $fieldtype_settings;
         $html .= '<fieldset class="form-ctrls">';
         $html .= cp_form_submit('btn_save_settings', 'btn_saving');
         $html .= '</fieldset>';
         $html .= form_close();
         $html .= '</div>';
         return $html;
     }
 }
Example #9
0
					<th class="first">Your Data</th>
					<th class="last">New Fields</th>
				</tr>
			</thead>
			<tbody>
				<?php 
foreach ($fields[0] as $key => $value) {
    ?>
					<tr>
						<td><?php 
    echo $value;
    ?>
</td>
						<td><?php 
    echo $paired['field_' . $key];
    ?>
</td>
					</tr>
				<?php 
}
?>
			</tbody>
		</table>

		<fieldset class="form-ctrls">
			<?php 
echo cp_form_submit('btn_create_file', 'btn_create_file_working');
?>
		</fieldset>
	</form>
</div>
Example #10
0
			<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']);
    ?>
">
			<?php 
    echo form_error($key);
    ?>
		</div>
	</fieldset>

<?php 
}
?>

	<fieldset class="form-ctrls">
		<?php 
echo cp_form_submit('translate_btn', 'btn_saving');
?>
	</fieldset>
<?php 
echo form_close();
Example #11
0
				<tr>
					<td><?php 
echo lang('include_seconds');
?>
</td>
					<td><?php 
echo $include_seconds;
?>
</td>
				</tr>
				<tr class="alt last">
					<td class="first"><?php 
echo lang('mbr_create_custom_fields');
?>
</td>
					<td class="last"><?php 
echo $auto_custom_field;
?>
</td>
				</tr>
			</tbody>
		</table>

		<fieldset class="form-ctrls">
			<?php 
echo cp_form_submit('confirm_import', 'btn_confirm_import_working');
?>
		</fieldset>
	</form>
</div>
Example #12
0
        }
        ?>
			<?php 
    }
    ?>
			</div>
			<?php 
}
?>
			<fieldset class="form-ctrls">
				<?php 
if ($entry->Channel->enable_versioning) {
    ?>
				<input class="btn draft" type="submit" name="save_revision" value="<?php 
    echo lang('btn_save_revision');
    ?>
" data-submit-text="<?php 
    echo lang('btn_save_revision');
    ?>
">
				<?php 
}
?>
				<?php 
echo cp_form_submit($button_text, lang('btn_saving'));
?>
			</fieldset>
		</form>
	</div>
</div>
Example #13
0
</em>
		</div>
		<div class="setting-field col w-8 last">
			<label class="choice mr chosen yes"><input type="radio" name="encrypt" value="y" <?php 
echo set_radio('encrypt', 'y');
?>
 <?php 
if (!isset($_POST['encrypt'])) {
    ?>
 checked="checked"<?php 
}
?>
> <?php 
echo lang('yes');
?>
</label>
			<label class="choice no"><input type="radio" name="encrypt" value="n" <?php 
echo set_radio('encrypt', 'n');
?>
> <?php 
echo lang('no');
?>
</label>
		</div>
	</fieldset>
	<fieldset class="form-ctrls">
		<?php 
echo cp_form_submit('btn_assign_fields', 'btn_saving');
?>
	</fieldset>
</form>
Example #14
0
?>
</label> <?php 
echo form_error('resize_width');
?>
					<label class="short-txt"><input type="text" name="resize_height" value="<?php 
echo set_value('resize_height', $height);
?>
"> <?php 
echo lang('height');
?>
</label> <?php 
echo form_error('resize_height');
?>
				</div>
			</fieldset>
			<figure class="img-preview">
				<img src="<?php 
echo $file->getAbsoluteURL();
?>
">
			</figure>
			<fieldset class="form-ctrls">
				<?php 
echo cp_form_submit(lang('btn_resize_and_save_image'), lang('btn_saving'), 'save_resize');
?>
			</fieldset>
		</div>
	<?php 
echo form_close();
?>
</div>
Example #15
0
        ?>
" data-submit-text="<?php 
        echo lang($button['text']);
        ?>
" data-work-text="<?php 
        echo lang($button['working']);
        ?>
"><?php 
        echo $button_text;
        ?>
</button>
			<?php 
    }
    ?>
		<?php 
} else {
    ?>
		<?php 
    echo cp_form_submit($save_btn_text, $save_btn_text_working, NULL, isset($errors) && $errors->isNotValid());
    ?>
		<?php 
}
?>
	</fieldset>
</form>
<?php 
if (isset($tabs)) {
    ?>
</div>
<?php 
}