Changeset 2724014
- Timestamp:
- 05/15/2022 09:24:37 AM (4 years ago)
- Location:
- widgets-for-amazon/trunk
- Files:
-
- 1 added
- 2 deleted
- 4 edited
-
. (modified) (1 prop)
-
CHANGELOG.md (deleted)
-
README.md (deleted)
-
README.txt (added)
-
includes/Admin.php (modified) (6 diffs)
-
includes/Constants.php (modified) (1 diff)
-
widgets-for-amazon.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
widgets-for-amazon/trunk
- Property svn:ignore
-
old new 1 *.zip 1 2 .git 2 3 .gitignore 3 4 .idea 5 OldAmazonWidgets 6 TODO.txt 4 7 debug.log 5 8 images 9 temp 6 10 test.html 7 TODO.txt8 *.zip9 OldAmazonWidgets
-
- Property svn:ignore
-
widgets-for-amazon/trunk/includes/Admin.php
r2723425 r2724014 12 12 //Tools::log_debug('admin_activate_plugin'); 13 13 14 add_option(Constants::OPTION_DOMAIN_CODE_NAME, Constants::OPTION_DOMAIN_CODE_DEFAULT_VALUE);14 /*add_option(Constants::OPTION_DOMAIN_CODE_NAME, Constants::OPTION_DOMAIN_CODE_DEFAULT_VALUE); 15 15 add_option(Constants::OPTION_LANGUAGE_NAME, Constants::OPTION_LANGUAGE_DEFAULT_VALUE); 16 16 add_option(Constants::OPTION_AFFILIATE_TAG_NAME, Constants::OPTION_AFFILIATE_TAG_DEFAULT_VALUE); 17 17 add_option(Constants::OPTION_SHOW_ON_NO_RESULTS_PAGE_NAME, Constants::OPTION_SHOW_ON_NO_RESULTS_PAGE_DEFAULT_VALUE); 18 add_option(Constants::OPTION_NO_RESULTS_PAGE_CATEGORY_NAME, Constants::OPTION_NO_RESULTS_PAGE_CATEGORY_DEFAULT_VALUE); 18 add_option(Constants::OPTION_NO_RESULTS_PAGE_CATEGORY_NAME, Constants::OPTION_NO_RESULTS_PAGE_CATEGORY_DEFAULT_VALUE);*/ 19 19 } 20 20 … … 141 141 </select> 142 142 </td> 143 <td> DESC</td>143 <td></td> 144 144 </tr> 145 145 <tr> … … 151 151 </select> 152 152 </td> 153 <td> DESC</td>153 <td></td> 154 154 </tr> 155 155 <tr> 156 156 <th>Affiliate Tag</th> 157 157 <td><input type="text" name="<?php print(Constants::OPTION_AFFILIATE_TAG_NAME); ?>" value="<?php print($affiliateTag); ?>"/></td> 158 <td> DESC</td>158 <td></td> 159 159 </tr> 160 160 </table> … … 173 173 <th>Display Amazon search box<br/>underneath normal search box</th> 174 174 <td><input type="checkbox" name="<?php print(Constants::OPTION_SHOW_ON_NO_RESULTS_PAGE_NAME); ?>" <?php checked('1', $showOnNoResultsPage); ?>/></td> 175 <td> DESC</td>175 <td></td> 176 176 </tr> 177 177 <tr> 178 178 <th>Category</th> 179 179 <td><input type="text" name="<?php print(Constants::OPTION_NO_RESULTS_PAGE_CATEGORY_NAME); ?>" value="<?php print($noResultsPageCategory); ?>"/></td> 180 <td> DESC</td>180 <td></td> 181 181 </tr> 182 182 </table> … … 193 193 <br/> 194 194 <br/> 195 <b> category:</b> (optional) the category to search in, e.g. "sporting-intl-ship" (default: all categories)<br/>196 <b> keywords</b> (required) the keywords to search for, e.g. "balls"<br/>195 <b>keywords</b> (required) the keywords to search for, e.g. "Balls"<br/> 196 <b>category:</b> (optional) the category to search in, e.g. "Sporting" (empty => all categories)<br/> 197 197 <br/> 198 198 e.g.<br/> … … 202 202 <br/> 203 203 <br/> 204 <input id="example2" readonly style="width: 80%;" value="[amazon-search category=" sporting-intl-ship" keywords="Balls"]"/>204 <input id="example2" readonly style="width: 80%;" value="[amazon-search category="Sporting" keywords="Balls"]"/> 205 205 <button onclick="eggnstone_widgets_copy_to_clipboard('example2');">Copy</button> 206 206 </div> -
widgets-for-amazon/trunk/includes/Constants.php
r2723425 r2724014 23 23 24 24 const OPTION_SHOW_ON_NO_RESULTS_PAGE_NAME = self::OPTION_NAME_PREFIX . 'show_on_no_results_page'; 25 const OPTION_SHOW_ON_NO_RESULTS_PAGE_DEFAULT_VALUE = True;25 const OPTION_SHOW_ON_NO_RESULTS_PAGE_DEFAULT_VALUE = False; 26 26 27 27 const OPTION_NO_RESULTS_PAGE_CATEGORY_NAME = self::OPTION_NAME_PREFIX . 'no_results_page_category'; -
widgets-for-amazon/trunk/widgets-for-amazon.php
r2723816 r2724014 5 5 * Plugin URI: https://blog.eggnstone.com/blog/widgets-for-amazon-for-wordpress 6 6 * Description: Widgets for Amazon by eggnstone 7 * Version: 1.0. 97 * Version: 1.0.10 8 8 * Author: eggnstone 9 9 * Author URI: https://eggnstone.com
Note: See TracChangeset
for help on using the changeset viewer.