fixed a minor bug in handling wiki pages

This commit is contained in:
hyung-hwan 2010-04-08 13:56:50 +00:00
parent f2a8e4ea39
commit bf8c654957
6 changed files with 35 additions and 11 deletions

View File

@ -97,8 +97,11 @@ class File extends Controller
}
else if ($file === NULL)
{
redirect ('file/create/'. $projectid . '/' .
$this->converter->AsciiToHex($name));
$data['project'] = $project;
$data['message'] =
$this->lang->line('MSG_NO_SUCH_FILE').
" - {$name}";
$this->load->view ($this->VIEW_ERROR, $data);
}
else
{

View File

@ -89,6 +89,7 @@ $lang['MSG_NO_DIFF'] = 'No difference found';
$lang['MSG_NO_CODE_AVAIL'] = 'No source code available';
$lang['MSG_NO_FILES_AVAIL'] = 'No files available';
$lang['MSG_NO_ISSUES_AVAIL'] = 'No outstanding issues';
$lang['MSG_NO_SUCH_FILE'] = 'No such file';
$lang['MSG_NO_SUCH_ISSUE'] = 'No such issue';
$lang['MSG_NO_SUCH_PROJECT'] = 'No such project';
$lang['MSG_NO_SUCH_WIKI_PAGE'] = 'No such wiki page';

View File

@ -88,6 +88,7 @@ $lang['MSG_NO_DIFF'] = 'Tidak ada bedanya';
$lang['MSG_NO_CODE_AVAIL'] = 'Tidak ada kode sumber tersedia';
$lang['MSG_NO_FILES_AVAIL'] = 'Tidak ada file tersedia';
$lang['MSG_NO_ISSUES_AVAIL'] = 'Tidak ada issue';
$lang['MSG_NO_SUCH_FILE'] = 'No such file';
$lang['MSG_NO_SUCH_ISSUE'] = 'No such issue';
$lang['MSG_NO_SUCH_PROJECT'] = 'No such project';
$lang['MSG_NO_SUCH_WIKI_PAGE'] = 'No such wiki page';

View File

@ -88,6 +88,7 @@ $lang['MSG_NO_DIFF'] = '차이점이 없습니다';
$lang['MSG_NO_CODE_AVAIL'] = '소스코드가 없습니다';
$lang['MSG_NO_FILES_AVAIL'] = '파일이 없습니다';
$lang['MSG_NO_ISSUES_AVAIL'] = '이슈항목이 없습니다';
$lang['MSG_NO_SUCH_FILE'] = '파일이 없습니다';
$lang['MSG_NO_SUCH_ISSUE'] = '이슈항목이 없습니다';
$lang['MSG_NO_SUCH_PROJECT'] = '프로젝트가 없습니다';
$lang['MSG_NO_SUCH_WIKI_PAGE'] = '위키페이지가 없습니다';

View File

@ -9,6 +9,26 @@ body {
font-family: sans-serif;
}
.content h1 {
font-size: 1.3em;
font-weight: bold;
}
.content h2 {
font-size: 1.2em;
font-weight: bold;
}
.content h3 {
font-size: 1.1em;
font-weight: bold;
}
.content h4 {
font-size: 1.0em;
font-weight: bold;
}
.content ul {
list-style: square;
}
@ -78,10 +98,9 @@ body {
}
.content .projectbar .title {
font-size: 1.8em;
font-size: 1.6em;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 0.1em;
white-space: nowrap;
}
@ -181,7 +200,7 @@ body {
.content .mainarea form textarea {
border: 1px solid #BBCCDD;
font-family: inherit;
font-family: monospace;
font-size: inherit;
}
@ -198,12 +217,11 @@ body {
}
.content .mainarea tt {
/*
padding: .1em .1em .1em .1em;
background-color: #F1F1FF;
}
.content .mainarea tt:hover {
background-color: inherit;
*/
font-size: inherit;
}
.content .mainarea table {

View File

@ -107,7 +107,7 @@
display: block;
padding: 1px;
font-size: inherit;
font-family: inherit;
font-family: monospace;
width: 100%;
}
@ -177,7 +177,7 @@
display: block;
padding: 1px;
font-size: inherit;
font-family: inherit;
font-family: monospace;
width: 100%;
}