/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/trx_utils/widgets
NameSizeModeActions
qrcode/-0755rm
banner.php94920644editdlrm
calendar.php72850644editdlrm
categories.php118820644editdlrm
flickr.php85560644editdlrm
give.php70330644editdlrm
popular_posts.php218730644editdlrm
recent_posts.php176580644editdlrm
recent_reviews.php183700644editdlrm
socials.php135440644editdlrm
top10.php209310644editdlrm
twitter.php133970644editdlrm
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/trx_utils/widgets/give.php (7033B)
'widget_give_goal', 'description' => esc_html__('Give goal', 'trx_utils')); parent::__construct('charity_is_hope_widget_give_goal', esc_html__('Charity Is Hope - Give goal', 'trx_utils'), $widget_ops); } // Show widget function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', isset($instance['title']) ? $instance['title'] : ''); $goal_description = isset($instance['goal_description']) ? $instance['goal_description'] : ''; // Before widget (defined by themes) charity_is_hope_show_layout($before_widget); // Display the widget title if one was input (before and after defined by themes) if ($title) charity_is_hope_show_layout($title, $before_title, $after_title); if ($goal_description) echo '

' . esc_attr($goal_description) . '

'; if (function_exists('give_show_goal_progress')) give_show_goal_progress(get_the_ID(), array()); // After widget (defined by themes) charity_is_hope_show_layout($after_widget); } // Update the widget settings. function update($new_instance, $old_instance) { $instance = $old_instance; $instance['title'] = strip_tags($new_instance['title']); $instance['goal_description'] = strip_tags($new_instance['goal_description']); return $instance; } // Displays the widget settings controls on the widget panel. function form($instance) { // Set up some default widget settings $instance = wp_parse_args((array)$instance, array( 'title' => '', 'goal_description' => '' ) ); $title = $instance['title']; $goal_description = $instance['goal_description']; ?>

'widget_give_donation_history', 'description' => esc_html__('Give donation history', 'trx_utils')); parent::__construct('charity_is_hope_widget_give_donation_history', esc_html__('Charity Is Hope - Give donation history', 'trx_utils'), $widget_ops); } // Show widget function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', isset($instance['title']) ? $instance['title'] : ''); $goal_description = isset($instance['goal_description']) ? $instance['goal_description'] : ''; // Before widget (defined by themes) charity_is_hope_show_layout($before_widget); // Display the widget title if one was input (before and after defined by themes) if ($title) charity_is_hope_show_layout($title, $before_title, $after_title); if ($goal_description) echo '

' . esc_attr($goal_description) . '

'; if (shortcode_exists('donation_history')) echo do_shortcode('[donation_history]'); // After widget (defined by themes) charity_is_hope_show_layout($after_widget); } // Update the widget settings. function update($new_instance, $old_instance) { $instance = $old_instance; $instance['title'] = strip_tags($new_instance['title']); $instance['goal_description'] = strip_tags($new_instance['goal_description']); return $instance; } // Displays the widget settings controls on the widget panel. function form($instance) { // Set up some default widget settings $instance = wp_parse_args((array)$instance, array( 'title' => '', 'goal_description' => '' ) ); $title = $instance['title']; $goal_description = $instance['goal_description']; ?>