Changeset 8059
- Timestamp:
- 07/07/10 15:00:20 (23 months ago)
- Location:
- trunk/HolidaylistPlugin
- Files:
-
- 2 edited
-
data/System/HolidaylistPlugin.txt (modified) (4 diffs)
-
lib/Foswiki/Plugins/HolidaylistPlugin.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/HolidaylistPlugin/data/System/HolidaylistPlugin.txt
r8005 r8059 15 15 %SHORTDESCRIPTION% 16 16 17 The !%TOPIC% handles the %<nop>HOLIDAYLIST</nop>% macro to insert sa vacation list on the current page. Smilies are used to indicate if a person is in work or on holiday.17 The !%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. 18 18 19 19 The 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:). … … 94 94 *Notes and hints:* 95 95 * 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.CalendarPlugin96 * If you enable the =compatmode= (see [[#AttriButes][Attributes]]) you can use all event types of the Foswiki:Extensions.CalendarPlugin 97 97 * 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). 98 98 * 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). … … 114 114 </verbatim> 115 115 116 You can also use the Foswiki:Extensions.CalDAVPlugin to recover calendars from117 a !CalDAV server.116 You can also use the Foswiki:Extensions.CalDAVPlugin to recover holiday 117 calendars from a !CalDAV server. 118 118 119 119 #AttriButes … … 311 311 *Note:* Every attribute of %<nop>HOLIDAYLIST% can also be used as plugin setting. You only have to use capital letters. 312 312 313 ---++ PluginInstallation Instructions313 ---++ Installation Instructions 314 314 315 315 %$INSTALL_INSTRUCTIONS% -
trunk/HolidaylistPlugin/lib/Foswiki/Plugins/HolidaylistPlugin.pm
r8005 r8059 7 7 # See plugin topic for complete release history 8 8 our $VERSION = '$Rev: 18212 $'; 9 our $RELEASE = '1. 1.0';9 our $RELEASE = '1.031'; 10 10 our $SHORTDESCRIPTION = 'Create a table with a list of people on holidays'; 11 11 our $NO_PREFS_IN_TOPIC = 1; 12 12 13 13 sub 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 ); 19 16 return 1; 17 } 18 19 sub _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(@_); 20 24 } 21 25
Note: See TracChangeset
for help on using the changeset viewer.
