Plugin Directory

Changeset 556705


Ignore:
Timestamp:
06/12/2012 02:16:34 PM (14 years ago)
Author:
boyska
Message:

fix 0.2

Location:
indypress-events/trunk
Files:
17 added
3 edited

Legend:

Unmodified
Added
Removed
  • indypress-events/trunk/indypress_event.php

    r556693 r556705  
    66Description: Manage events post_type with lot of utilities
    77Author: boyska, paskao
    8 Version: 0.2
     8Version: 0.2.1
    99Author URI:
    1010License: GPL2
     
    3030// ADMIN PANEL MENU
    3131if( is_admin() ) {
    32     require_once( $indypressevent_path . 'widget/event.php' );
     32    include_once( $indypressevent_path . 'widget/event.php' );
    3333    add_action( 'widgets_init', 'load_next_event_widget' );
     34    include_once( $indypressevent_path . 'widget/event-calendar.php' );
     35    add_action( 'widgets_init', 'load_event_calendar_widget' );
    3436
    3537    // LOAD EVENT POST TYPE
     
    5557    $indypressevent = new indypressevent();
    5658
    57     require_once( $indypressevent_path . 'widget/event.php' );
     59    include_once( $indypressevent_path . 'widget/event.php' );
    5860    add_action( 'widgets_init', 'load_next_event_widget' );
     61    include_once( $indypressevent_path . 'widget/event-calendar.php' );
     62    add_action( 'widgets_init', 'load_event_calendar_widget' );
    5963
    6064    //LOAD EVENTS PAGE
  • indypress-events/trunk/indypress_event/classes/settings.php

    r499231 r556705  
    5151        //Indypress->admin page
    5252        register_setting( 'indypress_admin', 'indypressevent_add_new_event' );
    53         add_settings_field( 'indypressevent_add_new_event', __('Add event to administration interface (allow to hide link but keep it still working)', 'indypress'), array( $this, 'setting_add_new_event' ), 'indypress_admin_settings', 'indypress_admin_main' );
     53        add_settings_field( 'indypressevent_add_new_event',
     54            __('Add event to administration interface (allow to hide link but keep it still working)', 'indypress'),
     55            array( $this, 'setting_add_new_event' ),
     56            'indypress_admin_settings',
     57            'indypress_admin_main' );
    5458
    5559        //Indypress->visualization page
     
    5862        add_settings_field( 'indypressevent_info_top', __('Add information to event (It works whitout theme configuration, must be disabled if you want to configure your theme manually)', 'indypress'), array( $this, 'settings_event_info_top' ), 'indypress_visualization_settings', 'indypress_visualization_event' );
    5963        register_setting( 'indypress_visualization', 'indypressevent_permalink' );
    60         add_settings_field( 'indypressevent_permalink', __('Permalink for indypressevent objects. Example: <code>event/%post_id%</code> or <code>event</code>', 'indypress'), array( $this, 'settings_event_permalink' ), 'indypress_visualization_settings', 'indypress_visualization_event' );
     64        add_settings_field( 'indypressevent_permalink',
     65            __('Permalink for indypressevent objects. Example: <code>event/%post_id%</code> or <code>event</code>', 'indypress'),
     66            array( $this, 'settings_event_permalink' ),
     67            'indypress_visualization_settings',
     68            'indypress_visualization_event' );
    6169    }
    6270    function menu() {
  • indypress-events/trunk/readme.txt

    r556695 r556705  
    3131== Changelog ==
    3232
     33= 0.2.1 =
     34* fix 0.2, it was not really adding anything
     35
    3336= 0.2 =
    3437* add event calendar widget: the typical 7 columns x 4 rows widget, with jQuery bounties included
Note: See TracChangeset for help on using the changeset viewer.