Changeset 1165366
- Timestamp:
- 05/22/2015 12:24:54 AM (11 years ago)
- Location:
- oxford-debate
- Files:
-
- 18 added
- 4 edited
- 6 copied
-
tags/1.0.2 (copied) (copied from oxford-debate/trunk)
-
tags/1.0.2/assets (added)
-
tags/1.0.2/assets/oxd.png (added)
-
tags/1.0.2/css (added)
-
tags/1.0.2/css/bootstrap.min.css (added)
-
tags/1.0.2/js (added)
-
tags/1.0.2/js/admin.js (added)
-
tags/1.0.2/languages (added)
-
tags/1.0.2/languages/oxd-es_ES.mo (added)
-
tags/1.0.2/languages/oxd-es_ES.po (added)
-
tags/1.0.2/oxd-settings.php (copied) (copied from oxford-debate/trunk/oxd-settings.php) (4 diffs)
-
tags/1.0.2/oxd.php (copied) (copied from oxford-debate/trunk/oxd.php) (3 diffs)
-
tags/1.0.2/readme.txt (copied) (copied from oxford-debate/trunk/readme.txt) (5 diffs)
-
tags/1.0.2/templates/comments-debate.php (copied) (copied from oxford-debate/trunk/templates/comments-debate.php)
-
tags/1.0.2/templates/single-debate.php (copied) (copied from oxford-debate/trunk/templates/single-debate.php) (1 diff)
-
trunk/assets (added)
-
trunk/assets/oxd.png (added)
-
trunk/css (added)
-
trunk/css/bootstrap.min.css (added)
-
trunk/js (added)
-
trunk/js/admin.js (added)
-
trunk/languages (added)
-
trunk/languages/oxd-es_ES.mo (added)
-
trunk/languages/oxd-es_ES.po (added)
-
trunk/oxd-settings.php (modified) (4 diffs)
-
trunk/oxd.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (5 diffs)
-
trunk/templates/single-debate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
oxford-debate/tags/1.0.2/oxd-settings.php
r1158338 r1165366 23 23 add_action( 'admin_enqueue_scripts', array($this,'register_admin_scripts') ); 24 24 add_action( 'save_post', array($this,'oxd_meta_save') ); 25 25 26 26 } 27 27 … … 147 147 $user_args = array( 148 148 // search only for Authors role 149 'role' => 'Author',149 //'role' => 'Author', 150 150 // order results by display_name 151 151 'orderby' => 'display_name' … … 176 176 $author_id = get_post_meta($post->ID, 'usera', true); 177 177 if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; } 178 echo '<option value='.$author_info->ID.' '.$author_selected.'> '.$author_info->first_name.' '.$author_info->last_name.'</option>';178 echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>'; 179 179 } 180 180 echo "</select>"; … … 200 200 $author_id = get_post_meta($post->ID, 'userb', true); 201 201 if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; } 202 echo '<option value='.$author_info->ID.' '.$author_selected.'> '.$author_info->first_name.' '.$author_info->last_name.'</option>';202 echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>'; 203 203 } 204 204 echo "</select>"; -
oxford-debate/tags/1.0.2/oxd.php
r1158329 r1165366 7 7 * the capabilities of both speakers and audience. The speakers may argue using web connectivity and multimedia, 8 8 * and the audience can also comment fixing its position on the proposals of the speakers or raising their own alternatives. 9 * Version: 1.0. 19 * Version: 1.0.2 10 10 * Author: Rafa Fernandez 11 11 * Author URI: http://cws-tech.com … … 21 21 } 22 22 23 define( 'OXD_VERSION', '1.0. 1' );23 define( 'OXD_VERSION', '1.0.2' ); 24 24 define( 'OXD_DIR', plugin_dir_path( __FILE__ ) ); 25 25 … … 47 47 add_filter('comments_template', array($this, 'comments_template_loader') ); 48 48 49 50 51 52 49 register_activation_hook( __FILE__, array($this,'activate') ); 53 50 register_deactivation_hook( __FILE__, array($this,'deactivate') ); 54 51 } 52 55 53 56 54 function activate($networkwide) { -
oxford-debate/tags/1.0.2/readme.txt
r1158331 r1165366 19 19 For more information see: 20 20 21 http://en.wikipedia.org/wiki/Debate#Oxford-Style_debate 21 Google Group link: https://groups.google.com/forum/#!forum/oxford-style-debate 22 Twitter profile: https://twitter.com/oxfdebate 23 Docs & resources: http://t.co/bqsUVUAXFe 24 Project updates: https://trello.com/b/RACV8Yy8/oxford-debate-wp-plugin 25 22 26 23 27 == Installation == … … 28 32 4. Type Oxford Debate in search box and hit enter and install plugin from there 29 33 5. Activate the plugin through the 'Plugins' menu of WordPress 30 6. Bootstrap framework is needed in your theme31 34 32 35 == Frequently Asked Questions == … … 38 41 = What is the role for posture user ? = 39 42 40 A uthor43 All 41 44 42 45 == Screenshots == … … 49 52 50 53 == Changelog == 54 = 1.0.2 = 55 * Added: All user roles included 56 * Fixed: Added Bootstrap framework into single-debate.php 57 51 58 = 1.0.1 = 52 59 * Fixed: single-debate.php bug … … 64 71 * Added: Multilanguage compatibility 65 72 66 = 0.6.0 = p73 = 0.6.0 = 67 74 * Added: Comments area 68 75 * Fixed: HTML bug -
oxford-debate/tags/1.0.2/templates/single-debate.php
r1158329 r1165366 1 1 <?php 2 wp_enqueue_style( 'oxford-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) ); 2 wp_register_style( 'oxd-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) ); 3 wp_enqueue_style( 'oxd-bootstrap' ); 3 4 ?> 4 5 -
oxford-debate/trunk/oxd-settings.php
r1158338 r1165366 23 23 add_action( 'admin_enqueue_scripts', array($this,'register_admin_scripts') ); 24 24 add_action( 'save_post', array($this,'oxd_meta_save') ); 25 25 26 26 } 27 27 … … 147 147 $user_args = array( 148 148 // search only for Authors role 149 'role' => 'Author',149 //'role' => 'Author', 150 150 // order results by display_name 151 151 'orderby' => 'display_name' … … 176 176 $author_id = get_post_meta($post->ID, 'usera', true); 177 177 if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; } 178 echo '<option value='.$author_info->ID.' '.$author_selected.'> '.$author_info->first_name.' '.$author_info->last_name.'</option>';178 echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>'; 179 179 } 180 180 echo "</select>"; … … 200 200 $author_id = get_post_meta($post->ID, 'userb', true); 201 201 if($author_id == $author_info->ID) { $author_selected = 'selected="selected"'; } else { $author_selected = ''; } 202 echo '<option value='.$author_info->ID.' '.$author_selected.'> '.$author_info->first_name.' '.$author_info->last_name.'</option>';202 echo '<option value='.$author_info->ID.' '.$author_selected.'>('.$author_info->nickname.') '.$author_info->first_name.' '.$author_info->last_name.'</option>'; 203 203 } 204 204 echo "</select>"; -
oxford-debate/trunk/oxd.php
r1158329 r1165366 7 7 * the capabilities of both speakers and audience. The speakers may argue using web connectivity and multimedia, 8 8 * and the audience can also comment fixing its position on the proposals of the speakers or raising their own alternatives. 9 * Version: 1.0. 19 * Version: 1.0.2 10 10 * Author: Rafa Fernandez 11 11 * Author URI: http://cws-tech.com … … 21 21 } 22 22 23 define( 'OXD_VERSION', '1.0. 1' );23 define( 'OXD_VERSION', '1.0.2' ); 24 24 define( 'OXD_DIR', plugin_dir_path( __FILE__ ) ); 25 25 … … 47 47 add_filter('comments_template', array($this, 'comments_template_loader') ); 48 48 49 50 51 52 49 register_activation_hook( __FILE__, array($this,'activate') ); 53 50 register_deactivation_hook( __FILE__, array($this,'deactivate') ); 54 51 } 52 55 53 56 54 function activate($networkwide) { -
oxford-debate/trunk/readme.txt
r1158331 r1165366 19 19 For more information see: 20 20 21 http://en.wikipedia.org/wiki/Debate#Oxford-Style_debate 21 Google Group link: https://groups.google.com/forum/#!forum/oxford-style-debate 22 Twitter profile: https://twitter.com/oxfdebate 23 Docs & resources: http://t.co/bqsUVUAXFe 24 Project updates: https://trello.com/b/RACV8Yy8/oxford-debate-wp-plugin 25 22 26 23 27 == Installation == … … 28 32 4. Type Oxford Debate in search box and hit enter and install plugin from there 29 33 5. Activate the plugin through the 'Plugins' menu of WordPress 30 6. Bootstrap framework is needed in your theme31 34 32 35 == Frequently Asked Questions == … … 38 41 = What is the role for posture user ? = 39 42 40 A uthor43 All 41 44 42 45 == Screenshots == … … 49 52 50 53 == Changelog == 54 = 1.0.2 = 55 * Added: All user roles included 56 * Fixed: Added Bootstrap framework into single-debate.php 57 51 58 = 1.0.1 = 52 59 * Fixed: single-debate.php bug … … 64 71 * Added: Multilanguage compatibility 65 72 66 = 0.6.0 = p73 = 0.6.0 = 67 74 * Added: Comments area 68 75 * Fixed: HTML bug -
oxford-debate/trunk/templates/single-debate.php
r1158329 r1165366 1 1 <?php 2 wp_enqueue_style( 'oxford-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) ); 2 wp_register_style( 'oxd-bootstrap', plugins_url( '/oxd/css/bootstrap.min.css' ) ); 3 wp_enqueue_style( 'oxd-bootstrap' ); 3 4 ?> 4 5
Note: See TracChangeset
for help on using the changeset viewer.