Skip to content

Commit

Permalink
Adds licence and changes directory containing the plugin into event-m…
Browse files Browse the repository at this point in the history
…anager-file-import
  • Loading branch information
EelcoA committed Aug 22, 2020
1 parent 8e03aea commit 08742c3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 AESSET IT | Eelco Aartsen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
8 changes: 4 additions & 4 deletions emfi-file-import.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/*
Plugin Name: Events Manager - File Import
Version: 1.0.0
Version: 1.0.1
Plugin URI:
Description: Plugin to import events from a CSV file into Events Manager for Wordpress
Description: Import CSV file with events into Events Manager for Wordpress. Events for the same location/date/time are skipped. So if you want to replace the existing one with a new one, you first have to delete the current event.
Author: Eelco Aartsen, AESSET IT
Author URI: https://www.aesset.nl
*/
Expand All @@ -23,7 +23,7 @@ function emfi_Add_My_Admin_Link()
'Import Events', // Title of the page
'Import Events', // Text to show on the menu link
'manage_options', // Capability requirement to see the link
'em-file-import/index.php' // The 'slug' - file to display when clicking the link
'event-manager-file-import/index.php' // The 'slug' - file to display when clicking the link
);
}

Expand Down Expand Up @@ -208,4 +208,4 @@ function emfi_admin_process_events(){
$_SESSION["results"] = $results;
wp_redirect( $_SERVER['HTTP_REFERER'] );
exit();
}
}

0 comments on commit 08742c3

Please sign in to comment.