本文整理汇总了PHP中op_include_box函数的典型用法代码示例。如果您正苦于以下问题:PHP op_include_box函数的具体用法?PHP op_include_box怎么用?PHP op_include_box使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了op_include_box函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: op_include_box
<?php
op_include_box('noMembers', __('Nobody joins this event.'), array('title' => __('Event Members')));
?>
<?php
use_helper('Javascript');
op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
开发者ID:te-koyama,项目名称:openpne,代码行数:8,代码来源:memberListError.php
示例2: op_include_box
<?php
op_include_box('noFriend', __('You don\'t have any %friend%.', array('%friend%' => $op_term['friend']->pluralize())), array('title' => __('%friend% List', array('%friend%' => $op_term['friend']->titleize()))));
?>
<?php
use_helper('Javascript');
op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
开发者ID:te-koyama,项目名称:openpne,代码行数:8,代码来源:listError.php
示例3: 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
示例4: link_to
$list[$key] = link_to(__($categoryCaptions[$key]), '@member_config?category=' . $key);
}
}
op_include_parts('pageNav', 'pageNav', array('list' => $list, 'current' => $categoryName));
?>
<?php
$list = array();
if (opConfig::get('enable_connection')) {
$list[] = link_to(__('Connecting with External Application'), '@connection_list');
}
if (opConfig::get('enable_openid')) {
$list[] = link_to(__('OpenID Configuration'), '@openid_list');
}
if ($list) {
op_include_parts('pageNav', 'connection', array('list' => $list));
}
?>
<?php
$list = array(link_to(__('Delete your %1% account', array('%1%' => $op_config['sns_name'])), '@member_delete'));
op_include_parts('pageNav', 'navForDelete', array('list' => $list));
end_slot();
?>
<?php
if ($categoryName) {
op_include_form($categoryName . 'Form', $form, array('title' => __($categoryCaptions[$categoryName]), 'url' => url_for('@member_config?category=' . $categoryName)));
} else {
op_include_box('configInformation', __('Please select the item that wants to be set from the menu.'), array('title' => __('Change Settings')));
}
开发者ID:kawahara,项目名称:OpenPNE3,代码行数:31,代码来源:configSuccess.php
示例5: unset
unset($form['target']);
unset($form['id']);
}
op_include_form('searchCommunityWiki', $form, $options);
?>
<?php
if ($pager->getNbResults()) {
?>
<?php
$list = array();
foreach ($pager->getResults() as $key => $topic) {
$list[$key] = array();
$list[$key][__('Name', array(), 'community_wiki_form')] = $topic->getName();
$list[$key][__('%community% Name')] = $topic->getCommunity()->getName();
$list[$key][__('Body', array(), 'community_wiki_form')] = $topic->getBody();
$list[$key][__('Date Updated', array(), 'form_community')] = format_datetime($topic->getUpdatedAt(), 'f');
}
$options = array('title' => __('Search Results'), 'pager' => $pager, 'link_to_page' => 'communityWiki/search?page=%d', 'list' => $list, 'link_to_detail' => $link_to_detail);
op_include_parts('searchResultList', 'searchResultCommunityWiki', $options);
} else {
if ('topic' === $type) {
$message = __('Your search queries did not match any community topics.');
} else {
if ('wiki' === $type) {
$message = __('Your search queries did not match any community events.');
}
}
op_include_box('searchCommunityWikiResult', $message, array('title' => __('Search Results')));
}
开发者ID:hiroyaxxx,项目名称:opCommunityWikiPlugin,代码行数:31,代码来源:searchSuccess.php
示例6: array
<?php
$options = array('title' => __('Errors'));
op_include_box('mailError', __('Couldn\'t send E-mail. Please retry or contact to administrator.'), $options);
?>
<?php
use_helper('Javascript');
op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
?>
开发者ID:te-koyama,项目名称:openpne,代码行数:10,代码来源:mailErrorSuccess.php
示例7: op_include_pager_navigation
if ($pager->getNbResults()) {
?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading"><h3><?php
echo $title;
?>
</h3></div>
<?php
op_include_pager_navigation($pager, '@diary_comment_history?page=%d');
foreach ($pager->getResults() as $diaryCommentUpdate) {
$diary = $diaryCommentUpdate->Diary;
?>
<dl>
<dt><?php
echo op_format_date($diaryCommentUpdate->last_comment_time, 'XDateTimeJa');
?>
</dt>
<dd><?php
echo op_diary_link_to_show($diary, true, false);
?>
</dd>
</dl>
<?php
}
op_include_pager_navigation($pager, '@diary_comment_history?page=%d');
?>
</div></div>
<?php
} else {
op_include_box('diaryList', __('There are no diaries.'), array('title' => $title));
}
开发者ID:meruto,项目名称:opDiaryPlugin,代码行数:31,代码来源:historySuccess.php
示例8: __
<?php
echo !isset($keyword) ? __('There are no diaries.') : __('Your search "%1%" did not match any diaries.', array('%1%' => $keyword));
?>
<?php
}
?>
<?php
slot('diarySearchForm');
?>
<form action="<?php
echo url_for('@diary_search');
?>
">
<input type="text" name="keyword" value="<?php
if (isset($keyword)) {
echo $keyword;
}
?>
">
<input type="submit" value="<?php
echo __('Search');
?>
">
</form>
<?php
end_slot();
$options = array('title' => __('Diary Search'));
op_include_box('diarySearchForm', get_slot('diarySearchForm'), $options);
开发者ID:kawahara,项目名称:opDiaryPlugin,代码行数:30,代码来源:listSuccess.php
示例9: array
<?php
$options = array('title' => __('Search %community%', array('%community%' => $op_term['community']->titleize()->pluralize())), 'url' => url_for('@community_search'), 'button' => __('Search'), 'moreInfo' => array(link_to(__('Create a new %community%'), '@community_edit')), 'method' => 'get');
op_include_form('searchCommunity', $filters, $options);
?>
<?php
if ($pager->getNbResults()) {
?>
<?php
$list = array();
foreach ($pager->getResults() as $key => $community) {
$list[$key] = array();
$list[$key][__('%community% Name', array('%community%' => $op_term['community']->titleize()))] = $community->getName();
$list[$key][__('Count of Members')] = $community->countCommunityMembers();
$list[$key][__('Description')] = $community->getConfig('description');
}
$options = array('title' => __('Search Results'), 'pager' => $pager, 'link_to_page' => '@community_search?page=%d', 'link_to_detail' => '@community_home?id=%d', 'list' => $list);
op_include_parts('searchResultList', 'searchCommunityResult', $options);
} else {
op_include_box('searchCommunityResult', __('Your search queries did not match any %community%.', array('%community%' => $op_term['community']->pluralize())), array('title' => __('Search Results')));
}
开发者ID:te-koyama,项目名称:openpne,代码行数:23,代码来源:searchSuccess.php
示例10: array
<?php
$options = array('title' => $isProfile ? __('Recent 4 coma manga list') : __('Recent My 4 coma manga list'), 'list' => $ccccMangaList, 'link_to' => 'ccccManga/index?id=', 'type' => 'full', 'row' => $row, 'col' => $col);
?>
<?php
if (count($ccccMangaList)) {
$options['moreInfo'] = array(link_to(__('More info'), 'ccccManga/listMember'));
} else {
$options['moreInfo'] = array();
}
if (!$isProfile) {
$options['moreInfo'][] = link_to(__('new'), 'ccccManga/edit');
}
?>
<?php
if (count($ccccMangaList)) {
op_include_parts('nineTable', 'mangaList_' . $gadget->getId(), $options);
} else {
op_include_box('mangaList_' . $gadget->getId(), '', $options);
}
开发者ID:nothan,项目名称:opCCCCPlugin,代码行数:22,代码来源:_recentMyMangaList.php
示例11: foreach
">
<span id="count">
<span id="count_num">140</span>
<span id="count_plus" title="もう少し入力できます"></span>
</span>
<?php
echo $form->renderHiddenFields();
echo $form['body'];
?>
<input type="submit" id="submit" value="送信" />
<?php
echo $form['twitter'] . $form['twitter']->renderLabel();
?>
</form>
<ol id="timeline" class="activities">
<?php
foreach ($activities as $activity) {
include_partial('default/activityRecord', array('activity' => $activity));
}
?>
</ol>
</div>
<?php
end_slot();
?>
<?php
op_include_box('twitter_' . $gadget->id, get_slot('body'), array('title' => 'Twtter風ガジェット'));
开发者ID:upsilon,项目名称:opTwitterlikePlugin,代码行数:30,代码来源:_twitter.php
示例12: end_slot
<br />
<?php
echo $form['body']->render(array('autocomplete' => 'off'));
?>
<input type="submit" id="submit" value="送信" />
</div>
</form>
<?php
}
?>
<?php
end_slot();
?>
<?php
op_include_box('chatroom_body', get_slot('chatroom_body'), array('title' => $room->getTitle()));
?>
<?php
echo javascript_tag('
op_chat.url = {
post: "' . url_for('@chatroom_post?id=' . $room->id) . '",
show: "' . url_for('@chatroom_show?id=' . $room->id) . '",
heartbeat: "' . url_for('@chatroom_heartbeat?id=' . $room->id) . '"
};
');
?>
开发者ID:kawahara,项目名称:opChatPlugin,代码行数:29,代码来源:showSuccess.php
示例13: op_include_box
<?php
op_include_box('error', __('There is not %friend% you can introduce.', array('%friend%' => $op_term['friend'])), array('title' => __('Errors')));
?>
<?php
use_helper('Javascript');
op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
开发者ID:nothan,项目名称:opCommunityIntroductionPlugin,代码行数:8,代码来源:inputError.php
示例14: use_helper
<?php
use_helper('OpenSocial');
?>
<?php
op_include_form('searchApplication', $searchForm, array('title' => __('Search Apps'), 'url' => url_for('@application_gallery'), 'method' => 'get', 'button' => __('Search')));
?>
<?php
if (isset($pager) && $pager->getNbResults()) {
slot('pager');
op_include_pager_navigation($pager, '@application_gallery?page=%d', array('use_current_query_string' => true));
end_slot();
include_slot('pager');
foreach ($pager->getResults() as $application) {
op_include_application_information_box('item_' . $application->getId(), $application, null, false);
}
include_slot('pager');
} else {
op_include_box('AppGalleryError', __('Your search queries did not match any Apps.'), array('title' => __('Search Results')));
}
开发者ID:niryuu,项目名称:opOpenSocialPlugin,代码行数:22,代码来源:gallerySuccess.php
示例15: include_box
/**
* @deprecated since 3.0beta4
*/
function include_box($id, $title = '', $body = '', $options = array())
{
use_helper('Debug');
log_message('include_box() is deprecated.', 'err');
$options['title'] = $title;
if (!empty($options['form'])) {
if ($body) {
$options['info'] = $body;
}
if (!isset($options['button'])) {
$options['button'] = '変更';
}
if (!isset($options['url'])) {
$request = sfContext::getInstance()->getRequest();
$options['url'] = $request->getParameter('module') . '/' . $request->getParameter('action');
} else {
$options['url'] = url_for($options['url']);
}
op_include_form($id, $options['form'], $options);
} else {
op_include_box($id, $body, $options);
}
}
开发者ID:te-koyama,项目名称:openpne,代码行数:26,代码来源:opPartsHelper.php
示例16: count
echo count($queue);
?>
</strong> 件</p>
</div>
<ol>
<?php
foreach ($queue as $job) {
?>
<li>
<?php
echo $job->File->original_filename;
?>
(アップロード: <?php
echo op_format_date($job->File->created_at, 'f');
?>
)
</li>
<?php
}
?>
</ol>
<?php
end_slot();
?>
<?php
op_include_box('import_queue', get_slot('queue'), array('title' => 'インポート待ちのファイル'));
?>
开发者ID:upsilon,项目名称:opMTViewerPlugin,代码行数:29,代码来源:indexSuccess.php
示例17: op_include_box
<?php
op_include_box('error', __('You can not delete your account.'));
?>
<?php
use_helper('Javascript');
op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
开发者ID:te-koyama,项目名称:openpne,代码行数:8,代码来源:deleteError.php
示例18: __
<li><input id="close_button" type="button" value="<?php
echo __('Close');
?>
" onclick="submit(false); false;" /></li>
</ul>
</div>
</div>
<?php
} else {
echo __('You don\'t have any %friend%.', array('%friend%' => $op_term['friend']->pluralize()));
}
end_slot();
?>
<?php
op_include_box('inviteListBox', get_slot('invite_list_body'), array('title' => __('The invitation to this app is sent')));
javascript_tag();
?>
var member_ids = [];
var changePage = function (page) {
new Ajax.Request("<?php
echo url_for('@application_invite_list?id=' . $memberApplication->getId());
?>
?page=" + page, {
method: 'get',
onCreate: function() {
$('member_list').innerHTML = '<tr><td colspan="2"><?php
echo __('Loading');
?>
</td></tr>';
},
开发者ID:rysk92,项目名称:opOpenSocialPlugin,代码行数:31,代码来源:inviteSuccess.php
示例19: op_include_box
<?php
op_include_box('vote_question_create_box', '選択肢つきの質問を作成することができます!', array('title' => '質問作成', 'moreInfo' => array(link_to('質問作成', '@vote_new'))));
?>
<?php
if ($pager->getNbResults()) {
?>
<?php
slot('pager');
op_include_pager_navigation($pager, '@vote_list?page=%d');
end_slot();
?>
<div class="dparts recentList"><div class="parts">
<div class="partsHeading">
<h3>質問リスト</h3>
</div>
<?php
include_slot('pager');
foreach ($pager->getResults() as $item) {
?>
<dl>
<dt><?php
echo op_format_date($item->getUpdatedAt(), 'f');
?>
</dt>
<dd><?php
echo link_to(sprintf("%s(%d)", $item->getTitle(), count($item->getVoteAnswers())), '@vote_show?id=' . $item->getId());
开发者ID:kawahara,项目名称:opVotePlugin,代码行数:31,代码来源:indexSuccess.php
示例20: slot
<?php
slot('_register_success_box');
?>
<p><?php
echo __('Sent you an invitation for %1%.', array('%1%' => $op_config['sns_name']));
?>
</p>
<p><?php
echo __('Begin your registration from a URL in the mail.');
?>
</p>
<?php
end_slot();
op_include_box('requestSuccess', get_slot('_register_success_box'), array('title' => __('Register')));
开发者ID:te-koyama,项目名称:openpne,代码行数:15,代码来源:requestRegisterURLSuccess.php
注:本文中的op_include_box函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论