Changeset 1110997
- Timestamp:
- 03/12/2015 10:37:05 AM (11 years ago)
- Location:
- adentify/trunk
- Files:
-
- 3 edited
-
adentify.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
templates/admin/modals/tag.advertising.html.twig (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adentify/trunk/adentify.php
r1109540 r1110997 4 4 * Plugin URI: http://wordpress.adentify.com 5 5 * Description: A brief description of the Plugin. 6 * Version: 1.0. 66 * Version: 1.0.7 7 7 * Author: ValYouAd 8 8 * Author URI: http://www.valyouad.com … … 51 51 define( 'ADENTIFY_API_REFRESH_TOKEN', 'api_refresh_token'); 52 52 define( 'ADENTIFY_API_EXPIRES_TIMESTAMP', 'api_expires_timestamp'); 53 define( 'PLUGIN_VERSION', '1.0. 6');53 define( 'PLUGIN_VERSION', '1.0.7'); 54 54 define( 'ADENTIFY_SQL_TABLE_PHOTOS', 'adentify_photos'); 55 55 … … 437 437 wp_delete_attachment($_GET['wp_photo_id']); 438 438 DBManager::getInstance()->deletePhoto($_GET['wp_photo_id']); 439 print_r(APIManager::getInstance()->deletePhoto($_GET['photo_id']));439 //print_r(APIManager::getInstance()->deletePhoto($_GET['photo_id'])); 440 440 } 441 441 } -
adentify/trunk/readme.txt
r1109540 r1110997 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.1 7 Stable tag: 1.0. 67 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 = 1.0.6 = 72 72 * New tag type : advertising. Now, you can add ads in your tags 73 = 1.0.7 = 74 * Fix translations -
adentify/trunk/templates/admin/modals/tag.advertising.html.twig
r1110977 r1110997 2 2 <div class="tag-form tab-pane active" id="tag-advertising" style="display: none"> 3 3 <div class="form-group"> 4 <label>{ { 'tag.advertising.formats'|trans }}</label>4 <label>{% trans 'tag.advertising.formats' %}</label> 5 5 <select id="ad-formats" class="form-control"> 6 6 <option value="300-250">300x250</option> 7 7 <option value="320-100">320x100</option> 8 <option value="custom">{ { 'tag.advertising.customFormat'|trans }}</option>8 <option value="custom">{% trans 'tag.advertising.customFormat' %}</option> 9 9 </select> 10 10 </div> … … 12 12 <div class="row"> 13 13 <div class="col-xs-6"> 14 <label>{ { 'tag.advertising.labelWidth'|trans }}</label>14 <label>{% trans 'tag.advertising.labelWidth' %}</label> 15 15 <input class="form-control" type="text" id="ad-width" name="width" value="300"> 16 16 </div> 17 17 <div class="col-xs-6"> 18 <label>{ { 'tag.advertising.labelHeight'|trans }}</label>18 <label>{% trans 'tag.advertising.labelHeight' %}</label> 19 19 <input class="form-control" type="text" id="ad-height" name="height" value="250"> 20 20 </div> … … 22 22 </div> 23 23 <div class="form-group"> 24 <label>{ { 'tag.advertising.labelCode'|trans }}</label>24 <label>{% trans 'tag.advertising.labelCode' %}</label> 25 25 <textarea class="form-control" id="ad-code" name="code"></textarea> 26 26 </div>
Note: See TracChangeset
for help on using the changeset viewer.