当前位置: 首页>>代码示例>>PHP>>正文


PHP HTML::textareaField方法代码示例

本文整理汇总了PHP中OSC\OM\HTML::textareaField方法的典型用法代码示例。如果您正苦于以下问题:PHP HTML::textareaField方法的具体用法?PHP HTML::textareaField怎么用?PHP HTML::textareaField使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在OSC\OM\HTML的用法示例。


在下文中一共展示了HTML::textareaField方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

?>
      </div>
    </div>
  </div>

  <hr>

  <div class="contentText">
    <div class="form-group has-feedback">
      <label for="inputMessage" class="control-label col-sm-3"><?php 
echo OSCOM::getDef('form_title_friend_message');
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::textareaField('message', 40, 8, NULL, 'required aria-required="true" id="inputMessage" placeholder="' . OSCOM::getDef('form_title_friend_message') . '"');
echo OSCOM::getDef('form_required_input');
?>
      </div>
    </div>
  </div>

  <div class="buttonSetrow">
    <div class="col-xs-6"><?php 
echo HTML::button(OSCOM::getDef('image_button_back'), 'fa fa-angle-left', OSCOM::link('product_info.php', 'products_id=' . $Qproduct->valueInt('products_id')));
?>
</div>
    <div class="col-xs-6 text-right"><?php 
echo HTML::button(OSCOM::getDef('image_button_continue'), 'fa fa-angle-right', null, null, 'btn-success');
?>
</div>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:tell_a_friend.php

示例2:

                    <li role="presentation"><a href="#plain_email" aria-controls="plain_email" role="tab" data-toggle="tab"><?php 
    echo OSCOM::getDef('email_type_plain');
    ?>
</a></li>
                  </ul>

                  <div class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="html_email">
                      <?php 
    echo HTML::textareaField('message_html', '60', '15');
    ?>
                    </div>

                    <div role="tabpanel" class="tab-pane" id="plain_email">
                      <?php 
    echo HTML::textareaField('message', '60', '15');
    ?>
                    </div>
                  </div>
                </td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr>
                <td class="smallText" colspan="2" align="right"><?php 
    echo HTML::button(OSCOM::getDef('image_preview'), 'fa fa-file-o');
    ?>
</td>
              </tr>
            </table></td>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:mail.php

示例3:

<h2><i class="fa fa-exclamation-circle"></i> <a href="<?php 
    echo OSCOM::link('error_log.php');
    ?>
"><?php 
    echo OSCOM::getDef('heading_title');
    ?>
</a></h2>

<h3><?php 
    echo HTML::outputProtected($log['date']);
    ?>
</h3>

<p>
  <?php 
    echo HTML::textareaField('log', '100', '30', file_get_contents($log['path']), 'readonly', false);
    ?>
</p>

<?php 
} else {
    ?>

<div class="pull-right">
  <?php 
    echo HTML::button(OSCOM::getDef('button_delete_all'), 'fa fa-trash', OSCOM::link('error_log.php', 'action=deleteAll'), null, 'btn-danger');
    ?>
</div>

<h2><i class="fa fa-exclamation-circle"></i> <a href="<?php 
    echo OSCOM::link('error_log.php');
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:error_log.php

示例4:

</label>
      <div class="col-sm-9">
        <?php 
    echo HTML::inputField('email', NULL, 'required aria-required="true" id="inputFromEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '"', 'email');
    echo FORM_REQUIRED_INPUT;
    ?>
      </div>
    </div>
    <div class="form-group has-feedback">
      <label for="inputEnquiry" class="control-label col-sm-3"><?php 
    echo ENTRY_ENQUIRY;
    ?>
</label>
      <div class="col-sm-9">
        <?php 
    echo HTML::textareaField('enquiry', 50, 15, NULL, 'required aria-required="true" id="inputEnquiry" placeholder="' . ENTRY_ENQUIRY_TEXT . '"');
    echo FORM_REQUIRED_INPUT;
    ?>
      </div>
    </div>
  </div>

  <div class="text-right">
    <?php 
    echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success btn-block');
    ?>
  </div>
</div>

</form>
开发者ID:tiansiyuan,项目名称:oscommerce2,代码行数:30,代码来源:contact_us.php

示例5:

?>
</a></h2>

<?php 
if ($action == 'export') {
    ?>

<p>
  <?php 
    echo OSCOM::getDef('text_export_intro', ['button_submit_to_oscommerce' => OSCOM::getDef('button_submit_to_oscommerce'), 'button_save' => OSCOM::getDef('image_save')]);
    ?>
</p>

<p>
  <?php 
    echo HTML::textareaField('server_settings', '100', '15', tep_format_system_info_array($info), 'readonly', false);
    ?>
</p>

<p>
  <?php 
    echo HTML::button(OSCOM::getDef('button_submit_to_oscommerce'), 'fa fa-upload', OSCOM::link('server_info.php', 'action=submit'), null, 'btn-info') . '&nbsp;' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save', OSCOM::link('server_info.php', 'action=save'), null, 'btn-info');
    ?>
</p>

<?php 
} else {
    ?>

<table class="table table-hover">
  <tbody>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:server_info.php

示例6: isset

<?php 
}
?>

  <hr>

  <div class="contentText">
    <div class="form-group">
      <label for="inputComments" class="control-label col-sm-4"><?php 
echo TABLE_HEADING_COMMENTS;
?>
</label>
      <div class="col-sm-8">
        <?php 
echo HTML::textareaField('comments', 60, 5, isset($_SESSION['comments']) ? $_SESSION['comments'] : '', 'id="inputComments" placeholder="' . ENTRY_COMMENTS_TEXT . '"');
?>
      </div>
    </div>
  </div>

  <div class="contentText">
    <div><?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success btn-block');
?>
</div>
  </div>

  <div class="clearfix"></div>

  <div class="contentText">
开发者ID:Akofelaz,项目名称:oscommerce2,代码行数:30,代码来源:checkout_shipping.php

示例7: sage_pay_form_textarea_field

function sage_pay_form_textarea_field($value = '', $key = '')
{
    return HTML::textareaField('configuration[' . $key . ']', 60, 5, $value);
}
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:4,代码来源:sage_pay_form.php

示例8:

echo SUB_TITLE_FROM;
?>
</strong></p>
      <p class="col-sm-9"><?php 
echo HTML::sanitize($Qcustomer->value('customers_firstname') . ' ' . $Qcustomer->value('customers_lastname'));
?>
</p>
    </div>
    <div class="form-group has-feedback">
      <label for="inputReview" class="control-label col-sm-3"><?php 
echo SUB_TITLE_REVIEW;
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::textareaField('review', 60, 15, NULL, 'minlength="' . REVIEW_TEXT_MIN_LENGTH . '" required aria-required="true" id="inputReview" placeholder="' . ENTRY_REVIEW_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-sm-3"><?php 
echo SUB_TITLE_RATING;
?>
</label>
      <div class="col-sm-9">
        <div class="radio">
          <label>
            <?php 
echo HTML::radioField('rating', '5') . HTML::stars(5, false) . ' ' . TEXT_GOOD;
?>
开发者ID:Akofelaz,项目名称:oscommerce2,代码行数:31,代码来源:product_reviews_write.php

示例9:

echo OSCOM::getDef('sub_title_from');
?>
</strong></p>
      <p class="col-sm-9"><?php 
echo HTML::sanitize($Qcustomer->value('customers_firstname') . ' ' . $Qcustomer->value('customers_lastname'));
?>
</p>
    </div>
    <div class="form-group has-feedback">
      <label for="inputReview" class="control-label col-sm-3"><?php 
echo OSCOM::getDef('sub_title_review');
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::textareaField('review', 60, 15, NULL, 'required aria-required="true" id="inputReview" placeholder="' . OSCOM::getDef('sub_title_review_text') . '"');
echo OSCOM::getDef('form_required_input');
?>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-sm-3"><?php 
echo OSCOM::getDef('sub_title_rating');
?>
</label>
      <div class="col-sm-9">
        <label class="radio-inline">
          <?php 
echo HTML::radioField('rating', '1');
?>
        </label>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:product_reviews_write.php

示例10:

        ?>
</label>

          <?php 
        echo HTML::selectField('status', $orders_statuses, $order->info['orders_status'], 'id="inputOrderStatus" class="form-control"');
        ?>
        </div>

        <div class="form-group">
          <label for="inputOrderComment" class="control-label"><?php 
        echo OSCOM::getDef('entry_add_comment');
        ?>
</label>

          <?php 
        echo HTML::textareaField('comments', '60', '6', null, 'id="inputOrderComment" class="form-control"');
        ?>
        </div>

        <div class="form-group">
          <div class="checkbox">
            <label>
              <?php 
        echo HTML::checkboxField('notify', '', true) . ' ' . OSCOM::getDef('entry_notify_customer');
        ?>
            </label>
          </div>
        </div>

        <div class="form-group">
          <div class="checkbox">
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:orders.php

示例11: isset

      </tbody>
    </table>

  </div>

  <hr>

  <div class="contentText">
    <div class="form-group">
      <label for="inputComments" class="control-label col-sm-4"><?php 
echo OSCOM::getDef('table_heading_comments');
?>
</label>
      <div class="col-sm-8">
        <?php 
echo HTML::textareaField('comments', 60, 5, isset($_SESSION['comments']) ? $_SESSION['comments'] : '', 'id="inputComments" placeholder="' . OSCOM::getDef('table_heading_comments') . '"');
?>
      </div>
    </div>
  </div>

  <div class="buttonSet">
    <div class="text-right"><?php 
echo HTML::button(OSCOM::getDef('image_button_continue'), 'fa fa-angle-right', null, null, 'btn-success');
?>
</div>
  </div>

  <div class="clearfix"></div>

  <div class="contentText">
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:checkout_payment.php

示例12: tep_cfg_textarea

function tep_cfg_textarea($text, $key = '')
{
    $name = tep_not_null($key) ? 'configuration[' . $key . ']' : 'configuration_value';
    return HTML::textareaField($name, 35, 5, $text);
}
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:5,代码来源:general.php

示例13:

        ?>
</strong><br />
  <?php 
        echo HTML::fileField('{{input_file_name}}');
        ?>
<br />
  {{#image}}<a href="<?php 
        echo OSCOM::linkImage('Shop/');
        ?>
{{image}}" target="_blank">{{image}}</a><br /><br />{{/image}}
  <?php 
        echo OSCOM::getDef('text_products_large_image_html_content');
        ?>
<br />
  <?php 
        echo HTML::textareaField('{{input_html_content_name}}', '70', '3', '{{html_content}}', null, false);
        ?>
</li>
</script>

<div class="modal" tabindex="-1" role="dialog" id="piDelConfirm">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

        <h4 class="modal-title"><?php 
        echo OSCOM::getDef('text_products_large_image_delete_title');
        ?>
</h4>
      </div>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:categories.php

示例14:

        echo OSCOM::getConfig('dir_root', 'Shop') . 'images/';
        ?>
</div>
        <?php 
        echo HTML::inputField('banners_image_target');
        ?>
      </div>
    </div>

    <div class="form-group">
      <label for="banners_html_text"><?php 
        echo OSCOM::getDef('text_banners_html_text');
        ?>
</label>
      <?php 
        echo HTML::textareaField('banners_html_text', '60', '5', $bInfo->banners_html_text);
        ?>
    </div>

    <div class="form-group">
      <label for="date_scheduled"><?php 
        echo OSCOM::getDef('text_banners_scheduled_at');
        ?>
</label>
      <?php 
        echo HTML::inputField('date_scheduled', $bInfo->date_scheduled, 'id="date_scheduled"', 'date');
        ?>
    </div>

    <div class="form-group">
      <label for="expires_date"><?php 
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:banner_manager.php

示例15:

</label>
      <div class="col-sm-9">
        <?php 
    echo HTML::inputField('email', NULL, 'required aria-required="true" id="inputFromEmail" placeholder="' . OSCOM::getDef('entry_email_address_text') . '"', 'email');
    echo OSCOM::getDef('form_required_input');
    ?>
      </div>
    </div>
    <div class="form-group has-feedback">
      <label for="inputEnquiry" class="control-label col-sm-3"><?php 
    echo OSCOM::getDef('entry_enquiry');
    ?>
</label>
      <div class="col-sm-9">
        <?php 
    echo HTML::textareaField('enquiry', 50, 15, NULL, 'required aria-required="true" id="inputEnquiry" placeholder="' . OSCOM::getDef('entry_enquiry_text') . '"');
    echo OSCOM::getDef('form_required_input');
    ?>
      </div>
    </div>
  </div>

  <div class="buttonSet">
    <div class="text-right"><?php 
    echo HTML::button(OSCOM::getDef('image_button_continue'), 'fa fa-send', null, null, 'btn-success');
    ?>
</div>
  </div>
</div>

</form>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:contact_us.php


注:本文中的OSC\OM\HTML::textareaField方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。