<?php include_box('notFriend', __('Error'), __('A %friend%\'s introductory essay does not exists.')); ?>

<?php use_helper('Javascript') ?>
<?php op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()')) ?>
示例#2
0
<?php

if ($sf_user->getMemberId()) {
    $form->getWidget('body')->setAttribute('rows', 5);
    $form->getWidget('body')->setAttribute('cols', 25);
    $title = __('Post a comment');
    $options = array('form' => $form, 'url' => $url, 'button' => __('Save'), 'isMultipart' => true);
    include_box($boxName, $title, '', $options);
}
示例#3
0
<?php

include_box('blogError', __('Error'), __('The member id is invalid'));
<?php include_box( 'infobox', __('Create introductory essay'), __('It was created')) ?>
<?php include_box('notFriend', __('Error'), __('Not your %friend%')); ?>

<?php use_helper('Javascript') ?>
<?php op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()')) ?>
示例#6
0
<?php

include_box('noAshiato', __('Pageview logs'), __('no other Pageview logs'));
?>

<?php 
use_helper('Javascript');
op_include_line('backLink', link_to_function(__('Back to previous page'), 'history.back()'));
示例#7
0
<?php

include_box('blogAlert', __('Newest blog'), __('The blog is none'));
<style type="text/css">
.example
{
  margin-bottom: 1em;
  padding: 1em;
  background-color: #CCCCCC;
}
</style>

<?php 
if (opPluginChannelServerToolkit::getConfig('channel_name') !== opPluginManager::OPENPNE_PLUGIN_CHANNEL) {
    include_box('usageBox', __('How to use this plugin channel server'), '<p>' . __('If you want to use plugins in this channel server, please install by the following command:') . '</p>' . '<div class="example"><code>$ ./symfony opPlugin:install [plugin-name] --channel=' . opPluginChannelServerToolkit::getConfig('channel_name') . '</code></div>' . '<p>' . __('You can set this server as your default channel server (only OpenPNE 3.5.0 +). Edit your config/OpenPNE.yml like:') . '</p>' . '<div class="example"><code>default_plugin_channel_server: ' . opPluginChannelServerToolkit::getConfig('channel_name') . '</code></div>');
} else {
    include_box('usageBox', __('How to use this plugin channel server'), '<p>' . __('If you want to use plugins in this channel server, please install by the following command:') . '</p>' . '<div class="example"><code>$ ./symfony opPlugin:install [plugin-name]</code></div>');
}