* finish task #1074.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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 <a href="http://www.zentao.net/extension/" target="_blank">www.zentao.net</a> 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 “<a href="' . inlink('create') . '">Create webapp</a>” to create it.';
|
||||
$lang->webapp->successInstall = 'Success Install App.';
|
||||
$lang->webapp->confirmDelete = 'Are you sure delete this app?';
|
||||
|
||||
@@ -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获得插件失败。可能是因为网络方面的原因,您可以到<a href="http://www.zentao.net/extension/" target="_blank">www.zentao.net</a>手工下载插件,然后上传安装。';
|
||||
$lang->webapp->errorGetExtensions = '从www.zentao.net获得插件失败。可能是因为网络方面的原因,你可以到 “<a href="' . inlink('create') . '">创建应用</a>” 中自行创建。';
|
||||
$lang->webapp->successInstall = '成功安装应用!';
|
||||
$lang->webapp->confirmDelete = '是否删除该应用?';
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->webapp->icon?></th>
|
||||
<td><?php echo html::file('files')?></td>
|
||||
<td><?php echo html::file('files', "class='text-1'")?></td>
|
||||
</tr>
|
||||
<tr><td colspan='2' align='center'><?php echo html::submitButton()?></td></tr>
|
||||
</table>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<td>
|
||||
<?php
|
||||
if($webapp->icon) echo "<p><img src='{$webapp->icon->webPath}' /></p>";
|
||||
echo html::file('files', '', "class='text-3'");
|
||||
echo html::file('files', "class='text-1'");
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user