From 02806b882c4d6169b7a1c3d9b774cfa90ed9d095 Mon Sep 17 00:00:00 2001 From: Jay Wood Date: Fri, 1 Jul 2016 16:03:38 -0400 Subject: [PATCH] Add necessary rendering fields - #45 --- includes/admin.php | 9 ++++++++- includes/settings.php | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/includes/admin.php b/includes/admin.php index 4c4514d..cd63179 100644 --- a/includes/admin.php +++ b/includes/admin.php @@ -252,7 +252,7 @@ class CWV2_Admin { array( 'id' => 'general-settings', 'name' => __( 'General Settings', 'content-warning-v2' ), - 'group' => 'default', + 'group' => 'def_group', 'fields' => array( array( 'id' => 'sitewide', @@ -290,6 +290,13 @@ class CWV2_Admin { 'desc' => __( 'Time in days for the cookie to expire', 'content-warning-v2' ), 'type' => 'number', ), + ), + ), + array( + 'id' => 'entry-settings', + 'name' => __( 'Dialog Settings', 'content-warning-v2' ), + 'group' => 'def_group', + 'fields' => array( array( 'id' => 'd_title', 'name' => __( 'Dialog Title', 'content-warning-v2' ), diff --git a/includes/settings.php b/includes/settings.php index 63610d6..11b0337 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -2,4 +2,29 @@ class CWV2_Settings { // Stuff + + public function def_group() { + + } + public function check() { + + } + public function number() { + + } + public function text() { + + } + public function radio() { + + } + public function media() { + + } + public function color() { + + } + public function textbox() { + + } }