• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP lc_draw_checkbox_field函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中lc_draw_checkbox_field函数的典型用法代码示例。如果您正苦于以下问题:PHP lc_draw_checkbox_field函数的具体用法?PHP lc_draw_checkbox_field怎么用?PHP lc_draw_checkbox_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



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

示例1: getParameters

 public function getParameters()
 {
     global $lC_Language;
     $groups = array();
     $groups_ids = array();
     foreach ($this->_groups as $group) {
         if ($group['id'] != '1') {
             $groups[] = array('text' => $group['title'], 'id' => $group['id']);
             $groups_ids[] = $group['id'];
         }
     }
     return array(array('key' => $lC_Language->get('images_resize_field_groups'), 'field' => lc_draw_pull_down_menu('groups[]', $groups, $groups_ids, 'multiple="multiple" size="5" class="input full-width"')), array('key' => $lC_Language->get('images_resize_field_overwrite_images'), 'field' => lc_draw_checkbox_field('overwrite', '1', null, 'class="input"')));
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:13,代码来源:resize.php


示例2: lc_cfg_set_credit_cards_checkbox_field

/**
  @package    admin::functions
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @copyright  Portions Copyright 2003 osCommerce
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: lc_cfg_set_credit_cards_checkbox_field.php v1.0 2013-08-08 datazen $
*/
function lc_cfg_set_credit_cards_checkbox_field($default, $key = null)
{
    global $lC_Database;
    $name = empty($key) ? 'configuration_value' : 'configuration[' . $key . '][]';
    $cc_array = array();
    $Qcc = $lC_Database->query('select id, credit_card_name from :table_credit_cards where credit_card_status = :credit_card_status order by sort_order, credit_card_name');
    $Qcc->bindTable(':table_credit_cards', TABLE_CREDIT_CARDS);
    $Qcc->bindInt(':credit_card_status', 1);
    $Qcc->execute();
    while ($Qcc->next()) {
        $cc_array[] = array('id' => $Qcc->valueInt('id'), 'text' => $Qcc->value('credit_card_name'));
    }
    return lc_draw_checkbox_field($name, $cc_array, explode(',', $default), 'class="checkbox"', '<br />');
}
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:22,代码来源:lc_cfg_set_credit_cards_checkbox_field.php


示例3: lc_draw_input_field

?>
"></span></label>
      <?php 
echo lc_draw_input_field('HTTP_WWW_ADDRESS', $www_location, 'class="input" style="width:93%;"');
?>
    </div>
    <div class="field-block button-height">
      <label for="web_use_ssl" class="label"><b><?php 
echo $lC_Language->get('param_web_use_ssl');
?>
</b>&nbsp;<span style="cursor:pointer;" class="hide-on-mobile hide-on-tablet icon-info-round icon-blue with-tooltip with-small-padding" data-tooltip-options='{"classes":["blue-gradient"],"position":"right"}' title="<?php 
echo $lC_Language->get('param_web_use_ssl_description');
?>
"></span></label>
      <?php 
echo lc_draw_checkbox_field('web_use_ssl', 'true', true, 'onclick="$(\'#sslInputContainer\').toggle();"');
?>
    </div>    
    <div id="sslInputContainer" class="field-block button-height">
      <label for="HTTPS_WEB_ADDRESS" class="label"><b><?php 
echo $lC_Language->get('param_web_ssl_address');
?>
</b>&nbsp;<span style="cursor:pointer;" class="hide-on-mobile hide-on-tablet icon-info-round icon-blue with-tooltip with-small-padding" data-tooltip-options='{"classes":["blue-gradient"],"position":"right"}' title="<?php 
echo $lC_Language->get('param_web_ssl_address_description');
?>
"></span></label>
      <?php 
echo lc_draw_input_field('HTTPS_WEB_ADDRESS', $www_ssl_location, 'class="input" style="width:93%;"');
?>
    </div>      
    <div class="field-block button-height">
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:upgrade_6.php


示例4: lc_draw_password_field

?>
"></span></label>
      <?php 
echo lc_draw_password_field('CFG_ADMINISTRATOR_PASSWORD', 'class="input" style="width:93%;"');
?>
    </div>
    <div class="field-block button-height">
      <label for="DB_INSERT_SAMPLE_DATA" class="label"><b><?php 
echo $lC_Language->get('param_database_import_sample_data');
?>
</b>&nbsp;<span style="cursor:pointer;" class="hide-on-mobile hide-on-tablet icon-info-round icon-blue with-tooltip with-small-padding" data-tooltip-options='{"classes":["blue-gradient"],"position":"right"}' title="<?php 
echo $lC_Language->get('param_database_import_sample_data_description');
?>
"></span></label>
      <?php 
echo lc_draw_checkbox_field('DB_INSERT_SAMPLE_DATA', 'true', true) . '&nbsp;' . $lC_Language->get('param_database_import_sample_data');
?>
    </div>    
    <div id="buttonContainer" class="margin-right" style="float:right">
      <a href="index.php" class="button">
        <span class="button-icon red-gradient glossy"><span class="icon-cross"></span></span>
        <?php 
echo addslashes($lC_Language->get('image_button_cancel'));
?>
      </a>&nbsp;&nbsp;  
      <a href="javascript:void(0);" onclick="$('#mBox').hide(); $('#pBox').hide(); $('#installForm3').submit();" class="button">
        <span class="button-icon blue-gradient glossy"><span class="icon-right-round"></span></span>
        <?php 
echo addslashes($lC_Language->get('image_button_continue'));
?>
      </a>
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:install_3.php


示例5: lc_draw_checkbox_field

                );
                win.closeModal();
              }
            }
          },
          buttonsLowPadding: true
      });
      $("#editTemplateFormKeys").html(data.keys);
      var defaultTemplate = '<?php 
echo DEFAULT_TEMPLATE;
?>
';
      if (data.code != defaultTemplate) {
        $("#editTemplateFormDefault").html('<table border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td width="30%"><?php 
echo '<b>' . $lC_Language->get('field_set_as_default') . '</b>';
?>
</td><td width="70%"><?php 
echo lc_draw_checkbox_field('default');
?>
</td></tr></table>');
      }
      if ($.template.mediaQuery.isSmallerThan('desktop')) {
        $('.modal').attr('style', 'top:10px !important; left: 25%;  margin-left: -50px;');  
      } 
      if ($.template.mediaQuery.isSmallerThan('tablet-portrait')) {
        $('.modal').attr('style', 'top:10px !important; left: 19%;  margin-left: -50px;');  
      }      
    }
  );
}
</script>
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:edit.php


示例6: foreach

  @version    $Id: relationships.php v1.0 2013-08-08 datazen $
*/
global $lC_Language, $product_categories_array, $assignedCategoryTree;
?>
<div id="section_relationships_content" class="with-padding"> 
  <fieldset class="fieldset">
    <legend class="legend"><?php 
echo $lC_Language->get('text_categories');
?>
</legend>
    <table border="0" width="100%" cellspacing="0" cellpadding="2" style="margin-top:-10px;">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tbody>
            <?php 
foreach ($assignedCategoryTree->getArray() as $value) {
    if ($value['mode'] == 'category') {
        echo '<tr>' . "\n" . '  <td width="30px" class="cat_rel_td">' . lc_draw_checkbox_field('categories[]', $value['id'], in_array($value['id'], $product_categories_array), 'class="input" id="categories_' . $value['id'] . '"') . '</td>' . "\n" . '  <td class="cat_rel_td"><a href="#" onclick="document.product.categories_' . $value['id'] . '.checked=!document.product.categories_' . $value['id'] . '.checked;">' . $value['title'] . '</a></td>' . "\n" . '</tr>' . "\n";
    }
}
?>
          </tbody>
        </table></td>
      </tr>
    </table>
    <br />
  </fieldset>
  <?php 
// VQMOD-hookpoint; DO NOT MODIFY OR REMOVE THIS LINE
?>
</div>
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:relationships.php


示例7: lc_draw_input_field

                   '        <label for="expires_impressions" class="label"><?php 
echo $lC_Language->get('field_maximum_impressions');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('expires_impressions', null, 'class="input" maxlength="7" size="7"');
?>
'+
                   '      </p>'+                       
                   '      <p class="button-height inline-label">'+
                   '        <label for="status" class="label"><?php 
echo $lC_Language->get('field_status');
?>
</label>'+
                   '         <?php 
echo '&nbsp;' . lc_draw_checkbox_field('status', null, null, 'class="switch medium checked" checked="checked" data-text-on="' . strtoupper($lC_Language->get('button_yes')) . '" data-text-off="' . strtoupper($lC_Language->get('button_no')) . '"');
?>
'+
                   '      </p>'+
                   '    </form>'+
                   '    <hr>'+
                   '    <div id="bannerNotes"><?php 
echo $lC_Language->get('info_banner_fields');
?>
</div>'+
                   '  </div>'+
                   '</div>',
          title: '<?php 
echo $lC_Language->get('modal_heading_new_banner');
?>
',
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:new.php


示例8: lc_draw_label

  @version    $Id: address_book_details.php v1.0 2013-08-08 datazen $
*/
if (ACCOUNT_GENDER > -1) {
    echo '<li>' . lc_draw_label($lC_Language->get('field_customer_gender'), null, 'fake', ACCOUNT_GENDER > 0) . lc_draw_radio_field('gender', array(array('id' => 'm', 'text' => $lC_Language->get('gender_male')), array('id' => 'f', 'text' => $lC_Language->get('gender_female'))), isset($Qentry) ? $Qentry->value('entry_gender') : (!$lC_Customer->hasDefaultAddress() ? $lC_Customer->getGender() : null)) . '</li>';
}
echo '<li>' . lc_draw_label($lC_Language->get('field_customer_first_name'), null, 'firstname', true) . lc_draw_input_field('firstname', isset($Qentry) ? $Qentry->value('entry_firstname') : (!$lC_Customer->hasDefaultAddress() ? $lC_Customer->getFirstName() : null)) . '</li>';
echo '<li>' . lc_draw_label($lC_Language->get('field_customer_last_name'), null, 'lastname', true) . lc_draw_input_field('lastname', isset($Qentry) ? $Qentry->value('entry_lastname') : (!$lC_Customer->hasDefaultAddress() ? $lC_Customer->getLastName() : null)) . '</li>';
if (ACCOUNT_COMPANY > -1) {
    echo '<li>' . lc_draw_label($lC_Language->get('field_customer_company'), null, 'company', ACCOUNT_COMPANY > 0) . lc_draw_input_field('company', isset($Qentry) ? $Qentry->value('entry_company') : null) . '</li>';
}
echo '<li>' . lc_draw_label($lC_Language->get('field_customer_street_address'), null, 'street_address', true) . lc_draw_input_field('street_address', isset($Qentry) ? $Qentry->value('entry_street_address') : null) . '</li>';
if (ACCOUNT_SUBURB > -1) {
    echo '<li>' . lc_draw_label($lC_Language->get('field_customer_suburb'), null, 'suburb', ACCOUNT_SUBURB > 0) . lc_draw_input_field('suburb', isset($Qentry) ? $Qentry->value('entry_suburb') : null) . '</li>';
}
if (ACCOUNT_POST_CODE > -1) {
    echo '<li>' . lc_draw_label($lC_Language->get('field_customer_post_code'), null, 'postcode', ACCOUNT_POST_CODE > 0) . lc_draw_input_field('postcode', isset($Qentry) ? $Qentry->value('entry_postcode') : null) . '</li>';
}
echo '<li>' . lc_draw_label($lC_Language->get('field_customer_city'), null, 'city', true) . lc_draw_input_field('city', isset($Qentry) ? $Qentry->value('entry_city') : null) . '</li>';
if (ACCOUNT_STATE > -1) {
    echo '<li>' . lc_draw_label($lC_Language->get('field_customer_state'), null, 'state', ACCOUNT_STATE > 0) . (isset($Qentry) ? lC_AddressBook::getZonesField($Qentry->valueInt('entry_country_id')) : lC_AddressBook::getZonesField(STORE_COUNTRY)) . '</li>';
}
echo '<li>' . lc_draw_label($lC_Language->get('field_customer_country'), null, 'country', true) . lc_draw_pull_down_menu('country', lC_AddressBook::getCountriesDropdownArray(), isset($Qentry) ? $Qentry->valueInt('entry_country_id') : STORE_COUNTRY) . '</li>';
if (ACCOUNT_TELEPHONE > -1) {
    echo '<li>' . lc_draw_label($lC_Language->get('field_customer_telephone_number'), null, 'telephone', ACCOUNT_TELEPHONE > 0) . lc_draw_input_field('telephone', isset($Qentry) ? $Qentry->value('entry_telephone') : null) . '</li>';
}
if (ACCOUNT_FAX > -1) {
    echo '<li>' . lc_draw_label($lC_Language->get('field_customer_fax_number'), null, 'fax', ACCOUNT_FAX > 0) . lc_draw_input_field('fax', isset($Qentry) ? $Qentry->value('entry_fax') : null) . '</li>';
}
if ($lC_Customer->hasDefaultAddress() && (isset($_GET['edit']) && $lC_Customer->getDefaultAddressID() != $_GET['address_book'] || isset($_GET['new']))) {
    echo '<li>' . lc_draw_label($lC_Language->get('set_as_primary'), null) . lc_draw_checkbox_field('primary') . '</li>';
}
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:address_book_details.php


示例9: lc_draw_input_field

                   '        <label for="sort_order" class="label"><?php 
echo $lC_Language->get('field_sort_order');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('sort_order', null, 'class="input full-width" id="editSortOrder"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="credit_card_status" class="label"><?php 
echo $lC_Language->get('field_active');
?>
</label>'+
                   '        <?php 
echo lc_draw_checkbox_field('credit_card_status', '1', null, 'id="editCreditCardStatus" class="switch medium" data-text-on="' . strtoupper($lC_Language->get('button_yes')) . '" data-text-off="' . strtoupper($lC_Language->get('button_no')) . '"');
?>
'+
                   '      </p>'+
                   '    </form>'+
                   '  </div>'+
                   '</div>',
          title: '<?php 
echo $lC_Language->get('modal_heading_edit_card');
?>
',
          width: 500,
                actions: {
            'Close' : {
              color: 'red',
              click: function(win) { win.closeModal(); }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:edit.php


示例10: lc_href_link

?>
<!--content/account/account_newsletters.php start-->
<div class="row">
  <div class="col-sm-12 col-lg-12">
    <h1 class="no-margin-top"><?php 
echo $lC_Template->getPageTitle();
?>
</h1>
    <form role="form" class="form-inline" name="account_newsletter" id="account_newsletter" action="<?php 
echo lc_href_link(FILENAME_ACCOUNT, 'newsletters=save', 'SSL');
?>
" method="post">
      <div class="well">
        <div class="checkbox">
          <label class=""><?php 
echo lc_draw_checkbox_field('newsletter_general', '1', $Qnewsletter->value('customers_newsletter'), null, null, null);
?>
&nbsp;<?php 
echo $lC_Language->get('newsletter_general');
?>
</label>
        </div>
        <p class="margin-top normal"><?php 
echo $lC_Language->get('newsletter_general_description');
?>
</p>
      </div>
    </form>
    <div class="btn-set small-margin-top clearfix">
      <button class="pull-right btn btn-lg btn-primary" onclick="$('#account_newsletter').submit();" type="button"><?php 
echo $lC_Language->get('button_update');
开发者ID:rajeshb001,项目名称:loaded7,代码行数:31,代码来源:account_newsletters.php


示例11: lc_draw_input_field

  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: new.php v1.0 2013-08-08 datazen $
*/
$content = '<div id="newCustomer">' . '  <div id="newCustomerForm">' . '    <form name="customers" id="customers" autocomplete="off" action="" method="post">';
if (ACCOUNT_GENDER > -1) {
    $content .= '<p>' . $lC_Language->get('introduction_new_customer') . '</p>' . '<p class="button-height inline-label">' . '  <label for="gender" class="label" style="width:30%;">' . $lC_Language->get('field_gender') . '</label>' . '  <span class="button-group">' . '    <label for="gender-1" class="button green-active">' . '    <input type="radio" name="gender" id="gender-1" value="m" checked>' . $lC_Language->get('gender_male') . '</label>' . '    <label for="gender-2" class="button green-active">' . '    <input type="radio" name="gender" id="gender-2" value="f">' . $lC_Language->get('gender_female') . '</label>' . '  </span>' . '</p>';
}
$content .= '<p class="button-height inline-label">' . '  <label for="firstname" class="label" style="width:30%;">' . $lC_Language->get('field_first_name') . '</label>' . lc_draw_input_field('firstname', null, 'class="input" style="width:90%;"') . '</p>' . '<p class="button-height inline-label">' . '  <label for="lastname" class="label" style="width:30%;">' . $lC_Language->get('field_last_name') . '</label>' . lc_draw_input_field('lastname', null, 'class="input" style="width:90%;"') . '</p>';
if (ACCOUNT_DATE_OF_BIRTH == '1') {
    $content .= '<p class="button-height inline-label">' . '  <label for="dob" class="label" style="width:30%;">' . $lC_Language->get('field_date_of_birth') . '</label>' . '  <span class="input">' . '    <span class="icon-calendar"></span>' . lc_draw_input_field('dob', null, 'class="input-unstyled datepicker" style="width:90%;"') . '  </span>' . '</p>';
}
$content .= '<p class="button-height inline-label">' . '  <label for="email_address" class="label" style="width:30%;">' . $lC_Language->get('field_email_address') . '</label>' . lc_draw_input_field('email_address', null, 'class="input" style="width:90%;"') . '</p>';
if (ACCOUNT_NEWSLETTER == '1') {
    $content .= '<p class="button-height inline-label">' . '  <label for="newsletter" class="label" style="width:30%;">' . $lC_Language->get('field_newsletter_subscription') . '</label>' . lc_draw_checkbox_field('newsletter', '1', true, 'id="newsletterID" class="switch medium" data-text-on="' . strtoupper($lC_Language->get('button_yes')) . '" data-text-off="' . strtoupper($lC_Language->get('button_no')) . '"') . '</p>';
}
$content .= '<p class="button-height inline-label">' . '  <label for="password" class="label" style="width:30%;">' . $lC_Language->get('field_password') . '</label>' . lc_draw_password_field('password', 'class="input" style="width:90%;"') . '</p>' . '<p class="button-height inline-label">' . '  <label for="confirmation" class="label" style="width:30%;">' . $lC_Language->get('field_password_confirmation') . '</label>' . lc_draw_password_field('confirmation', 'class="input" style="width:90%;"') . '</p>' . '<p class="button-height inline-label">' . '  <label for="group" class="label" style="width:30%;">' . $lC_Language->get('field_customer_group') . '</label>' . lc_draw_pull_down_menu('group', null, null, 'class="input with-small-padding" style="width:73%;"') . '</p>' . '<p class="button-height inline-label">' . '  <label for="status" class="label" style="width:30%;">' . $lC_Language->get('field_status') . '</label>' . lc_draw_checkbox_field('status', '1', true, 'id="statusID" class="switch medium" data-text-on="' . strtoupper($lC_Language->get('button_yes')) . '" data-text-off="' . strtoupper($lC_Language->get('button_no')) . '"') . '</p>';
$content .= '</form></div></div>';
?>
<style>
#newCustomer { padding-bottom:20px; }
</style>
<script>
function newCustomer() {
  var accessLevel = '<?php 
echo $_SESSION['admin']['access'][$lC_Template->getModule()];
?>
';
  if (parseInt(accessLevel) < 2) {
    $.modal.alert('<?php 
echo $lC_Language->get('ms_error_no_access');
?>
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:new.php


示例12: lc_draw_pull_down_menu

          <label class="control-label col-sm-3 col-lg-3 text-right"><?php 
echo $lC_Language->get('field_search_categories');
?>
</label>
          <div class="col-sm-9 col-lg-9"><?php 
echo lc_draw_pull_down_menu('category', lC_Template_output::getCategoriesDropdownArray(), null, 'class="form-control"');
?>
</div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-3 col-lg-3 text-right margin-top"><?php 
echo $lC_Language->get('field_search_recursive');
?>
</label>
          <div class="col-sm-9 col-lg-9"><?php 
echo lc_draw_checkbox_field('recursive', null, null, 'class="form-control"', null);
?>
</div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-3 col-lg-3 text-right small-margin-top"><?php 
echo $lC_Language->get('field_search_manufacturers');
?>
</label>
          <div class="col-sm-9 col-lg-9"><?php 
echo lc_draw_pull_down_menu('manufacturer', lC_Template_output::getManufacturerDropdownArray(), null, 'class="form-control"');
?>
</div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-3 col-lg-3 text-right small-margin-top"><?php 
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:search.php


示例13: array

        $Qzones->bindInt(':zone_country_id', $default_country);
        $Qzones->execute();
        $zones_array = array();
        while ($Qzones->next()) {
            $zones_array[] = array('id' => $Qzones->value('zone_name'), 'text' => $Qzones->value('zone_name'));
        }
        echo lc_draw_pull_down_menu('state', $zones_array, isset($Qentry) ? $zone : null, 'class="form-control"');
    } else {
        echo lc_draw_input_field('state', isset($Qentry) ? $zone : null, 'placeholder="' . $lC_Language->get('field_customer_state') . '" class="form-control"');
    }
    echo '</span></div>';
}
if (ACCOUNT_POST_CODE > -1) {
    echo '<div class="form-group full-width margin-bottom"><label class="sr-only"></label>' . lc_draw_input_field('postcode', isset($Qentry) ? $Qentry->value('entry_postcode') : null, 'placeholder="' . ($default_country == 223 ? $lC_Language->get('field_customer_zip_code') : $lC_Language->get('field_customer_post_code')) . '" class="form-control"') . '</div>';
}
$countries_array = array(array('id' => '', 'text' => $lC_Language->get('pull_down_default')));
foreach (lC_Address::getCountries() as $country) {
    $countries_array[] = array('id' => $country['id'], 'text' => $country['name']);
}
echo '<div class="form-group full-width margin-bottom"><label class="sr-only"></label>' . lc_draw_pull_down_menu('country', $countries_array, $default_country, 'onchange="getZonesDropdown(this.value)" class="form-control"') . '</div>';
if ($lC_Customer->hasDefaultAddress() && (isset($_GET['edit']) && $lC_Customer->getDefaultAddressID() != $_GET['address_book'] || isset($_GET['new']))) {
    echo '<div class="checkbox small-margin-left">' . lc_draw_checkbox_field('primary', null, null, null, null) . '<label class="small-margin-left">' . $lC_Language->get('set_as_primary') . '</label></div>';
}
?>
  </div>
</div>
<?php 
$lC_Template->addJavascriptPhpFilename('templates/core/javascript/form_check.js.php');
$lC_Template->addJavascriptPhpFilename('templates/core/javascript/account/address_book_details.js.php');
?>
<!--content/account/address_book_details.php end-->
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:address_book_details.php


示例14: lc_draw_checkbox_field

?>
  
                 <div id="ajax-msg-div"></div>
                </div>
              </div>              
              <?php 
if ($lC_Payment->hasActive()) {
    echo $lC_Payment->process_button();
}
if (DISPLAY_CONDITIONS_ON_CHECKOUT == '1') {
    ?>
     
                <div class="well padding-top padding-bottom large-margin-top">
                  <div class="checkbox">
                    <?php 
    echo lc_draw_checkbox_field('conditions', array(array('id' => 1, 'text' => $lC_Language->get('order_conditions_acknowledge'))), false);
    ?>
                  </div>
                </div>                    
                <?php 
}
?>
              </form>
              <div class="btn-set clearfix">
                <button id="content-checkout-confirmation-confirm-button" class="btn btn-lg btn-success pull-right" onclick="$('#checkout_confirmation').submit();" type="button"><?php 
echo $lC_Language->get('button_confirm_order');
?>
</button>
                <button class="btn btn-lg btn-default" onclick="window.location.href='<?php 
echo lc_href_link(FILENAME_CHECKOUT, 'payment', 'SSL');
?>
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:checkout_confirmation.php


示例15: lc_draw_checkbox_field

                   '            <tr>'+
                   '              <td><?php 
echo $lC_Language->get('field_notify_customer');
?>
</td>'+
                   '              <td><?php 
echo lc_draw_checkbox_field('notify_customer', null, true);
?>
</td>'+
                   '            </tr>'+
                   '              <td><?php 
echo $lC_Language->get('field_notify_customer_with_comments');
?>
</td>'+
                   '              <td><?php 
echo lc_draw_checkbox_field('append_comment', null, true);
?>
</td>'+
                   '            </tr>'+
                   '            <tr>'+
                   '              <td colspan="2" align="right"><input type="hidden" name="oid" id="order_id" value=""><input class="button" onclick="updateOrderStatus(); return false;" type="submit" value="<?php 
echo $lC_Language->get('button_update');
?>
" class="operationButton" /></td>'+
                   '            </tr>'+
                   '          </table>'+
                   '        </div>'+
                   '      </div>'+
                   '    </div>'+
                   '  </form>'+
                   '</div>',
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:edit.php


示例16: array

if (file_exists(LOCAL_EXE_GZIP)) {
    $compress_array[] = array('id' => 'gzip', 'text' => TEXT_INFO_USE_GZIP);
}
if (file_exists(LOCAL_EXE_ZIP)) {
    $compress_array[] = array('id' => 'zip', 'text' => TEXT_INFO_USE_ZIP);
}
echo lc_draw_radio_field('compress', $compress_array, 'no', null, '<br />');
?>

    </p>

    <p>

<?php 
if (is_dir(DIR_FS_BACKUP) && is_writeable(DIR_FS_BACKUP)) {
    echo lc_draw_checkbox_field('download', array(array('id' => 'yes', 'text' => TEXT_INFO_DOWNLOAD_ONLY))) . '*<br /><br />*' . TEXT_INFO_BEST_THROUGH_HTTPS;
} else {
    echo lc_draw_radio_field('download', array(array('id' => 'yes', 'text' => TEXT_INFO_DOWNLOAD_ONLY)), true) . '*<br /><br />*' . TEXT_INFO_BEST_THROUGH_HTTPS;
}
?>

    </p>

    <p align="center"><?php 
echo '<input type="submit" value="' . IMAGE_BACKUP . '" class="operationButton"> <input type="button" value="' . IMAGE_CANCEL . '" onclick="toggleInfoBox(\'bDefault\');" class="operationButton">';
?>
</p>

    </form>
  </div>
</div>
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:backup.php


示例17: while

?>
</p>
      </div>
    
      <?php 
if ($Qglobal->valueInt('global_product_notifications') != '1') {
    echo '<h3 class="">' . $lC_Language->get('product_notifications_products') . '</h3>' . "\n";
    if ($lC_Template->hasCustomerProductNotifications($lC_Customer->getID())) {
        echo '<p class="normal">' . $lC_Language->get('product_notifications_products_description') . '</p>' . "\n";
        $Qproducts = $lC_Template->getListing();
        $counter = 0;
        while ($Qproducts->next()) {
            $counter++;
            echo '<div class="well">' . "\n";
            echo '  <div class="checkbox">' . "\n";
            echo '    <label class="margin-left">' . lc_draw_checkbox_field('products[' . $counter . ']', $Qproducts->valueInt('products_id'), true, null, null) . '&nbsp;' . $Qproducts->value('products_name') . '</label>' . "\n";
            echo '  </div>' . "\n";
            echo '</div>' . "\n";
        }
    } else {
        echo '<div class="well">' . "\n";
        echo '  <p class="no-margin-bottom normal">&nbsp;' . $lC_Language->get('product_notifications_products_none') . '</p>' . "\n";
        echo '</div>' . "\n";
    }
}
?>
    
    </form>
    <div class="btn-set small-margin-top clearfix">
      <button class="pull-right btn btn-lg btn-primary" onclick="$('#account_notifications').submit();" type="button"><?php 
echo $lC_Language->get('button_update');
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:account_notifications.php


示例18: lc_draw_input_field

                   '        <label for="specials_price_gross" class="label" style="width:50%;"><?php 
echo $lC_Language->get('field_price_gross');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('specials_price_gross', null, 'class="input" onkeyup="updateNet(event);"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="specials_status" class="label" style="width:50%;"><?php 
echo $lC_Language->get('field_status');
?>
</label>'+
                   '        <?php 
echo lc_draw_checkbox_field('specials_status', '1', true, 'class="switch medium" data-text-on="' . strtoupper($lC_Language->get('button_yes')) . '" data-text-off="' . strtoupper($lC_Language->get('button_no')) . '"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="specials_start_date" class="label" style="width:50%;"><?php 
echo $lC_Language->get('field_date_start');
?>
</label>'+
                   '        <span class="input">'+
                   '          <span class="icon-calendar"></span>'+
                   '          <?php 
echo lc_draw_input_field('specials_start_date', null, 'class="input-unstyled datepicker"');
?>
'+
                   '        </span>'+
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:new.php


示例19: lc_draw_pull_down_menu

                   '        <label for="content_page" class="label"><?php 
echo $lC_Language->get('field_pages');
?>
</label>'+
                   '        <?php 
echo lc_draw_pull_down_menu('content_page', $pages_array, null, 'class="input with-small-padding" style="width:100%;"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="page_specific" class="label"><?php 
echo $lC_Language->get('field_page_specific');
?>
</label>'+
                   '        <?php 
echo lc_draw_checkbox_field('page_specific', null, null, 'class="switch medium" data-text-on="YES" data-text-off="NO"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="group" class="label"><?php 
echo $lC_Language->get('field_group');
?>
</label>'+
                   '        <span id="newModuleGroupsDropdown"></span>'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="group_new" class="label"><?php 
echo $lC_Language->get('field_group_new');
?>
</label>'+
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:new.php


示例20: lc_draw_radio_field

    return false;
  }
  $.modal({
    content: '<div id="backupContent">'+
             '  <form name="bBackup" id="bBackup" action="" method="post">'+
             '  <p><?php 
echo $lC_Language->get('introduction_new_backup');
?>
</p>'+
             '  <p><?php 
echo lc_draw_radio_field('compression', $compression_array, 'none', null, '&nbsp;<br />');
?>
</p>'+
             '  <p><?php 
if (!lc_empty(DIR_FS_BACKUP) && @is_dir(DIR_FS_BACKUP) && @is_writeable(DIR_FS_BACKUP)) {
    echo lc_draw_checkbox_field('download_only', array(array('id' => 'yes', 'text' => $lC_Language->get('field_download_only'))));
} else {
    echo lc_draw_radio_field('download_only', array(array('id' => 'yes', 'text' => $lC_Language->get('field_download_only'))), true);
}
?>
</p>'+
             '  </form>'+
             '</div>',
    title: '<?php 
echo $lC_Language->get('modal_heading_new_backup');
?>
',
    width: 300,
    actions: {
      'Close' : {
        color: 'red',
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:backup.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP lc_draw_input_field函数代码示例发布时间:2022-05-15
下一篇:
PHP lazypage函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap