<form name="frmresetmgm" id="frmresetmgm" action="admin-ajax.php?action=mgm_admin_ajax_action&page=mgm/admin/tools&method=system_reset" method="post">
	<div class="table form-table">
  		<div class="row">
    		<div class="cell">	
    			<b><?php 
_e('Please Select a reset type :', 'mgm');
?>
</b>
			</div>
		</div>
  		<div class="row">
    		<div class="cell">
				<select name="reset_type" id="reset_type">	
				<?php 
echo mgm_make_select_options($data['reset_opts'], 'settonly', MGM_KEY_VALUE);
?>
		
				</select>				
			</div>
		</div>
  		<div class="row">
    		<div class="cell">	
				<p>					
					<input type="button" class="button" onclick="system_reset()" value="<?php 
_e('RESET', 'mgm');
?>
" />
				</p>
			</div>
		</div>
Beispiel #2
0
" id="verify_age_wrap">
							<u><?php 
    _e('More than', 'mgm');
    ?>
</u>:
							<input type="text" size="5" maxlength="10" value="<?php 
    echo stripslashes($data['custom_field']['attributes']['verify_age_unit']);
    ?>
" id="verify_age_unit" name="verify_age_unit" />
							<?php 
    $options = array('YEAR' => __('YEAR', 'mgm'), 'MONTH' => __('MONTH', 'mgm'), 'WEEK' => __('WEEK', 'mgm'), 'DAY' => __('DAY', 'mgm'));
    ?>

							<select id="verify_age_period" name="verify_age_period">
								<?php 
    echo mgm_make_select_options($options, $data['custom_field']['attributes']['verify_age_period'], MGM_KEY_VALUE);
    ?>

							</select>	
						</span>	
					</li>
					
					<?php 
}
?>
				
				</ul>					
				<div class="tips"><?php 
_e('Display/Usage settings for the fields', 'mgm');
?>
.</div>