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


PHP html::radio方法代码示例

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


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

示例1:

          <th><?php 
echo $lang->wechat->token;
?>
</th>
          <td><?php 
echo html::input('token', '', "class='form-control' placeholder='{$lang->wechat->placeholder->token}'");
?>
</td>
        </tr>
        <tr>
          <th><?php 
echo $lang->wechat->certified;
?>
</th>
          <td><?php 
echo html::radio('certified', $lang->wechat->certifiedList, '0');
?>
</td>
        </tr>
        <tr>
          <th></th>
          <td><?php 
echo html::submitButton();
?>
</td>
        </tr>
      </table>
    </form>
  </div>
</div>
<?php 
开发者ID:peirancao,项目名称:chanzhieps,代码行数:31,代码来源:create.html.php

示例2:

?>
            <span class='add-on'><button class="btn btn-default" type="button"><i class="icon-calendar"></i></button></span>
          </div>
        </td>
        <td><span class='help-inline'><?php 
echo $lang->article->placeholder->addedDate;
?>
</span></td>
      </tr>
      <tr>
        <th><?php 
echo $lang->article->status;
?>
</th>
        <td><?php 
echo html::radio('status', $lang->article->statusList, $article->status);
?>
</td>
      </tr>
      </tbody>
      <tr>
        <th></th><td colspan='2'><?php 
echo html::submitButton();
?>
</td>
      </tr>
    </table>
  </form>
  </div>
</div>
开发者ID:dyp8848,项目名称:chanzhieps,代码行数:30,代码来源:edit.html.php

示例3: inlink

 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPLV12 (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     product
 * @version     $Id$
 * @link        http://www.chanzhi.org
 */
include '../../common/view/header.modal.html.php';
?>
<form id='ajaxForm' action="<?php 
echo inlink('currency');
?>
" method='post'>
  <table class="table table-form">
    <tr>
      <td><?php 
echo html::radio('currency', $lang->product->currencyList, isset($config->product->currency) ? $config->product->currency : '');
?>
</td>
    </tr>
    <tr>
      <td><?php 
echo html::submitButton();
?>
</td>
    </tr>
  </table>
</form>
<?php 
include '../../common/view/footer.modal.html.php';
开发者ID:wenyinos,项目名称:chanzhieps,代码行数:31,代码来源:currency.html.php

示例4: isset

    <li><?php 
common::printLink('admin', 'checkWeak', '', $lang->admin->safe->checkWeak);
?>
</li>
  </ul>
</div>
<div class='container mw-800px'>
  <form method='post' target='hiddenwin'>
    <table class='table table-form'>
      <tr>
        <th class='w-100px'><?php 
echo $lang->admin->safe->password;
?>
</th>
        <td><?php 
echo html::radio('mode', $lang->admin->safe->modeList, isset($config->safe->mode) ? $config->safe->mode : 0);
?>
</td>
        <td><?php 
echo $lang->admin->safe->noticeMode;
?>
</td>
      </tr>
      <tr>
        <th></th>
        <td colspan='2'><span style='color:#03b8cf;font-weight:bold;'><?php 
echo $lang->admin->safe->noticeStrong;
?>
</span></td>
      </tr>
      <tr>
开发者ID:caiwenhao,项目名称:zentao,代码行数:31,代码来源:safe.html.php

示例5:

?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->productplan->end;
?>
</th>
        <td>
          <?php 
echo html::input('end', '', "class='form-control form-date'");
?>
        </td>
        <td>
          &nbsp; &nbsp; <?php 
echo html::radio('delta', $lang->productplan->endList, '', "onclick='computeEndDate(this.value)'");
?>
        </td>
      </tr>
      <tr>
        <th><?php 
echo $lang->productplan->desc;
?>
</th>
        <td colspan='2'><?php 
echo html::textarea('desc', '', "rows='10' class='form-control'");
?>
</td>
      </tr>
      <tr>
        <td></td>
开发者ID:caiwenhao,项目名称:zentao,代码行数:31,代码来源:create.html.php

示例6:

    echo html::input('zipcode', '', "class='form-control' placeholder='{$lang->address->zipcode}'");
    ?>
</td>
              <td class='w-50px text-middle'><strong class='icon icon-remove' style='cursor:pointer'> </i></td>
            </tr>
          </table>
        </div>
      </div>
      <div id='paymentBox'>
        <h5><?php 
    echo $lang->order->payment;
    ?>
</h5>
        <dl>
          <dd id='payment'><?php 
    echo html::radio('payment', $paymentList);
    ?>
</dd>
        </dl>
      </div>
      <table class='table table-list'>
        <thead>
          <tr class='text-center'>
            <td colspan='2' class='text-left'><strong><?php 
    echo $lang->order->productInfo;
    ?>
</strong></td>
            <td class='text-left'><?php 
    echo $lang->order->price;
    ?>
</td>
开发者ID:echenxin-company,项目名称:QuanFangXing,代码行数:31,代码来源:confirm.html.php

示例7: unset

echo $lang->customer->selectContact;
?>
            </label>
          </span>
        </div>
      </td>
    </tr>
    <tbody id='contactInfo' class='hidden'>
      <tr>
        <th><?php 
echo $lang->contact->gender;
?>
</th>
        <td><?php 
unset($lang->genderList->u);
echo html::radio('gender', $lang->genderList, '');
?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->contact->email;
?>
</th>
        <td><?php 
echo html::input('email', '', "class='form-control'");
?>
</td>
      </tr>
      <tr>
        <th><?php 
开发者ID:leowh,项目名称:colla,代码行数:31,代码来源:linkcontact.html.php

示例8: sprintf

            <?php 
echo html::input('allowedLocation', $allowedLocation, "class='hide'");
?>
            <?php 
echo $allowedLocation == $location ? '' : html::a('', sprintf($lang->site->useLocation, $location), "id='useLocation' class=''");
?>
          </td>
        </tr>
        <tr>
          <th><?php 
echo $lang->site->checkSessionIP;
?>
</th>
          <td colspan='3'>
            <?php 
echo html::radio('checkSessionIP', $lang->site->sessionIpoptions, isset($this->config->site->checkSessionIP) ? $this->config->site->checkSessionIP : 0);
?>
            <br/><span class='text-important'><?php 
echo $lang->site->sessionIpTip;
?>
</span>
          </td>
        </tr>
        <tr>
          <th class='w-200px'><?php 
echo $lang->site->checkIP;
?>
</th>
          <td colspan='3'>
            <?php 
echo html::textarea('allowedIP', isset($this->config->site->allowedIP) ? $this->config->site->allowedIP : '', "class='form-control'");
开发者ID:jnan77,项目名称:chanzhieps,代码行数:31,代码来源:setsecurity.html.php

示例9: isset

<?php

/**
 * The category form view file of block module of chanzhiEPS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPLV1 (http://www.chanzhi.org/license/)
 * @author      Yidong wang <yidong@cnezsoft.com>
 * @package     block
 * @version     $Id$
 * @link        http://www.chanzhi.org
*/
?>
<tr>
  <th><?php 
echo $lang->block->category->showChildren;
?>
</th>
  <td><?php 
echo html::radio('params[showChildren]', $lang->block->category->showChildrenList, isset($block->content->showChildren) ? $block->content->showChildren : 'no');
?>
</td>
</tr>
开发者ID:AlenWon,项目名称:chanzhieps,代码行数:23,代码来源:articletree.form.php

示例10:

<?php

if (!defined("RUN_MODE")) {
    die;
}
?>
<div class='lineTypeBar'> <?php 
if (!empty($lineCharts)) {
    ?>
 <div><?php 
    echo html::radio('lineType', $lang->stat->dataTypes, 'pv');
    ?>
</div><?php 
}
?>
 </div>
<div class='chart-canvas'><canvas height='260' width='900' id='lineChart'></canvas></div>
开发者ID:hansen1416,项目名称:eastsoft,代码行数:17,代码来源:linechart.html.php

示例11: empty

    <th><?php 
echo $lang->sms->debug;
?>
</th>
    <td><?php 
echo html::radio('debug', $lang->sms->turnonList, empty($smsConfig->debug) ? '' : $smsConfig->debug);
?>
</td>
  </tr>
  <tr>
    <th><?php 
echo $lang->sms->method;
?>
</th>
    <td><?php 
echo html::radio('method', $lang->sms->methodList, empty($smsConfig->method) ? '' : $smsConfig->method);
?>
</td>
  </tr>
  <tr>
    <th><?php 
echo $lang->sms->url;
?>
</th>
    <td><?php 
echo html::input('url', empty($smsConfig->url) ? '' : $smsConfig->url, "class='form-control'");
?>
</td>
  </tr>
  <tr>
    <th><?php 
开发者ID:xupnge1314,项目名称:project,代码行数:31,代码来源:index.html.php

示例12:

?>
 <?php 
echo html::icon('pencil');
?>
</small>
    </div>
  </div>
  <form class='form-condensed' method='post' id='dataform'>
    <table class='table table-form'>
      <tr>
        <th class='rowhead w-120px'><?php 
echo $lang->sso->turnon;
?>
</th>
        <td><?php 
echo html::radio('turnon', $lang->sso->turnonList, $turnon);
?>
</td>
      </tr>
      <tr>
        <th><?php 
echo $lang->sso->addr;
?>
</th>
        <td><?php 
echo html::input('addr', $addr, "class='form-control' placeholder='{$lang->sso->addrNotice}'");
?>
</td>
      </tr>
      <tr>
        <th><?php 
开发者ID:universal-youth,项目名称:pm.universal-youth.com,代码行数:31,代码来源:sso.html.php

示例13:

echo $lang->article->content;
?>
</th>
        <td colspan='2'><?php 
echo $article->content;
?>
</td>
      </tr>
      </tbody>
      <tr>
        <th class='w-100px'><?php 
echo $lang->article->type;
?>
</th>
        <td><?php 
echo html::radio("type", $lang->contribution->typeList, 'article');
?>
</td><td></td>
      </tr>
      <tr>
        <th class='w-100px'><?php 
echo $lang->article->category;
?>
</th>
        <td class='articleTD'><?php 
echo html::select("articleCategories[]", $articleCategories, array_keys($article->categories), "multiple='multiple' class='form-control chosen'");
?>
</td>
        <td class='blogTD'><?php 
echo html::select("blogCategories[]", $blogCategories, array_keys($article->categories), "multiple='multiple' class='form-control chosen'");
?>
开发者ID:eric0614,项目名称:chanzhieps,代码行数:31,代码来源:check.html.php

示例14: isset

 * The category form view file of block module of chanzhiEPS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPLV12 (http://zpl.pub/page/zplv12.html)
 * @author      Yidong wang <yidong@cnezsoft.com>
 * @package     block
 * @version     $Id$
 * @link        http://www.chanzhi.org
*/
?>
<tr>
  <th><?php 
echo $lang->block->category->showChildren;
?>
</th>
  <td><?php 
echo html::radio('params[showChildren]', $lang->block->category->showChildrenList, isset($block->content->showChildren) ? $block->content->showChildren : 'no');
?>
</td>
</tr>
<tr>
  <th><?php 
echo $lang->block->category->fromCurrent;
?>
</th>
  <td><?php 
echo html::radio('params[fromCurrent]', $lang->block->category->fromCurrentList, isset($block->content->fromCurrent) ? $block->content->fromCurrent : 'no');
?>
</td>
</tr>
开发者ID:hansen1416,项目名称:eastsoft,代码行数:30,代码来源:articletree.form.php

示例15: htmlspecialchars

        <th><?php 
echo $lang->project->desc;
?>
</th>
        <td colspan='2'><?php 
echo html::textarea('desc', htmlspecialchars($project->desc), "rows='6' class='form-control'");
?>
</td>
      </tr>  
      <tr>
        <th><?php 
echo $lang->project->acl;
?>
</th>
        <td colspan='2'><?php 
echo nl2br(html::radio('acl', $lang->project->aclList, $project->acl, "onclick='setWhite(this.value);'", 'block'));
?>
</td>
      </tr>  
      <tr id='whitelistBox' <?php 
if ($project->acl != 'custom') {
    echo "class='hidden'";
}
?>
>
        <th><?php 
echo $lang->project->whitelist;
?>
</th>
        <td colspan='2' id='whitelistBox'><?php 
echo html::checkbox('whitelist', $groups, $project->whitelist);
开发者ID:heeeello,项目名称:zentaopms,代码行数:31,代码来源:edit.html.php


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