コード例 #1
0
?>
      </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>
コード例 #2
0
ファイル: mail.php プロジェクト: haraldpdl/oscommerce2
                    <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>
コード例 #3
0
ファイル: error_log.php プロジェクト: haraldpdl/oscommerce2
<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');
コード例 #4
0
ファイル: contact_us.php プロジェクト: tiansiyuan/oscommerce2
</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>
コード例 #5
0
ファイル: server_info.php プロジェクト: haraldpdl/oscommerce2
?>
</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>
コード例 #6
0
<?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">
コード例 #7
0
function sage_pay_form_textarea_field($value = '', $key = '')
{
    return HTML::textareaField('configuration[' . $key . ']', 60, 5, $value);
}
コード例 #8
0
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;
?>
コード例 #9
0
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>
コード例 #10
0
ファイル: orders.php プロジェクト: haraldpdl/oscommerce2
        ?>
</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">
コード例 #11
0
      </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">
コード例 #12
0
ファイル: general.php プロジェクト: haraldpdl/oscommerce2
function tep_cfg_textarea($text, $key = '')
{
    $name = tep_not_null($key) ? 'configuration[' . $key . ']' : 'configuration_value';
    return HTML::textareaField($name, 35, 5, $text);
}
コード例 #13
0
ファイル: categories.php プロジェクト: haraldpdl/oscommerce2
        ?>
</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>
コード例 #14
0
        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 
コード例 #15
0
ファイル: contact_us.php プロジェクト: haraldpdl/oscommerce2
</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>
コード例 #16
0
ファイル: reviews.php プロジェクト: haraldpdl/oscommerce2
        ?>
</strong> <?php 
        echo HTML::radioField('reviews_status', '1', $in_status) . '&nbsp;' . OSCOM::getDef('text_review_published') . '&nbsp;' . HTML::radioField('reviews_status', '0', $out_status) . '&nbsp;' . OSCOM::getDef('text_review_not_published');
        ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="main" valign="top"><strong><?php 
        echo OSCOM::getDef('entry_review');
        ?>
</strong><br /><br /><?php 
        echo HTML::textareaField('reviews_text', '60', '15', $rInfo->reviews_text);
        ?>
</td>
          </tr>
          <tr>
            <td class="smallText" align="right"><?php 
        echo OSCOM::getDef('entry_review_text');
        ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td class="main"><strong><?php 
        echo OSCOM::getDef('entry_rating');
        ?>
コード例 #17
0
ファイル: braintree_cc.php プロジェクト: Akofelaz/oscommerce2
function tep_cfg_braintree_cc_set_client_key($value, $name)
{
    return HTML::textareaField('configuration[' . $name . ']', '50', '12', $value);
}
コード例 #18
0
?>
      </div>
    </div>
  </div>

  <hr>

  <div class="contentText">
    <div class="form-group has-feedback">
      <label for="inputMessage" class="control-label col-sm-3"><?php 
echo 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="' . ENTRY_FORM_TITLE_FRIEND_MESSAGE_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
  </div>

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

  <div class="row">
    <div class="col-sm-6 text-right pull-right"><?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success');
?>
</div>
    <div class="col-sm-6"><?php 
echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('product_info.php', 'products_id=' . $Qproduct->valueInt('products_id')));
コード例 #19
0
ファイル: newsletters.php プロジェクト: haraldpdl/oscommerce2
                <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('content_html', '60', '15', $nInfo->content_html);
    ?>
                </div>

                <div role="tabpanel" class="tab-pane" id="plain_email">
                  <?php 
    echo HTML::textareaField('content', '60', '15', $nInfo->content);
    ?>
                </div>
              </div>
            </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td class="smallText" align="right"><?php 
    echo HTML::button(OSCOM::getDef('image_save'), 'fa fa-save') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&' . (isset($_GET['nID']) ? 'nID=' . $_GET['nID'] : '')));
    ?>
</td>
          </tr>