| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /**
- * The comment view mobile web file of feedback module of ZenTaoPMS.
- *
- * @copyright Copyright 2009-2015 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
- * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
- * @author Fei Chen <chenfei@cnezsoft.com>
- * @package feedback
- * @version $Id$
- * @link http://www.zentao.net
- */
- ?>
- <div class='heading divider'>
- <span class='title'>
- <strong>
- <?php
- if($type == 'asked') $title = $lang->feedback->ask;
- if($type == 'replied') $title = $lang->feedback->reply;
- if($type != 'asked' && $type != 'replied') $title = $lang->feedback->comment;
- echo $title;
- ?>
- </strong>
- #<?php echo $feedbackID?>
- </span>
- <nav class='nav'><a data-dismiss='display'><i class='icon-remove muted'></i></a></nav>
- </div>
- <form class='has-padding content' method='post' target='hiddenwin' action='<?php echo $this->createLink('feedback', 'comment', http_build_query($this->app->getParams()))?>' id='commentForm' data-form-refresh='#page'>
- <div class='control'><?php echo html::textarea('comment', '',"rows='5' class='textarea' data-default-val");?></div>
- </form>
- <div class='footer has-padding'>
- <button type='button' id='submitButton' class='btn primary'><?php echo $lang->save ?></button>
- </div>
- <script>
- $(function()
- {
- $('#submitButton').click(function(){$('#commentForm').submit()});
- })
- </script>
|