Changeset 1502904
- Timestamp:
- 09/26/2016 03:39:16 PM (9 years ago)
- Location:
- event-organiser-ngo
- Files:
-
- 15 added
- 2 edited
-
tags/1.2 (added)
-
tags/1.2/css (added)
-
tags/1.2/css/calendar_style.css (added)
-
tags/1.2/event-organiser-ngo.php (added)
-
tags/1.2/includes (added)
-
tags/1.2/includes/event-organiser-portal.php (added)
-
tags/1.2/includes/event-organiser-portal_cal.php (added)
-
tags/1.2/includes/event-organiser-sites.php (added)
-
tags/1.2/languages (added)
-
tags/1.2/languages/event-organiser-ngo-ar_AR.mo (added)
-
tags/1.2/languages/event-organiser-ngo-ar_AR.po (added)
-
tags/1.2/languages/event-organiser-ngo-en_US.mo (added)
-
tags/1.2/languages/event-organiser-ngo-en_US.po (added)
-
tags/1.2/languages/event-organiser-ngo.pot (added)
-
tags/1.2/readme.txt (added)
-
trunk/event-organiser-ngo.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
event-organiser-ngo/trunk/event-organiser-ngo.php
r1501820 r1502904 4 4 * Plugin URI: http://ngo-portal.org 5 5 * Description: Tillägg till Event-organiser för att visa förenings-siters event i portalkalendern + 2 kalenderwidgetar för förenings-siter och en kalenderwidget till portal-siten. Ska vara nätverksaktiverad tillsammans med Event-Organiser. 6 * Version: 1. 1.66 * Version: 1.2 7 7 * Author: George Bredberg 8 8 * Author URI: http://datagaraget.se 9 9 * Text Domain: event-organiser-ngo 10 10 * Domain Path: /languages 11 * License GPL-2.0+12 * License URI: http://www.gnu.org/licenses/gpl- 2.0.html11 * License GPLv3 12 * License URI: http://www.gnu.org/licenses/gpl-3.0.html 13 13 */ 14 14 … … 87 87 } 88 88 89 /* Clean up WP-admin menu */ 90 // Remove Event Organiser Menu items that we don't need 91 function ngo_remove_eo() { 92 remove_menu_page( 'edit.php?post_type=event' ); 93 } 94 if (!(current_user_can('manage_options'))) { 95 add_action( 'admin_menu', 'ngo_remove_eo' ); 96 } 97 98 // Event organiser - Removes submenu items in WP-admin 99 function ngo_remove_eosubmenu(){ 100 remove_submenu_page('edit.php?post_type=event','debug'); //Events - System info 101 remove_submenu_page('edit.php?post_type=event','eo-addons'); //Events - Extensions 102 // FIX: How to remove Settings -> Event organiser -> tab permalinks and tab Import/Export? 103 // remove entire settings - event organiser for everyone except super admin for now. 104 remove_submenu_page('options-general.php','event-settings'); //settings -> event organiser 105 106 } 107 108 // Event organiser - Deactivate custom field 109 function remove_eopost_custom_fields(){ 110 remove_meta_box('postcustom', 'event', 'normal'); 111 } 112 113 if(!is_super_admin()){ 114 add_action( 'admin_menu', 'ngo_remove_eosubmenu', 999 ); // Maybe move these to eo-ngo 115 add_action( 'do_meta_boxes', 'remove_eopost_custom_fields' ); // Maybe move these to eo-ngo 116 } 117 118 // These widgets could be usefull, but maybe confusing? 119 function ngo_unregister_eo_widgets() { 120 unregister_widget('EO_Events_Agenda_Widget'); 121 unregister_widget('EO_Event_List_Widget'); 122 unregister_widget('EO_Calendar_Widget'); 123 unregister_widget('EO_Widget_Categories'); 124 unregister_widget('EO_Widget_Venues'); 125 } 126 // add_action('widgets_init', 'ngo_unregister_eo_widgets', 11); // Let's keep these until we see if they are confusing or not. 127 /* Done cleaning up menu */ 128 89 129 // Some css for calendar widgets 90 130 add_action( 'wp_enqueue_scripts', 'eongo_calendar_style', 15 ); -
event-organiser-ngo/trunk/readme.txt
r1501820 r1502904 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.6 7 Stable tag: 1. 1.68 License : GPLv2 or later9 License URI: http://www.gnu.org/licenses/gpl- 2.0.html7 Stable tag: 1.2 8 License GPLv3 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html 10 10 11 11 Plugin to share events in a WPMU installation. Creates calendar widgets for sites, and a portal calendar + portal calendar widget to show shared events from site to the network site. This is an add-on plugin to Event-Organiser. … … 49 49 50 50 == Changelog == 51 = 1.2 = 52 * Latest stable release 53 Cleaned up some menu items. This code was in ngo-menu-deactivate before, but it makes more sence to have it here. 54 Also changed license from GPLv2+ to GPLv3 55 51 56 = 1.1.6 = 52 * Latest stable release53 57 Changed donation link (important stuff ;) ) 54 58 … … 57 61 58 62 = 1.1.4 = 59 63 Initital release on Wordpress
Note: See TracChangeset
for help on using the changeset viewer.