added a new option - 'index_page'
added base_url_make() into codeigniter
This commit is contained in:
parent
7b08188e6a
commit
93a0375011
@ -40,6 +40,14 @@ ldap_admin_password = ""
|
|||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
language = "auto"
|
language = "auto"
|
||||||
|
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------
|
||||||
|
; Name of the index page. If you want to hide the index page name from
|
||||||
|
; the URL by rewriting it (e.g. mod_rewrite), you have to change this
|
||||||
|
; properly to match the rewriting rule
|
||||||
|
;------------------------------------------------------------------------------
|
||||||
|
index_page = "index.php"
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; When set to yes, viewing pages require a user to sign in.
|
; When set to yes, viewing pages require a user to sign in.
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
|
@ -26,7 +26,7 @@ $config['base_url'] .= preg_replace('@/+$@','',dirname($_SERVER['SCRIPT_NAME']))
|
|||||||
| variable so that it is blank.
|
| variable so that it is blank.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['index_page'] = "index.php";
|
$config['index_page'] = CODEPOT_INDEX_PAGE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@ -126,7 +126,7 @@ $config['subclass_prefix'] = 'MY_';
|
|||||||
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_@\-';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
$route['default_controller'] = "site";
|
$route['default_controller'] = "site";
|
||||||
$route['scaffolding_trigger'] = "";
|
$route['scaffolding_trigger'] = "";
|
||||||
|
|
||||||
|
$route['@(.+)'] = "project/home/$1";
|
||||||
|
|
||||||
/* End of file routes.php */
|
/* End of file routes.php */
|
||||||
/* Location: ./system/application/config/routes.php */
|
/* Location: ./system/application/config/routes.php */
|
||||||
|
@ -474,7 +474,6 @@ class Site extends Controller
|
|||||||
redirect ("wiki/attachment/{$part[0]}/{$hexwikiname}/{$hexattname}");
|
redirect ("wiki/attachment/{$part[0]}/{$hexwikiname}/{$hexattname}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -2,18 +2,20 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/code.css" />
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/prettify.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-css.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-lisp.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-lua.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-sql.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-vb.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
|
@ -2,14 +2,16 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/code.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/prettify.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-css.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-lisp.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-lua.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-sql.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-vb.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?=htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,18 +2,19 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/code.css" />
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/prettify.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-css.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-lisp.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-lua.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-sql.js"></script>
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/prettify/lang-vb.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/prettify.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-css.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lisp.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-lua.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-sql.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/prettify/lang-vb.js')?>"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
|
@ -4,12 +4,13 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/code.css" />
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$file_count = count($file['content']);
|
$file_count = count($file['content']);
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/code.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?=htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/code.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/code.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?=htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/project.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
||||||
<title><?=$title?></title>
|
<title><?=$title?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/file.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
<title><title><?=htmlspecialchars($file->name)?></title></title>
|
<title><title><?=htmlspecialchars($file->name)?></title></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/file.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($file->name)?></title>
|
<title><?=htmlspecialchars($file->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -4,8 +4,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/file.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?=htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/file.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/creole.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/file.css')?>" />
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/project.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
||||||
|
|
||||||
<title><title><?=htmlspecialchars($issue->id)?></title></title>
|
<title><title><?=htmlspecialchars($issue->id)?></title></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/issue.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($issue->id)?></title>
|
<title><?=htmlspecialchars($issue->id)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -4,12 +4,13 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/issue.css" />
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* <![CDATA[ */
|
/* <![CDATA[ */
|
||||||
|
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/issue.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/issue.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/creole.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
@ -2,14 +2,15 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/log.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/log.css')?>" />
|
||||||
|
|
||||||
<?php if ($login['sysadmin?'] && isset($site)): ?>
|
<?php if ($login['sysadmin?'] && isset($site)): ?>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/project.css" />
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function AsciiToHex (x) {
|
function AsciiToHex (x) {
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/project.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?=htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/project.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
<title><?=$project->name?></title>
|
<title><?=$project->name?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -4,9 +4,11 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/project.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/creole.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/project.css')?>" />
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/site.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($this->lang->line('Administration'))?></title>
|
<title><?=htmlspecialchars($this->lang->line('Administration'))?></title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/site.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($site->name)?></title>
|
<title><?=htmlspecialchars($site->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/site.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($site->name)?></title>
|
<title><?=htmlspecialchars($site->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -3,14 +3,15 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/site.css" />
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/creole.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
|
@ -2,9 +2,12 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/site.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/creole.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/site.css')?>" />
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function render_wiki()
|
function render_wiki()
|
||||||
{
|
{
|
||||||
|
@ -2,12 +2,15 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/user.css" />
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/user.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
|
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/user.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/user.css')?>" />
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/wiki.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
||||||
|
|
||||||
<title><title><?=htmlspecialchars($wiki->name)?></title></title>
|
<title><title><?=htmlspecialchars($wiki->name)?></title></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/wiki.css" />
|
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/jquery-ui.min.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/jquery-ui.css" />
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery.min.js')?>"></script>
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/jquery-ui.min.js')?>"></script>
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/jquery-ui.css')?>" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var new_attachment_no = 0;
|
var new_attachment_no = 0;
|
||||||
|
@ -4,8 +4,10 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/wiki.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
||||||
|
|
||||||
<title><?=htmlspecialchars($project->name)?></title>
|
<title><?=htmlspecialchars($project->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -2,9 +2,12 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/common.css" />
|
|
||||||
<link type="text/css" rel="stylesheet" href="<?=base_url()?>/css/wiki.css" />
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/common.css')?>" />
|
||||||
<script type="text/javascript" src="<?=base_url()?>/js/creole.js"></script>
|
<link type="text/css" rel="stylesheet" href="<?=base_url_make('/css/wiki.css')?>" />
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<?=base_url_make('/js/creole.js')?>"></script>
|
||||||
|
|
||||||
<title><?=htmlspecialchars($wiki->name)?></title>
|
<title><?=htmlspecialchars($wiki->name)?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ function load_ini ($file)
|
|||||||
array ('default_site_name', 'string', '@PACKAGE@'),
|
array ('default_site_name', 'string', '@PACKAGE@'),
|
||||||
|
|
||||||
array ('language', 'string', 'auto'),
|
array ('language', 'string', 'auto'),
|
||||||
|
array ('index_page', 'string', 'index.php'),
|
||||||
|
|
||||||
array ('signin_compulsory', 'boolean', FALSE),
|
array ('signin_compulsory', 'boolean', FALSE),
|
||||||
array ('https_compulsory', 'boolean', FALSE),
|
array ('https_compulsory', 'boolean', FALSE),
|
||||||
|
@ -63,6 +63,22 @@ if ( ! function_exists('base_url'))
|
|||||||
$CI =& get_instance();
|
$CI =& get_instance();
|
||||||
return $CI->config->slash_item('base_url');
|
return $CI->config->slash_item('base_url');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( ! function_exists('base_url_make'))
|
||||||
|
{
|
||||||
|
function base_url_make($path)
|
||||||
|
{
|
||||||
|
$CI =& get_instance();
|
||||||
|
$url = $CI->config->slash_item('base_url');
|
||||||
|
if (substr($url, -1) == '/')
|
||||||
|
{
|
||||||
|
for ($i = 0; substr($path, $i, 1) == '/'; $i++);
|
||||||
|
return $url . substr($path, $i);
|
||||||
|
}
|
||||||
|
else return $url . $path;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user