* convert to unix format.

This commit is contained in:
wangchunsheng
2012-02-21 07:22:58 +00:00
parent f1dfdf6ea0
commit 65e19fa8a8
389 changed files with 55211 additions and 55211 deletions
+46 -46
View File
@@ -1,46 +1,46 @@
<?php
/*
* The control file of help module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package ZenTaoPMS
* @version $Id$
* @link http://www.zentao.net
*/
class help extends control
{
/**
* Get the help info of a field..
*
* @param string $module
* @param string $method
* @param string $field
* @param string $clientLang
* @access public
* @return void
*/
public function field($module, $method, $field)
{
$clientLang = $this->app->getClientLang();
include "./lang/field.$clientLang.php";
$fieldName = '';
$fieldNote = $this->lang->help->noHelpYet;
if(isset($help->$module->$field))
{
$fieldHelp = explode('|', $help->$module->$field);
$fieldName = $fieldHelp[0];
if(isset($fieldHelp[1])) $fieldNote = $fieldHelp[1];
}
elseif($field == 'labels')
{
list($fieldName, $fieldNote) = explode('|', $help->file->labels);
}
$this->view->header->title = $fieldName;
$this->view->fieldName = $fieldName;
$this->view->fieldNote = $fieldNote;
$this->display();
}
}
<?php
/*
* The control file of help module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package ZenTaoPMS
* @version $Id$
* @link http://www.zentao.net
*/
class help extends control
{
/**
* Get the help info of a field..
*
* @param string $module
* @param string $method
* @param string $field
* @param string $clientLang
* @access public
* @return void
*/
public function field($module, $method, $field)
{
$clientLang = $this->app->getClientLang();
include "./lang/field.$clientLang.php";
$fieldName = '';
$fieldNote = $this->lang->help->noHelpYet;
if(isset($help->$module->$field))
{
$fieldHelp = explode('|', $help->$module->$field);
$fieldName = $fieldHelp[0];
if(isset($fieldHelp[1])) $fieldNote = $fieldHelp[1];
}
elseif($field == 'labels')
{
list($fieldName, $fieldNote) = explode('|', $help->file->labels);
}
$this->view->header->title = $fieldName;
$this->view->fieldName = $fieldName;
$this->view->fieldNote = $fieldNote;
$this->display();
}
}
+15 -15
View File
@@ -1,15 +1,15 @@
<?php
/**
* The model file of help module of ZenTaoCMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package help
* @version $Id$
* @link http://www.zentao.net
*/
class helpModel extends model
{
}
<?php
/**
* The model file of help module of ZenTaoCMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package help
* @version $Id$
* @link http://www.zentao.net
*/
class helpModel extends model
{
}
+19 -19
View File
@@ -1,19 +1,19 @@
<?php
/**
* The filed view file of help module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package help
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<table class='table-1' height=180>
<tr valign='middle' class='f-14px'>
<td><?php echo '<strong>' . $fieldName . '</strong>' . ($fieldName ? $lang->arrow : '') . $fieldNote?></td>
</tr>
</table>
<?php include '../../common/view/footer.lite.html.php';
<?php
/**
* The filed view file of help module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package help
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<table class='table-1' height=180>
<tr valign='middle' class='f-14px'>
<td><?php echo '<strong>' . $fieldName . '</strong>' . ($fieldName ? $lang->arrow : '') . $fieldNote?></td>
</tr>
</table>
<?php include '../../common/view/footer.lite.html.php';