當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Helpers\Html類代碼示例

本文整理匯總了PHP中GCore\Helpers\Html的典型用法代碼示例。如果您正苦於以下問題:PHP Html類的具體用法?PHP Html怎麽用?PHP Html使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了Html類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: config

 public static function config($data = array(), $k = '{N}')
 {
     echo '<div class="original_element_config">';
     //\GCore\Helpers\Html::formSecStart('original_element_config', 'multi_origin_config');
     $sub_fields_count = $k;
     $fields = !empty($data['inputs']) ? $data['inputs'] : array();
     $i = 0;
     foreach ($fields as $sub_id => $field) {
         $sub_type = !empty($field['render_type']) ? $field['render_type'] : $field['type'];
         $class = '\\GCore\\Admin\\Extensions\\Chronoforms\\Fields\\' . \GCore\Libs\Str::camilize($sub_type) . '\\' . \GCore\Libs\Str::camilize($sub_type);
         ob_start();
         $class::config($field, $sub_fields_count);
         $con = ob_get_clean();
         $con = str_replace('{N}', $sub_fields_count, $con);
         $con = str_replace('Form[extras][fields][' . $sub_fields_count . ']', 'Form[extras][fields][' . $k . '][inputs][' . $sub_id . ']', $con);
         $con = str_replace('-' . $sub_fields_count, '-' . $k . '-' . $i, $con);
         //fix for tabs
         $con = str_replace('original_element_config', '', $con);
         echo '<div class="panel panel-default">';
         echo '<div class="well well-sm">' . $sub_id . '</div>';
         echo $con;
         echo '</div>';
         $sub_fields_count++;
         $i++;
     }
     echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][type]', array('type' => 'hidden', 'value' => 'multi'));
     echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][id]', array('type' => 'hidden', 'value' => 'multi-' . $k));
     //echo \GCore\Helpers\Html::input('Form[extras][fields]['.$k.'][layout]', array('type' => 'hidden', 'value' => 'wide'));
     echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][name]', array('type' => 'hidden', 'value' => 'multi'));
     echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][container_id]', array('type' => 'hidden', 'id' => 'container_id' . $k, 'value' => '0'));
     echo '</div>';
     //\GCore\Helpers\Html::formSecEnd();
 }
開發者ID:iFactoryDigital,項目名稱:gympieradiology,代碼行數:33,代碼來源:multi.php

示例2: display

 public function display($connection, $area = 'front', $rows = array())
 {
     $doc = \GCore\Libs\Document::getInstance();
     //display header
     $custom_headers = array();
     if (!empty(\GCore\Helpers\DataPresenter::$headers)) {
         foreach (\GCore\Helpers\DataPresenter::$headers as $k => $header) {
             $custom_headers[$k] = \GCore\Helpers\Html::container($header['tag'], $header['text'], $header['atts']);
         }
     }
     ob_start();
     eval('?>' . $connection['Connection']['extras'][$area]['blocks']['custom']['header']);
     $header = ob_get_clean();
     $header = $this->view->Lister->prepare($connection, $header);
     $header = \GCore\Libs\Str::replacer($header, $custom_headers, array('exploder' => '*'));
     echo $this->view->Lister->translate($connection, \GCore\Libs\Str::replacer($header, $rows));
     //display rows
     foreach ($rows as $c_r_k => $row) {
         ob_start();
         eval('?>' . $connection['Connection']['extras'][$area]['blocks']['custom']['body']);
         $body = ob_get_clean();
         if (isset(\GCore\Helpers\DataPresenter::$cells_data[$c_r_k])) {
             $body = \GCore\Libs\Str::replacer($body, \GCore\Helpers\DataPresenter::$cells_data[$c_r_k], array('exploder' => '*'));
         }
         echo $this->view->Lister->translate($connection, \GCore\Libs\Str::replacer($body, $row));
     }
     //display footer
     ob_start();
     eval('?>' . $connection['Connection']['extras'][$area]['blocks']['custom']['footer']);
     $footer = ob_get_clean();
     $footer = $this->view->Lister->prepare($connection, $footer);
     $footer = \GCore\Libs\Str::replacer($footer, $custom_headers, array('exploder' => '*'));
     echo $this->view->Lister->translate($connection, \GCore\Libs\Str::replacer($footer, $rows));
 }
開發者ID:BillVGN,項目名稱:PortalPRP,代碼行數:34,代碼來源:custom.php

示例3: render

 public static function render($module, $container = false)
 {
     $site = $module['site'] == 'admin' ? '\\Admin' : '';
     $mod_class = '\\GCore' . $site . '\\Modules\\' . \GCore\Libs\Str::camilize($module['type']) . '\\' . \GCore\Libs\Str::camilize($module['type']);
     $mod_params = new \GCore\Libs\Parameter($module['params']);
     ob_start();
     $class = new $mod_class();
     $class->display($module);
     //initialize and render view
     $view = new \GCore\Libs\View();
     $view->initialize($class);
     $view->renderModule($module['type']);
     $output = ob_get_clean();
     //check the returned output settings
     if ($container === false) {
         //do nothing, we are returning plain output
     } elseif ($container === true) {
         $output = \GCore\Helpers\Html::container('div', $output, array('class' => 'module-body'));
         if ((bool) $mod_params->get('show_title') === true) {
             $output = \GCore\Helpers\Html::container('h3', $module['title'], array('class' => 'module-title')) . "\n" . $output;
         }
         $output = \GCore\Helpers\Html::container('div', $output, array('class' => 'module' . (strlen($mod_params->get('class_sfx', '')) > 0 ? ' ' . $mod_params->get('class_sfx', '') : '')));
     } elseif (is_callable($container)) {
         //some function provided: callback/lambada/anonymous
         $output = $container($output, $module);
     }
     return $output;
 }
開發者ID:ejailesb,項目名稱:repo_empr,代碼行數:28,代碼來源:module.php

示例4: config

    public static function config($configs = array(), $extra_config = array())
    {
        ?>
		<script>
			function event_switcher_load_events(elem, SID){
				var events = jQuery('#event_switcher_events_'+SID).val().split(',');
				//delete existing events
				jQuery('#cfaction_event_switcher_element_'+SID).find('.form_event').remove();
				var events_html = '';
				var events_path = jQuery('#cfaction_event_switcher_element_'+SID).children('.panel-body').children('.events_dna').first().attr('name');
				jQuery.each(events,function(i, val){
					events_html = events_html + '<div id="cfactionevent_event_switcher_'+SID+'_'+val+'" title="'+val+'" class="form_event normal_event alert alert-info"><label class="form_event_label label label-info">On '+val+'</label><input type="hidden" name="'+events_path+'['+val+']" alt="ghost" class="events_dna" value=""></div>';
				});
				jQuery('#cfaction_event_switcher_element_'+SID).children('.panel-body').append(events_html);
				ChronoformWizard.initialize_actions_droppables(ChronoformWizard.actions_drop_settings);
				//console.log(events);
			}
		</script>
		<?php 
        echo \GCore\Helpers\Html::formStart('action_config event_switcher_action_config', 'event_switcher_action_config_{N}');
        echo \GCore\Helpers\Html::formSecStart();
        echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][action_label]', array('type' => 'text', 'label' => l_('CF_ACTION_LABEL'), 'class' => 'XL', 'sublabel' => l_('CF_ACTION_LABEL_DESC')));
        echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][events]', array('type' => 'text', 'label' => l_('CF_EVENTS'), 'id' => 'event_switcher_events_{N}', 'class' => 'XXL', 'sublabel' => l_('CF_EVENTS_EVENT_SWITCHER_DESC')));
        echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][load_events]', array('type' => 'button', 'value' => l_('CF_LOAD_EVENTS_EVENT_SWITCHER'), 'onclick' => 'event_switcher_load_events(this, \'{N}\')', 'sublabel' => l_('CF_LOAD_EVENTS_EVENT_SWITCHER_DESC')));
        echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][content]', array('type' => 'textarea', 'label' => l_('CF_CODE'), 'rows' => 20, 'cols' => 70, 'sublabel' => l_('CF_CONTENT_EVENT_SWITCHER_DESC')));
        echo \GCore\Helpers\Html::formSecEnd();
        echo \GCore\Helpers\Html::formEnd();
    }
開發者ID:joecacti,項目名稱:diversebuild,代碼行數:28,代碼來源:event_switcher.php

示例5: config

    public static function config()
    {
        ?>
		<ul class="nav nav-tabs">
			<li><a href="#core-config" data-g-toggle="tab"><?php 
        echo l_('CCON_CONFIG');
        ?>
</a></li>
			<li><a href="#core-help" data-g-toggle="tab"><?php 
        echo l_('CCON_HELP');
        ?>
</a></li>
		</ul>
		<div class="tab-content">
			<div id="core-config" class="tab-pane">
			<?php 
        echo \GCore\Helpers\Html::formSecStart();
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][core][enabled]', array('type' => 'dropdown', 'label' => l_('CONN_ENABLED'), 'options' => array(0 => l_('NO'), 1 => l_('YES')), 'values' => 1));
        echo \GCore\Helpers\Html::formSecEnd();
        ?>
			</div>
			<div id="core-help" class="tab-pane">
				<p></p>
				<p>Use "_EDIT_" as your field name to render an Edit link, the column title will be used as the link text.</p>
				<p>Use "_DELETE_" as your field name to render a Delete link, the column title will be used as the link text.</p>
			</div>
		</div>
		<?php 
    }
開發者ID:BillVGN,項目名稱:PortalPRP,代碼行數:29,代碼來源:core.php

示例6: config

    public static function config($data = array(), $k = '{N}')
    {
        echo \GCore\Helpers\Html::formStart('original_element_config single_element_config', 'password_origin_config');
        ?>
		<ul class="nav nav-tabs">
			<li><a href="#general-<?php 
        echo $k;
        ?>
" data-g-toggle="tab"><?php 
        echo l_('CF_GENERAL');
        ?>
</a></li>
			<li><a href="#validation-<?php 
        echo $k;
        ?>
" data-g-toggle="tab"><?php 
        echo l_('CF_VALIDATION');
        ?>
</a></li>
		</ul>
		<div class="tab-content">
			<div id="general-<?php 
        echo $k;
        ?>
" class="tab-pane">
			<?php 
        echo \GCore\Helpers\Html::formSecStart();
        foreach (self::$configs as $name => $params) {
            $value = \GCore\Libs\Arr::getVal($data, explode('.', $name));
            $field_name = implode('][', explode('.', $name));
            $params['value'] = $value ? $params['type'] == 'text' ? htmlspecialchars($value, ENT_QUOTES) : $value : (isset($params['value']) ? $params['value'] : '');
            $params['values'] = $value ? $value : (isset($params['values']) ? $params['values'] : '');
            echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][' . $field_name . ']', $params);
        }
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][type]', array('type' => 'hidden', 'value' => self::$settings['type']));
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][container_id]', array('type' => 'hidden', 'id' => 'container_id' . $k, 'value' => '0'));
        echo \GCore\Helpers\Html::formSecEnd();
        ?>
			</div>
			<div id="validation-<?php 
        echo $k;
        ?>
" class="tab-pane">
			<?php 
        echo \GCore\Helpers\Html::formSecStart();
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][required]', array('type' => 'dropdown', 'label' => l_('CF_REQUIRED'), 'options' => array('' => l_('NO'), 1 => l_('YES'))));
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][alpha]', array('type' => 'dropdown', 'label' => l_('CF_ALPHA'), 'options' => array('' => l_('NO'), 1 => l_('YES'))));
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][alphanum]', array('type' => 'dropdown', 'label' => l_('CF_ALPHA_NUMERIC'), 'options' => array('' => l_('NO'), 1 => l_('YES'))));
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][digit]', array('type' => 'dropdown', 'label' => l_('CF_DIGIT'), 'options' => array('' => l_('NO'), 1 => l_('YES'))));
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][nodigit]', array('type' => 'dropdown', 'label' => l_('CF_NO_DIGIT'), 'options' => array('' => l_('NO'), 1 => l_('YES'))));
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][number]', array('type' => 'dropdown', 'label' => l_('CF_NUMBER'), 'options' => array('' => l_('NO'), 1 => l_('YES'))));
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][confirm]', array('type' => 'text', 'label' => l_('CF_VALIDATE_CONFIRM'), 'sublabel' => l_('CF_VALIDATE_CONFIRM_DESC')));
        echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][validation][custom]', array('type' => 'text', 'label' => l_('CF_VALIDATE_CUSTOM'), 'sublabel' => l_('CF_VALIDATE_CUSTOM_DESC')));
        echo \GCore\Helpers\Html::formSecEnd();
        ?>
			</div>
		</div>
		<?php 
        echo \GCore\Helpers\Html::formEnd();
    }
開發者ID:vstorm83,項目名稱:propertease,代碼行數:60,代碼來源:password.php

示例7: config

    public static function config($data = array(), $k = '{N}')
    {
        echo \GCore\Helpers\Html::formStart('original_element_config single_element_config', 'signature_pad_origin_config');
        echo \GCore\Helpers\Html::formSecStart();
        foreach (self::$configs as $name => $params) {
            $params['value'] = isset($data[$name]) ? in_array($params['type'], array('text', 'textarea')) ? htmlspecialchars($data[$name]) : $data[$name] : (isset($params['value']) ? $params['value'] : '');
            $params['values'] = isset($data[$name]) ? $data[$name] : (isset($params['values']) ? $params['values'] : '');
            echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][' . $name . ']', $params);
        }
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][code]', array('type' => 'hidden', 'alt' => 'ghost', 'value' => '
			<div id="<?php echo $form->form["Form"]["extras"]["fields"][' . $k . ']["wrapper_id"]; ?>" class="m-signature-pad">
				<div class="m-signature-pad--body">
					<canvas width="<?php echo $form->form["Form"]["extras"]["fields"][' . $k . ']["width"]; ?>" height="<?php echo $form->form["Form"]["extras"]["fields"][' . $k . ']["height"]; ?>"></canvas>
				</div>
				<div class="m-signature-pad--footer">
					<button type="button" class="button clear" data-action="clear"><?php echo $form->form["Form"]["extras"]["fields"][' . $k . ']["clear_text"]; ?></button>
				</div>
				<input type="hidden" name="<?php echo $form->form["Form"]["extras"]["fields"][' . $k . ']["field_name"]; ?>" value="" />
			</div>
		'));
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][pure_code]', array('type' => 'hidden', 'alt' => 'ghost', 'value' => 0));
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][name]', array('type' => 'hidden', 'alt' => 'ghost', 'value' => 'signature_pad'));
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][render_type]', array('type' => 'hidden', 'alt' => 'ghost', 'value' => 'signature_pad'));
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][type]', array('type' => 'hidden', 'alt' => 'ghost', 'value' => self::$settings['type']));
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][container_id]', array('type' => 'hidden', 'id' => 'container_id' . $k, 'value' => '0'));
        echo \GCore\Helpers\Html::formSecEnd();
        echo \GCore\Helpers\Html::formEnd();
    }
開發者ID:iFactoryDigital,項目名稱:gympieradiology,代碼行數:28,代碼來源:signature_pad.php

示例8: config

    public static function config()
    {
        ?>
		<ul class="nav nav-tabs">
			<li><a href="#hits-config" data-g-toggle="tab"><?php 
        echo l_('CCON_CONFIG');
        ?>
</a></li>
			<li><a href="#hits-help" data-g-toggle="tab"><?php 
        echo l_('CCON_HELP');
        ?>
</a></li>
		</ul>
		<div class="tab-content">
			<div id="hits-config" class="tab-pane">
			<?php 
        echo \GCore\Helpers\Html::formSecStart();
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][hits][enabled]', array('type' => 'dropdown', 'label' => l_('CONN_ENABLED'), 'options' => array(0 => l_('NO'), 1 => l_('YES')), 'values' => 0));
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][hits][priority]', array('type' => 'text', 'label' => l_('CONN_PRIORITY'), 'value' => 0, 'sublabel' => l_('CONN_PRIORITY_DESC')));
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][hits][hits_field]', array('type' => 'text', 'label' => l_('CONN_HITS_FIELD'), 'sublabel' => l_('CONN_HITS_FIELD_DESC')));
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][hits][display_icon]', array('type' => 'dropdown', 'label' => l_('CONN_DISPLAY_ICON'), 'options' => array(0 => l_('NO'), 1 => l_('YES')), 'values' => 1));
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][hits][hot_text]', array('type' => 'text', 'label' => l_('CONN_HOT_TEXT'), 'value' => 'Hot', 'sublabel' => l_('CONN_HOT_TEXT_DESC')));
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][hits][hot_limit]', array('type' => 'text', 'label' => l_('CONN_HOT_LIMIT'), 'value' => '1000', 'sublabel' => l_('CONN_HOT_LIMIT_DESC')));
        echo \GCore\Helpers\Html::formLine('Connection[extras][plugins][hits][update_actions]', array('type' => 'text', 'label' => l_('CONN_UPDATE_ACTIONS'), 'class' => 'L', 'sublabel' => l_('CONN_UPDATE_ACTIONS_DESC')));
        echo \GCore\Helpers\Html::formSecEnd();
        ?>
			</div>
			<div id="hits-help" class="tab-pane">
				<p></p>
				<p>Use "_HITS_.count" as your field name to render the download count (with icon) or use "_HITS_.hot" to render a hot icon.</p>
				<p>You may also supply actions names in order to update the download field, the "gcb" value should be present in the action's page data in order for the record(s) to be updated.</p>
			</div>
		</div>
		<?php 
    }
開發者ID:BillVGN,項目名稱:PortalPRP,代碼行數:35,代碼來源:hits.php

示例9: message_wrap

 public static function message_wrap($ul, $type)
 {
     $type_container = \GCore\Helpers\Html::container('dd', $ul, array('class' => $type . ' message'));
     $header = '';
     //\GCore\Helpers\Html::container('dt', \GCore\Libs\Lang::_(strtoupper($type)), array('class' => $type));
     return \GCore\Helpers\Html::container('dl', $header . $type_container, array('class' => 'system-message'));
 }
開發者ID:joecacti,項目名稱:diversebuild,代碼行數:7,代碼來源:message.php

示例10: config

    public static function config($data = array(), $k = '{N}')
    {
        echo \GCore\Helpers\Html::formStart('original_element_config single_element_config', 'hidden_origin_config');
        ?>
		<ul class="nav nav-tabs">
			<li><a href="#general-<?php 
        echo $k;
        ?>
" data-g-toggle="tab"><?php 
        echo l_('CF_GENERAL');
        ?>
</a></li>
		</ul>
		<div class="tab-content">
			<div id="general-<?php 
        echo $k;
        ?>
" class="tab-pane">
			<?php 
        echo \GCore\Helpers\Html::formSecStart();
        foreach (self::$configs as $name => $params) {
            $params['value'] = isset($data[$name]) ? $params['type'] == 'text' ? htmlspecialchars($data[$name]) : $data[$name] : (isset($params['value']) ? $params['value'] : '');
            $params['values'] = isset($data[$name]) ? $data[$name] : (isset($params['values']) ? $params['values'] : '');
            echo \GCore\Helpers\Html::formLine('Form[extras][fields][' . $k . '][' . $name . ']', $params);
        }
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][type]', array('type' => 'hidden', 'value' => self::$settings['type']));
        echo \GCore\Helpers\Html::input('Form[extras][fields][' . $k . '][container_id]', array('type' => 'hidden', 'id' => 'container_id' . $k, 'value' => '0'));
        echo \GCore\Helpers\Html::formSecEnd();
        ?>
			</div>
		</div>
		<?php 
        echo \GCore\Helpers\Html::formEnd();
    }
開發者ID:iFactoryDigital,項目名稱:gympieradiology,代碼行數:34,代碼來源:hidden.php

示例11: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config load_nocaptcha_action_config', 'load_nocaptcha_action_config__XNX_');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][_XNX_][site_key]', array('type' => 'text', 'label' => l_('CF_NOCAPTCHA_SITE_KEY'), 'class' => 'XL', 'sublabel' => l_('CF_NOCAPTCHA_SITE_KEY_DESC')));
     /*echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][_XNX_][theme]', array('type' => 'dropdown', 'label' => l_('CF_RECAPTCHA_THEME'), 'options' => array(
     					'clean' => 'Clean', 
     					'red' => 'Red',
     					'white' => 'White',
     					'blackglass' => 'Blackglass',
     					'custom' => 'Custom'
     				), 'sublabel' => l_('CF_RECAPTCHA_THEME_DESC')));
     		echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][_XNX_][lang]', array('type' => 'dropdown', 'label' => l_('CF_RECAPTCHA_LANG'), 'options' => array(
     					'en' => 'English', 
     					'nt' => 'Dutch',
     					'fr' => 'French',
     					'de' => 'German',
     					'pt' => 'Portuguese',
     					'ru' => 'Russian',
     					'es' => 'Spanish',
     					'tr' => 'Turkish'
     				), 'sublabel' => l_('CF_RECAPTCHA_LANG_DESC')));*/
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
開發者ID:ejailesb,項目名稱:repo_empr,代碼行數:25,代碼來源:load_nocaptcha.php

示例12: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config event_loop_action_config', 'event_loop_action_config_{N}');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][event]', array('type' => 'text', 'label' => l_('CF_EVENTLOOP_EVENT'), 'value' => 'load', 'class' => 'M', 'sublabel' => l_('CF_EVENTLOOP_EVENT_DESC')));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
開發者ID:vstorm83,項目名稱:propertease,代碼行數:8,代碼來源:event_loop.php

示例13: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config multi_page_action_config', 'multi_page_action_config__XNX_');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][_XNX_][reset]', array('type' => 'dropdown', 'label' => l_('CF_MULTIPAGE_RESET'), 'options' => array(0 => l_('NO'), 1 => l_('YES')), 'sublabel' => l_('CF_MULTIPAGE_RESET_DESC')));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
開發者ID:ejailesb,項目名稱:repo_empr,代碼行數:8,代碼來源:multi_page.php

示例14: config

 public static function config($configs = array(), $extra_config = array())
 {
     echo \GCore\Helpers\Html::formStart('action_config custom_code_action_config', 'custom_code_action_config_{N}');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][content]', array('type' => 'textarea', 'label' => l_('CF_CONTENT'), 'rows' => 15, 'cols' => 70, 'sublabel' => l_('CF_CONTENT_CUSTOM_CODE_DESC')));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
開發者ID:vstorm83,項目名稱:propertease,代碼行數:8,代碼來源:custom_code.php

示例15: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config file_download_action_config', 'file_download_action_config_{N}');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][path]', array('type' => 'text', 'label' => l_('CF_FILE_DOWNLOAD_PATH'), 'value' => \GCore\C::ext_path('chronoforms', 'front'), 'class' => 'XXL', 'sublabel' => l_('CF_FILE_DOWNLOAD_PATH_DESC')));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
開發者ID:joecacti,項目名稱:diversebuild,代碼行數:8,代碼來源:file_download.php


注:本文中的GCore\Helpers\Html類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。