⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 post_comment_form.php

📁 ProjectPier 源码 很好的项目管理程序
💻 PHP
字号:
<fieldset>  <legend><?php echo lang('add comment') ?></legend><form action="<?php echo Comment::getAddUrl($comment_form_object) ?>" method="post" enctype="multipart/form-data"><?php tpl_display(get_template_path('form_errors')) ?><?php if ($comment_form_object->columnExists('comments_enabled') && !$comment_form_object->getCommentsEnabled() && logged_user()->isAdministrator()) { ?>  <p class="error"><?php echo lang('admin notice comments disabled') ?></p><?php } // if ?>  <div class="formAddCommentText">    <?php echo label_tag(lang('text'), 'addCommentText', true) ?>    <?php echo textarea_field("comment[text]", '', array('class' => 'comment', 'id' => 'addCommentText')) ?>  </div>    <?php if (logged_user()->isMemberOfOwnerCompany()) { ?>  <fieldset>    <legend><?php echo lang('options') ?></legend>        <div class="objectOption">      <div class="optionLabel"><label><?php echo lang('private comment') ?>:</label></div>      <div class="optionControl"><?php echo yes_no_widget('comment[is_private]', 'addCommentIsPrivate', false, lang('yes'), lang('no')) ?></div>      <div class="optionDesc"><?php echo lang('private comment desc') ?></div>    </div>  </fieldset><?php } // if ?><?php if ($comment_form_comment->canAttachFile(logged_user(), active_project())) { ?>  <?php echo render_attach_files() ?><?php } // if ?>      <?php echo submit_button(lang('add comment')) ?></form></fieldset>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -