diff --git a/module/webapp/control.php b/module/webapp/control.php index a763cbf470..870729c4c9 100644 --- a/module/webapp/control.php +++ b/module/webapp/control.php @@ -25,6 +25,7 @@ class webapp extends control $this->webapp->setMenu($module); + $this->view->title = $this->lang->webapp->common; $this->view->webapps = $webapps; $this->view->moduleTree = $this->loadModel('tree')->getTreeMenu(0, 'webapp', 0, array('treeModel', 'createWebappLink')); $this->view->module = $module; @@ -64,6 +65,7 @@ class webapp extends control $webapps = $results->webapps; } + $this->view->title = $this->lang->webapp->common . $this->lang->colon . $this->lang->webapp->obtain; $this->view->moduleTree = $this->webapp->getModulesByAPI(); $this->view->webapps = $webapps; $this->view->installeds = $this->webapp->getLocalApps('appid'); @@ -90,6 +92,7 @@ class webapp extends control die(js::reload('parent.parent')); } + $this->view->title = $this->lang->webapp->common . $this->lang->colon . $this->lang->webapp->edit; $this->view->modules = $this->webapp->getModules(); $this->view->webapp = $this->webapp->getLocalAppByID($webappID); $this->display(); @@ -112,6 +115,7 @@ class webapp extends control $this->webapp->setMenu(); + $this->view->title = $this->lang->webapp->common . $this->lang->colon . $this->lang->webapp->create; $this->view->modules = $this->webapp->getModules(); $this->display(); } @@ -137,6 +141,7 @@ class webapp extends control die(js::locate(inlink('index', "module={$this->post->module}"), 'parent.parent')); } + $this->view->title = $this->lang->webapp->common . $this->lang->colon . $this->lang->webapp->install; $this->view->modules = $this->webapp->getModules(); $this->display(); } diff --git a/module/webapp/lang/en.php b/module/webapp/lang/en.php index 661e0157cd..557f32cfd4 100644 --- a/module/webapp/lang/en.php +++ b/module/webapp/lang/en.php @@ -63,6 +63,6 @@ $lang->webapp->addTypeList['custom'] = 'Custom App'; $lang->webapp->errorOccurs = 'Error:'; $lang->webapp->errorGetModules = "Get extensions' categories data from the www.zentao.net failed. "; -$lang->webapp->errorGetExtensions = 'Get extensions from www.zentao.net failed. You can visit www.zentao.net to find your extensions, download it manually and then upload to zentaopms to install it.'; +$lang->webapp->errorGetExtensions = 'Get extensions from www.zentao.net failed. You can visit “Create webapp” to create it.'; $lang->webapp->successInstall = 'Success Install App.'; $lang->webapp->confirmDelete = 'Are you sure delete this app?'; diff --git a/module/webapp/lang/zh-cn.php b/module/webapp/lang/zh-cn.php index 21eaa22fee..89b9b6f297 100644 --- a/module/webapp/lang/zh-cn.php +++ b/module/webapp/lang/zh-cn.php @@ -14,7 +14,7 @@ $lang->webapp->index = '已加应用'; $lang->webapp->obtain = '获得应用'; $lang->webapp->install = '安装应用'; -$lang->webapp->uninstall = '移除应用'; +$lang->webapp->uninstall = '移除'; $lang->webapp->useapp = '使用'; $lang->webapp->installed = '已添加'; $lang->webapp->edit = '编辑应用'; @@ -63,6 +63,6 @@ $lang->webapp->addTypeList['custom'] = '自定义应用'; $lang->webapp->errorOccurs = '错误:'; $lang->webapp->errorGetModules = '从www.zentao.net获得插件分类失败。可能是因为网络方面的原因,请检查后重新刷新页面。'; -$lang->webapp->errorGetExtensions = '从www.zentao.net获得插件失败。可能是因为网络方面的原因,您可以到www.zentao.net手工下载插件,然后上传安装。'; +$lang->webapp->errorGetExtensions = '从www.zentao.net获得插件失败。可能是因为网络方面的原因,你可以到 “创建应用” 中自行创建。'; $lang->webapp->successInstall = '成功安装应用!'; $lang->webapp->confirmDelete = '是否删除该应用?'; diff --git a/module/webapp/view/create.html.php b/module/webapp/view/create.html.php index b974c03970..fd794d751c 100644 --- a/module/webapp/view/create.html.php +++ b/module/webapp/view/create.html.php @@ -40,7 +40,7 @@ webapp->icon?> - + diff --git a/module/webapp/view/edit.html.php b/module/webapp/view/edit.html.php index 8148e935ba..f36953dd2e 100644 --- a/module/webapp/view/edit.html.php +++ b/module/webapp/view/edit.html.php @@ -46,7 +46,7 @@ icon) echo "

"; - echo html::file('files', '', "class='text-3'"); + echo html::file('files', "class='text-1'"); ?>