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

PHP end_slot函数代码示例

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

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



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

示例1: ui_select_pager

/**
 * Set a slot and returns the HTML for a uiSelectPager.
 * 
 * The slot allows to re-print the pager at the top and bottom of a table by
 * running the pager template only once.
 * 
 * Examples:
 * 
 *  echo ui_select_pager($pager)
 *    => Set and print the pager slot with the default slot name
 *  echo ui_select_pager()
 *    => Print the HTML for previously set slot
 *  echo ui_select_pager($pager, 'pager2')
 *    => Print and set a pager with a custom slot name
 *       (allows different pagers on one template)
 *  echo ui_select_pager(false, 'pager2')
 *    => Print previously set pager with custom slot name
 * 
 * @param  mixed   $pager   uiSelectPager object or false
 * @param  string  $slot    Slot name, leave out to use the default
 * 
 * @return string  HTML representation
 */
function ui_select_pager($pager = false, $slot = 'widgets.ui.pager')
{
    if ($pager !== false) {
        slot($slot);
        $view = new coreView(coreContext::getInstance());
        $view->getParameterHolder()->add(array('pager' => $pager));
        $view->setTemplate(dirname(__FILE__) . '/templates/ui_select_pager.php');
        echo $view->render();
        end_slot();
    }
    return get_slot($slot);
}
开发者ID:nikitakit,项目名称:RevTK,代码行数:35,代码来源:WidgetsHelper.php


示例2: end_slot

}
?>
</th>
<?php 
end_slot();
include_slot('sf_admin.current_header');
slot('sf_admin.current_header');
?>
<th class="sf_admin_date sf_admin_list_th_updated_at">
  <?php 
if ('updated_at' == $sort[0]) {
    ?>
    <?php 
    echo link_to(__('Updated at', array(), 'messages'), '@fields', array('query_string' => 'sort=updated_at&sort_type=' . ($sort[1] == 'asc' ? 'desc' : 'asc')));
    ?>
    <?php 
    echo image_tag(sfConfig::get('sf_admin_module_web_dir') . '/images/' . $sort[1] . '.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin')));
    ?>
  <?php 
} else {
    ?>
    <?php 
    echo link_to(__('Updated at', array(), 'messages'), '@fields', array('query_string' => 'sort=updated_at&sort_type=asc'));
    ?>
  <?php 
}
?>
</th>
<?php 
end_slot();
include_slot('sf_admin.current_header');
开发者ID:nurtai,项目名称:collegERP,代码行数:31,代码来源:_list_th_tabular.php


示例3: slot

<?php slot('sidebar') ?>
  <?php include_partial('dsRegistration/sidebar') ?>  
<?php end_slot() ?>


<?php use_helper('Date', 'I18N') ?>
  <?php include_partial('global/flashes') ?>  
    
  <h2><?php echo __('Registrations / Inbox', array(), 'messages') ?></h2>


  <div class="form-container">
    <?php include_partial('dsRegistration/list', array('pager' => $pager, 'helper' => $helper)) ?>
    <div class="actions">


    </div>
  </div>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:18,代码来源:indexSuccess.php


示例4: slot

<?php slot('sidebar') ?>
     <?php include_partial('email/sidenav', array('active' => 'template')) ?>
<?php end_slot(); ?>


<?php include_partial('email/title', array('heading' => 'Neue Vorlage', 'title' => 'Vorlagen / Neu..' )) ?>


  <div>
    <?php include_partial('emailTemplate/form', array('ds_email_notification_template' => $ds_email_notification_template, 'form' => $form, 'helper' => $helper)) ?>
  </div>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:11,代码来源:newSuccess.php


示例5: use_helper

<?php

use_helper('I18N');
use_helper('jQuery');
use_helper('Number');
use_helper('Date');
use_helper('VoFormat');
?>

<?php 
slot('menu');
?>
	<?php 
include_partial('global/menu', array('tab' => 'pro'));
end_slot('menu');
?>

<?php 
include_partial('sfReviewFront/dialog');
?>

<script type="text/javascript">    
  $(document).ready(function(){
    $('.login-required_np').click(function(){
      <?php 
if (!$sf_user->isAuthenticated()) {
    ?>
        //$("#sfr_dialog_form_ub").val("propuesta/new");
        //$("#sfr_dialog").dialog('open');
        ejem('<?php 
    echo url_for('sfGuardAuth/signin');
开发者ID:voota,项目名称:voota,代码行数:31,代码来源:rankingSuccess.php


示例6: __

?>
"><?php 
echo __('Voota en Twitter');
?>
</a></li>
      <li class="facebook"><a href="<?php 
echo __('http://www.facebook.com/Voota');
?>
"><?php 
echo __('Voota en Facebook');
?>
</a></li>
    </ul>
  </div>
<?php 
end_slot('logged');
?>

<div class="block" id="summary">
  <div class="block-inner">

      <ul>
        <li><h2><?php 
echo __('Lo que se dice sobre los políticos, partidos y propuestas políticas en España (ya llevamos %1% opiniones).', array('%1%' => format_number(SfVoCounter::countReviews(), 'es_ES')));
?>
</h2></li>
        <li><h2><?php 
echo __('¿Y tu qué piensas?');
?>
        <a href="<?php 
echo url_for('politico/ranking');
开发者ID:voota,项目名称:voota,代码行数:31,代码来源:indexSuccess.php


示例7: link_to

      	<?php 
echo link_to('Español', changeCulture('es'), array('class' => "enlacesPie"));
?>
      <?php 
end_slot('langLink_ca');
?>

      <?php 
slot('langLink_es');
?>
      	<?php 
echo link_to('Català', changeCulture('ca'), array('class' => "enlacesPie"));
?>
      	Español
      <?php 
end_slot('langLink_es');
?>

      <?php 
include_slot("langLink_" . $sf_user->getCulture('es'));
?>
    </p>

  </div><!-- FIN FOOTER -->

  <script type="text/javascript">
    $(document).ready(function(){ 
			$('input[title!=""], textarea[title!=""]').hint();
		});
		$(document).bind('resize scroll', function(){
		  $('.qtip').hide();
开发者ID:voota,项目名称:voota,代码行数:31,代码来源:layout.php


示例8: slot

slot('page_keywords');
echo $article->getCategory()->getPageKeywords();
end_slot('page_keywords');
?>

<?php 
slot('page_description');
echo $article->getCategory()->getPageDescription();
end_slot('page_description');
?>

<?php 
slot('title_page');
echo $article->getCategory()->getNameEn() . ' - ' . $article->getCategory()->getNameRu();
end_slot('title_page');
if (!$sf_user->isAuthenticated()) {
    slot('menu_part_1', '<td class="act_noreg"><a href="' . url_for('articles_category', $article->getCategory()) . '"><p>Parts - Разделы</p></a></td>');
}
$adsense = <<<EOD
EOD;
?>

<div id="close">
    <?php 
if ($back_url != '') {
    ?>
    <a href="<?php 
    echo $back_url;
    ?>
"><p><img src="/images/close_v.png" alt=""></p></a>
开发者ID:rollmax,项目名称:read2read,代码行数:30,代码来源:showArticleSuccess.php


示例9: use_helper

<?php use_helper('I18N') ?>

<?php slot('title') ?>Passwort geändert.<?php end_slot() ?>

<p>
<?php echo __("Your password has been successfully reset.<br>You are now logged
in to this site.<br>In the future, be sure to log in with your new password.", array(), 'sfForkedApply') ?>
</p>
<?php include_partial('sfApply/continue') ?>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:9,代码来源:resetAfter.php


示例10: include_partial

include_partial('sfSimpleBlogPostAdmin/list_header', array('pager' => $pager));
include_partial('sfSimpleBlogPostAdmin/list_messages', array('pager' => $pager));
?>
</div>

<?php 
echo slot('sfSimpleBlog_sidebar');
include_partial('sfSimpleBlog/administration');
?>
<div id="sf_admin_bar">
<?php 
include_partial('filters', array('filters' => $filters));
?>
</div>
<?php 
echo end_slot();
?>

<div id="sf_admin_content">
<?php 
if (!$pager->getNbResults()) {
    echo __('no result');
} else {
    include_partial('sfSimpleBlogPostAdmin/list', array('pager' => $pager));
}
include_partial('list_actions');
?>
</div>

<div id="sf_admin_footer">
<?php 
开发者ID:kriswallsmith,项目名称:sfSimpleBlogPlugin,代码行数:31,代码来源:listSuccess.php


示例11: slot

<?php

slot('page_keywords');
echo Setting::getValueByName('indexKeywords');
end_slot('page_keywords');
?>

<?php 
slot('page_description');
echo Setting::getValueByName('indexDescription');
end_slot('page_description');
开发者ID:rollmax,项目名称:read2read,代码行数:11,代码来源:_headerSettings.php


示例12: use_helper

<?php use_helper('I18N') ?>
<?php use_stylesheets_for_form( $form ) ?>
<?php slot('sf_apply_login') ?>
<?php end_slot() ?>

<?php slot('title') ?>Passwort zurücksetzen<?php end_slot() ?>

<p>
<?php echo __('You may change your password using the form below.', array(), 'sfForkedApply') ?>
</p>

<form class="form-horizontal" method="post" action="<?php echo url_for("sfApply/reset") ?>" name="sf_apply_reset_form" id="sf_apply_reset_form">
<fieldset>

<?php echo $form ?>

<div class="form-actions">
<input class="btn btn-primary" type="submit" value="<?php echo __("Reset My Password", array(), 'sfForkedApply') ?>">
<?php echo link_to(__('Cancel'), 'sfApply/resetCancel', array('class'=>'btn')) ?>
</div>
</fieldset>
</form>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:22,代码来源:resetLogged.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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