From: Anthony Talarico Date: Sun, 20 Oct 2019 20:16:05 +0000 (-0400) Subject: adding tripadvisor and flickr to the social media view files X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f89e1e8d4f153b7931562a42a801ab7798e49453;p=WP-Plugins%2Fglm-client-info.git adding tripadvisor and flickr to the social media view files --- diff --git a/controllers/Admin.php b/controllers/Admin.php index 8e0bb7a..951873d 100644 --- a/controllers/Admin.php +++ b/controllers/Admin.php @@ -348,13 +348,7 @@ class Glmclientinfo_Admin_Controller 'type' => 'textarea' ), ); - - // foreach($fieldNames as $index => $setting){ - // if( ! in_array( $setting['name'], get_option( GLM_CLIENTINFO_SETTINGS ) ) && get_option( GLM_CLIENTINFO_SETTINGS ) !== FALSE ){ - // update_option(GLM_CLIENTINFO_SETTINGS , $fieldNames); - // } - // } - + $fieldNames2 = array( array( 'name' => 'address2', @@ -405,42 +399,7 @@ class Glmclientinfo_Admin_Controller 'name' => 'gpslon2', 'label' => 'Secondary GPS Lon.', 'type' => 'text' - ), - array( - 'name' => 'facebook', - 'label' => 'Facebook', - 'type' => 'text' - ), - array( - 'name' => 'twitter', - 'label' => 'Twitter', - 'type' => 'text' - ), - array( - 'name' => 'instagram', - 'label' => 'Instagram', - 'type' => 'text' - ), - array( - 'name' => 'youtube', - 'label' => 'Youtube', - 'type' => 'text' - ), - array( - 'name' => 'pinterest', - 'label' => 'Pinterest', - 'type' => 'text' - ), - array( - 'name' => 'tripadvisor', - 'label' => 'Trip Advisor', - 'type' => 'text' - ), - array( - 'name' => 'flickr', - 'label' => 'Flickr', - 'type' => 'text' - ), + ) ); $this->glmclientinfoAddSettingTextField( diff --git a/views/footer.php b/views/footer.php index a259f99..ea3f412 100644 --- a/views/footer.php +++ b/views/footer.php @@ -1,5 +1,13 @@