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

PHP lc_draw_input_field函数代码示例

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

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



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

示例1: getData

 public static function getData($id)
 {
     global $lC_Database, $lC_Language, $lC_Vqmod;
     $result = array();
     include $lC_Vqmod->modCheck('includes/modules/order_total/' . $id . '.php');
     $lC_Language->injectDefinitions('modules/order_total/' . $id . '.xml');
     $module = 'lC_OrderTotal_' . $id;
     $module = new $module();
     $cnt = 0;
     $keys = '';
     foreach ($module->getKeys() as $key) {
         $Qkey = $lC_Database->query('select configuration_title, configuration_value, configuration_description, use_function, set_function from :table_configuration where configuration_key = :configuration_key');
         $Qkey->bindTable(':table_configuration', TABLE_CONFIGURATION);
         $Qkey->bindValue(':configuration_key', $key);
         $Qkey->execute();
         $keys .= '<label for="' . $Qkey->value('configuration_title') . '" class="label"><strong>' . $Qkey->value('configuration_title') . '</strong>&nbsp;<span class="icon-info-round icon-blue with-tooltip with-small-padding" style="cursor:pointer;" title="' . $Qkey->value('configuration_description') . '" data-tooltip-options=\'{"classes":["anthracite-gradient"]}\'></span>';
         if (!lc_empty($Qkey->value('set_function'))) {
             $keys .= lc_call_user_func($Qkey->value('set_function'), $Qkey->value('configuration_value'), $key);
         } else {
             $keys .= lc_draw_input_field('configuration[' . $key . ']', $Qkey->value('configuration_value'), 'class="input full-width"');
         }
         $keys .= '</label><br /><br />';
         $cnt++;
     }
     $result['keys'] = substr($keys, 0, strrpos($keys, '<br /><br />'));
     $result['totalKeys'] = $cnt;
     return $result;
 }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:28,代码来源:modules_order_total.php


示例2: getFormData

 public static function getFormData($id = null, $edit = false)
 {
     global $lC_Database, $lC_Language;
     $result = array();
     $result['titleCode'] = '';
     foreach ($lC_Language->getAll() as $l) {
         $result['titleCode'] .= '<span class="input" style="width:95%"><label for="title[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('title[' . $l['id'] . ']', null, 'class="input-unstyled"') . '</span><br />';
     }
     if (isset($id) && $id != null) {
         $lC_ObjectInfo = new lC_ObjectInfo(lC_Image_groups_Admin::getData($id));
         $status_name = array();
         $Qgd = $lC_Database->query('select language_id, title from :table_products_images_groups where id = :id');
         $Qgd->bindTable(':table_products_images_groups', TABLE_PRODUCTS_IMAGES_GROUPS);
         $Qgd->bindInt(':id', $id);
         $Qgd->execute();
         while ($Qgd->next()) {
             $status_name[$Qgd->valueInt('language_id')] = $Qgd->value('title');
         }
         $result['editTitleCode'] = '';
         foreach ($lC_Language->getAll() as $l) {
             $result['editTitleCode'] .= '<span class="input" style="width:95%"><label for="title[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('title[' . $l['id'] . ']', isset($status_name[$l['id']]) ? $status_name[$l['id']] : null, 'class="input-unstyled"') . '</span><br />';
         }
         $result['code'] = $lC_ObjectInfo->get('code');
         $result['width'] = $lC_ObjectInfo->get('size_width');
         $result['height'] = $lC_ObjectInfo->get('size_height');
         $result['force_size'] = $lC_ObjectInfo->get('force_size');
     }
     return $result;
 }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:29,代码来源:image_groups.php


示例3: setFunction

 public function setFunction($value, $value2 = null)
 {
     global $lC_Language;
     if (utility::isPro() === false) {
         $string = '<span class="input large-margin-bottom">
                <span class="icon-calendar mid-margin-right"></span>
                ' . lc_draw_input_field('attributes[' . self::getID() . ']', $value, 'id="attributes_' . self::getID() . '" class="input-unstyled datepicker"') . '
              </span>
              <span class="input relative disabled date-available-ends margin-bottom">
                <span class="icon-calendar mid-margin-right"></span>
                <div class="strong upsellwrapper" style="position:absolute;top:-29px;left:0px;">
                  <span class="upsellinfo" upselltitle="' . $lC_Language->get('text_availability_ends') . '" upselldesc="' . $lC_Language->get('text_availability_ends_desc') . '">Ends</span> ' . lc_go_pro() . '
                </div>
                ' . lc_draw_input_field('availability_ends_go_pro', null, 'id="availability_ends_go_pro" class="input-unstyled" disabled') . '
              </span>
              ';
     } else {
         $string = '<div class="no-wrap"><span class="input large-margin-bottom" style="width:46%;">
                <span class="icon-calendar mid-margin-right"></span>
                ' . lc_draw_input_field('attributes[' . self::getID() . ']', $value, 'id="attributes_' . self::getID() . '" class="input-unstyled datepicker"') . '
              </span>
              <span class="input relative date-available-ends margin-bottom" style="width:46%;">
                <span class="icon-calendar mid-margin-right"></span>
                <div class="strong" style="position:absolute;top:-29px;left:0px;">
                  <span>Ends</span>
                </div>
                ' . lc_draw_input_field('attributes2[' . self::getID() . ']', $value2, 'id="attributes2_' . self::getID() . '" class="input-unstyled datepicker"') . '
              </span></div>
              ';
     }
     return $string;
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:32,代码来源:date_available.php


示例4: getData

 public static function getData($id)
 {
     global $lC_Database, $lC_Vqmod;
     include $lC_Vqmod->modCheck('includes/modules/services/' . $_GET['module'] . '.php');
     $module = 'lC_Services_' . $_GET['module'] . '_Admin';
     $module = new $module();
     $cnt = 0;
     $keys = '';
     $result = array();
     foreach ($module->keys() as $key) {
         $Qkey = $lC_Database->query('select configuration_title, configuration_value, configuration_description, use_function, set_function from :table_configuration where configuration_key = :configuration_key');
         $Qkey->bindTable(':table_configuration', TABLE_CONFIGURATION);
         $Qkey->bindValue(':configuration_key', $key);
         $Qkey->execute();
         $keys .= '<label for="' . $Qkey->value('configuration_title') . '" class="label"><strong>' . $Qkey->value('configuration_title') . '</strong></label>';
         if (!lc_empty($Qkey->value('set_function'))) {
             $keys .= lc_call_user_func($Qkey->value('set_function'), $Qkey->value('configuration_value'), $key);
         } else {
             $keys .= lc_draw_input_field('configuration[' . $key . ']', $Qkey->value('configuration_value'), 'class="input" onfocus="this.select();" style="width:28%;"');
         }
         $keys .= '<span class="margin-left">' . lc_show_info_bubble($Qkey->value('configuration_description'), null, 'on-left grey') . '</span><br /><br />';
         $cnt++;
     }
     $result['keys'] = substr($keys, 0, strrpos($keys, '<br /><br />'));
     $result['totalKeys'] = $cnt;
     $result['title'] = $module->title;
     return $result;
 }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:28,代码来源:services.php


示例5: initialize

 public function initialize()
 {
     global $lC_Language, $lC_Template, $lC_Product;
     if (isset($lC_Product) && is_a($lC_Product, 'lC_Product') && $lC_Template->getModule() != 'tell_a_friend') {
         $this->_content = '<li class="box-tell-a-friend-input">' . lc_draw_input_field('to_email_address', null, 'id="box-to_email_address" class="box-to-email-address"') . '&nbsp;<a class="box-tell-a-friend-submit" onclick="$(this).closest(\'form\').submit();"></a></li>' . "\n" . '<li class="box-tell-a-friend-text">' . $lC_Language->get('box_tell_a_friend_text') . '</li>' . "\n";
     }
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:7,代码来源:tell_a_friend.php


示例6: getData

 public static function getData($id)
 {
     global $lC_Database, $lC_Language, $lC_Vqmod;
     include $lC_Vqmod->modCheck('../includes/classes/modules.php');
     $lC_Language->load('modules-' . $_GET['set']);
     include $lC_Vqmod->modCheck('../includes/modules/' . $_GET['set'] . '/' . $id . '.php');
     $module = 'lC_' . ucfirst($_GET['set']) . '_' . $id;
     $lC_Language->injectDefinitions('modules/' . $_GET['set'] . '/' . $id . '.xml');
     $module = new $module();
     $cnt = 0;
     $keys = '';
     $result = array();
     foreach ($module->getKeys() as $key) {
         $Qkey = $lC_Database->query('select configuration_title, configuration_key, configuration_value, configuration_description, use_function, set_function from :table_configuration where configuration_key = :configuration_key');
         $Qkey->bindTable(':table_configuration', TABLE_CONFIGURATION);
         $Qkey->bindValue(':configuration_key', $key);
         $Qkey->execute();
         $keys .= '<b>' . $Qkey->value('configuration_title') . '</b><br />' . $Qkey->value('configuration_description') . '<br />';
         if (!lc_empty($Qkey->value('set_function'))) {
             $keys .= lc_call_user_func($Qkey->value('set_function'), $Qkey->value('configuration_value'), $key);
         } else {
             $keys .= lc_draw_input_field('configuration[' . $key . ']', $Qkey->value('configuration_value'));
         }
         $keys .= '<br /><br />';
         $cnt++;
     }
     $result['keys'] = substr($keys, 0, strrpos($keys, '<br /><br />'));
     $result['totalKeys'] = $cnt;
     $result['title'] = $module->getTitle();
     $result['author'] = $module->getAuthorName();
     return $result;
 }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:32,代码来源:templates_modules.php


示例7: getFormData

 public static function getFormData($id = null, $edit = false)
 {
     global $lC_Database, $lC_Language;
     $result = array();
     $result['names'] = '';
     foreach ($lC_Language->getAll() as $l) {
         $result['names'] .= '<span class="input" style="width:88%"><label for="name[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('name[' . $l['id'] . ']', null, 'class="input-unstyled"') . '</span><br />';
     }
     if (isset($id) && $id != null) {
         if ($edit === true) {
             $Qsd = $lC_Database->query('select language_id, orders_status_name, orders_status_type from :table_orders_status where orders_status_id = :orders_status_id');
             $Qsd->bindTable(':table_orders_status', TABLE_ORDERS_STATUS);
             $Qsd->bindInt(':orders_status_id', $id);
             $Qsd->execute();
             $status_name = array();
             while ($Qsd->next()) {
                 $status_name[$Qsd->valueInt('language_id')] = $Qsd->value('orders_status_name');
                 $status_type = $Qsd->value('orders_status_type');
             }
             $result['editNames'] = '';
             $result['editType'] = $status_type;
             foreach ($lC_Language->getAll() as $l) {
                 $result['editNames'] .= '<span class="input" style="width:88%"><label for="name[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('name[' . $l['id'] . ']', isset($status_name[$l['id']]) ? $status_name[$l['id']] : null, 'class="input-unstyled"') . '</span><br />';
             }
         } else {
             $Qorders = $lC_Database->query('select count(*) as total from :table_orders where orders_status = :orders_status');
             $Qorders->bindTable(':table_orders', TABLE_ORDERS);
             $Qorders->bindInt(':orders_status', $id);
             $Qorders->execute();
             $Qhistory = $lC_Database->query('select count(*) as total from :table_orders_status_history where orders_status_id = :orders_status_id group by orders_id');
             $Qhistory->bindTable(':table_orders_status_history', TABLE_ORDERS_STATUS_HISTORY);
             $Qhistory->bindInt(':orders_status_id', $id);
             $Qhistory->execute();
             if ($Qorders->valueInt('total') > 0 || $Qhistory->valueInt('total') > 0) {
                 if ($Qorders->valueInt('total') > 0) {
                     $result['rpcStatus'] = -2;
                     $result['totalOrders'] = $Qorders->valueInt('total');
                 }
                 if ($Qhistory->valueInt('total') > 0) {
                     $result['rpcStatus'] = -3;
                     $result['totalOrders'] = $Qhistory->valueInt('total');
                 }
             }
         }
     }
     return $result;
 }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:47,代码来源:orders_status.php


示例8: getFormData

 public static function getFormData($id = null)
 {
     global $lC_Database, $lC_Language;
     $result = array();
     foreach ($lC_Language->getAll() as $l) {
         $result['mfgUrl'] .= '<span class="input" style="width:88%"><label for="name[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('manufacturers_url[' . $l['id'] . ']', null, 'class="input-unstyled"') . '</span><br />';
     }
     if ($id != null && is_numeric($id)) {
         $manufacturers_array = array();
         $Qmanufacturer = $lC_Database->query('select manufacturers_url, languages_id from :table_manufacturers_info where manufacturers_id = :manufacturers_id');
         $Qmanufacturer->bindTable(':table_manufacturers_info', TABLE_MANUFACTURERS_INFO);
         $Qmanufacturer->bindInt(':manufacturers_id', $id);
         $Qmanufacturer->execute();
         while ($Qmanufacturer->next()) {
             $manufacturers_array[$Qmanufacturer->valueInt('languages_id')] = $Qmanufacturer->value('manufacturers_url');
         }
         foreach ($lC_Language->getAll() as $l) {
             $result['editMfgUrl'] .= '<span class="input" style="width:88%"><label for="name[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('manufacturers_url[' . $l['id'] . ']', $manufacturers_array[$l['id']], 'class="input-unstyled"') . '</span><br />';
         }
         $result['mData'] = lC_Manufacturers_Admin::getData($id, $lC_Language->getID());
         $result['mImage'] = lc_image('../' . DIR_WS_IMAGES . 'manufacturers/' . $result['mData']['manufacturers_image'], $result['mData']['manufacturers_name']) . '<br />' . DIR_WS_CATALOG . DIR_WS_IMAGES . 'manufacturers/' . $result['mData']['manufacturers_image'] . '<br />';
     }
     return $result;
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:24,代码来源:manufacturers.php


示例9: lc_round

          <div class="inputs blue-gradient" style="display:inline; padding:8px 0;">
            <span class="mid-margin-left no-margin-right strong"><?php 
echo $lC_Currencies->getSymbolLeft();
?>
</span>
            <?php 
if (isset($pInfo)) {
    if (DISPLAY_PRICE_WITH_TAX == 1 || $_SESSION['localization']['show_tax'] == 1) {
        $products_price_gross = lc_round($pInfo->get('products_price_with_tax'), DECIMAL_PLACES);
    } else {
        $products_price_gross = lc_round($pInfo->get('products_price'), DECIMAL_PLACES);
    }
} else {
    $products_price_gross = null;
}
echo lc_draw_input_field('products_price_gross', $products_price_gross, 'style="width:94%;" class="input-unstyled strong products-price-gross" id="products_price0_gross" READONLY');
?>
          </div>         
        </div>
      </div>
    </div>
  </fieldset>
  <fieldset class="fieldset">
    <legend class="legend"><?php 
echo $lC_Language->get('text_management_settings');
?>
</legend>
    <div class="columns no-margin-bottom">
      <?php 
echo lC_Products_Admin::getProductAttributeModules('dataManagementSettings');
?>
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:data.php


示例10: lc_draw_input_field

</label>'+
                   '          <span class="input">'+
                   '            <span class="icon-calendar"></span>'+
                   '            <?php 
echo lc_draw_input_field('date_expires', null, 'class="input-unstyled datepicker"');
?>
'+
                   '          </span>'+
                   '      </p>'+  
                   '      <p class="button-height inline-label">'+
                   '        <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>'+
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:new.php


示例11: lc_draw_file_field

                   '        <label for="categories_image" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_image');
?>
</label>'+
                   '        <?php 
echo lc_draw_file_field('categories_image', true, 'class="file"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="sort_order" class="label" style="width:33%;"><?php 
echo $lC_Language->get('field_sort_order');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('sort_order', null, 'class="input" id="editSortOrder"');
?>
'+
                   '      </p>'+
                   '    </form>'+
                   '  </div>'+
                   '</div>',
          title: '<?php 
echo $lC_Language->get('modal_heading_edit_category');
?>
',
          width: 500,
                actions: {
            'Close' : {
              color: 'red',
              click: function(win) { win.closeModal(); }
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:edit.php


示例12: lc_draw_input_field

               '        <label for="price" class="label"><?php 
echo $lC_Language->get('text_price');
?>
</label>'+
               '        <?php 
echo lc_draw_input_field('price', null, 'class="input mid-margin-top" id="editPrice"');
?>
'+
               '      </p>'+
               '      <p class="button-height inline-label">'+
               '        <label for="quantity" class="label"><?php 
echo $lC_Language->get('text_quantity');
?>
</label>'+
               '        <?php 
echo lc_draw_input_field('quantity', null, 'class="input mid-margin-top" id="editQuantity"');
?>
'+
               '      </p>'+               
               '    </form>'+
               '  </div>'+               
               '  <span id="oId" style="display:none;"></span>'+
               '  <span id="pId" style="display:none;"></span>'+
               '  <span id="opId" style="display:none;"></span>'+
               '</div>',
        title: '<?php 
echo $lC_Language->get('text_product_details');
?>
',
        width: 600,
        scrolling: true,
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:orders.js.php


示例13: getZones

 public static function getZones($id)
 {
     global $lC_Database;
     $Qcheck = $lC_Database->query('select zone_id from :table_zones where zone_country_id = :zone_country_id limit 1');
     $Qcheck->bindTable(':table_zones', TABLE_ZONES);
     $Qcheck->bindInt(':zone_country_id', $id);
     $Qcheck->execute();
     $entry_state_has_zones = $Qcheck->numberOfRows() > 0;
     $Qcheck->freeResult();
     $result = array();
     if (isset($entry_state_has_zones) && $entry_state_has_zones === true) {
         $Qzones = $lC_Database->query('select zone_name from :table_zones where zone_country_id = :zone_country_id order by zone_name');
         $Qzones->bindTable(':table_zones', TABLE_ZONES);
         $Qzones->bindInt(':zone_country_id', $id);
         $Qzones->execute();
         $zones_array = array();
         while ($Qzones->next()) {
             $zones_array[] = array('id' => $Qzones->value('zone_name'), 'text' => $Qzones->value('zone_name'));
         }
         $result['abZonesDropdown'] = lc_draw_pull_down_menu('ab_state', $zones_array, null, 'class="input with-small-padding" style="width:73%;"');
     } else {
         $result['abZonesDropdown'] = lc_draw_input_field('ab_state');
     }
     return $result;
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:25,代码来源:customers.php


示例14: lc_draw_input_field

                   '        <label for="value" class="label" style="width:31% !important;"><?php 
echo $lC_Language->get('field_definition_group');
?>
</label>'+
                   '        <span id="groupSelection"></span><span class="icon-info-round icon-blue with-tooltip small-margin-left" title="<?php 
echo $lC_Language->get('tooltip_definition_group');
?>
" style="cursor:pointer;" data-tooltip-options=\'{"classes":["anthracite-gradient"]}\'></span>'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="group_new" class="label" style="width:31% !important;"><?php 
echo $lC_Language->get('field_definition_new_group');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('group_new', null, 'class="input" style="width:90%;"');
?>
<span class="icon-info-round icon-blue with-tooltip small-margin-left" title="<?php 
echo $lC_Language->get('tooltip_new_definition_group');
?>
" style="cursor:pointer;" data-tooltip-options=\'{"classes":["anthracite-gradient"]}\'></span>'+
                   '      </p>'+
                   '    </form>'+
                   '  </div>'+
                   '</div>',
          title: '<?php 
echo $lC_Language->get('modal_heading_new_language_definition');
?>
',
          width: 500,
                actions: {
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:newDefinition.php


示例15: formData

 public static function formData($id = null, $parent = null)
 {
     global $lC_Language, $_module;
     $lC_Language->loadIniFile('categories.php');
     $lC_CategoryTree = new lC_CategoryTree_Admin();
     $result = array();
     $categories_array = array('0' => $lC_Language->get('top_category'));
     foreach ($lC_CategoryTree->getArray() as $value) {
         $cid = explode('_', $value['id']);
         $count = count($cid);
         $cid = end($cid);
         $acArr = lC_Categories_Admin::getAllChildren($id);
         if ($cid != $id && !lC_Categories_Admin::in_array_r($cid, $acArr)) {
             $categories_array[$cid] = str_repeat("&nbsp;&nbsp;&nbsp;&nbsp;", $count - 1) . ' ' . $value['title'];
         }
     }
     $result['categoriesArray'] = $categories_array;
     if (isset($id) && is_numeric($id)) {
         $result['cData'] = lC_Categories_Admin::get($id, $lC_Language->getID());
         $result['categoryImage'] = '';
         $lC_ObjectInfo = new lC_ObjectInfo(lC_Categories_Admin::get($id));
         if (!lc_empty($lC_ObjectInfo->get('categories_image'))) {
             $result['categoryImage'] = '<div><p>' . lc_image('../' . DIR_WS_IMAGES . 'categories/' . $lC_ObjectInfo->get('categories_image'), $lC_ObjectInfo->get('categories_name'), HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '<br />' . DIR_WS_CATALOG . 'images/categories/' . $lC_ObjectInfo->getProtected('categories_image') . '</p></div>';
         }
     }
     $category_names = '';
     foreach ($lC_Language->getAll() as $l) {
         if (isset($id) && is_numeric($id)) {
             $category_names .= '<span class="input" style="width:88%"><label for="categories_name[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('categories_name[' . $l['id'] . ']', $result['cData']['categories_name'], 'class="input-unstyled"') . '</span><br />';
         } else {
             $category_names .= '<span class="input" style="width:88%"><label for="categories_name[' . $l['id'] . ']" class="button silver-gradient glossy">' . $lC_Language->showImage($l['code']) . '</label>' . lc_draw_input_field('categories_name[' . $l['id'] . ']', null, 'class="input-unstyled"') . '</span><br />';
         }
     }
     $result['categoryNames'] = $category_names;
     $result['parentCategory'] = isset($parent) && $parent != null ? $parent : 0;
     return $result;
 }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:37,代码来源:categories.php


示例16: lc_draw_input_field

?>
"></span></label>
      <?php 
echo lc_draw_input_field('CFG_STORE_OWNER_EMAIL_ADDRESS', null, 'class="input" style="width:93%;"');
?>
    </div> 
    <div class="field-block button-height">
      <label for="CFG_ADMINISTRATOR_EMAIL" class="label"><b><?php 
echo $lC_Language->get('param_administrator_email');
?>
</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_administrator_email_description');
?>
"></span></label>
      <?php 
echo lc_draw_input_field('CFG_ADMINISTRATOR_EMAIL', null, 'class="input" style="width:93%;"');
?>
    </div>
    <div class="field-block button-height">
      <label for="CFG_ADMINISTRATOR_PASSWORD" class="label"><b><?php 
echo $lC_Language->get('param_administrator_password');
?>
</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_administrator_password_description');
?>
"></span></label>
      <?php 
echo lc_draw_password_field('CFG_ADMINISTRATOR_PASSWORD', 'class="input" style="width:93%;"');
?>
    </div>
    <div class="field-block button-height">
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:install_3.php


示例17: lc_draw_input_field

        return false;
      } 
      $.modal({
        content: '<div id="newFolderForm">'+
                 '  <form name="addFolder" id="addFolder" action="" method="post">'+ 
                 '    <p><?php 
echo $lC_Language->get('introduction_new_directory');
?>
</p>'+ 
                 '    <p class="button-height inline-label">'+
                 '      <label for="fid" class="label" style="width:30%;"><?php 
echo $lC_Language->get('field_directory_name');
?>
</label>'+
                 '      <?php 
echo lc_draw_input_field('fid', null, 'class="input" style="width:90%;"');
?>
'+
                 '    </p>'+                
                 '  </form>'+ 
                 '  <p class="margin-top"><?php 
echo lc_output_string_protected($_SESSION['fm_directory']);
?>
</p>'+ 
                 '</div>',
        title: '<?php 
echo $lC_Language->get('modal_heading_new_folder');
?>
',
        width: 600,
            actions: {
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:newFolder.php


示例18: lc_icon_admin

?>
<div class="infoBoxHeading"><?php 
echo lc_icon_admin('edit.png') . ' ' . $lC_ObjectInfo->getProtected('products_name');
?>
</div>
<div class="infoBoxContent">
  <form name="pEdit" action="<?php 
echo lc_href_link_admin(FILENAME_DEFAULT, $lC_Template->getModule() . '&page=' . $_GET['page'] . '&pID=' . $lC_ObjectInfo->getInt('products_id') . '&action=save');
?>
" method="post">
  <p><?php 
echo $lC_Language->get('introduction_edit_product_expected');
?>
</p>
  <p><?php 
echo $lC_Language->get('field_date_expected') . '<br />' . lc_draw_input_field('products_date_available', $lC_ObjectInfo->get('products_date_available'));
?>
</p>
  <p align="center"><?php 
echo lc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $lC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $lC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . lc_href_link_admin(FILENAME_DEFAULT, $lC_Template->getModule() . '&page=' . $_GET['page']) . '\';" class="operationButton" />';
?>
</p>
  </form>
</div>
<script type="text/javascript">
  $(function() {
    $("#products_date_available").datepicker( {
      dateFormat: 'yy-mm-dd',
      changeMonth: true,
      changeYear: true
    } );
开发者ID:rajeshb001,项目名称:itpl_loaded7,代码行数:31,代码来源:edit.php


示例19: lc_draw_input_field

                  </div>
                </div>
              </div>
              <!-- div class="twelve-columns no-margin-top no-margin-bottom">
                <div class="columns no-margin-left">
                  <div class="three-columns twelve-columns-mobile"> 
                    <div class="margin-right">
                      <label class="label" for="categories_content_file"><b><?php 
echo $lC_Language->get('field_categories_content_file');
?>
</b></label>
                    </div>
                  </div>
                  <div class="nine-columns twelve-columns-mobile upsellwrapper">
                    <?php 
echo lc_draw_input_field('categories_content_file', null, 'id="categories_content_file" name="categories_content_file" class="input" style="min-width:250px;"' . ($cInfo['categories_content_file'] != '' ? ' value="' . $cInfo['categories_content_file'] . '"' : ' placeholder="/customhtml.php"') . '" disabled');
?>
                    <span class="upsellinfo" upselltitle="<?php 
echo $lC_Language->get('text_html_content_file_upsell_title');
?>
" upselldesc="<?php 
echo $lC_Language->get('text_html_content_file_upsell_desc');
?>
"><?php 
echo lc_go_pro();
?>
</span>  
                    <?php 
echo lc_show_info_bubble($lC_Language->get('info_bubble_categories_content_file'), null, 'on-left grey large-margin-left');
?>
                    <p class="small-margin-top"><?php 
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:edit.php


示例20: lc_draw_input_field

                   '        <label for="zone_name" class="label"><?php 
echo $lC_Language->get('field_name');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('zone_name', null, 'class="input full-width" id="editZoneName"');
?>
'+
                   '      </p>'+
                   '      <p class="button-height inline-label">'+
                   '        <label for="zone_description" class="label"><?php 
echo $lC_Language->get('field_description');
?>
</label>'+
                   '        <?php 
echo lc_draw_input_field('zone_description', null, 'class="input full-width" id="editZoneDescription"');
?>
'+
                   '      </p>'+
                   '    </form>'+
                   '  </div>'+
                   '</div>',
          title: '<?php 
echo $lC_Language->get('modal_heading_edit_zone_group');
?>
',
          width: 500,
                actions: {
            'Close' : {
              color: 'red',
              click: function(win) { win.closeModal(); }
开发者ID:abhiesa-tolexo,项目名称:loaded7,代码行数:31,代码来源:edit.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP lc_draw_pull_down_menu函数代码示例发布时间:2022-05-15
下一篇:
PHP lc_draw_checkbox_field函数代码示例发布时间: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