Version 3.4.9
This commit is contained in:
1 parent
c603205a25
commit
f9e857d255
920 files changed
+28189
-6840
No files matched your search
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<hookexport>
|
||||
<hookdata>
|
||||
<config>
|
||||
<hook_name>Calendar</hook_name>
|
||||
<hook_desc>Displays the mini calendar for the current month</hook_desc>
|
||||
<hook_author>Invision Power Services, Inc.</hook_author>
|
||||
<hook_email/>
|
||||
<hook_website>http://www.invisionpower.com</hook_website>
|
||||
<hook_update_check/>
|
||||
<hook_requirements><![CDATA[a:3:{s:21:"required_applications";a:1:{s:8:"calendar";a:3:{s:8:"app_name";s:8:"Calendar";s:11:"min_version";i:0;s:11:"max_version";i:0;}}s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements>
|
||||
<hook_version_human>1.0.0</hook_version_human>
|
||||
<hook_version_long/>
|
||||
<hook_extra_data><![CDATA[a:2:{s:7:"display";N;s:8:"database";a:0:{}}]]></hook_extra_data>
|
||||
<hook_key>calendar</hook_key>
|
||||
<hook_global_caches/>
|
||||
</config>
|
||||
</hookdata>
|
||||
<hookfiles>
|
||||
<file>
|
||||
<hook_file_real>boardIndexCalendar.php</hook_file_real>
|
||||
<hook_type>templateHooks</hook_type>
|
||||
<hook_classname>boardIndexCalendar</hook_classname>
|
||||
<hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:11:"skin_boards";s:12:"skinFunction";s:18:"boardIndexTemplate";s:4:"type";s:7:"foreach";s:2:"id";s:11:"side_blocks";s:8:"position";s:9:"outer.pre";}]]></hook_data>
|
||||
<hooks_source><![CDATA[<?php
|
||||
|
||||
class boardIndexCalendar
|
||||
{
|
||||
public $registry;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
/* Make registry objects */
|
||||
$this->registry = ipsRegistry::instance();
|
||||
$this->DB = $this->registry->DB();
|
||||
$this->settings =& $this->registry->fetchSettings();
|
||||
$this->lang = $this->registry->getClass('class_localization');
|
||||
}
|
||||
|
||||
public function getOutput()
|
||||
{
|
||||
/* Make sure the calednar is installed and enabled */
|
||||
if( ! IPSLib::appIsInstalled( 'calendar' ) )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
/* Load language */
|
||||
$this->registry->class_localization->loadLanguageFile( array( 'public_calendar' ), 'calendar' );
|
||||
|
||||
/* Load calendar library */
|
||||
$classToLoad = IPSLib::loadActionOverloader( IPSLib::getAppDir( 'calendar' ) .'/modules_public/calendar/view.php', 'public_calendar_calendar_view' );
|
||||
$cal = new $classToLoad();
|
||||
$cal->makeRegistryShortcuts( $this->registry );
|
||||
|
||||
if( !$cal->initCalendar( true ) )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
/* Return calendar */
|
||||
return "<div id='hook_calendar' class='calendar_wrap'>". $cal->getMiniCalendar( date('n'), date('Y') ) . '</div><br />';
|
||||
}
|
||||
}]]></hooks_source>
|
||||
</file>
|
||||
</hookfiles>
|
||||
<hookextras_settings/>
|
||||
<hookextras_language/>
|
||||
<hookextras_modules/>
|
||||
<hookextras_help/>
|
||||
<hookextras_templates/>
|
||||
<hookextras_css/>
|
||||
<hookextras_tasks/>
|
||||
<hookextras_database_create/>
|
||||
<hookextras_database_alter/>
|
||||
<hookextras_database_update/>
|
||||
<hookextras_database_insert/>
|
||||
</hookexport>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<hookexport>
|
||||
<hookdata>
|
||||
<config>
|
||||
<hook_name>Upcoming Birthdays</hook_name>
|
||||
<hook_desc>Shows upcoming birthdays on the board index</hook_desc>
|
||||
<hook_author>Invision Power Services, Inc.</hook_author>
|
||||
<hook_email>support@invisionpower.com</hook_email>
|
||||
<hook_website>http://invisionpower.com</hook_website>
|
||||
<hook_update_check/>
|
||||
<hook_requirements><![CDATA[a:3:{s:21:"required_applications";a:1:{s:8:"calendar";a:3:{s:8:"app_name";s:8:"Calendar";s:11:"min_version";i:0;s:11:"max_version";i:0;}}s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements>
|
||||
<hook_version_human>1.0.0</hook_version_human>
|
||||
<hook_version_long>10000</hook_version_long>
|
||||
<hook_extra_data><![CDATA[a:1:{s:8:"database";a:0:{}}]]></hook_extra_data>
|
||||
<hook_key>upcomingbirthdays</hook_key>
|
||||
<hook_global_caches/>
|
||||
</config>
|
||||
</hookdata>
|
||||
<hookfiles>
|
||||
<file>
|
||||
<hook_file_real>calendarUpcomingBirthdays.php</hook_file_real>
|
||||
<hook_type>templateHooks</hook_type>
|
||||
<hook_classname>calendarUpcomingBirthdays</hook_classname>
|
||||
<hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:11:"skin_boards";s:12:"skinFunction";s:18:"boardIndexTemplate";s:4:"type";s:7:"foreach";s:2:"id";s:11:"side_blocks";s:8:"position";s:9:"outer.pre";}]]></hook_data>
|
||||
<hooks_source><![CDATA[<?php
|
||||
/**
|
||||
* @file calendarUpcomingBirthdays.php Hook to display upcoming birthdays on the board index
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: ips_terabyte $
|
||||
* @since 11th Feb 2011
|
||||
* $LastChangedDate: 2011-02-16 11:59:53 -0500 (Wed, 16 Feb 2011) $
|
||||
* @version v3.4.5
|
||||
* $Revision: 7806 $
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @class calendarUpcomingBirthdays
|
||||
* @brief Hook to display upcoming birthdays on the board index
|
||||
*
|
||||
*/
|
||||
class calendarUpcomingBirthdays
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct() {}
|
||||
|
||||
/**
|
||||
* Execute data hook
|
||||
*
|
||||
* @return @e void
|
||||
*/
|
||||
public function getOutput()
|
||||
{
|
||||
$classToLoad = IPSLib::loadLibrary( IPSLib::getAppDir( 'calendar' ) . '/sources/hooks.php', 'app_calendar_classes_hooks', 'calendar' );
|
||||
$gateway = new $classToLoad( ipsRegistry::instance() );
|
||||
|
||||
return $gateway->getUpcomingBirthdays();
|
||||
}
|
||||
}]]></hooks_source>
|
||||
</file>
|
||||
</hookfiles>
|
||||
<hookextras_settings/>
|
||||
<hookextras_language/>
|
||||
<hookextras_modules/>
|
||||
<hookextras_help/>
|
||||
<hookextras_templates/>
|
||||
<hookextras_css/>
|
||||
<hookextras_tasks/>
|
||||
<hookextras_database_create/>
|
||||
<hookextras_database_alter/>
|
||||
<hookextras_database_update/>
|
||||
<hookextras_database_insert/>
|
||||
</hookexport>
|
||||
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<hookexport>
|
||||
<hookdata>
|
||||
<config>
|
||||
<hook_name>Upcoming Calendar Events</hook_name>
|
||||
<hook_desc>Shows upcoming calendar events on the board index</hook_desc>
|
||||
<hook_author>Invision Power Services, Inc.</hook_author>
|
||||
<hook_email>support@invisionpower.com</hook_email>
|
||||
<hook_website>http://invisionpower.com</hook_website>
|
||||
<hook_update_check/>
|
||||
<hook_requirements><![CDATA[a:3:{s:21:"required_applications";a:1:{s:8:"calendar";a:3:{s:8:"app_name";s:8:"Calendar";s:11:"min_version";i:0;s:11:"max_version";i:0;}}s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements>
|
||||
<hook_version_human>1.0</hook_version_human>
|
||||
<hook_version_long>10000</hook_version_long>
|
||||
<hook_extra_data><![CDATA[a:1:{s:8:"database";a:0:{}}]]></hook_extra_data>
|
||||
<hook_key>upcomingcalendarevents</hook_key>
|
||||
<hook_global_caches/>
|
||||
</config>
|
||||
</hookdata>
|
||||
<hookfiles>
|
||||
<file>
|
||||
<hook_file_real>calendarUpcomingEvents.php</hook_file_real>
|
||||
<hook_type>templateHooks</hook_type>
|
||||
<hook_classname>calendarUpcomingEvents</hook_classname>
|
||||
<hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:11:"skin_boards";s:12:"skinFunction";s:18:"boardIndexTemplate";s:4:"type";s:7:"foreach";s:2:"id";s:11:"side_blocks";s:8:"position";s:9:"outer.pre";}]]></hook_data>
|
||||
<hooks_source><![CDATA[<?php
|
||||
/**
|
||||
* @file calendarUpcomingEvents.php Hook to display upcoming calendar events on the board index
|
||||
*~TERABYTE_DOC_READY~
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: ips_terabyte $
|
||||
* @since 11th Feb 2011
|
||||
* $LastChangedDate: 2011-02-16 11:59:53 -0500 (Wed, 16 Feb 2011) $
|
||||
* @version v3.4.5
|
||||
* $Revision: 7806 $
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @class calendarUpcomingEvents
|
||||
* @brief Hook to display upcoming calendar events on the board index
|
||||
*
|
||||
*/
|
||||
class calendarUpcomingEvents
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct() {}
|
||||
|
||||
/**
|
||||
* Execute data hook
|
||||
*
|
||||
* @return @e void
|
||||
*/
|
||||
public function getOutput()
|
||||
{
|
||||
$classToLoad = IPSLib::loadLibrary( IPSLib::getAppDir( 'calendar' ) . '/sources/hooks.php', 'app_calendar_classes_hooks', 'calendar' );
|
||||
$gateway = new $classToLoad( ipsRegistry::instance() );
|
||||
|
||||
return $gateway->getUpcomingEvents();
|
||||
}
|
||||
}]]></hooks_source>
|
||||
</file>
|
||||
</hookfiles>
|
||||
<hookextras_settings/>
|
||||
<hookextras_language/>
|
||||
<hookextras_modules/>
|
||||
<hookextras_help/>
|
||||
<hookextras_templates/>
|
||||
<hookextras_css/>
|
||||
<hookextras_tasks/>
|
||||
<hookextras_database_create/>
|
||||
<hookextras_database_alter/>
|
||||
<hookextras_database_update/>
|
||||
<hookextras_database_insert/>
|
||||
</hookexport>
|
||||
Reference in new issue
Block a user