Move friendica-specific parts into an own subdirectory

This commit is contained in:
Tobias Hößl 2012-08-04 08:46:11 +00:00
parent 8f5a88aa10
commit b8234a1cb8
11 changed files with 20 additions and 20 deletions

View file

@ -8,5 +8,5 @@
$_v = explode(".", phpversion()); $_v = explode(".", phpversion());
if ($_v[0] > 5 || ($_v[0] == 5 && $_v[1] >= 3)) { if ($_v[0] > 5 || ($_v[0] == 5 && $_v[1] >= 3)) {
require(__DIR__ . "/main.php"); require(__DIR__ . "/friendica/main.php");
} }

View file

@ -17,7 +17,7 @@ function wdcal_addRequiredHeaders()
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/timepicker/timePicker.css' . '" media="all" />' . "\r\n"; $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/timepicker/timePicker.css' . '" media="all" />' . "\r\n";
$a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/dav/timepicker/jquery.timePicker.min.js"></script>' . "\r\n"; $a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/dav/timepicker/jquery.timePicker.min.js"></script>' . "\r\n";
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/wdcal.css' . '" media="all" />' . "\r\n"; $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/friendica/wdcal.css' . '" media="all" />' . "\r\n";
$a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/dav/common/wdcal.js"></script>' . "\r\n"; $a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/dav/common/wdcal.js"></script>' . "\r\n";
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/wdcal/css/calendar.css' . '" media="all" />' . "\r\n"; $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/wdcal/css/calendar.css' . '" media="all" />' . "\r\n";

View file

@ -26,27 +26,27 @@ function dav_module()
function dav_include_files() function dav_include_files()
{ {
require_once (__DIR__ . "/SabreDAV/lib/Sabre/autoload.php"); require_once (__DIR__ . "/../SabreDAV/lib/Sabre/autoload.php");
require_once (__DIR__ . "/common/calendar.fnk.php"); require_once (__DIR__ . "/../common/calendar.fnk.php");
require_once (__DIR__ . "/common/calendar_rendering.fnk.php"); require_once (__DIR__ . "/../common/calendar_rendering.fnk.php");
require_once (__DIR__ . "/common/dav_caldav_backend_common.inc.php"); require_once (__DIR__ . "/../common/dav_caldav_backend_common.inc.php");
require_once (__DIR__ . "/common/dav_caldav_backend_private.inc.php"); require_once (__DIR__ . "/../common/dav_caldav_backend_private.inc.php");
require_once (__DIR__ . "/common/dav_caldav_backend_virtual.inc.php"); require_once (__DIR__ . "/../common/dav_caldav_backend_virtual.inc.php");
require_once (__DIR__ . "/common/dav_caldav_root.inc.php"); require_once (__DIR__ . "/../common/dav_caldav_root.inc.php");
require_once (__DIR__ . "/common/dav_user_calendars.inc.php"); require_once (__DIR__ . "/../common/dav_user_calendars.inc.php");
require_once (__DIR__ . "/common/dav_caldav_calendar_virtual.inc.php"); require_once (__DIR__ . "/../common/dav_caldav_calendar_virtual.inc.php");
require_once (__DIR__ . "/common/dav_caldav_calendar_private.inc.php"); require_once (__DIR__ . "/../common/dav_caldav_calendar_private.inc.php");
require_once (__DIR__ . "/common/dav_carddav_root.inc.php"); require_once (__DIR__ . "/../common/dav_carddav_root.inc.php");
require_once (__DIR__ . "/common/dav_carddav_backend_common.inc.php"); require_once (__DIR__ . "/../common/dav_carddav_backend_common.inc.php");
require_once (__DIR__ . "/common/dav_carddav_backend_virtual.inc.php"); require_once (__DIR__ . "/../common/dav_carddav_backend_virtual.inc.php");
require_once (__DIR__ . "/common/dav_carddav_backend_private.inc.php"); require_once (__DIR__ . "/../common/dav_carddav_backend_private.inc.php");
require_once (__DIR__ . "/common/dav_user_addressbooks.inc.php"); require_once (__DIR__ . "/../common/dav_user_addressbooks.inc.php");
require_once (__DIR__ . "/common/wdcal_configuration.php"); require_once (__DIR__ . "/../common/wdcal_configuration.php");
require_once (__DIR__ . "/common/wdcal_backend.inc.php"); require_once (__DIR__ . "/../common/wdcal_backend.inc.php");
require_once (__DIR__ . "/dav_friendica_principal.inc.php"); require_once (__DIR__ . "/dav_friendica_principal.inc.php");
require_once (__DIR__ . "/dav_friendica_auth.inc.php"); require_once (__DIR__ . "/dav_friendica_auth.inc.php");
@ -54,7 +54,7 @@ function dav_include_files()
require_once (__DIR__ . "/dav_caldav_backend_virtual_friendica.inc.php"); require_once (__DIR__ . "/dav_caldav_backend_virtual_friendica.inc.php");
require_once (__DIR__ . "/FriendicaACLPlugin.inc.php"); require_once (__DIR__ . "/FriendicaACLPlugin.inc.php");
require_once (__DIR__ . "/common/wdcal_edit.inc.php"); require_once (__DIR__ . "/../common/wdcal_edit.inc.php");
require_once (__DIR__ . "/calendar.friendica.fnk.php"); require_once (__DIR__ . "/calendar.friendica.fnk.php");
require_once (__DIR__ . "/layout.fnk.php"); require_once (__DIR__ . "/layout.fnk.php");
} }