Plugin Directory

Changeset 209910


Ignore:
Timestamp:
02/24/2010 09:23:56 PM (16 years ago)
Author:
truthmedia
Message:

Publishing 0.26

Location:
wordpress-event-calendar
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wordpress-event-calendar/tags/0.26/calendar.php

    r209908 r209910  
    22/*
    33 Plugin Name: Wordpress Event calendar
    4  Plugin URI: http://truthmedia.com/category/wordpress-event-calendar/
     4 Plugin URI: http://truthmedia.com/wordpress/event-calendar/
    55 Description: Allows complex calendar display and management
    66 Version: 0.26
  • wordpress-event-calendar/tags/0.26/readme.txt

    r209908 r209910  
    3535If you have a problem with this plugin and are looking for help, we'd be glad to answer! Visit our website and leave us a comment!
    3636
    37 
    38 
    39 
    4037== Changelog ==
    41 
    4238
    4339= 0.26 =
     
    5854* Fixed an issue where some event titles wouldn't appear correctly
    5955* Updated documentation
    60 
    6156
    6257= 0.23 =
  • wordpress-event-calendar/trunk/calendar.php

    r203742 r209910  
    22/*
    33 Plugin Name: Wordpress Event calendar
    4  Plugin URI: http://www.truthmedia.com/
     4 Plugin URI: http://truthmedia.com/wordpress/event-calendar/
    55 Description: Allows complex calendar display and management
    66 Version: 0.26
     
    3030register_uninstall_hook(__FILE__, 'wec_delete');
    3131
    32 function wec_mainMenuAction()
    33 {
     32function wec_mainMenuAction() {
    3433    wec_checkInstall();
    3534   
     
    4645}
    4746
    48 function wec_initActions()
    49 {
     47function wec_initActions() {
    5048    wec_update();
    5149   
     
    5553    doAjaxCalls();
    5654   
    57     wec_addScripts();
    58 
     55    if (is_admin()) {
     56        wec_addScripts();
     57    }
    5958   
    6059}
    6160
    62 function doAjaxCalls()
    63 {
     61function doAjaxCalls() {
    6462    // wp_ajax_* action, php function
    6563   
    66     if (is_admin())
    67     {
    68         $createCalendarValidator = new createCalendarValidator();
    69         $editCalendarValidator = new editCalendarValidator();
    70 
    71        
    72         //Calendar Creation
    73         add_action('wp_ajax_validateCalendarNameOnCreate', array(&$createCalendarValidator, 'validateCalendarNameOnCreate'));
    74         add_action('wp_ajax_validateCalendarSlugOnCreate', array(&$createCalendarValidator, 'validateCalendarSlugOnCreate'));
    75        
    76         //Calendar Edit
    77         add_action('wp_ajax_validateCalendarNameOnEdit', array(&$editCalendarValidator, 'validateCalendarNameOnEdit'));
    78 
    79        
    80         //External Recurrence Creation
    81         add_action('wp_ajax_wec_runRecurrenceGenerator', 'wec_ajax_recurrence_generator');
    82         $ajaxController = new ajaxController();
    83        
    84         add_action('wp_ajax_wec_deleteEventFromAJAX', array(&$ajaxController, 'deleteEventFromAjax'));
    85         add_action('wp_ajax_wec_deleteRecurrenceFromAJAX', array(&$ajaxController, 'deleteRecurrenceFromAjax'));
    86        
    87     }
     64    $createCalendarValidator = new createCalendarValidator();
     65    $editCalendarValidator = new editCalendarValidator();
    8866
    8967   
    90     if (get_option('wec_allowExternalAccess') == 1)
    91     {
     68    //Calendar Creation
     69    add_action('wp_ajax_validateCalendarNameOnCreate', array(&$createCalendarValidator, 'validateCalendarNameOnCreate'));
     70    add_action('wp_ajax_validateCalendarSlugOnCreate', array(&$createCalendarValidator, 'validateCalendarSlugOnCreate'));
     71   
     72    //Calendar Edit
     73    add_action('wp_ajax_validateCalendarNameOnEdit', array(&$editCalendarValidator, 'validateCalendarNameOnEdit'));
     74
     75   
     76    //External Recurrence Creation
     77    add_action('wp_ajax_wec_runRecurrenceGenerator', 'wec_ajax_recurrence_generator');
     78   
     79    if (get_option('wec_allowExternalAccess') == 1) {
    9280        //External Access
    9381        $externalAccessObject = new externalAccess();
     
    9583        add_action('wp_ajax_getTableCalendar', array(&$externalAccessObject, 'getTable'));
    9684    }
    97 
    9885   
    9986}
    10087
    10188
    102 function wec_run_deactivation()
    103 {
     89function wec_run_deactivation() {
    10490    wec_delete();
    10591}
    10692
    107 function wec_run_delete()
    108 {
     93function wec_run_delete() {
    10994    wec_uninstall(false, true);
    11095    wec_delete();
    11196}
    11297
    113 function wec_scheduledTasks()
    114 {
     98function wec_scheduledTasks() {
    11599    $recurrenceGenerator = new recurrenceGenerator();
    116100    $recurrenceGenerator->destroyDeletedRecurrences();
    117101}
    118102
    119 function incrementWECqueries()
    120 {
     103function incrementWECqueries() {
    121104    global $number_of_wec_queries,$wpdb,$wec_query_log;
    122105    $wec_query_log[$number_of_wec_queries]['query'] = $wpdb->last_query;
     
    125108
    126109
    127 function wec_displayqueries()
    128 {
     110function wec_displayqueries() {
    129111    global $number_of_wec_queries,$wec_query_log;
    130112   
    131     if (isset($_GET['wecdebugmode_queryNumber']))
    132     {
     113    if (isset($_GET['wecdebugmode_queryNumber'])) {
    133114        echo 'WEC did '.$number_of_wec_queries.' queries';
    134115    }
    135116   
    136     if (isset($_GET['wecdebugmode_queryLog']))
    137     {
     117    if (isset($_GET['wecdebugmode_queryLog'])) {
    138118        echo 'Query Log';
    139119        var_dump($wec_query_log);
  • wordpress-event-calendar/trunk/readme.txt

    r203979 r209910  
    44Tags: event, calendar, events, calendars, iCal, schedule
    55Requires at least: 2.8
    6 Tested up to: 2.9.1
    7 Stable tag: 0.25
     6Tested up to: 2.9.2
     7Stable tag: 0.26
    88
    99Allows complex calendar management
     
    2929We have documentation for that! On your blog, go to Settings -> Events, then at the top, choose Documentation. If you know how to use the WordPress loop, you should be completely comfortable working with this
    3030
     31= I really want your plugin to do ________ but it doesn't! Please add it? =
     32We're working on it! If you want to add a feature request, please visit our site and leave a comment. We really do read them!
     33
    3134= I'm stuck! =
    32 If you have a problem with this plugin and are looking for help, we'd be glad to answer! Send us an email or
     35If you have a problem with this plugin and are looking for help, we'd be glad to answer! Visit our website and leave us a comment!
     36
     37
    3338
    3439
    3540== Changelog ==
     41
     42
     43= 0.26 =
     44* Fixed an issue where getting the URL doesn't work correctly. Thanks to Russell for this one!
     45* Disabled the widget, as it is not yet complete, and shouldn't be visible!
    3646
    3747= 0.25 =
     
    6272== Upgrade Notice ==
    6373
     74= 0.26 =
     75This version fixes an issue where getting the URL in a template doesn't work properly.
     76
    6477= 0.25 =
    6578This version fixes issues where events don't repeat correctly
Note: See TracChangeset for help on using the changeset viewer.