Exemplo n.º 1
0
    ?>
<div class="moreInfo">
<ul class="moreInfo">
<?php 
    foreach ($options['moreInfo'] as $key => $value) {
        ?>
<li><?php 
        echo $options['moreInfo']->getRaw($key);
        ?>
</li>
<?php 
    }
    ?>
</ul>
</div>
<?php 
}
?>

</div><!-- parts -->
<?php 
if (empty($options['single'])) {
    ?>
</div><!-- dparts -->
<?php 
}
?>

<?php 
include_customizes($id, 'after');
Exemplo n.º 2
0
<ul>
<?php 
include_customizes($id, 'listBegin');
foreach ($options['list'] as $key => $value) {
    if ($key === $options['current']) {
        ?>
<li class="current">
<?php 
    } else {
        ?>
<li>
<?php 
    }
    echo $options['list']->getRaw($key);
    ?>
</li>
<?php 
}
include_customizes($id, 'listEnd');
?>
</ul>
Exemplo n.º 3
0
<?php

op_mobile_page_title($community->getName(), __('Detail of %community%'));
?>

<table width="100%" bgcolor="<?php 
echo $op_color["core_color_4"];
?>
">
<tr><td colspan="2" align="center">
<?php 
include_customizes('menu', 'top');
?>
<hr color="<?php 
echo $op_color["core_color_11"];
?>
" size="3">
</td></tr>

<?php 
$list = array(__('%community% Name') => $community->getName(), __('%community% Category', array(), 'form_community') => $community->getCommunityCategory(), __('Date Created') => op_format_date($community->getCreatedAt(), 'D'), __('Administrator') => op_link_to_member($community_admin->getId()), __('Count of Members') => $community->countCommunityMembers());
foreach ($community->getConfigs() as $key => $config) {
    $list[__($key, array(), 'form_community')] = $config;
}
$list[__('Register policy', array(), 'form_community')] = __($sf_data->getRaw('community')->getRegisterPolicy());
$list[__('%community% Description', array(), 'form_community')] = nl2br($community->getConfig('description'));
foreach ($list as $key => $value) {
    ?>
<font color="<?php 
    echo $op_color["core_color_19"];
    ?>
Exemplo n.º 4
0
<li><input class="input_submit" type="submit" value="<?php 
    echo __('Edit');
    ?>
" /></li>
</ul>
</form>
</div>
<?php 
}
?>
</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);
}
?>
Exemplo n.º 5
0
            if ($communityMember->hasPosition('admin_confirm')) {
                echo __("You are taking over this %community%'s administrator to this member now.");
            } else {
                echo link_to(__("Take over this %community%'s administrator to this member"), 'community/changeAdminRequest?id=' . $community->getId() . '&member_id=' . $member->getId());
            }
        } else {
            ?>
&nbsp;
<?php 
        }
        ?>
</td>
<?php 
    }
    ?>

<?php 
    include_customizes('id_member', 'after', $customizeOption);
    ?>
</tr>
<?php 
}
?>
</tbody>
</table>
</div>
<?php 
include_slot('pager');
?>
</div>
Exemplo n.º 6
0
if (opConfig::get('enable_friend_link') && !$relation->isFriend() && !$relation->isSelf() && $relation->isAllowed($sf_user->getRawValue()->getMember(), 'friend_link')) {
    echo link_to(__('Makes %friend%', array('%friend%' => $op_term['friend']->pluralize())), 'friend/link?id=' . $member->getId());
    ?>
<br>
<?php 
}
?>

<?php 
include_customizes('menu', 'friendTop');
include_component('default', 'nav', array('type' => 'mobile_friend', 'id' => $member->getId()));
include_customizes('menu', 'friendBottom');
?>

<?php 
include_customizes('menu', 'bottom');
?>
</td></tr>

<tr><td colspan="2" align="center">
<hr color="<?php 
echo $op_color["core_color_11"];
?>
" size="3">
</td></tr>
</table>
<br>
<?php 
if ($mobileContentsGadgets) {
    foreach ($mobileContentsGadgets as $gadget) {
        if ($gadget->isEnabled()) {
Exemplo n.º 7
0
<?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>
</ul>
</div>
<?php 
include_customizes($id, 'formBottom');
?>
</form>
Exemplo n.º 8
0
<?php

$options->setDefault('single', true);
?>

<div class="body sortHandle">
<?php 
include_customizes($id, 'bodyTop');
include_customizes('information', 'bodyTop');
echo $options->getRaw('body');
include_customizes('information', 'bodyBottom');
include_customizes($id, 'bodyBottom');
?>
</div>
Exemplo n.º 9
0
                ?>
</td>
<?php 
            } else {
                ?>
<td>&nbsp;</td>
<?php 
            }
        } else {
            ?>
<td<?php 
            echo !empty($menu['class']) ? ' class="' . $menu['class'] . '"' : '';
            ?>
>
<?php 
            echo $menu['text'];
            ?>
</td>
<?php 
        }
    }
    include_customizes('id_friend', 'after', $customizeOption);
    ?>
</tr>
<?php 
}
?>
</tbody></table></div>

<?php 
op_include_pager_navigation($options->getRaw('pager'), $options->getRaw('pager_url'));
Exemplo n.º 10
0
<input type="hidden" value="action" name="search" />
<input type="text" class="input_text" size="30" value="" name="search_query" />
</li>
<li>
<select name="search_module">
<?php 
include_customizes($id, 'itemFirst');
foreach ($options['items'] as $key => $value) {
    ?>
<option value="<?php 
    echo $key;
    ?>
"><?php 
    echo $value;
    ?>
</option>
<?php 
}
include_customizes($id, 'itemLast');
?>
</select>
</li>
<li>
<input type="submit" class="input_submit" value="<?php 
echo $options['button'];
?>
" />
</li>
</ul>
</form>
Exemplo n.º 11
0
<table>
<?php 
include_customizes($id, 'firstRow');
foreach ($options['list'] as $key => $value) {
    ?>
<tr>
<th><?php 
    echo $key;
    ?>
</th>
<td><?php 
    echo $options['list']->getRaw($key);
    ?>
</td>
</tr>
<?php 
}
include_customizes($id, 'lastRow');
?>
</table>
Exemplo n.º 12
0
}
if ($communityEvent->countCommunityEventMembers()) {
    $list['Count of Member'] .= '<br>' . link_to(__('See Member List'), '@communityEvent_memberList?id=' . $communityEvent->getId());
}
if ($communityEvent->getApplicationDeadline()) {
    $list['Application deadline'] = op_format_date($communityEvent->getApplicationDeadline(), 'D');
}
$list['Body'] = nl2br($communityEvent->getBody()) . '<br>' . op_format_date($communityEvent->getCreatedAt(), 'MM/dd HH:mm');
if ($communityEvent->isEditable($sf_user->getMemberId())) {
    $list[__('Edit this event')] = link_to(__('See event edit form'), '@communityEvent_edit?id=' . $communityEvent->getId());
}
include_customizes("communityEvent", "firstRow");
foreach ($list as $key => $value) {
    echo '<br>' . __($key, array(), 'community_event_form') . ':<br>' . $value . '<br>';
}
include_customizes("communityEvent", "lastRow");
?>

<?php 
include_component('communityEventComment', 'list', array('communityEvent' => $communityEvent));
?>

<?php 
echo op_within_page_link('');
if ($communityEvent->isCreatableCommunityEventComment($sf_user->getMemberId())) {
    ?>
<hr color="<?php 
    echo $op_color['core_color_11'];
    ?>
">
<div id="formEventComment">
Exemplo n.º 13
0
<?php

include_customizes('inputForm', 'top');
?>
<p>新規登録をするには以下のリンクから、本文を入力せずにメールを送信してください。</p>
<?php 
include_customizes('inputForm', 'formTop');
?>
<br>
[i:106]<?php 
echo op_mail_to('register_sns', array(), 'メールで登録');
?>
<br>
<?php 
include_customizes('inputForm', 'formBottom');
include_customizes('inputForm', 'bottom');
Exemplo n.º 14
0
</a></li>
<?php 
    }
    ?>
</ul>
<?php 
}
echo op_url_cmd(op_decoration(nl2br($diary->body)));
?>
</div>
</dd>
</dl>

<?php 
/* **added for opNicePlugin** */
include_customizes('diaryDetailBox', 'bottom');
?>


<?php 
if ($diary->member_id === $sf_user->getMemberId()) {
    ?>
<div class="operation">
<form action="<?php 
    echo url_for('diary_edit', $diary);
    ?>
">
<ul class="moreInfo button">
<li><input type="submit" class="input_submit" value="<?php 
    echo __('Edit this diary');
    ?>
Exemplo n.º 15
0
    }
    if ($diary->getNext($sf_user->getMemberId())) {
        ?>
 <?php 
        echo link_to(__('Next Diary'), 'diary_show', $diary->getNext($sf_user->getMemberId()));
    }
    ?>
</center>
<?php 
}
?>


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

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

<?php 
if ($sf_user->getMemberId()) {
    ?>
<hr color="<?php 
    echo $op_color["core_color_11"];
    ?>
">
<?php 
    echo op_within_page_link('');