コード例 #1
0
ファイル: joinlistError.php プロジェクト: te-koyama/openpne
<?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()'));
コード例 #2
0
ファイル: showSuccess.php プロジェクト: te-koyama/openpne
?>
</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()));
?>




コード例 #3
0
ファイル: showSuccess.php プロジェクト: kiwpon/opDiaryPlugin
<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));
コード例 #4
0
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));
コード例 #5
0
    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>