Changeset 8059


Ignore:
Timestamp:
07/07/10 15:00:20 (23 months ago)
Author:
CrawfordCurrie
Message:

Item8548: doc tidy up prior to release

Location:
trunk/HolidaylistPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/HolidaylistPlugin/data/System/HolidaylistPlugin.txt

    r8005 r8059  
    1515%SHORTDESCRIPTION% 
    1616 
    17 The !%TOPIC% handles the %<nop>HOLIDAYLIST</nop>% macro to inserts a vacation list on the current page. Smilies are used to indicate if a person is in work or on holiday.  
     17The !%TOPIC% handles the %<nop>HOLIDAYLIST</nop>% macro to insert a vacation list on the current page. Smilies are used to indicate if a person is in work or on holiday.  
    1818 
    1919The plugin creates a table filled with Smilies where today's date will be the first column. There is a row in the table for each person and each day is flagged as either: :mad: (in work), :ok: (a day off) or 8-) (absent for some time), :-I (not at work; used if you type a location). You can also use other smilies (like :skull:). 
     
    9494*Notes and hints:* 
    9595        * At least one space character have to stay before and after a seperator ('-'). This allows you to use a '-' in names, locations or icons, e.g. if you have a composite name like Eva-Maria. 
    96         * If you enable the compatmode (see [[#AttriButes][Attributes]]) you can use all event types of the Foswiki:Extensions.CalendarPlugin 
     96        * If you enable the =compatmode= (see [[#AttriButes][Attributes]]) you can use all event types of the Foswiki:Extensions.CalendarPlugin 
    9797        * If you change the default language ('lang' attribute; see [[#AttriButes][Attributes]]) you can use your language specific month and day names or the abbreviations for any entry type (including Foswiki:Extensions.CalendarPlugin event types). 
    9898        * If you change the month names or day names ('monthnames' and 'daynames' attributes; see [[#AttriButes][Attributes]]) you can use it for your entries (including Foswiki:Extensions.CalendarPlugin event types). 
     
    114114</verbatim> 
    115115 
    116 You can also use the Foswiki:Extensions.CalDAVPlugin to recover calendars from 
    117 a !CalDAV server. 
     116You can also use the Foswiki:Extensions.CalDAVPlugin to recover holiday 
     117calendars from a !CalDAV server. 
    118118 
    119119#AttriButes 
     
    311311*Note:* Every attribute of %<nop>HOLIDAYLIST% can also be used as plugin setting. You only have to use capital letters. 
    312312 
    313 ---++ Plugin Installation Instructions 
     313---++ Installation Instructions 
    314314 
    315315%$INSTALL_INSTRUCTIONS% 
  • trunk/HolidaylistPlugin/lib/Foswiki/Plugins/HolidaylistPlugin.pm

    r8005 r8059  
    77# See plugin topic for complete release history 
    88our $VERSION = '$Rev: 18212 $'; 
    9 our $RELEASE = '1.1.0'; 
     9our $RELEASE = '1.031'; 
    1010our $SHORTDESCRIPTION = 'Create a table with a list of people on holidays'; 
    1111our $NO_PREFS_IN_TOPIC = 1; 
    1212 
    1313sub initPlugin { 
    14     Foswiki::Func::registerTagHandler( 
    15         'HOLIDAYLIST', sub { 
    16             require Foswiki::Plugins::HolidaylistPlugin::Core; 
    17             return Foswiki::Plugins::HolidaylistPlugin::Core::HOLIDAYLIST(@_); 
    18         }); 
     14    # my ( $topic, $web, $user, $installWeb ) = @_; 
     15    Foswiki::Func::registerTagHandler( 'HOLIDAYLIST', \&_HOLIDAYLIST ); 
    1916    return 1; 
     17} 
     18 
     19sub _HOLIDAYLIST { 
     20    # my($session, $params, $topic, $web) = @_; 
     21    require Foswiki::Plugins::HolidaylistPlugin::Core; 
     22#    *_HOLIDAYLIST = \&Foswiki::Plugins::HolidaylistPlugin::Core::HOLIDAYLIST; 
     23    return Foswiki::Plugins::HolidaylistPlugin::Core::HOLIDAYLIST(@_); 
    2024} 
    2125 
Note: See TracChangeset for help on using the changeset viewer.