Changeset 3436471
- Timestamp:
- 01/10/2026 08:54:57 AM (3 months ago)
- Location:
- question-answer/trunk
- Files:
-
- 20 edited
-
includes/classes/class-admin-notices.php (modified) (1 diff)
-
includes/classes/class-widget-categories.php (modified) (2 diffs)
-
includes/functions-ajax.php (modified) (1 diff)
-
includes/functions-counter.php (modified) (1 diff)
-
includes/functions-notification.php (modified) (1 diff)
-
includes/functions-user-profile.php (modified) (1 diff)
-
includes/functions.php (modified) (28 diffs)
-
includes/menus/settings-new.php (modified) (1 diff)
-
includes/menus/welcome.php (modified) (1 diff)
-
includes/shortcodes/class-shortcode-qa-edit-account.php (modified) (3 diffs)
-
question-answer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
templates/add-question/add-question-hook.php (modified) (4 diffs)
-
templates/add-question/add-question-new.php (modified) (2 diffs)
-
templates/dashboard/dashboard-hook.php (modified) (1 diff)
-
templates/my-account/my-account.php (modified) (1 diff)
-
templates/my-account/profile.php (modified) (2 diffs)
-
templates/single-question/answer-section.php (modified) (1 diff)
-
templates/single-question/single-question-hook.php (modified) (1 diff)
-
templates/template-registration-form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
question-answer/trunk/includes/classes/class-admin-notices.php
r3429738 r3436471 39 39 <?php 40 40 /* translators: URL */ 41 echo sprintf(esc_html__('Data migration required for <b>Question Answer</b> plugin, please <a class="button button-primary" href="%s">click to start</a> migration.', 'question-answer'), esc_url _raw($actionurl));41 echo sprintf(esc_html__('Data migration required for <b>Question Answer</b> plugin, please <a class="button button-primary" href="%s">click to start</a> migration.', 'question-answer'), esc_url($actionurl)); 42 42 ?> 43 43 </p> -
question-answer/trunk/includes/classes/class-widget-categories.php
r3429738 r3436471 1 1 <?php 2 2 3 /* 4 * @Author pickplugins 5 * Copyright: 2015 pickplugins 6 */ 7 8 if ( ! defined('ABSPATH')) exit; // if direct access 3 if (!defined('ABSPATH')) exit; // if direct access 9 4 10 5 … … 30 25 echo '<div class="qa_widget_categories">'; 31 26 32 $question_cat = get_terms('question_cat', array('hide_empty' => false,) ); 27 $question_cat = get_terms(array( 'taxonomy' => 'question_cat', 28 'hide_empty' => false,) ); 33 29 34 30 //echo '<pre>'.var_export($question_cat, true).'</pre>'; -
question-answer/trunk/includes/functions-ajax.php
r3429738 r3436471 184 184 //echo 'gggggggggggggg'; 185 185 186 echo json_encode($response);186 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 187 187 die(); 188 188 } -
question-answer/trunk/includes/functions-counter.php
r2776698 r3436471 1 1 <?php 2 /* 3 * @Author pickplugins 4 * Copyright: pickplugins.com 5 */ 2 if (!defined('ABSPATH')) exit; // if direct access 6 3 7 4 -
question-answer/trunk/includes/functions-notification.php
r3429738 r3436471 1 1 <?php 2 /* 3 * @Author pickplugins 4 * Copyright: pickplugins.com 5 */ 6 2 3 if (!defined('ABSPATH')) exit; // if direct access 7 4 8 5 /* -
question-answer/trunk/includes/functions-user-profile.php
r1868660 r3436471 1 1 <?php 2 /* 3 * @Author pickplugins 4 * Copyright: pickplugins.com 5 */ 2 if (!defined('ABSPATH')) exit; // if direct access 6 3 7 4 class class_qa_user_profile{ -
question-answer/trunk/includes/functions.php
r3429738 r3436471 1 1 <?php 2 /*3 * @Author pickplugins4 * Copyright: pickplugins.com5 */6 7 2 if (!defined('ABSPATH')) exit; // if direct access 8 3 … … 166 161 if ($qa_account_required_post_answer == 'yes') { 167 162 $response['html'] .= sprintf("<p class='qa_notice qa_notice_error'>%s</p>", __('Please login to post answer.', 'question-answer')); 168 echo json_encode($response);163 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 169 164 die(); 170 165 } … … 174 169 175 170 $response['html'] .= sprintf("<p class='qa_notice qa_notice_error'>%s</p>", __('Empty content can"t be a valid answer!', 'question-answer')); 176 echo json_encode($response);171 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 177 172 die(); 178 173 } … … 209 204 210 205 $response['html'] .= sprintf("<p class='qa_notice qa_notice_error'>%s</p>", __('Something went wrong!', 'question-answer')); 211 echo json_encode($response);206 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 212 207 die(); 213 208 } … … 262 257 do_action('qa_answer_submitted', $answer_id, $form_data_arr); 263 258 264 echo json_encode($response);259 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 265 260 die(); 266 261 } … … 337 332 338 333 $response['html'] .= sprintf("<p class='qa_notice qa_notice_error'>%s</p>", __('Empty content can"t be a valid answer!', 'question-answer')); 339 echo json_encode($response);334 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 340 335 die(); 341 336 } … … 364 359 365 360 $response['html'] .= sprintf("<p class='qa_notice qa_notice_error'>%s</p>", __('Something went wrong! 2', 'question-answer')); 366 echo json_encode($response);361 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 367 362 die(); 368 363 } … … 399 394 //do_action( 'qa_email_action_question_submit', $answer_id ); 400 395 401 echo json_encode($response);396 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 402 397 die(); 403 398 } … … 615 610 616 611 617 echo json_encode($response);612 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 618 613 die(); 619 614 } … … 645 640 646 641 647 echo json_encode($response);642 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 648 643 die(); 649 644 } … … 754 749 endif; 755 750 756 echo json_encode($response);751 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 757 752 die(); 758 753 } … … 1211 1206 ob_end_clean(); 1212 1207 1213 echo json_encode($response);1208 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1214 1209 die(); 1215 1210 } … … 1258 1253 1259 1254 1260 echo json_encode($response);1255 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1261 1256 die(); 1262 1257 } … … 1672 1667 //echo 'gggggggggggggg'; 1673 1668 1674 echo json_encode($response);1669 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1675 1670 die(); 1676 1671 } … … 1708 1703 1709 1704 $response['toast'] .= '<i class="fas fa-check"></i> ' . __('Please login first.', 'question-answer'); 1710 echo json_encode($response);1705 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1711 1706 die(); 1712 1707 } … … 1715 1710 1716 1711 $response['toast'] .= '<i class="fas fa-check"></i> ' . __('Sorry you can\'t choose best answer.', 'question-answer'); 1717 echo json_encode($response);1712 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1718 1713 die(); 1719 1714 } … … 1761 1756 } 1762 1757 1763 echo json_encode($response);1758 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1764 1759 die(); 1765 1760 } … … 1814 1809 } 1815 1810 1816 echo json_encode($response);1811 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1817 1812 die(); 1818 1813 } … … 1859 1854 1860 1855 1861 echo json_encode($response);1856 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 1862 1857 die(); 1863 1858 } … … 2045 2040 endif; 2046 2041 2047 echo json_encode($response);2042 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2048 2043 //echo $qa_flag_value; 2049 2044 die(); … … 2198 2193 2199 2194 2200 echo json_encode($response);2195 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2201 2196 //echo $qa_flag_value; 2202 2197 die(); … … 2312 2307 endif; 2313 2308 2314 echo json_encode($response);2309 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2315 2310 //echo $qa_flag_value; 2316 2311 die(); … … 2475 2470 2476 2471 2477 echo json_encode($response);2472 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2478 2473 die(); 2479 2474 } … … 2539 2534 $response['status'] = $status; 2540 2535 2541 echo json_encode($response);2536 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2542 2537 die(); 2543 2538 } … … 2594 2589 $response['status'] = $status; 2595 2590 2596 echo json_encode($response);2591 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2597 2592 die(); 2598 2593 } … … 2648 2643 } 2649 2644 2650 echo json_encode($html );2645 echo json_encode($html, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2651 2646 die(); 2652 2647 } … … 2725 2720 } 2726 2721 2727 echo json_encode($html );2722 echo json_encode($html, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2728 2723 die(); 2729 2724 } … … 2814 2809 2815 2810 2816 echo json_encode($response);2811 echo wp_json_encode($response, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); 2817 2812 2818 2813 die(); -
question-answer/trunk/includes/menus/settings-new.php
r3429738 r3436471 100 100 <div id="icon-tools" class="icon32"><br></div> 101 101 <h2><?php echo esc_html(__('Question Answer Settings', 'question-answer')) ?></h2> 102 <form method="post" action="<?php echo esc_url(str_replace('%7E', '~', wp_unslash($_SERVER['REQUEST_URI']))); ?>">102 <form method="post" action="<?php echo esc_url(str_replace('%7E', '~', sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI'])))); ?>"> 103 103 <input type="hidden" name="qa_settings_hidden" value="Y"> 104 104 <?php -
question-answer/trunk/includes/menus/welcome.php
r3429738 r3436471 68 68 <div id="icon-tools" class="icon32"><br></div> 69 69 <h2></h2> 70 <form method="post" action="<?php echo esc_url(str_replace( '%7E', '~', wp_unslash($_SERVER['REQUEST_URI']))); ?>">70 <form method="post" action="<?php echo esc_url(str_replace( '%7E', '~', sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI'])))); ?>"> 71 71 <input type="hidden" name="qa_hidden" value="Y"> 72 72 <?php 73 73 if(!empty($_POST['qa_hidden'])){ 74 74 75 $nonce = sanitize_text_field(wp_unslash($_POST['_wpnonce']));75 $nonce = isset($_POST['_wpnonce']) ? sanitize_text_field(wp_unslash($_POST['_wpnonce'])) : ''; 76 76 77 77 -
question-answer/trunk/includes/shortcodes/class-shortcode-qa-edit-account.php
r3429738 r3436471 28 28 } 29 29 30 if(isset($_POST['_wpnonce']) && wp_verify_nonce( $_POST['_wpnonce'], 'qa_edit_account_nonce' ) && $_POST['qa_edit_account_hidden']== 'Y') {30 if(isset($_POST['_wpnonce']) && wp_verify_nonce( sanitize_text_field(wp_unslash($_POST['_wpnonce'])), 'qa_edit_account_nonce' ) && wp_unslash($_POST['qa_edit_account_hidden']) == 'Y') { 31 31 32 32 33 $display_name = sanitize_text_field(wp_unslash($_POST['display_name']));34 $user_url = esc_url_raw(wp_unslash($_POST['user_url']));35 $user_description = sanitize_text_field(wp_unslash($_POST['description']));33 $display_name = isset($_POST['display_name']) ? sanitize_text_field(wp_unslash($_POST['display_name'])) : ''; 34 $user_url = isset($_POST['user_url']) ? esc_url_raw(wp_unslash($_POST['user_url'])) : ''; 35 $user_description = isset($_POST['description']) ? sanitize_text_field(wp_unslash($_POST['description'])) : ''; 36 36 37 $profile_photo = esc_url(wp_unslash($_POST['profile_photo']));38 $cover_photo = esc_url(wp_unslash($_POST['cover_photo']));37 $profile_photo = isset($_POST['profile_photo']) ? esc_url_raw(wp_unslash($_POST['profile_photo'])) : ''; 38 $cover_photo = isset($_POST['cover_photo']) ? esc_url_raw(wp_unslash($_POST['cover_photo'])) : ''; 39 39 40 40 wp_update_user( array( 'ID' => $current_user_id, 'display_name' => $display_name ) ); … … 54 54 else{ 55 55 56 $display_name = $current_user->display_name;57 $user_url = $current_user->user_url;58 $user_description = $current_user->description;56 $display_name = isset($current_user->display_name ) ? $current_user->display_name : ''; 57 $user_url = isset($current_user->user_url ) ? $current_user->user_url : ''; 58 $user_description = isset($current_user->description ) ? $current_user->description : ''; 59 59 60 60 … … 82 82 ?> 83 83 84 <form action="<?php echo esc_url(str_replace( '%7E', '~', wp_unslash($_SERVER['REQUEST_URI']))); ?>" method="post">84 <form action="<?php echo esc_url(str_replace( '%7E', '~', sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))) ); ?>" method="post"> 85 85 <input type="hidden" name="qa_edit_account_hidden" value="Y"> 86 86 -
question-answer/trunk/question-answer.php
r3429738 r3436471 1 1 <?php 2 2 /* 3 Plugin Name: Question Answer3 Plugin Name: PickPlugins Question Answer 4 4 Plugin URI: https://www.pickplugins.com/item/question-answer/?ref=dashboard 5 5 Description: Create Awesome Question and Answer Website in a Minute 6 Version: 1.2.7 16 Version: 1.2.73 7 7 Text Domain: question-answer 8 8 Domain Path: /languages -
question-answer/trunk/readme.txt
r3429738 r3436471 1 === Question Answer ===1 === PickPlugins Question Answer === 2 2 Contributors: PickPlugins 3 3 Donate link: https://www.pickplugins.com/item/question-answer/?ref=wordpress.org 4 4 Tags: Question Answer, Question, Answer 5 5 Requires at least: 4.1 6 Tested up to: 6. 67 Stable tag: 1.2.7 16 Tested up to: 6.9 7 Stable tag: 1.2.73 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 110 110 Plugin is translation ready , please find the 'en.po' for default translation file under 'languages' folder and add your own translation. you can also contribute in translation, please contact us https://pickplugins.com/forum/ 111 111 112 == External services == 113 114 * [Google reCAPTCHA](https://www.google.com/recaptcha/about/) 115 112 116 == Frequently Asked Questions == 113 117 -
question-answer/trunk/templates/add-question/add-question-hook.php
r3429738 r3436471 254 254 255 255 $login_page_id = get_option('qa_question_login_page_id'); 256 $login_page_url = !empty($login_page_id) ? get_permalink($login_page_id) : wp_login_url( $_SERVER['REQUEST_URI']);256 $login_page_url = !empty($login_page_id) ? get_permalink($login_page_id) : wp_login_url(sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))); 257 257 258 258 ?> … … 405 405 $qa_enable_poll = get_option('qa_enable_poll', 'no'); 406 406 407 $qa_page_myaccount_url = !empty($qa_page_myaccount) ? get_permalink($qa_page_myaccount) : wp_login_url( $_SERVER['REQUEST_URI']);407 $qa_page_myaccount_url = !empty($qa_page_myaccount) ? get_permalink($qa_page_myaccount) : wp_login_url(sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))); 408 408 409 409 $user_id = (is_user_logged_in()) ? get_current_user_id() : 0; … … 483 483 $secretkey = get_option('qa_reCAPTCHA_secret_key'); 484 484 485 $response = wp_remote_get("https://www.google.com/recaptcha/api/siteverify?secret=" . $secretkey . "&response=" . wp_unslash($_POST['g-recaptcha-response']));485 $response = wp_remote_get("https://www.google.com/recaptcha/api/siteverify?secret=" . $secretkey . "&response=" . sanitize_text_field(wp_unslash($_POST['g-recaptcha-response']))); 486 486 $response = json_decode($response["body"], true); 487 487 … … 505 505 // } 506 506 507 if (!isset($_POST['qa_q_submit_nonce']) || !wp_verify_nonce( wp_unslash($_POST['qa_q_submit_nonce']), 'qa_q_submit_nonce')) {507 if (!isset($_POST['qa_q_submit_nonce']) || !wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['qa_q_submit_nonce'])), 'qa_q_submit_nonce')) { 508 508 509 509 $qa_error->add('_wpnonce', __('<strong>ERROR</strong>: security test failed.', 'question-answer')); -
question-answer/trunk/templates/add-question/add-question-new.php
r3429738 r3436471 19 19 $qa_submitted_post_status = get_option('qa_submitted_question_status', 'pending' ); 20 20 $qa_page_myaccount = get_option('qa_page_myaccount', '' ); 21 $qa_page_myaccount_url = !empty($qa_page_myaccount) ? get_permalink($qa_page_myaccount) : wp_login_url( wp_unslash($_SERVER['REQUEST_URI']));21 $qa_page_myaccount_url = !empty($qa_page_myaccount) ? get_permalink($qa_page_myaccount) : wp_login_url(sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))); 22 22 23 23 … … 36 36 <?php do_action('question_answer_submit_question_before'); ?> 37 37 38 <form enctype="multipart/form-data" method="post" action="<?php echo esc_url(str_replace( '%7E', '~', wp_unslash($_SERVER['REQUEST_URI']))); ?>">38 <form enctype="multipart/form-data" method="post" action="<?php echo esc_url(str_replace( '%7E', '~', sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))) ); ?>"> 39 39 <?php 40 40 do_action('question_answer_submit_question'); -
question-answer/trunk/templates/dashboard/dashboard-hook.php
r3429738 r3436471 203 203 204 204 $login_redirect_page_url = !empty($login_redirect_page) ? get_permalink($login_redirect_page) : ''; 205 $qa_page_myaccount_url = !empty($qa_page_myaccount) ? get_permalink($qa_page_myaccount) : wp_login_url( wp_unslash($_SERVER['REQUEST_URI']));205 $qa_page_myaccount_url = !empty($qa_page_myaccount) ? get_permalink($qa_page_myaccount) : wp_login_url(sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))); 206 206 207 207 -
question-answer/trunk/templates/my-account/my-account.php
r3429738 r3436471 47 47 } 48 48 else{ 49 $qa_page_myaccount_url = wp_login_url( wp_unslash($_SERVER['REQUEST_URI']));49 $qa_page_myaccount_url = wp_login_url(sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))); 50 50 } 51 51 -
question-answer/trunk/templates/my-account/profile.php
r3429738 r3436471 61 61 </ul> 62 62 63 <form enctype="multipart/form-data" method="POST" action="<?php echo esc_url _raw(str_replace( '%7E', '~', wp_unslash($_SERVER['REQUEST_URI']))); ?>">63 <form enctype="multipart/form-data" method="POST" action="<?php echo esc_url(str_replace( '%7E', '~',sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))) ); ?>"> 64 64 <ul class="box"> 65 65 <li style="display: block;" class="box1 tab-box active"> … … 86 86 87 87 <p class="option-info"><?php echo esc_html__('Website', 'question-answer' ); ?></p> 88 <input type="text" placeholder="www.yourwebsite.com" name="qa_website" value="<?php echo esc_url _raw($qa_website); ?>" />88 <input type="text" placeholder="www.yourwebsite.com" name="qa_website" value="<?php echo esc_url($qa_website); ?>" /> 89 89 </div> 90 90 </li> -
question-answer/trunk/templates/single-question/answer-section.php
r3429738 r3436471 71 71 <?php if( $qa_show_answer_filter == 'yes' ) { ?> 72 72 <div class="float_right answer_header_status"> 73 <form enctype="multipart/form-data" id="qa_sort_answer_form" action="<?php echo esc_url(str_replace( '%7E', '~', wp_unslash($_SERVER['REQUEST_URI']))); ?>" method="GET">73 <form enctype="multipart/form-data" id="qa_sort_answer_form" action="<?php echo esc_url(str_replace( '%7E', '~', sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))) ); ?>" method="GET"> 74 74 <span><?php echo esc_html__('Sort By:', 'question-answer'); ?></span> 75 75 <select name="qa_sort_answer" class="qa_sort_answer"> -
question-answer/trunk/templates/single-question/single-question-hook.php
r3429738 r3436471 1320 1320 <?php if ($qa_show_answer_filter == 'yes') { ?> 1321 1321 <div class="float_right answer_header_status"> 1322 <form enctype="multipart/form-data" id="qa_sort_answer_form" action="<?php echo esc_url(str_replace('%7E', '~', wp_unslash($_SERVER['REQUEST_URI']))); ?>" method="GET">1322 <form enctype="multipart/form-data" id="qa_sort_answer_form" action="<?php echo esc_url(str_replace('%7E', '~', sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI'])))); ?>" method="GET"> 1323 1323 <span><?php echo esc_html__('Sort By:', 'question-answer'); ?></span> 1324 1324 <select name="qa_sort_answer" class="qa_sort_answer"> -
question-answer/trunk/templates/template-registration-form.php
r3429738 r3436471 42 42 43 43 44 <form action="<?php echo esc_url _raw(wp_unslash($_SERVER['REQUEST_URI'])); ?> " method="post">44 <form action="<?php echo esc_url(sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']))); ?> " method="post"> 45 45 <p> 46 46 <label for="username"><?php echo esc_html__('Username', 'question-answer'); ?><strong>*</strong><br>
Note: See TracChangeset
for help on using the changeset viewer.