} $option = array('border' => true); op_include_list('communityList', $list, $option); op_include_pager_navigation($pager, 'community/search?page=%d', array('is_total' => false, 'use_current_query_string' => true)); } else { echo __('Your search queries did not match any communities.'); } } ?> <?php $options = array('url' => url_for('community/search'), 'button' => __('Search'), 'method' => 'get', 'align' => 'center'); if (!$isResult) { $options['moreInfo'] = array(link_to(__('Create a new %community%'), '@community_edit')); } op_include_form('searchCommunity', $filters, $options); ?> <?php if ($isResult) { ?> <?php } else { $list = array(); foreach ($categorys as $category) { $list[] = link_to(sprintf('%s', $category->getName()), 'community/search', array('query_string' => 'community[community_category_id]=' . $category->getId())); } $option = array('border' => true, 'title' => __('Categories')); op_include_list('searchCategory', $list, $option); }
<?php use_helper('Date'); $options = array('title' => __('Search Community Wikis'), 'url' => url_for('communityWiki/search'), 'button' => __('Search'), 'method' => 'get'); if (!$communityId) { 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) {
<?php op_include_form('registerConnectionForm', $form, array('isMultipart' => true, 'url' => url_for('connection_update', $consumer), 'title' => __('アプリケーション編集'), 'button' => __('Edit')));
?> </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())); ?>
<?php include_component('communityTopicComment', 'list', array('communityTopic' => $communityTopic)); ?> <?php echo op_within_page_link(''); if ($acl->isAllowed($sf_user->getMemberId(), null, 'addComment')) { ?> <hr color="<?php echo $op_color['core_color_11']; ?> "> <?php $options['url'] = url_for('communityTopic_comment_create', $communityTopic); $options['button'] = __('Post'); $options['isMultipart'] = true; op_include_form('formTopicComment', $form, $options); } ?> <hr color="<?php echo $op_color['core_color_11']; ?> "> <?php echo link_to(__('Topic List'), '@communityTopic_list_community?id=' . $community->getId()); ?> <br> <?php echo link_to(__('Community Top'), 'community/home?id=' . $community->getId());
<?php echo op_include_form('passowrdResetForm', $form, array('title' => __('Password Recovery'), 'body' => __('Please input your new password.')));
<?php op_mobile_page_title(__('Edit profile')); ?> <?php op_include_form('profileForm', array($memberForm, $profileForm), array('url' => url_for('@member_editProfile'), 'align' => 'center', 'button' => __('Save')));
<?php op_mobile_page_title(__('Settings'), __('Delete Photo')); echo __('Do you delete this photo?'); ?> <hr color="<?php echo $op_color["core_color_12"]; ?> "> <center> <?php echo image_tag_sf_image($image->getFile(), array('size' => '120x120', 'format' => 'jpg')); ?> <br> <?php echo sprintf('[%s]', link_to(__('Expansion'), sf_image_path($image->getFile(), array('size' => '320x320', 'format' => 'jpg')))); ?> <br> </center> <hr color="<?php echo $op_color["core_color_12"]; ?> "> <?php op_include_form('deleteForm', $form, array('url' => url_for('member/deleteImage?member_image_id=' . $image->getId()), 'button' => __('Delete'), 'align' => 'center'));
<?php $form->getWidget('title')->setAttribute('size', 40); $form->getWidget('body')->setAttribute('rows', 15); $form->getWidget('body')->setAttribute('cols', 50); $options = array('button' => __('Save'), 'isMultipart' => true); if ($form->isNew()) { $options['title'] = __('Post a bbs'); $options['url'] = url_for('bbs_create'); } else { $options['title'] = __('Edit the bbs'); $options['url'] = url_for('bbs_update', $diary); } op_include_form('bbsForm', $form, $options);
<?php echo op_include_form('passwordRecovery', $form, array('title' => __('Password Recovery')));
<?php op_include_form('deleteConfirmForm', $form, array('button' => __('Delete'), 'title' => __('Do you really delete this thread?'), 'url' => url_for('bbs_delete', $bbs))); ?> <?php use_helper('Javascript'); ?> <?php op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
<?php op_include_form('deleteConfirmForm', $form, array('button' => __('Delete'), 'title' => __('Do you really delete this application?'), 'url' => url_for('connection_delete', $consumer))); ?> <?php use_helper('Javascript'); ?> <?php op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
<?php $mode = $form->isNew() ? __('Add') : __('Edit'); op_include_form('mangaForm', $form, array('title' => '4コマ漫画の' . $mode, 'button' => $mode)); ?> <?php if (!$form->isNew()) { ?> <?php op_include_parts('buttonBox', 'deleteForm', array('body' => __('この4コマ漫画をします。協力して描かれた作品である場合、あらかじめ削除する旨を協力者に伝えてください。'), 'title' => __('4コマ漫画を削除する'), 'button' => __('Delete'), 'method' => 'get', 'url' => url_for('ccccManga/delete?id=' . $form->getObject()->getId()))); ?> <?php }
<?php op_include_box('mtviewer_import_box', 'So-net SNS からダウンロードした書き込みデータを取り込みます', array('title' => 'インポート')); ?> <?php op_include_form('import_form_box', $form, array('isMultipart' => true)); ?> <?php slot('queue'); ?> <div class="partsInfo"> <p>現在のインポート待ち件数: <strong><?php 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'); ?> )
<?php $options = array('title' => __('Invite a friend to %1%', array('%1%' => $op_config['sns_name'])), 'url' => url_for('member/invite'), 'button' => __('Send')); op_include_form('inviteForm', $form, $options); ?> <?php if (count($invites)) { ?> <div class="dparts recentList" id="invitelistForm"> <div class="parts"> <div class="partsHeading"> <h3><?php echo __('Mail address list during invitation'); ?> </h3> </div> <form method="post" action="<?php echo url_for('member/invite'); ?> "> <?php $i = 0; foreach ($listform as $field) { if ($field->isHidden()) { continue; } ?>
<?php echo op_include_form('op2_diary_form', $form, array('url' => '@mtviewer_diary_update', 'title' => '日記の設定'));
<?php $id = sfContext::getInstance()->getRequest()->getParameter('id'); $options = array('title' => __('Search %Community% Topics'), 'url' => url_for('communityTopic_search', $community), 'button' => __('Search'), 'method' => 'get'); $form = new PluginCommunityTopicSearchForm(); op_include_form('searchCommunityTopic', $form, $options);
<?php slot('firstRow'); ?> <tr><th><?php echo __('Photo'); ?> </th><td><?php echo op_link_to_member($member->getId(), '@obj_member_profile', array('link_target' => image_tag_sf_image($member->getImageFileName(), array('size' => '76x76')))); ?> </td></tr> <tr><th><?php echo __('%nickname%', array('%nickname%' => $op_term['nickname']->titleize())); ?> </th><td><?php echo op_link_to_member($member->getId()); ?> </td></tr> <?php end_slot(); op_include_form('communityAdminRequest', $form, array('title' => __('Take over the administrator of "%1%"', array('%1%' => $community->getName())), 'firstRow' => get_slot('firstRow')));
$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'))); }
<?php op_include_form('deleteConfirmForm', $form, array('button' => __('Delete'), 'title' => __('Do you really delete this event?'), 'url' => url_for('communityEvent_delete', $communityEvent))); ?> <?php use_helper('Javascript'); ?> <?php op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
<?php op_mobile_page_title(__('Create introductory essay')) ?> <?php op_include_form('InfroFriend', array($form), array( 'button' => __('Create'), 'align' => 'center', ))?>
/** * @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); } }
<?php $options = array('title' => __('Member Registration'), 'url' => url_for('member/registerInput?token=' . $token), 'button' => __('Register')); op_include_form('RegisterForm', $form, $options);
<?php $options = array(); $options['title'] = __('Create a new event'); $options['url'] = url_for('communityEvent_create', $community); $options['isMultipart'] = true; op_include_form('formCommunityEvent', $form, $options);
<?php op_mobile_page_title($community->getName(), __('Create a new topic')); ?> <?php op_include_form('formCommunityTopic', $form, array('url' => url_for('communityTopic_create', $community), 'button' => __('Create')));
<?php op_include_form('unsetPermissionConfirm', $form, array('url' => url_for('OpenID/unsetPermission?id=' . $log->id), 'title' => __('Unset Permission'), 'body' => __('Do you unset the permission of this service?'), 'button' => __('Unset')));
?> <?php if ($sf_user->getMemberId()) { ?> <hr color="<?php echo $op_color["core_color_11"]; ?> "> <?php echo op_within_page_link(''); $options['title'] = __('Post a diary comment'); $options['url'] = url_for('diary_comment_create', $diary); $options['button'] = __('Save'); $options['isMultipart'] = true; op_include_form('formDiaryComment', $form, $options); ?> <?php if ('example.com' !== sfConfig::get('op_mail_domain')) { ?> [i:106]<?php echo op_mail_to('mail_diary_comment_create', array('id' => $diary->id), __('Post from E-mail')); ?> <br> <?php echo __('You can attach photo files to e-mail.'); ?> <br> <?php }
<?php echo op_include_form('PackageCreateForm', $form, array('url' => url_for('package_create'), 'title' => __('Create Plugin'), 'isMultipart' => true));
<?php op_mobile_page_title(__('Settings'), __('Delete Photo')); echo __('Do you delete this photo?'); ?> <hr color="<?php echo $op_color["core_color_12"]; ?> "> <center> <?php echo image_tag_sf_image($community->getImageFileName(), array('size' => '120x120', 'format' => 'jpg')); ?> <br> <?php echo sprintf('[%s]', link_to(__('Expansion'), sf_image_path($community->getImageFileName(), array('size' => '320x320', 'format' => 'jpg')))); ?> <br> </center> <hr color="<?php echo $op_color["core_color_12"]; ?> "> <?php op_include_form('deleteForm', $form, array('url' => url_for('community/deleteImage?id=' . $id), 'button' => __('Delete'), 'align' => 'center'));
<?php op_include_form('deleteConfirmForm', $form, array('button' => __('Delete'), 'title' => __('Do you really delete this topic?'), 'url' => url_for('@communityTopic_delete?id=' . $communityTopic->getId()))); ?>