* ajusted style of 'my/profileedit'.

* fixed style of 'user/login'.
This commit is contained in:
Catouse
2014-03-18 10:24:00 +08:00
parent 1b8230f645
commit 1c6aaba942
8 changed files with 145 additions and 105 deletions
+4
View File
@@ -2,6 +2,7 @@
<?php
$module = $this->moduleName;
$method = $this->methodName;
js::set('themeRoot', $themeRoot);
if(!isset($config->$module->editor->$method)) return;
$editor = $config->$module->editor->$method;
$editor['id'] = explode(',', $editor['id']);
@@ -46,8 +47,11 @@ function initKindeditor(afterInit)
var K = KindEditor, $editor = $('#' + editorID);
keEditor = K.create('#' + editorID,
{
cssPath:[v.themeRoot + 'zui/css/min.css'],
width:'100%',
items:editorTool,
filterMode: true,
bodyClass:'article-content',
cssPath:['<?php echo $jsRoot?>kindeditor/plugins/code/prettify.css'],
urlType:'relative',
uploadJson: createLink('file', 'ajaxUpload'),