Files
EasySoft-ZenTaoPMS/module/doc/view/edit.html.php
fujia 8baf48e423 * fix the error when create empty doc library.
* comment url, digest and so on fields.
2010-08-03 02:15:43 +00:00

80 lines
3.4 KiB
PHP

<?php
/**
* The edit view of doc module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 青岛易软天创网络科技有限公司(www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package doc
* @version $Id: edit.html.php 975 2010-07-29 03:30:25Z jajacn@126.com $
* @link http://www.zentaoms.com
*/
?>
<?php include '../../common/view/header.html.php';?>
<script language='Javascript'>
$(document).ready(function()
{
$(".right a").colorbox({width:500, height:200, iframe:true, transition:'none'});
$("#modulemenu a:contains('<?php echo $lang->doc->editLib;?>')").colorbox({width:500, height:200, iframe:true, transition:'none'});
});
</script>
<div class='yui-d0'>
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $lang->doc->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->doc->module;?></th>
<td><?php echo html::select('module', $moduleOptionMenu, $moduleID, "class='select-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->title;?></th>
<td><?php echo html::input('title', $title, "class='text-1'");?></td>
</tr>
<!--
<tr>
<th class='rowhead'><?php echo $lang->doc->type;?></th>
<td><?php //echo html::input('type', $type, "class='text-1'");?></td>
</tr>
<th class='rowhead'><?php echo $lang->doc->digest;?></th>
<td><?php //echo html::input('digest', $digest, "class='text-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->content;?></th>
<td><?php //echo html::textarea('content', $content, "rows='6' class='area-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->keywords;?></th>
<td><?php //echo html::input('keywords', $keywords, "class='text-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->url;?></th>
<td><?php //echo html::input('url', $url, "class='text-1'");?></td>
</tr>
-->
<tr>
<th class='rowhead'><?php echo $lang->doc->files;?></th>
<td><?php echo $this->fetch('file', 'buildform', 'fileCount=2');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::resetButton() . html::hidden('lib', $libID);?>
<?php echo html::hidden('product', $productID) . html::hidden('project', $projectID);?>
</td>
</tr>
</table>
</form>
</div>
<?php include '../../common/view/footer.html.php';?>