Skip to content
This repository was archived by the owner on Jul 17, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions wiki.view.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ function dispWikiHistory()
$oDocumentModel = getModel('document');
$document_srl = Context::get('document_srl');
$page = Context::get('page');
$entry = Context::get('entry');
$entry = URLEncode( Context::get('entry') );
$entry = URLDecode( $entry );
$entry = iconv( "CP949", "UTF-8", $entry );

if(!$document_srl)
{
Expand Down Expand Up @@ -240,7 +242,9 @@ function dispWikiEditPage()

$oDocumentModel = & getModel('document');
$document_srl = Context::get('document_srl');
$entry = Context::get('entry');
$entry = URLEncode( Context::get('entry') );
$entry = URLDecode( $entry );
$entry = iconv( "CP949", "UTF-8", $entry );
$section = Context::get('section');

if(!$document_srl)
Expand Down Expand Up @@ -466,7 +470,10 @@ function dispWikiContentView()
// The requested order parameter values
$document_srl = Context::get('document_srl');

$entry = Context::get('entry');
$entry = URLEncode( Context::get('entry') );
$entry = URLDecode( $entry );
$entry = iconv( "CP949", "UTF-8", $entry );

if(!$document_srl)
{
if(!$entry)
Expand Down Expand Up @@ -953,7 +960,9 @@ function getLeftMenu()
else
{
$document_srl = Context::get("document_srl");
$entry = Context::get("entry");
$entry = URLEncode( Context::get('entry') );
$entry = URLDecode( $entry );
$entry = iconv( "CP949", "UTF-8", $entry );
$root = $oWikiModel->getRootDocument($module_srl);
if(!$document_srl)
{
Expand Down