| @@ -96,9 +96,9 @@ | ||
| 96 | 96 | <table> |
| 97 | 97 | <tr> |
| 98 | 98 | <td>Publisher ID</td> |
| 99 | 99 | <td> |
| 100 | - <input type="text" name="publisher_id" placeholder="publisher" value="<?php echo $settings->publisher_id ?>"/> | |
| 100 | + <input type="text" name="publisher_id" placeholder="publisher" value="<?php echo htmlspecialchars($settings->publisher_id) ?>"/> | |
| 101 | 101 | </td> |
| 102 | 102 | <td class='tooltip'> |
| 103 | 103 | <img src='<?php echo $this->plugin_url.'img/question-mark.png' ?>'/> |
| 104 | 104 | <div>Please contact your Taboola representative to receive the Publisher ID </div> |
| @@ -115,9 +115,9 @@ | ||
| 115 | 115 | <hr style='margin-bottom: 25px; margin-top: 5px;'> |
| 116 | 116 | |
| 117 | 117 | <div class='checkbox'> |
| 118 | 118 | <input id="first_bc_enabled" type="checkbox" <?php echo $settings->first_bc_enabled ? "checked='checked'" : "" ?> name="first_bc_enabled"/> |
| 119 | - Taboola widget below article | |
| 119 | + Below Article | |
| 120 | 120 | </div> |
| 121 | 121 | <table> |
| 122 | 122 | <tr> |
| 123 | 123 | <td>Widget ID</td> |
| @@ -128,20 +128,15 @@ | ||
| 128 | 128 | <img src='<?php echo $this->plugin_url.'img/question-mark.png' ?>'/> |
| 129 | 129 | <div>Please contact your Taboola representative to receive the Widget ID</div> |
| 130 | 130 | </td> |
| 131 | 131 | </tr> |
| 132 | - <!-- <tr> | |
| 133 | - <td>Custom CSS</td> | |
| 134 | - <td> | |
| 135 | - <input type="text" value="<?php echo $settings->first_bc_custom_css ?>" name="first_bc_custom_css" placeholder="Custom CSS" /> | |
| 136 | - </td> | |
| 137 | - </tr>--> | |
| 132 | + | |
| 138 | 133 | </table> |
| 139 | 134 | <hr> |
| 140 | 135 | |
| 141 | 136 | <div class='checkbox'> |
| 142 | 137 | <input id="second_bc_enabled" type="checkbox" <?php echo $settings->second_bc_enabled ? "checked='checked'" : "" ?> name="second_bc_enabled"/> |
| 143 | - Taboola widget below the first one | |
| 138 | + Below Article 2nd | |
| 144 | 139 | </div> |
| 145 | 140 | |
| 146 | 141 | <table> |
| 147 | 142 | <tr> |
| @@ -146,9 +141,9 @@ | ||
| 146 | 141 | <table> |
| 147 | 142 | <tr> |
| 148 | 143 | <td>Widget ID</td> |
| 149 | 144 | <td> |
| 150 | - <input type="text" value="<?php echo $settings->second_bc_widget_id ?>" name="second_bc_widget_id" placeholder="Widget ID" /> | |
| 145 | + <input type="text" value="<?php echo htmlspecialchars($settings->second_bc_widget_id) ?>" name="second_bc_widget_id" placeholder="Widget ID" /> | |
| 151 | 146 | </td> |
| 152 | 147 | <td class='tooltip'> |
| 153 | 148 | <img src='<?php echo $this->plugin_url.'img/question-mark.png' ?>'/> |
| 154 | 149 | <div>Please contact your Taboola representative to receive the Widget ID</div> |
| @@ -153,14 +148,9 @@ | ||
| 153 | 148 | <img src='<?php echo $this->plugin_url.'img/question-mark.png' ?>'/> |
| 154 | 149 | <div>Please contact your Taboola representative to receive the Widget ID</div> |
| 155 | 150 | </td> |
| 156 | 151 | </tr> |
| 157 | - <!-- <tr> | |
| 158 | - <td>Custom CSS</td> | |
| 159 | - <td> | |
| 160 | - <input type="text" value="<?php echo $settings->second_bc_custom_css ?>" name="second_bc_custom_css" placeholder="Custom CSS" /> | |
| 161 | - </td> | |
| 162 | - </tr>--> | |
| 152 | + | |
| 163 | 153 | </table> |
| 164 | 154 | <hr style='border-bottom: 1px solid #fafafa;'> |
| 165 | 155 | |
| 166 | 156 | <input class='button-secondary' type="submit" value="Apply Changes ✔"/> |