当前位置: 首页>>代码示例>>PHP>>正文


PHP include_slot函数代码示例

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


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

示例1: seo_admin_bar

/**
 * seo_admin_bar
 *
 * @return includes an SEO menu bar in your project to edit meta and sitemap data
 * @author Brent Shaffer
 */
function seo_admin_bar()
{
    if (has_slot('seo_admin_bar')) {
        include_slot('seo_admin_bar');
    } else {
        include_component('csSEO', 'seo_admin_bar');
    }
}
开发者ID:bshaffer,项目名称:Symplist,代码行数:14,代码来源:SeoHelper.php

示例2: include_slot

<?php

if (has_slot('a-footer')) {
    ?>
  <?php 
    include_slot('a-footer');
} else {
    ?>
  <?php 
    a_slot('footer', 'aRichText', array("global" => true));
}
// Feel free to shut this off in app.yml or override the footer partial in your app
if (sfConfig::get('app_a_credit', true)) {
    ?>
<div class="a-attribution">Built with <a href="http://www.apostrophenow.com/">Apostrophe</a></div>
<?php 
}
开发者ID:verenate,项目名称:gri,代码行数:17,代码来源:_footer.php

示例3: slot

<?php 
slot('title');
echo __('Inactive Apps');
end_slot();
?>

<?php 
if ($pager->getNbResults()) {
    slot('pager');
    op_include_pager_navigation($pager, '@op_opensocial_inactive_list?page=%d');
    end_slot();
    include_slot('pager');
    ?>
<ul>
<?php 
    foreach ($pager->getResults() as $application) {
        ?>
<li><?php 
        echo link_to($application->getTitle(), '@op_opensocial_info?id=' . $application->getId());
        ?>
</li>
<?php 
    }
    ?>
</ul>
<?php 
    include_slot('pager');
} else {
    echo __('There are no inactive app.');
}
开发者ID:niryuu,项目名称:opOpenSocialPlugin,代码行数:30,代码来源:inactiveListSuccess.php

示例4: include_partial

?>
          </div>
          <!--content ends-->
          
          <?php 
include_partial('global/sidebar');
?>

        </div>
        <!--main ends-->
        
        <?php 
include_partial('global/header');
?>
        <?php 
include_partial('global/footer');
?>
        
      </div>
    </div>
  </div>
  <!--wrapper ends-->
  <?php 
if (has_slot('popup')) {
    include_slot('popup');
}
?>
</body>
</html>

开发者ID:yasirgit,项目名称:afids,代码行数:29,代码来源:footer.php

示例5: use_helper

<?php

use_helper('I18N');
if (has_slot('sf_apply_login')) {
    ?>
  <?php 
    include_slot('sf_apply_login');
} else {
    ?>
  <?php 
    if ($loggedIn) {
        ?>
    <?php 
        include_partial('sfApply/logoutPrompt');
        ?>
  <?php 
    } else {
        ?>
    <?php 
        include_partial('sfApply/loginPrompt', array("form" => $form));
        ?>
  <?php 
    }
}
开发者ID:cpf,项目名称:eBot-CSGO-Web,代码行数:24,代码来源:_login.php

示例6: include_slot

include_slot('about');
?>
                    </div>
                    <div id="pricing">
                        <?php 
include_slot('pricing');
?>
                    </div>
                    <div id="trial">
			<?php 
include_slot('trial');
?>
                    </div>
                    <div id="getting_started">
                        <?php 
include_slot('getting_started');
?>
                    </div>
		</div>
            </td>
            <td>
                <div class="side_content">
                    <?php 
include_partial("public/eclassroom/eclassroom_nav");
?>
                    <div id="side_content_data">
                        <?php 
include_partial("public/eclassroom/supported");
?>
                    </div>
		</div>
开发者ID:janaece,项目名称:globalclassroom4_clean,代码行数:31,代码来源:layout_eclassroomsolutions.php

示例7: include_component

  </head>

  <body>

    <div class="navbar navbar-fixed-top navbar-inverse">
      <?php include_component('sfAdminDash','header'); ?>
    </div> <!-- /navbar -->

    <div class="container">
            
      <div class="hidden-desktop">
      <?php include_slot('breadcrump') ?>
      </div>

      <div class="row">
        <div class="span2 visible-desktop">
          <?php if (!include_slot('sidebar')): ?>
          <?php endif ?>
        </div>
        <div class="span10">
      
          <?php include_partial('global/flashes') ?>  
      
          <?php echo $sf_content ?>
            
        </div> <!-- /main -->
      </div>
    </div> <!-- /container -->

  </body>
</html>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:31,代码来源:__bootstrap_2_10.php

示例8: include_slot

        ?>
" />                
                                </div>
                    <?php 
    }
    ?>
 
                </p>

            </fieldset>

        </form>
        </div>
</div>
<?php 
    include_slot('define_work_week_end');
}
?>
<script type="text/javascript">
        //<![CDATA[
        var permissions = {
            canRead: <?php 
echo $workWeekPermissions->canRead() ? 'true' : 'false';
?>
,
            canCreate: <?php 
echo $workWeekPermissions->canCreate() ? 'true' : 'false';
?>
,            
            canUpdate: <?php 
echo $workWeekPermissions->canUpdate() ? 'true' : 'false';
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:defineWorkWeekSuccess.php

示例9: include_slot

</td>
<?php 
    }
    ?>

</tr>
<?php 
}
?>

</tbody>
</table>

<div class="block bottomBox">
<?php 
include_slot('calendar_pager');
?>
</div>

<?php 
if ($is_community || $isSelf) {
    ?>
<div class="partsInfo">
<?php 
    if ($add_schedule) {
        ?>
<p class="note_schedule">※<?php 
        echo __('You can add schedule to click %img%.', array('%img%' => image_tag('/opCalendarPlugin/images/icon_schedule.gif', array('alt' => __('Add schedule')))));
        ?>
</p>
<?php 
开发者ID:nise-nabe,项目名称:opCalendarPlugin,代码行数:31,代码来源:indexSuccess.php

示例10: include_slot

"><?php 
echo sfConfig::get('app_site_name');
?>
</a></h1>
		<p id="slogan"><?php 
echo sfConfig::get('app_site_slogan');
?>
</p>
	</div>

	<!-- content-wrap starts here -->
	<div id="content-wrap"><div id="content">
              <div id="sidebar" >
                  <h3>About this file</h3>
                  <?php 
include_slot('SideBar');
?>
		</div>
		<div id="main">
    <?php 
echo $sf_content;
?>
                    	</div>

	<!-- content-wrap ends here -->
	</div></div>

	<?php 
include_partial('global/footer');
?>
  </body>
开发者ID:jamespaulmuir,项目名称:cotinga,代码行数:31,代码来源:previewlayout.php

示例11: include_slot

<h1><?php 
include_slot('header', 'All Articles');
?>
</h1>

<?php 
include_partial('hello/articles', array('articles' => $articles));
开发者ID:rightsymfony,项目名称:msad,代码行数:7,代码来源:articleSuccess.php

示例12: __

echo __('Bug Tracker');
?>
</a></li>                        
                    </ul>
                </div>-->
            </div> <!-- branding -->      
            
            <?php 
include_component('core', 'mainMenu');
?>

            <div id="content">

                  <?php 
echo $sf_content;
?>

            </div> <!-- content -->
          
        </div> <!-- wrapper -->
        
        <div id="footer">
            <?php 
include_partial('global/copyright');
?>
        </div> <!-- footer -->        
        
        
<?php 
include_slot('footer', get_partial('global/footer'));
开发者ID:EFForg,项目名称:lemonhrm,代码行数:30,代码来源:freshorange.php

示例13: include_slot

          </td>
          <td class="column_right">


            <?php 
include_slot('blogWidget');
?>

            <?php 
include_slot('bannersOnRightWidget');
?>



            <?php 
include_slot('bannersOnRightBWidget');
?>
            <div class="boxseparator"></div>



        <?php 
//include_partial('global/topbox')
?>
        <?php 
//include_partial('global/centerbox')
?>
        <?php 
include_partial('global/footer');
?>
</body>
开发者ID:vcgato29,项目名称:poff,代码行数:31,代码来源:layout_old.php

示例14: include_slot

		<div id="header">
			<div class="content">
				<h1>
				</h1>
				<div id="opcions">
					<?php 
include_slot('opcions');
?>
				</div>
			</div>
		</div>
		<div id="content">
			<div id="central">	
				<div class="sidebar">
					<?php 
include_slot('sidebar');
?>
				</div>
				<div class="content">
					<?php 
echo $sf_content;
?>
				</div>
			</div>
			<div id="footer">
				<div class="content">
					<span class="footer_bar">
						<?php 
include_component('index', 'footer');
?>
					</span>
开发者ID:vmorant,项目名称:ttupf,代码行数:31,代码来源:index_contingut_layout.php

示例15: include_customizes

echo $options->getRaw('lastRow');
include_customizes($id, 'lastRow');
?>
</table>
<?php 
end_slot();
?>

<?php 
if ($hasRequiredField) {
    echo __('%0% is required field.', array('%0%' => '<strong>*</strong>'));
}
?>

<?php 
include_slot('form_table');
?>

<div class="operation">
<ul class="moreInfo button">
<li>
<?php 
foreach ($forms as $form) {
    echo $form->renderHiddenFields();
}
?>
<input type="submit" class="input_submit" value="<?php 
echo $options['button'];
?>
" />
</li>
开发者ID:te-koyama,项目名称:openpne,代码行数:31,代码来源:_partsForm.php


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