diff --git a/upload/modules/admin/permissions.class.php b/upload/modules/admin/permissions.class.php
index 76bc0d9..77f96af 100644
--- a/upload/modules/admin/permissions.class.php
+++ b/upload/modules/admin/permissions.class.php
@@ -391,23 +391,23 @@
private function get_default_value($value='false', $type='boolean'){
switch($type){
case 'integer':
- $value = intval($value);
- $input = '';
+ $data['VALUE'] = intval($value);
+ $input = $this->core->sp(MCR_THEME_MOD."admin/permissions/perm-id-integer.html", $data);
break;
case 'float':
- $value = floatval($value);
- $input = '';
+ $data['VALUE'] = floatval($value);
+ $input = $this->core->sp(MCR_THEME_MOD."admin/permissions/perm-id-float.html", $data);
break;
case 'string':
- $value = $this->db->HSC($value);
- $input = '';
+ $data['VALUE'] = $this->db->HSC($value);
+ $input = $this->core->sp(MCR_THEME_MOD."admin/permissions/perm-id-string.html", $data);
break;
default:
- $select = ($value=='true') ? 'selected' : '';
- $input = '';
+ $data['VALUE'] = ($value=='true') ? 'selected' : '';
+ $input = $this->core->sp(MCR_THEME_MOD."admin/permissions/perm-id-boolean.html", $data);
break;
}
diff --git a/upload/themes/default/modules/admin/permissions/perm-id-boolean.html b/upload/themes/default/modules/admin/permissions/perm-id-boolean.html
new file mode 100644
index 0000000..f3c5a40
--- /dev/null
+++ b/upload/themes/default/modules/admin/permissions/perm-id-boolean.html
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/upload/themes/default/modules/admin/permissions/perm-id-float.html b/upload/themes/default/modules/admin/permissions/perm-id-float.html
new file mode 100644
index 0000000..66055c5
--- /dev/null
+++ b/upload/themes/default/modules/admin/permissions/perm-id-float.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/upload/themes/default/modules/admin/permissions/perm-id-integer.html b/upload/themes/default/modules/admin/permissions/perm-id-integer.html
new file mode 100644
index 0000000..66055c5
--- /dev/null
+++ b/upload/themes/default/modules/admin/permissions/perm-id-integer.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/upload/themes/default/modules/admin/permissions/perm-id-string.html b/upload/themes/default/modules/admin/permissions/perm-id-string.html
new file mode 100644
index 0000000..66055c5
--- /dev/null
+++ b/upload/themes/default/modules/admin/permissions/perm-id-string.html
@@ -0,0 +1 @@
+
\ No newline at end of file