Fixed paths for new directory structure.
This commit is contained in:
parent
4e73ed7e5a
commit
3e99ea7d97
|
@ -6,22 +6,22 @@
|
|||
<title>Campcaster</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<link href="htmlUI/html/styles_campcaster.css" rel="stylesheet" type="text/css" />
|
||||
<link href="htmlUI/html/assets/plupload/plupload.queue.css" rel="stylesheet" type="text/css" />
|
||||
<link href="htmlUI/html/css/playlist.css" rel="stylesheet" type="text/css" />
|
||||
<link href="html/styles_campcaster.css" rel="stylesheet" type="text/css" />
|
||||
<link href="html/assets/plupload/plupload.queue.css" rel="stylesheet" type="text/css" />
|
||||
<link href="html/css/playlist.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript" src="htmlUI/html/assets/jquery-1.4.2.min.js"></script>
|
||||
<script type="text/javascript" src="htmlUI/html/assets/jquery-ui-1.8.5.custom.min.js"></script>
|
||||
<script type="text/javascript" src="html/assets/jquery-1.4.2.min.js"></script>
|
||||
<script type="text/javascript" src="html/assets/jquery-ui-1.8.5.custom.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="htmlUI/html/assets/plupload/plupload.full.min.js"></script>
|
||||
<script type="text/javascript" src="htmlUI/html/assets/plupload/jquery.plupload.queue.min.js"></script>
|
||||
<script type="text/javascript" src="html/assets/plupload/plupload.full.min.js"></script>
|
||||
<script type="text/javascript" src="html/assets/plupload/jquery.plupload.queue.min.js"></script>
|
||||
|
||||
{include file="script/basics.js.tpl"}
|
||||
{include file="script/contextmenu.js.tpl"}
|
||||
{include file="script/collector.js.tpl"}
|
||||
{include file="script/alttext.js.tpl"}
|
||||
|
||||
<script type="text/javascript" src="htmlUI/html/js/playlist.js"></script>
|
||||
|
||||
<script type="text/javascript" src="html/js/playlist.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<head>
|
||||
<title>Campcaster</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="htmlUI/html/styles_popup.css" rel="stylesheet" type="text/css" />
|
||||
<link href="html/styles_popup.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
{UIBROWSER->getAlertMsg assign='alertMsg'}
|
||||
|
|
|
@ -24,8 +24,8 @@ define('UI_UPLOAD_LANGID', UI_DEFAULT_LANGID);
|
|||
define('UI_TIMEZONEOFFSET', date('Z'));
|
||||
|
||||
// Basic scripts
|
||||
define('UI_HANDLER', 'htmlUI/ui_handler.php');
|
||||
define('UI_BROWSER', 'htmlUI/ui_browser.php');
|
||||
define('UI_HANDLER', 'ui_handler.php');
|
||||
define('UI_BROWSER', 'ui_browser.php');
|
||||
|
||||
// HTML Form stuff
|
||||
define('UI_STANDARD_FORM_METHOD', 'POST');
|
||||
|
|
|
@ -19,9 +19,9 @@ switch ($_REQUEST['act']) {
|
|||
# $uiHandler->PLAYLIST->reportLookedPL();
|
||||
$uiHandler->PLAYLIST->loadLookedFromPref();
|
||||
}
|
||||
include(dirname(__FILE__).'/htmlUI/templates/loader/index.tpl');
|
||||
include(dirname(__FILE__).'/htmlUI/templates/popup/_reload_parent.tpl');
|
||||
include(dirname(__FILE__).'/htmlUI/templates/popup/_close.tpl');
|
||||
include(dirname(__FILE__).'/templates/loader/index.tpl');
|
||||
include(dirname(__FILE__).'/templates/popup/_reload_parent.tpl');
|
||||
include(dirname(__FILE__).'/templates/popup/_close.tpl');
|
||||
exit;
|
||||
|
||||
case "logout":
|
||||
|
|
18
index.php
18
index.php
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__)."/htmlUI/ui_browser.php");
|
||||
//if (strpos($_SERVER['PHP_SELF'], '~') !== false) {
|
||||
// list(, $user, ) = explode('/', $_SERVER['PHP_SELF']);
|
||||
// $base = "/$user/campcaster";
|
||||
//} else {
|
||||
// $base = "/campcaster";
|
||||
//}
|
||||
//
|
||||
//header("LOCATION: $base/ui_browser.php");
|
||||
//require_once(dirname(__FILE__)."/htmlUI/ui_browser.php");
|
||||
if (strpos($_SERVER['PHP_SELF'], '~') !== false) {
|
||||
list(, $user, ) = explode('/', $_SERVER['PHP_SELF']);
|
||||
$base = "/$user/campcaster";
|
||||
} else {
|
||||
$base = "/campcaster";
|
||||
}
|
||||
|
||||
header("LOCATION: $base/htmlUI/ui_browser.php");
|
||||
?>
|
Loading…
Reference in New Issue