Changeset 1854606
- Timestamp:
- 04/07/2018 06:03:13 PM (8 years ago)
- Location:
- grouped-variations-table/trunk
- Files:
-
- 3 edited
-
grouped-variations-table-settings.php (modified) (3 diffs)
-
grouped-variations-table.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grouped-variations-table/trunk/grouped-variations-table-settings.php
r1853592 r1854606 26 26 { ?> 27 27 <div class="notice notice-warning is-dismissable"> 28 <p><?php _e("You have no attributes configured for your shop!","grouped vartable")?></p>29 <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php _e("Close this message.","grouped vartable")?></span></button>28 <p><?php _e("You have no attributes configured for your shop!","grouped-variations-table")?></p> 29 <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php _e("Close this message.","grouped-variations-table")?></span></button> 30 30 </div> 31 31 <?php } … … 39 39 <form method="post" action="options.php"> 40 40 <?php settings_fields( 'groupedvartable_options_group' ); ?> 41 <h3><?php _e("Select Main Attribute for grouping","grouped vartable") ?></h3>41 <h3><?php _e("Select Main Attribute for grouping","grouped-variations-table") ?></h3> 42 42 <table style="width:50%"> 43 43 <tr valign="top"> 44 <th scope="row"><label for="myplugin_option_name"><?php _e("Main Attribute for sorting:","grouped vartable")?></label></th>44 <th scope="row"><label for="myplugin_option_name"><?php _e("Main Attribute for sorting:","grouped-variations-table")?></label></th> 45 45 <td><select id="groupedvartable_option_mainsorter" name="groupedvartable_option_mainsorter"> 46 46 <?php foreach(wc_get_attribute_taxonomies() as $attr) … … 63 63 <select id="groupedvartable_option_mainwidth" name="groupedvartable_option_mainwidth"> 64 64 <?php $selectedvalue = get_option('groupedvartable_option_mainwidth'); var_dump($selectedvalue) ?> 65 <option <?php echo $selectedvalue=="full"?"selected":""?> value="full"><?php _e("Full width","grouped vartable");?></option>66 <option <?php echo $selectedvalue=="half"?"selected":""?> value="half"><?php _e("Half width","grouped vartable");?></option>67 <option <?php echo $selectedvalue=="third"?"selected":""?> value="third"><?php _e("1 / 3 Width","grouped vartable");?></option>65 <option <?php echo $selectedvalue=="full"?"selected":""?> value="full"><?php _e("Full width","grouped-variations-table");?></option> 66 <option <?php echo $selectedvalue=="half"?"selected":""?> value="half"><?php _e("Half width","grouped-variations-table");?></option> 67 <option <?php echo $selectedvalue=="third"?"selected":""?> value="third"><?php _e("1 / 3 Width","grouped-variations-table");?></option> 68 68 </select> 69 69 </td> -
grouped-variations-table/trunk/grouped-variations-table.php
r1854286 r1854606 4 4 Plugin URI: https://developer.wordpress.org/plugins/the-basics/ 5 5 Description: Allowing you to group variations in sleak tables on the product page 6 Version: 1. 1.06 Version: 1.2.0 7 7 Author: mnording 8 8 Author URI: https://mnording.com/ 9 9 License: MIT 10 10 License URI: https://opensource.org/licenses/MIT 11 Text Domain: grouped vartable11 Text Domain: grouped-variations-table 12 12 Domain Path: /languages 13 13 */ … … 31 31 } 32 32 function groupedvartable_load_plugin_textdomain() { 33 load_plugin_textdomain( 'grouped vartable', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );33 load_plugin_textdomain( 'grouped-variations-table', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); 34 34 } 35 35 … … 160 160 } 161 161 echo "<th>"; 162 echo _e("Price","grouped vartable");162 echo _e("Price","grouped-variations-table"); 163 163 echo "</th>"; 164 164 echo "<th>"; … … 180 180 echo "</td>"; 181 181 echo "<td>"; 182 echo "<a href='?add-to-cart=".$product->get_id()."&variation_id=".$data["data"]["variation_id"]."&".http_build_query($data["data"]["attributes"])."'>".__("Add to cart","grouped vartable")."</a>";182 echo "<a href='?add-to-cart=".$product->get_id()."&variation_id=".$data["data"]["variation_id"]."&".http_build_query($data["data"]["attributes"])."'>".__("Add to cart","grouped-variations-table")."</a>"; 183 183 echo "</td>"; 184 184 echo "</tr>"; -
grouped-variations-table/trunk/readme.txt
r1854286 r1854606 7 7 Stable tag: trunk 8 8 License: MIT 9 Version: 1. 0.19 Version: 1.2.0 10 10 License URI: https://opensource.org/licenses/MIT 11 11 … … 22 22 23 23 == Changelog == 24 1.2.0 - Changing text domain to support language packs 24 25 1.1.0 - Adding mobile support 25 26 1.0.2 - Bugfix for when a product not uses all terms in a taxonomy
Note: See TracChangeset
for help on using the changeset viewer.