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


PHP op_include_line函数代码示例

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


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

示例1: op_include_box

<?php

op_include_box('noJoinCommunity', __('You don\'t have any joined %community%.', array('%community%' => $op_term['community']->pluralize())), array('title' => __('Joined %community%', array('%community%' => $op_term['community']->pluralize()->titleize()))));
?>

<?php 
use_helper('Javascript');
op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
开发者ID:te-koyama,项目名称:openpne,代码行数:8,代码来源:joinlistError.php

示例2: include_customizes

?>
</div>
</div>

<?php 
/* ** added for opNicePlugin ** */
include_customizes("topicDetailBox", "bottom");
?>

<?php 
include_component('communityTopicComment', 'list', array('communityTopic' => $communityTopic));
?>

<?php 
if ($communityTopic->isCreatableCommunityTopicComment($sf_user->getMemberId())) {
    $options = array();
    $options['title'] = __('Post a new topic comment');
    $options['url'] = url_for('communityTopic_comment_create', $communityTopic);
    $options['isMultipart'] = true;
    op_include_form('formCommunityTopicComment', $form, $options);
}
?>

<?php 
op_include_line('linkLine', link_to('[' . $community->getName() . '] ' . __('Community Top Page'), 'community/home?id=' . $community->getId()));
?>




开发者ID:te-koyama,项目名称:openpne,代码行数:26,代码来源:showSuccess.php

示例3: __

<ul class="moreInfo button">
<li><input type="submit" class="input_submit" value="<?php 
    echo __('Edit this diary');
    ?>
" /></li>
</ul>
</form>
</div>
<?php 
}
?>
</div></div>
<?php 
/* }}} */
?>

<?php 
include_component('diaryComment', 'list', array('diary' => $diary));
?>

<?php 
if ($sf_user->getMemberId()) {
    $form->getWidget('body')->setAttribute('rows', 8);
    $form->getWidget('body')->setAttribute('cols', 40);
    op_include_form('formDiaryComment', $form, array('title' => __('Post a diary comment'), 'url' => url_for('@diary_comment_create?id=' . $diary->id), 'button' => __('Save'), 'isMultipart' => true));
}
?>

<?php 
op_include_line('lineLinkToDiaryMemberList', link_to(__('Diaries of %1%', array('%1%' => $member->name)), 'diary_list_member', $member));
开发者ID:kiwpon,项目名称:opDiaryPlugin,代码行数:30,代码来源:showSuccess.php

示例4: op_include_box

echo op_include_box('albumImageDetailBox', get_slot('_album_detail_table'), array('title' => __('View this photo')));
?>

<div class="dparts albumImageLikeList"><div class="parts">
<div class="block likeUnlikeLine">
<?php 
if ($albumImageLike = $albumImage->isLiked($sf_user->getMemberId())) {
    echo link_to(__('Unlike'), 'album_image_like_delete', $albumImageLike);
} else {
    echo link_to(__('Like'), 'album_image_like_create', $albumImage);
}
?>
</div>
<div class="block likeListDetail">
<?php 
include_component('albumImageLike', 'list', array('albumImage' => $albumImage));
?>
</div>
</div></div>

<?php 
include_component('albumImageComment', 'list', array('albumImage' => $albumImage, 'commentPage' => $commentPage));
?>

<?php 
include_partial('albumComment/create', array('form' => $form, 'url' => url_for('@album_image_comment_create?id=' . $albumImage->id), 'boxName' => 'formAlbumImageComment'));
?>

<?php 
op_include_line('backLink', link_to(__('Back to the album'), 'album_show', $album));
开发者ID:balibali,项目名称:opAlbumPlugin,代码行数:30,代码来源:showSuccess.php

示例5: __

    echo __('Edit this thread');
    ?>
" /></li>
</ul>
</form>
</div>
<?php 
}
?>
</div></div>
<?php 
/* }}} */
?>

<?php 
include_component('bbsComment', 'list', array('bbs' => $bbs));
?>

<?php 
if ($sf_user->getMemberId()) {
    $form->getWidget('body')->setAttribute('rows', 8);
    $form->getWidget('body')->setAttribute('cols', 30);
    op_include_form('formBbsComment', $form, array('title' => __('Post a bbs comment'), 'url' => url_for('@bbs_comment_create?id=' . $bbs->id), 'button' => __('Save'), 'isMultipart' => true));
}
?>

<?php 
op_include_line('linkLine', link_to('Threads list', '@bbs_list'));
?>
</div>
开发者ID:uzura8,项目名称:opSimpleBbsPlugin,代码行数:30,代码来源:showSuccess.php


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