Files
EasySoft-ZenTaoPMS/module/common/view/customfield.html.php
2016-04-29 16:04:36 +08:00

39 lines
1.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* The custom field view file of common module of ZenTaoPMS.
*
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Yidong Wang <yidong@cnezsoft.com>
* @package common
* @version $Id$
* @link http://www.zentao.net
*/
?>
<style>
form{overflow-x:auto;}
#customModal .checkbox-inline{width:90px}
#customModal .checkbox-inline+.checkbox-inline{margin-left:0px;}
</style>
<div class="modal fade" id="customModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog w-800px">
<div class="modal-content">
<form class='form-condensed' method='post' target='hiddenwin' action='<?php echo $customLink?>'>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">
<i class="icon-cog"></i> <?php echo $lang->customConfig?>
<div class='pull-right' style='margin-right:15px;'><?php echo html::submitButton()?></div>
</h4>
</div>
<div class="modal-body">
<p><?php echo html::checkbox('fields', $customFields, $showFields);?></p>
</div>
</form>
</div>
</div>
</div>
<script>
$("button[data-toggle='customModal']").click(function(){$('#customModal').modal('show')});
</script>