diff --git a/module/file/view/download.html.php b/module/file/view/download.html.php index 6a7f742e8c..3b913a9917 100644 --- a/module/file/view/download.html.php +++ b/module/file/view/download.html.php @@ -6,47 +6,45 @@ #txtFile{padding: 5px 10px;} #txtFile div{overflow-x: auto;} #titlebar span{float: right; padding-right: 25px;} +.main-header .btn-toolbar{margin-left:8px;} -
-
- file->common;?> - file->preview;?> +
+
+

file->preview;?>

- file->charset, $charset, "onchange='setCharset(this.value)'");?> +
file->charset, $charset, "onchange='setCharset(this.value)' class='chosen'");?>
-
- -
createLink('file', 'read', "fileID=$file->id"));?>
- -
-
- realPath); - if($charset != $config->charset) - { - $fileContent = helper::convertEncoding($fileContent, $charset, $config->charset); - } - else - { - if(extension_loaded('mbstring')) - { - $encoding = mb_detect_encoding($fileContent, array('ASCII', 'UTF-8', 'GB2312', 'GBK', 'BIG5')); - if($encoding != 'UTF-8') $fileContent = helper::convertEncoding($fileContent, $encoding, $config->charset); - } - else - { - $encoding = 'UTF-8'; - if($config->default->lang == 'zh-cn') $encoding = 'GBK'; - if($config->default->lang == 'zh-tw') $encoding = 'BIG5'; - $fileContent = helper::convertEncoding($fileContent, $encoding, $config->charset); - } - } - a($fileContent); - ?> + +
createLink('file', 'read', "fileID=$file->id"));?>
+ +
+ realPath); + if($charset != $config->charset) + { + $fileContent = helper::convertEncoding($fileContent, $charset, $config->charset); + } + else + { + if(extension_loaded('mbstring')) + { + $encoding = mb_detect_encoding($fileContent, array('ASCII', 'UTF-8', 'GB2312', 'GBK', 'BIG5')); + if($encoding != 'UTF-8') $fileContent = helper::convertEncoding($fileContent, $encoding, $config->charset); + } + else + { + $encoding = 'UTF-8'; + if($config->default->lang == 'zh-cn') $encoding = 'GBK'; + if($config->default->lang == 'zh-tw') $encoding = 'BIG5'; + $fileContent = helper::convertEncoding($fileContent, $encoding, $config->charset); + } + } + echo "
" . htmlspecialchars($fileContent) . "
"; + ?>
+
- -
-
- icons['edit']);?> - file->inputFileName;?> +
+
+

file->inputFileName;?>

-
-
- - - - - -
-
- title, "class='form-control' autocomplete='off'");?> - .extension;?> -
-
-
+
+ + + + + +
+
+ title, "class='form-control' autocomplete='off'");?> + .extension;?> +
+
+
+
diff --git a/module/file/view/export.html.php b/module/file/view/export.html.php index 7582f12939..c99a30da74 100644 --- a/module/file/view/export.html.php +++ b/module/file/view/export.html.php @@ -117,7 +117,7 @@ $(document).ready(function()

export;?>

-
+
diff --git a/module/tree/control.php b/module/tree/control.php index 659af48970..ecac1c30c9 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -184,7 +184,7 @@ class tree extends control $parentModules = $this->tree->getParents($currentModuleID); $newModule = (version_compare($project->openedVersion, '4.1', '>') and $products) ? true : false; - $title = $project->name . $this->lang->colon . $this->lang->tree->manageProject; + $title = $this->lang->tree->manageProject; $position[] = html::a($this->createLink('project', 'task', "projectID=$rootID"), $project->name); $position[] = $this->lang->tree->manageProject; diff --git a/module/tree/view/browsetask.html.php b/module/tree/view/browsetask.html.php index d056aa7513..75c2c9d2b0 100644 --- a/module/tree/view/browsetask.html.php +++ b/module/tree/view/browsetask.html.php @@ -19,7 +19,7 @@
- tree->common . ':' . $root->name;?> + tree->common . $lang->colon . $root->name;?>
diff --git a/module/tree/view/edit.html.php b/module/tree/view/edit.html.php index 38f55eb5fd..c405a18f5e 100644 --- a/module/tree/view/edit.html.php +++ b/module/tree/view/edit.html.php @@ -21,7 +21,7 @@ $jsRoot = $webRoot . "js/";