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

PHP Helpers\Html类代码示例

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

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



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


示例16: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config show_stopper_action_config', 'show_stopper_action_config_{N}');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][dummy]', array('type' => 'hidden'));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
开发者ID:joecacti,项目名称:diversebuild,代码行数:8,代码来源:show_stopper.php


示例17: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config load_signature_pad_action_config', 'load_signature_pad_action_config_{N}');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][enabled]', array('type' => 'dropdown', 'label' => l_('CF_ENABLED'), 'options' => array(0 => l_('NO'), 1 => l_('YES'))));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
开发者ID:iFactoryDigital,项目名称:gympieradiology,代码行数:8,代码来源:load_signature_pad.php


示例18: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config load_captcha_action_config', 'load_captcha_action_config_{N}');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][{N}][questions]', array('type' => 'textarea', 'label' => l_('CF_SEC_Q_QUESTIONS'), 'rows' => 10, 'cols' => 70, 'sublabel' => l_('CF_SEC_Q_QUESTIONS_DESC')));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
开发者ID:joecacti,项目名称:diversebuild,代码行数:8,代码来源:load_security_question.php


示例19: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config load_honeypot_action_config', 'load_honeypot_action_config__XNX_');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][_XNX_][method]', array('type' => 'dropdown', 'label' => l_('CF_HONEYPOT_METHOD'), 'options' => array('static' => l_('CF_STATIC'), 'dynamic' => l_('CF_DYNAMIC')), 'sublabel' => l_('CF_HONEYPOT_METHOD_DESC')));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
开发者ID:ejailesb,项目名称:repo_empr,代码行数:8,代码来源:load_honeypot.php


示例20: config

 public static function config()
 {
     echo \GCore\Helpers\Html::formStart('action_config check_captcha_action_config', 'check_captcha_action_config__XNX_');
     echo \GCore\Helpers\Html::formSecStart();
     echo \GCore\Helpers\Html::formLine('Form[extras][actions_config][_XNX_][error]', array('type' => 'text', 'label' => l_('CF_ERROR'), 'class' => 'XL', 'sublabel' => l_('CF_SEC_Q_ERROR_DESC')));
     echo \GCore\Helpers\Html::formSecEnd();
     echo \GCore\Helpers\Html::formEnd();
 }
开发者ID:ejailesb,项目名称:repo_empr,代码行数:8,代码来源:check_security_question.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP Wrapper\AbstractWrapper类代码示例发布时间:2022-05-23
下一篇:
PHP Gaufrette\Filesystem类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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