load_template('admin/options.php');
//$this -> pa($this -> the_options);
// $this -> pa($this -> plugin_settings);
$sendUpdate = array();
?>
plugin_meta['name']?>
the_options as $id => $option){
?>
-
the_options as $id => $options){
// reseting the update data arra
$desc = isset($options['desc']) ? stripslashes($options['desc']) : '';
?>
$data){
$field_type = isset($data['type']) ? $data['type'] : '';
$field_name = isset($data['id']) ? $data['id'] : '';
$field_label = isset($data['label']) ? $data['label'] : '';
$field_desc = isset($data['desc']) ? $data['desc'] : '';
$field_help = isset($data['help']) ? $data['help'] : '';
$sendUpdate[$field_name] = array('type' => $field_type);
$field_value = isset($this->plugin_settings[$field_name]) ? $this->plugin_settings[$field_name] : '';
$field_value = $field_type == 'checkbox' ? $field_value : stripcslashes($field_value);
?>
-
-
-
plugin_meta['path'] .'/templates/admin/'.$data['id'];
if(file_exists($file))
include $file;
else
echo 'file not exists '.$file;
?>