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

PHP get_request_title函数代码示例

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

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



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

示例1: skin_include

</nav><!-- .row -->
<?php 
}
?>


<div class="row">
	<div class="col-md-12">
		<main><!-- This is were a link like "Jump to main content" would land -->

		<!-- ================================= START OF MAIN AREA ================================== -->

		<?php 
// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
skin_include('$disp$', array('skin_form_before' => '<div class="panel panel-default skin-form">' . '<div class="panel-heading">' . '<h3 class="panel-title">$form_title$</h3>' . '</div>' . '<div class="panel-body">', 'skin_form_after' => '</div></div>', 'display_form_messages' => true, 'form_title_login' => T_('Log in to your account') . '$form_links$', 'form_title_lostpass' => get_request_title() . '$form_links$', 'lostpass_page_class' => 'evo_panel__lostpass', 'login_form_inskin' => false, 'login_page_class' => 'evo_panel__login', 'login_page_before' => '<div class="$form_class$">', 'login_page_after' => '</div>', 'display_reg_link' => true, 'abort_link_position' => 'form_title', 'abort_link_text' => '<button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button>'));
// Note: you can customize any of the sub templates included here by
// copying the matching php file into your skin directory.
// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
?>
		</main>

	</div><!-- .col -->

</div><!-- .row -->


<footer class="row">

	<!-- =================================== START OF FOOTER =================================== -->
	<div class="col-md-12 center">
开发者ID:Ariflaw,项目名称:b2evolution,代码行数:30,代码来源:access_requires_login.main.php


示例2: skin_include

		<?php 
// Go Grab the featured post:
if ($Item =& get_featured_Item()) {
    // We have a featured/intro post to display:
    // ---------------------- ITEM BLOCK INCLUDED HERE ------------------------
    echo '<div class="panel panel-default"><div class="panel-body">';
    skin_include('_item_block.inc.php', array('feature_block' => true, 'content_mode' => 'auto', 'intro_mode' => 'normal'));
    echo '</div></div>';
    // ----------------------------END ITEM BLOCK  ----------------------------
}
?>

		<?php 
// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
skin_include('$disp$', array('author_link_text' => 'preferredname', 'profile_tabs' => array('block_start' => '<nav><ul class="nav nav-tabs profile_tabs">', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="active">', 'item_selected_end' => '</li>', 'block_end' => '</ul></nav>'), 'pagination' => array('block_start' => '<div class="center"><ul class="pagination">', 'block_end' => '</ul></div>', 'page_current_template' => '<span>$page_num$</span>', 'page_item_before' => '<li>', 'page_item_after' => '</li>', 'page_item_current_before' => '<li class="active">', 'page_item_current_after' => '</li>', 'prev_text' => '<i class="fa fa-angle-double-left"></i>', 'next_text' => '<i class="fa fa-angle-double-right"></i>'), 'skin_form_before' => '<div class="panel panel-default skin-form">' . '<div class="panel-heading">' . '<h3 class="panel-title">$form_title$</h3>' . '</div>' . '<div class="panel-body">', 'skin_form_after' => '</div></div>', 'display_form_messages' => true, 'form_title_login' => T_('Log in to your account') . '$form_links$', 'form_title_lostpass' => get_request_title() . '$form_links$', 'lostpass_page_class' => 'evo_panel__lostpass', 'login_form_inskin' => false, 'login_page_class' => 'evo_panel__login', 'login_page_before' => '<div class="$form_class$">', 'login_page_after' => '</div>', 'display_reg_link' => true, 'abort_link_position' => 'form_title', 'abort_link_text' => '<button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button>', 'register_page_before' => '<div class="evo_panel__register">', 'register_page_after' => '</div>', 'register_form_title' => T_('Register'), 'register_links_attrs' => '', 'register_use_placeholders' => true, 'register_field_width' => 252, 'register_disabled_page_before' => '<div class="evo_panel__register register-disabled">', 'register_disabled_page_after' => '</div>', 'activate_form_title' => T_('Account activation'), 'activate_page_before' => '<div class="evo_panel__activation">', 'activate_page_after' => '</div>', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>', 'front_block_first_title_start' => '<h1>', 'front_block_first_title_end' => '</h1>', 'front_block_title_start' => '<h2>', 'front_block_title_end' => '</h2>', 'msgform_form_title' => T_('Sending a message')));
// Note: you can customize any of the sub templates included here by
// copying the matching php file into your skin directory.
// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
?>

		<?php 
// End of wrapper for front page area, in order to have the $Messages outside this block
echo '</div>';
// END OF <div class="front_main_content">
?>

		</main>

	</div><!-- .col -->
开发者ID:SergeyU1986,项目名称:b2evolution,代码行数:29,代码来源:front.main.php


示例3: request_title

/**
 * Display a global title matching filter params
 *
 * @param array params
 *        - "auto_pilot": "seo_title": Use the SEO title autopilot. (Default: "none")
 */
function request_title($params = array())
{
    $r = get_request_title($params);
    if (!empty($r)) {
        // We have something to display:
        echo $r;
    }
}
开发者ID:ldanielz,项目名称:uesp.blog,代码行数:14,代码来源:_template.funcs.php


示例4: get_template

 /**
  * Those templates are used for example by the messaging screens.
  */
 function get_template($name)
 {
     switch ($name) {
         case 'Results':
             // Results list:
             return array('page_url' => '', 'before' => '<div class="results panel panel-default">', 'content_start' => '<div id="$prefix$ajax_content">', 'header_start' => '', 'header_text' => '<div class="center"><ul class="pagination">' . '$prev$$first$$list_prev$$list$$list_next$$last$$next$' . '</ul></div>', 'header_text_single' => '', 'header_end' => '', 'head_title' => '<div class="panel-heading fieldset_title"><span class="pull-right">$global_icons$</span><h3 class="panel-title">$title$</h3></div>' . "\n", 'global_icons_class' => 'btn btn-default btn-sm', 'filters_start' => '<div class="filters panel-body">', 'filters_end' => '</div>', 'filter_button_class' => 'btn-sm btn-info', 'filter_button_before' => '<div class="form-group pull-right">', 'filter_button_after' => '</div>', 'messages_start' => '<div class="messages form-inline">', 'messages_end' => '</div>', 'messages_separator' => '<br />', 'list_start' => '<div class="table_scroll">' . "\n" . '<table class="table table-striped table-bordered table-hover table-condensed" cellspacing="0">' . "\n", 'head_start' => "<thead>\n", 'line_start_head' => '<tr>', 'colhead_start' => '<th $class_attrib$>', 'colhead_start_first' => '<th class="firstcol $class$">', 'colhead_start_last' => '<th class="lastcol $class$">', 'colhead_end' => "</th>\n", 'sort_asc_off' => get_icon('sort_asc_off'), 'sort_asc_on' => get_icon('sort_asc_on'), 'sort_desc_off' => get_icon('sort_desc_off'), 'sort_desc_on' => get_icon('sort_desc_on'), 'basic_sort_off' => '', 'basic_sort_asc' => get_icon('ascending'), 'basic_sort_desc' => get_icon('descending'), 'head_end' => "</thead>\n\n", 'tfoot_start' => "<tfoot>\n", 'tfoot_end' => "</tfoot>\n\n", 'body_start' => "<tbody>\n", 'line_start' => '<tr class="even">' . "\n", 'line_start_odd' => '<tr class="odd">' . "\n", 'line_start_last' => '<tr class="even lastline">' . "\n", 'line_start_odd_last' => '<tr class="odd lastline">' . "\n", 'col_start' => '<td $class_attrib$>', 'col_start_first' => '<td class="firstcol $class$">', 'col_start_last' => '<td class="lastcol $class$">', 'col_end' => "</td>\n", 'line_end' => "</tr>\n\n", 'grp_line_start' => '<tr class="group">' . "\n", 'grp_line_start_odd' => '<tr class="odd">' . "\n", 'grp_line_start_last' => '<tr class="lastline">' . "\n", 'grp_line_start_odd_last' => '<tr class="odd lastline">' . "\n", 'grp_col_start' => '<td $class_attrib$ $colspan_attrib$>', 'grp_col_start_first' => '<td class="firstcol $class$" $colspan_attrib$>', 'grp_col_start_last' => '<td class="lastcol $class$" $colspan_attrib$>', 'grp_col_end' => "</td>\n", 'grp_line_end' => "</tr>\n\n", 'body_end' => "</tbody>\n\n", 'total_line_start' => '<tr class="total">' . "\n", 'total_col_start' => '<td $class_attrib$>', 'total_col_start_first' => '<td class="firstcol $class$">', 'total_col_start_last' => '<td class="lastcol $class$">', 'total_col_end' => "</td>\n", 'total_line_end' => "</tr>\n\n", 'list_end' => "</table></div>\n\n", 'footer_start' => '', 'footer_text' => '<div class="center"><ul class="pagination">' . '$prev$$first$$list_prev$$list$$list_next$$last$$next$' . '</ul></div><div class="center">$page_size$</div>', 'footer_text_single' => '<div class="center">$page_size$</div>', 'footer_text_no_limit' => '', 'page_current_template' => '<span>$page_num$</span>', 'page_item_before' => '<li>', 'page_item_after' => '</li>', 'page_item_current_before' => '<li class="active">', 'page_item_current_after' => '</li>', 'prev_text' => T_('Previous'), 'next_text' => T_('Next'), 'no_prev_text' => '', 'no_next_text' => '', 'list_prev_text' => T_('...'), 'list_next_text' => T_('...'), 'list_span' => 11, 'scroll_list_range' => 5, 'footer_end' => "\n\n", 'no_results_start' => '<div class="panel-footer">' . "\n", 'no_results_end' => '$no_results$</div>' . "\n\n", 'content_end' => '</div>', 'after' => '</div>', 'sort_type' => 'basic');
             break;
         case 'blockspan_form':
             // Form settings for filter area:
             return array('layout' => 'blockspan', 'formclass' => 'form-inline', 'formstart' => '', 'formend' => '', 'title_fmt' => '$title$' . "\n", 'no_title_fmt' => '', 'fieldset_begin' => '<fieldset $fieldset_attribs$>' . "\n" . '<legend $title_attribs$>$fieldset_title$</legend>' . "\n", 'fieldset_end' => '</fieldset>' . "\n", 'fieldstart' => '<div class="form-group form-group-sm" $ID$>' . "\n", 'fieldend' => "</div>\n\n", 'labelclass' => 'control-label', 'labelstart' => '', 'labelend' => "\n", 'labelempty' => '<label></label>', 'inputstart' => '', 'inputend' => "\n", 'infostart' => '<div class="form-control-static">', 'infoend' => "</div>\n", 'buttonsstart' => '<div class="form-group form-group-sm">', 'buttonsend' => "</div>\n\n", 'customstart' => '<div class="custom_content">', 'customend' => "</div>\n", 'note_format' => ' <span class="help-inline">%s</span>', 'fieldstart_checkbox' => '<div class="form-group form-group-sm checkbox" $ID$>' . "\n", 'fieldend_checkbox' => "</div>\n\n", 'inputclass_checkbox' => '', 'inputstart_checkbox' => '', 'inputend_checkbox' => "\n", 'checkbox_newline_start' => '', 'checkbox_newline_end' => "\n", 'inputclass_radio' => '', 'radio_label_format' => '$radio_option_label$', 'radio_newline_start' => '', 'radio_newline_end' => "\n", 'radio_oneline_start' => '', 'radio_oneline_end' => "\n");
         case 'compact_form':
         case 'Form':
             // Default Form settings:
             return array('layout' => 'fieldset', 'formclass' => 'form-horizontal', 'formstart' => '', 'formend' => '', 'title_fmt' => '<span style="float:right">$global_icons$</span><h2>$title$</h2>' . "\n", 'no_title_fmt' => '<span style="float:right">$global_icons$</span>' . "\n", 'fieldset_begin' => '<div class="fieldset_wrapper $class$" id="fieldset_wrapper_$id$"><fieldset $fieldset_attribs$><div class="panel panel-default">' . "\n" . '<legend class="panel-heading" $title_attribs$>$fieldset_title$</legend><div class="panel-body $class$">' . "\n", 'fieldset_end' => '</div></div></fieldset></div>' . "\n", 'fieldstart' => '<div class="form-group" $ID$>' . "\n", 'fieldend' => "</div>\n\n", 'labelclass' => 'control-label col-md-12', 'labelstart' => '', 'labelend' => "\n", 'labelempty' => '<label class="control-label col-md-12"></label>', 'inputstart' => '<div class="controls col-md-12">', 'inputend' => "</div>\n", 'infostart' => '<div class="controls col-sm-9"><div class="form-control-static">', 'infoend' => "</div></div>\n", 'buttonsstart' => '<div class="form-group"><div class="control-buttons">', 'buttonsend' => "</div></div>\n\n", 'customstart' => '<div class="custom_content">', 'customend' => "</div>\n", 'note_format' => ' <span class="help-inline">%s</span>', 'inputclass_checkbox' => '', 'inputstart_checkbox' => '<div class="controls col-sm-9"><div class="checkbox"><label>', 'inputend_checkbox' => "</label></div></div>\n", 'checkbox_newline_start' => '<div class="checkbox">', 'checkbox_newline_end' => "</div>\n", 'fieldstart_radio' => '<div class="form-group radio-group" $ID$>' . "\n", 'fieldend_radio' => "</div>\n\n", 'inputclass_radio' => '', 'radio_label_format' => '$radio_option_label$', 'radio_newline_start' => '<div class="radio"><label>', 'radio_newline_end' => "</label></div>\n", 'radio_oneline_start' => '<label class="radio-inline">', 'radio_oneline_end' => "</label>\n");
         case 'linespan_form':
             // Linespan form:
             return array('layout' => 'linespan', 'formclass' => 'form-horizontal', 'formstart' => '', 'formend' => '', 'title_fmt' => '<span style="float:right">$global_icons$</span><h2>$title$</h2>' . "\n", 'no_title_fmt' => '<span style="float:right">$global_icons$</span>' . "\n", 'fieldset_begin' => '<div class="fieldset_wrapper $class$" id="fieldset_wrapper_$id$"><fieldset $fieldset_attribs$><div class="panel panel-default">' . "\n" . '<legend class="panel-heading" $title_attribs$>$fieldset_title$</legend><div class="panel-body $class$">' . "\n", 'fieldset_end' => '</div></div></fieldset></div>' . "\n", 'fieldstart' => '<div class="form-group" $ID$>' . "\n", 'fieldend' => "</div>\n\n", 'labelclass' => '', 'labelstart' => '', 'labelend' => "\n", 'labelempty' => '', 'inputstart' => '<div class="controls">', 'inputend' => "</div>\n", 'infostart' => '<div class="controls"><div class="form-control-static">', 'infoend' => "</div></div>\n", 'buttonsstart' => '<div class="form-group"><div class="control-buttons">', 'buttonsend' => "</div></div>\n\n", 'customstart' => '<div class="custom_content">', 'customend' => "</div>\n", 'note_format' => ' <span class="help-inline">%s</span>', 'inputclass_checkbox' => '', 'inputstart_checkbox' => '<div class="controls"><div class="checkbox"><label>', 'inputend_checkbox' => "</label></div></div>\n", 'checkbox_newline_start' => '<div class="checkbox">', 'checkbox_newline_end' => "</div>\n", 'checkbox_basic_start' => '<div class="checkbox"><label>', 'checkbox_basic_end' => "</label></div>\n", 'fieldstart_radio' => '', 'fieldend_radio' => '', 'inputstart_radio' => '<div class="controls">', 'inputend_radio' => "</div>\n", 'inputclass_radio' => '', 'radio_label_format' => '$radio_option_label$', 'radio_newline_start' => '<div class="radio"><label>', 'radio_newline_end' => "</label></div>\n", 'radio_oneline_start' => '<label class="radio-inline">', 'radio_oneline_end' => "</label>\n");
         case 'fixed_form':
             // Form with fixed label width:
             return array('layout' => 'fieldset', 'formclass' => 'form-horizontal', 'formstart' => '', 'formend' => '', 'title_fmt' => '<span style="float:right">$global_icons$</span><h2>$title$</h2>' . "\n", 'no_title_fmt' => '<span style="float:right">$global_icons$</span>' . "\n", 'fieldset_begin' => '<div class="fieldset_wrapper $class$" id="fieldset_wrapper_$id$"><fieldset $fieldset_attribs$><div class="panel panel-default">' . "\n" . '<legend class="panel-heading" $title_attribs$>$fieldset_title$</legend><div class="panel-body $class$">' . "\n", 'fieldset_end' => '</div></div></fieldset></div>' . "\n", 'fieldstart' => '<div class="form-group fixedform-group" $ID$>' . "\n", 'fieldend' => "</div>\n\n", 'labelclass' => 'control-label fixedform-label', 'labelstart' => '', 'labelend' => "\n", 'labelempty' => '<label class="control-label fixedform-label"></label>', 'inputstart' => '<div class="controls fixedform-controls">', 'inputend' => "</div>\n", 'infostart' => '<div class="controls fixedform-controls"><div class="form-control-static">', 'infoend' => "</div></div>\n", 'buttonsstart' => '<div class="form-group"><div class="control-buttons fixedform-controls">', 'buttonsend' => "</div></div>\n\n", 'customstart' => '<div class="custom_content">', 'customend' => "</div>\n", 'note_format' => ' <span class="help-inline">%s</span>', 'inputclass_checkbox' => '', 'inputstart_checkbox' => '<div class="controls fixedform-controls"><div class="checkbox"><label>', 'inputend_checkbox' => "</label></div></div>\n", 'checkbox_newline_start' => '<div class="checkbox">', 'checkbox_newline_end' => "</div>\n", 'fieldstart_radio' => '<div class="form-group radio-group" $ID$>' . "\n", 'fieldend_radio' => "</div>\n\n", 'inputclass_radio' => '', 'radio_label_format' => '$radio_option_label$', 'radio_newline_start' => '<div class="radio"><label>', 'radio_newline_end' => "</label></div>\n", 'radio_oneline_start' => '<label class="radio-inline">', 'radio_oneline_end' => "</label>\n");
         case 'user_navigation':
             // The Prev/Next links of users
             return array('block_start' => '<ul class="pager">', 'prev_start' => '<li class="previous">', 'prev_end' => '</li>', 'prev_no_user' => '', 'back_start' => '<li>', 'back_end' => '</li>', 'next_start' => '<li class="next">', 'next_end' => '</li>', 'next_no_user' => '', 'block_end' => '</ul>');
         case 'button_classes':
             // Button classes
             return array('button' => 'btn btn-default btn-xs', 'button_red' => 'btn-danger', 'button_green' => 'btn-success', 'text' => 'btn btn-default btn-xs', 'group' => 'btn-group');
         case 'tooltip_plugin':
             // Plugin name for tooltips: 'bubbletip' or 'popover'
             return 'popover';
             break;
         case 'disp_params':
             // Params for skin_include( '$disp$', array( ) )
             return array('author_link_text' => 'preferredname', 'profile_tabs' => array('block_start' => '<nav><ul class="nav nav-tabs profile_tabs">', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="active">', 'item_selected_end' => '</li>', 'block_end' => '</ul></nav>'), 'pagination' => array('block_start' => '<div class="center"><ul class="pagination">', 'block_end' => '</ul></div>', 'page_current_template' => '<span>$page_num$</span>', 'page_item_before' => '<li>', 'page_item_after' => '</li>', 'page_item_current_before' => '<li class="active">', 'page_item_current_after' => '</li>', 'prev_text' => '<i class="fa fa-angle-double-left"></i>', 'next_text' => '<i class="fa fa-angle-double-right"></i>'), 'skin_form_before' => '<div class="panel panel-default skin-form">' . '<div class="panel-heading">' . '<h3 class="panel-title">$form_title$</h3>' . '</div>' . '<div class="panel-body">', 'skin_form_after' => '</div></div>', 'display_form_messages' => true, 'form_title_login' => T_('Log in to your account') . '$form_links$', 'form_title_lostpass' => get_request_title() . '$form_links$', 'lostpass_page_class' => 'evo_panel__lostpass', 'login_form_inskin' => false, 'login_page_class' => 'evo_panel__login', 'login_page_before' => '<div class="$form_class$">', 'login_page_after' => '</div>', 'display_reg_link' => true, 'abort_link_position' => 'form_title', 'abort_link_text' => '<button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button>', 'register_page_before' => '<div class="evo_panel__register">', 'register_page_after' => '</div>', 'register_form_title' => T_('Register'), 'register_links_attrs' => '', 'register_use_placeholders' => true, 'register_field_width' => 252, 'register_disabled_page_before' => '<div class="evo_panel__register register-disabled">', 'register_disabled_page_after' => '</div>', 'activate_form_title' => T_('Account activation'), 'activate_page_before' => '<div class="evo_panel__activation">', 'activate_page_after' => '</div>', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>', 'search_use_editor' => true, 'search_author_format' => 'login', 'search_cell_author_start' => '<p class="small text-muted">', 'search_cell_author_end' => '</p>', 'search_date_format' => 'F jS, Y', 'featured_intro_before' => '<div class="jumbotron">', 'featured_intro_after' => '</div>', 'msgform_form_title' => T_('Sending a message'));
             break;
         case 'plugin_template':
             // Template for plugins
             return array('toolbar_before' => '<div class="btn-toolbar $toolbar_class$" role="toolbar">', 'toolbar_after' => '</div>', 'toolbar_title_before' => '<div class="btn-toolbar-title">', 'toolbar_title_after' => '</div>', 'toolbar_group_before' => '<div class="btn-group btn-group-xs" role="group">', 'toolbar_group_after' => '</div>', 'toolbar_button_class' => 'btn btn-default');
         case 'modal_window_js_func':
             // JavaScript function to initialize Modal windows, @see echo_user_ajaxwindow_js()
             return 'echo_modalwindow_js_bootstrap';
             break;
         default:
             // Delegate to parent class:
             return parent::get_template($name);
     }
 }
开发者ID:b2evolution,项目名称:material_manual_skin,代码行数:49,代码来源:_skin.class.php


示例5: param

    if ($edited_Item->ID > 0) {
        // Get cat_ID from existing Item
        $main_Chapter = $edited_Item->get_main_Chapter();
        $cat = $main_Chapter->ID;
    } else {
        // Forums skin get cat_ID from $_GET
        $cat = param('cat', 'integer', 0);
    }
    if ($cat > 0) {
        // Store a cat_ID
        $Form->hidden('post_category', $cat);
        $Form->hidden('cat', $cat);
        $disp_edit_categories = false;
    }
}
$Form->begin_fieldset(get_request_title(array_merge(array('edit_links_template' => array('before' => '<span class="pull-right">', 'after' => '</span>', 'advanced_link_class' => 'btn btn-info btn-sm', 'close_link_class' => 'btn btn-default btn-sm')), $params)));
// ############################ POST CONTENTS #############################
// Title input:
$use_title = $edited_Item->get_type_setting('use_title');
if ($use_title != 'never') {
    $Form->switch_layout('none');
    echo '<table width="100%" class="compose_layout"><tr>';
    $Form->labelstart = '<th width="1%" class="label">';
    $Form->labelend = '</th>';
    $Form->inputstart = '<td>';
    $Form->inputend = '</td>';
    $Form->text_input('post_title', $item_title, 20, T_('Title'), '', array('maxlength' => 255, 'style' => 'width: 100%;', 'required' => $use_title == 'required'));
    echo '</tr></table>';
    $Form->switch_layout(NULL);
}
if ($edited_Item->get_type_setting('use_text') != 'never') {
开发者ID:Ariflaw,项目名称:b2evolution,代码行数:31,代码来源:_edit.disp.php


示例6: get_template

 /**
  * Those templates are used for example by the messaging screens.
  */
 function get_template($name)
 {
     switch ($name) {
         case 'disp_params':
             // Params for skin_include( '$disp$', array( ) )
             return array('author_link_text' => 'auto', 'profile_tabs' => array('block_start' => '<nav><ul class="nav nav-tabs profile_tabs">', 'item_start' => '<li>', 'item_end' => '</li>', 'item_selected_start' => '<li class="active">', 'item_selected_end' => '</li>', 'block_end' => '</ul></nav>'), 'pagination' => array('block_start' => '<div class="center"><ul class="pagination">', 'block_end' => '</ul></div>', 'page_current_template' => '<span>$page_num$</span>', 'page_item_before' => '<li>', 'page_item_after' => '</li>', 'page_item_current_before' => '<li class="active">', 'page_item_current_after' => '</li>', 'prev_text' => '<i class="fa fa-angle-double-left"></i>', 'next_text' => '<i class="fa fa-angle-double-right"></i>'), 'skin_form_before' => '<div class="panel panel-default skin-form">' . '<div class="panel-heading">' . '<h3 class="panel-title">$form_title$</h3>' . '</div>' . '<div class="panel-body">', 'skin_form_after' => '</div></div>', 'display_form_messages' => true, 'form_title_login' => T_('Log in to your account') . '$form_links$', 'form_title_lostpass' => get_request_title() . '$form_links$', 'lostpass_page_class' => 'evo_panel__lostpass', 'login_form_inskin' => false, 'login_page_class' => 'evo_panel__login', 'login_page_before' => '<div class="$form_class$">', 'login_page_after' => '</div>', 'display_reg_link' => true, 'abort_link_position' => 'form_title', 'abort_link_text' => '<button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button>', 'register_page_before' => '<div class="evo_panel__register">', 'register_page_after' => '</div>', 'register_form_title' => T_('Register'), 'register_links_attrs' => '', 'register_use_placeholders' => true, 'register_field_width' => 252, 'register_disabled_page_before' => '<div class="evo_panel__register register-disabled">', 'register_disabled_page_after' => '</div>', 'activate_form_title' => T_('Account activation'), 'activate_page_before' => '<div class="evo_panel__activation">', 'activate_page_after' => '</div>', 'search_input_before' => '<div class="input-group">', 'search_input_after' => '', 'search_submit_before' => '<span class="input-group-btn">', 'search_submit_after' => '</span></div>', 'search_use_editor' => true, 'search_author_format' => 'login', 'search_cell_author_start' => '<p class="small text-muted">', 'search_cell_author_end' => '</p>', 'search_date_format' => 'F jS, Y', 'featured_intro_before' => '<div class="jumbotron">', 'featured_intro_after' => '</div>', 'msgform_form_title' => T_('Sending a message'));
         default:
             // Delegate to parent class:
             return parent::get_template($name);
     }
 }
开发者ID:b2evolution,项目名称:bootstrap_manual_skin,代码行数:14,代码来源:_skin.class.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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