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


PHP HTML::button方法代码示例

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


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

示例1: confirm

 function confirm()
 {
     $OSCOM_Db = Registry::get('Db');
     $Qmail = $OSCOM_Db->get('customers', 'count(*) as count', ['customers_newsletter' => '1']);
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><strong>' . OSCOM::getDef('text_count_customers', ['count' => $Qmail->valueInt('count')]) . '</strong></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>&nbsp;</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><strong>' . $this->title . '</strong></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>&nbsp;</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main">' . "\n" . '      <ul class="nav nav-tabs" role="tablist">' . "\n" . '        <li role="presentation" class="active"><a href="#html_preview" aria-controls="html_preview" role="tab" data-toggle="tab">' . OSCOM::getDef('email_type_html') . '</a></li>' . "\n" . '        <li role="presentation"><a href="#plain_preview" aria-controls="plain_preview" role="tab" data-toggle="tab">' . OSCOM::getDef('email_type_plain') . '</a></li>' . "\n" . '      </ul>' . "\n" . '      <div class="tab-content">' . "\n" . '        <div role="tabpanel" class="tab-pane active" id="html_preview">' . "\n" . '          <iframe id="emailHtmlPreviewContent" style="width: 100%; height: 400px; border: 0;"></iframe>' . "\n" . '          <script id="emailHtmlPreview" type="x-tmpl-mustache">' . "\n" . '            ' . HTML::outputProtected($this->content_html) . "\n" . '          </script>' . "\n" . '          <script>' . "\n" . '            $(function() {' . "\n" . '              var content = $(\'<div />\').html($(\'#emailHtmlPreview\').html()).text();' . "\n" . '              $(\'#emailHtmlPreviewContent\').contents().find(\'html\').html(content);' . "\n" . '            });' . "\n" . '          </script>' . "\n" . '        </div>' . "\n" . '        <div role="tabpanel" class="tab-pane" id="plain_preview">' . "\n" . '          ' . nl2br(HTML::outputProtected($this->content)) . "\n" . '        </div>' . "\n" . '      </div>' . "\n" . '    </td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>&nbsp;</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="smallText" align="right">' . HTML::button(OSCOM::getDef('image_send'), 'fa fa-envelope', OSCOM::link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send')) . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'])) . '</td>' . "\n" . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:7,代码来源:newsletter.php

示例2: array

        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_2') . '<br />' . HTML::inputField('countries_iso_code_2', $cInfo->countries_iso_code_2));
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_3') . '<br />' . HTML::inputField('countries_iso_code_3', $cInfo->countries_iso_code_3));
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_address_format') . '<br />' . HTML::selectField('address_format_id', tep_get_address_formats(), $cInfo->address_format_id));
        $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id)));
        break;
    case 'delete':
        $heading[] = array('text' => '<strong>' . OSCOM::getDef('text_info_heading_delete_country') . '</strong>');
        $contents = array('form' => HTML::form('countries', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=deleteconfirm')));
        $contents[] = array('text' => OSCOM::getDef('text_info_delete_intro'));
        $contents[] = array('text' => '<br /><strong>' . $cInfo->countries_name . '</strong>');
        $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id)));
        break;
    default:
        if (is_object($cInfo)) {
            $heading[] = array('text' => '<strong>' . $cInfo->countries_name . '</strong>');
            $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=edit')) . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=delete')));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_name') . '<br />' . $cInfo->countries_name);
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_2') . ' ' . $cInfo->countries_iso_code_2);
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_3') . ' ' . $cInfo->countries_iso_code_3);
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_address_format') . ' ' . $cInfo->address_format_id);
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
          </tr>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:countries.php

示例3:

        <?php 
echo HTML::inputField('HTTP_WWW_ADDRESS', $www_location, 'required aria-required="true" id="wwwAddress" placeholder="http://"');
?>
        <span class="help-block">The web address to the online store.</span>
      </div>

      <div class="form-group has-feedback">
        <label for="webRoot">Webserver Root Directory</label>
        <?php 
echo HTML::inputField('DIR_FS_DOCUMENT_ROOT', str_replace('\\', '/', FileSystem::displayPath($dir_fs_www_root)), 'required aria-required="true" id="webRoot"');
?>
        <span class="help-block">The directory where the online store is installed on the server.</span>
      </div>

      <p><?php 
echo HTML::button('Continue to Step 3', 'triangle-1-e', null, null, 'btn-success');
?>
</p>

<?php 
foreach ($_POST as $key => $value) {
    if ($key != 'x' && $key != 'y') {
        echo HTML::hiddenField($key, $value);
    }
}
?>

    </form>
  </div>

  <div class="col-xs-12 col-sm-pull-9 col-sm-3">
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:install_2.php

示例4:

echo ENTRY_FAX_NUMBER;
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::inputField('fax', $Qaccount->value('customers_fax'), 'id="inputFax" placeholder="' . ENTRY_FAX_NUMBER_TEXT . '"');
?>
      </div>
    </div>


    <br />

    <div class="row">
      <div class="col-xs-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-xs-6"><?php 
echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('account.php', '', 'SSL'));
?>
</div>
    </div>

  </div>

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
开发者ID:tiansiyuan,项目名称:oscommerce2,代码行数:31,代码来源:account_edit.php

示例5:

<div class="contentContainer">
  <div class="contentText">

    <div class="panel panel-danger">
      <div class="panel-heading"><?php 
echo BOX_INFORMATION_HEADING;
?>
</div>
      <div class="panel-body">
        <?php 
echo BOX_INFORMATION;
?>
      </div>
    </div>

    <?php 
echo TEXT_INFORMATION;
?>

  </div>

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

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
开发者ID:Akofelaz,项目名称:oscommerce2,代码行数:31,代码来源:ssl_check.php

示例6: substr

            if (substr($file, strrpos($file, '.')) == '.php') {
                $class = 'securityCheckExtended_' . substr($file, 0, strrpos($file, '.'));
                include OSCOM::getConfig('dir_root') . 'includes/modules/security_check/extended/' . $file;
                ${$class} = new $class();
                $modules[] = array('title' => isset(${$class}->title) ? ${$class}->title : substr($file, 0, strrpos($file, '.')), 'class' => $class, 'code' => substr($file, 0, strrpos($file, '.')));
            }
        }
    }
    $extdir->close();
}
usort($modules, 'tep_sort_secmodules');
require $oscTemplate->getFile('template_top.php');
?>

<div style="float: right;"><?php 
echo HTML::button('Reload', 'fa fa-refresh', OSCOM::link('security_checks.php'));
?>
</div>

<h1 class="pageHeading"><?php 
echo OSCOM::getDef('heading_title');
?>
</h1>

<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr class="dataTableHeadingRow">
    <td class="dataTableHeadingContent" width="20">&nbsp;</td>
    <td class="dataTableHeadingContent"><?php 
echo OSCOM::getDef('table_heading_title');
?>
</td>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:security_checks.php

示例7:

echo HTML::passwordField('password', NULL, 'minlength="' . ENTRY_PASSWORD_MIN_LENGTH . '" required aria-required="true" id="inputPassword" placeholder="' . ENTRY_PASSWORD_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
    <div class="form-group has-feedback">
      <label for="inputConfirmation" class="control-label col-sm-3"><?php 
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::passwordField('confirmation', NULL, 'minlength="' . ENTRY_PASSWORD_MIN_LENGTH . '" required aria-required="true" id="inputConfirmation" placeholder="' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
  </div>

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

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
开发者ID:Akofelaz,项目名称:oscommerce2,代码行数:31,代码来源:create_account.php

示例8:

            <?php 
echo HTML::radioField('rating', '1', null, 'required aria-required="true"') . HTML::stars(1, false) . ' ' . TEXT_BAD;
?>
          </label>
        </div>
      </div>
    </div>


  </div>

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

  <div class="row">
    <div class="col-xs-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-xs-6"><?php 
echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('product_reviews.php', tep_get_all_get_params(array('reviews_id', 'action'))));
?>
</div>
  </div>

</div>

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
开发者ID:Akofelaz,项目名称:oscommerce2,代码行数:31,代码来源:product_reviews_write.php

示例9: array

                    $contents[] = array('text' => HTML::radioField('compress', 'zip') . ' ' . OSCOM::getDef('text_info_use_zip'));
                }
                if ($dir_ok == true) {
                    $contents[] = array('text' => HTML::checkboxField('download', 'yes') . ' ' . OSCOM::getDef('text_info_download_only') . '*<br /><br />*' . OSCOM::getDef('text_info_best_through_https'));
                } else {
                    $contents[] = array('text' => HTML::radioField('download', 'yes', true) . ' ' . OSCOM::getDef('text_info_download_only') . '*<br /><br />*' . OSCOM::getDef('text_info_best_through_https'));
                }
                $contents[] = array('text' => HTML::button(OSCOM::getDef('image_backup'), 'fa fa-copy', null, null, 'btn-success') . HTML::button(OSCOM::getDef('image_cancel'), null, OSCOM::link(FILENAME_BACKUP), null, 'btn-link'));
                break;
            case 'restorelocal':
                $heading[] = array('text' => OSCOM::getDef('text_info_heading_restore_local'));
                $contents = array('form' => HTML::form('restore', OSCOM::link(FILENAME_BACKUP, 'action=restorelocalnow'), 'post', 'enctype="multipart/form-data"'));
                $contents[] = array('text' => OSCOM::getDef('text_info_restore_local') . '<br /><br />' . OSCOM::getDef('text_info_best_through_https'));
                $contents[] = array('text' => HTML::fileField('sql_file'));
                $contents[] = array('text' => OSCOM::getDef('text_info_restore_local_raw_file'));
                $contents[] = array('text' => HTML::button(OSCOM::getDef('image_restore'), 'fa fa-repeat', null, null, 'btn-success') . HTML::button(OSCOM::getDef('image_cancel'), null, OSCOM::link(FILENAME_BACKUP), null, 'btn-link'));
                break;
        }
    }
    if (tep_not_null($heading) && tep_not_null($contents)) {
        $show_listing = false;
        echo HTML::panel($heading, $contents, ['type' => 'info']);
    }
}
if ($show_listing === true) {
    ?>

<table class="oscom-table table table-hover">
  <thead>
    <tr class="info">
      <th><?php 
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:backup.php

示例10: array

<?php 
    } else {
        if (sizeof($_SESSION['navigation']->snapshot) > 0) {
            $back_link = OSCOM::link($_SESSION['navigation']->snapshot['page'], tep_array_to_string($_SESSION['navigation']->snapshot['get'], array(session_name())), $_SESSION['navigation']->snapshot['mode']);
        } else {
            $back_link = OSCOM::link('address_book.php', '', 'SSL');
        }
        ?>

  <div class="row">
    <div class="col-sm-6 text-right pull-right"><?php 
        echo HTML::hiddenField('action', 'process') . HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, null, null, 'btn-success');
        ?>
</div>
    <div class="col-sm-6"><?php 
        echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', $back_link);
        ?>
</div>
  </div>

<?php 
    }
    ?>

</div>

</form>

<?php 
}
?>
开发者ID:tiansiyuan,项目名称:oscommerce2,代码行数:31,代码来源:address_book_process.php

示例11:

          <p><?php 
echo OSCOM::getDef('checkout_bar_confirmation');
?>
</p>
        </div>
      </div>
    </div>
  </div>


<?php 
if ($process == true) {
    ?>

  <div class="buttonSet">
    <?php 
    echo HTML::button(OSCOM::getDef('image_button_back'), 'fa fa-angle-left', OSCOM::link('checkout_payment_address.php'));
    ?>
  </div>

<?php 
}
?>

</div>

</form>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:checkout_payment_address.php

示例12:

                    </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>
          </form></tr>
<?php 
}
?>
        </table></td>
      </tr>
    </table>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:mail.php

示例13: array

            $contents[] = array('text' => OSCOM::getDef('text_info_edit_zone_intro'));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_zone_name') . '<br />' . HTML::inputField('geo_zone_name', $zInfo->geo_zone_name));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_zone_description') . '<br />' . HTML::inputField('geo_zone_description', $zInfo->geo_zone_description));
            $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id)));
            break;
        case 'delete_zone':
            $heading[] = array('text' => '<strong>' . OSCOM::getDef('text_info_heading_delete_zone') . '</strong>');
            $contents = array('form' => HTML::form('zones', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=deleteconfirm_zone')));
            $contents[] = array('text' => OSCOM::getDef('text_info_delete_zone_intro'));
            $contents[] = array('text' => '<br /><strong>' . $zInfo->geo_zone_name . '</strong>');
            $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id)));
            break;
        default:
            if (isset($zInfo) && is_object($zInfo)) {
                $heading[] = array('text' => '<strong>' . $zInfo->geo_zone_name . '</strong>');
                $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=edit_zone')) . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=delete_zone')) . HTML::button(OSCOM::getDef('image_details'), 'fa fa-info', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=list')));
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_number_zones') . ' ' . $zInfo->num_zones);
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_date_added') . ' ' . DateTime::toShort($zInfo->date_added));
                if (tep_not_null($zInfo->last_modified)) {
                    $contents[] = array('text' => OSCOM::getDef('text_info_last_modified') . ' ' . DateTime::toShort($zInfo->last_modified));
                }
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_zone_description') . '<br />' . $zInfo->geo_zone_description);
            }
            break;
    }
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:geo_zones.php

示例14:

</span><span class="pull-right"><?php 
    echo OSCOM::getDef('text_result_page');
    ?>
</span></div>
  </div>

<?php 
} else {
    ?>

  <div class="alert alert-info">
    <p><?php 
    echo OSCOM::getDef('text_no_purchases');
    ?>
</p>
  </div>

<?php 
}
?>

  <div class="buttonSet">
    <?php 
echo HTML::button(OSCOM::getDef('image_button_back'), 'fa fa-angle-left', OSCOM::link('account.php'));
?>
  </div>
</div>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:31,代码来源:account_history.php

示例15: Store

<div class="row">
  <div class="col-xs-12 col-sm-push-3 col-sm-9">
    <h1>Finished!</h1>

    <div class="alert alert-success">The installation of your online store was successful! Click on either button to start your online selling experience:</div>

    <br />

    <div class="row">
      <div class="col-sm-6"><?php 
echo HTML::button('Online Store (Frontend)', 'fa fa-shopping-cart', $http_server . $http_catalog . 'index.php', array('newwindow' => 1), 'btn-success btn-block');
?>
</div>
      <div class="col-sm-6"><?php 
echo HTML::button('Administration Dashboard (Backend)', 'fa fa-lock', $http_server . $http_catalog . $admin_folder . '/index.php', array('newwindow' => 1), 'btn-info btn-block');
?>
</div>
    </div>
  </div>

  <div class="col-xs-12 col-sm-pull-9 col-sm-3">
    <div class="panel panel-success">
      <div class="panel-heading">
        <div class="panel-title">
          Step 4: Finished!
        </div>
      </div>

      <div class="panel-body">
        <p>Congratulations on installing and configuring osCommerce Online Merchant as your online store solution!</p>
开发者ID:haraldpdl,项目名称:oscommerce2,代码行数:30,代码来源:install_4.php


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