-
Recent Posts
הרשמה לעדכונים
הכנס מייל וקבל עדכונים על המאבק echo $after_widget; }//end function widget_quick_subscribe($args) //I think this function creates the widget-customization form. function widget_quick_subscribe_control() { $submitName = 'qs_SubmitName'; // This is for handing the control form submission. if ( isset($_POST[$submitName] )) { // Clean up control form submission options $newButton = isset($_POST['quicksubscribe_widget_button']) ? $_POST['quicksubscribe_widget_button'] : null; //since button is a checkbox, we'll need to make sure to set it properly. if($newButton != 1) $newButton = 0; $newTitle = isset($_POST['quicksubscribe_widget_title'])?$_POST['quicksubscribe_widget_title']: null; $newDescription = isset($_POST['quicksubscribe_widget_description'])?$_POST['quicksubscribe_widget_description']:null; $newButtonLabel = isset($_POST['quicksubscribe_widget_button_label'])?$_POST['quicksubscribe_widget_button_label']:null; $newButtonHide = isset($_POST['quicksubscribe_widget_button_hide'])?$_POST['quicksubscribe_widget_button_hide']:null; //since button is a checkbox, we'll need to make sure to set it properly. if($newButtonHide != 1) $newButtonHide = 0; //$newInputRedisplay = isset($_POST['quicksubscribe_widget_input_redisplay'])?$_POST['quicksubscribe_widget_input_redisplay']:null; //since button is a checkbox, we'll need to make sure to set it properly. //if($newInputRedisplay != 1) $newInputRedisplay = 0; update_option('quicksubscribe_widget_title', $newTitle); update_option('quicksubscribe_widget_description', $newDescription); update_option('quicksubscribe_widget_button_label', $newButtonLabel); update_option('quicksubscribe_widget_button', $newButton); update_option('quicksubscribe_widget_button_hide', $newButtonHide); // update_option('quicksubscribe_widget_input_redisplay', $newInputRedisplay); } $title = get_option('quicksubscribe_widget_title'); $description = get_option('quicksubscribe_widget_description'); $button = get_option('quicksubscribe_widget_button'); $button_label = get_option('quicksubscribe_widget_button_label'); $button_hide = get_option('quicksubscribe_widget_button_hide'); //$input_redisplay = get_option('quicksubscribe_widget_input_redisplay'); // The HTML below is the control form for editing options. ?>/* */?>Recent Comments
ארכיון
Categories
כלים
[סרטון] ציקה מעדכן על המשך המאבק
פורסם בקטגוריה Uncategorized. אפשר להגיע לכאן עם קישור ישיר.