当前位置: 首页>>代码示例>>PHP>>正文


PHP FD::bbcode方法代码示例

本文整理汇总了PHP中FD::bbcode方法的典型用法代码示例。如果您正苦于以下问题:PHP FD::bbcode方法的具体用法?PHP FD::bbcode怎么用?PHP FD::bbcode使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FD的用法示例。


在下文中一共展示了FD::bbcode方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

			<div class="reply-content" data-reply-display-content>
				<?php 
echo $reply->getContent();
?>
			</div>

			<form data-reply-form class="reply-form reply-content-edit">
				<div class="alert alert-error alert-empty" style="display:none;">
					<button type="button" class="close" data-bs-dismiss="alert">×</button>
					<?php 
echo JText::_('APP_GROUP_DISCUSSIONS_EMPTY_REPLY_ERROR');
?>
				</div>

				<?php 
echo FD::bbcode()->editor('reply_content', $reply->content, array(), array('data-reply-content' => ''));
?>

				<div class="form-actions">
					<button type="button" class="pull-left btn btn-es-danger btn-sm" data-reply-edit-cancel><?php 
echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON');
?>
</a>
					<button type="button" class="pull-right btn btn-es-primary btn-sm" data-reply-edit-update><?php 
echo JText::_('COM_EASYSOCIAL_UPDATE_BUTTON');
?>
</a>
				</div>
			</form>

			<div class="reply-footer">
开发者ID:knigherrant,项目名称:decopatio,代码行数:31,代码来源:item.reply.php

示例2: array

				<hr />

				<div>
					<input type="text" name="title" value="<?php 
echo $this->html('string.escape', $discussion->title);
?>
"
						placeholder="<?php 
echo JText::_('APP_GROUP_DISCUSSIONS_TITLE_PLACEHOLDER', true);
?>
" class="form-control discussion-title mb-10"
					/>

					<div class="editor-wrap fd-cf">
						<?php 
echo FD::bbcode()->editor('content', $discussion->content, array('files' => $files, 'uid' => $group->id, 'type' => SOCIAL_TYPE_GROUP));
?>
					</div>
				</div>

				<div class="form-actions">
					<a href="<?php 
echo FRoute::groups(array('layout' => 'item', 'id' => $group->getAlias()));
?>
" class="pull-left btn btn-es-danger btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON');
?>
</a>
					<button type="submit" class="pull-right btn btn-es-primary btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_SUBMIT_BUTTON');
?>
开发者ID:knigherrant,项目名称:decopatio,代码行数:31,代码来源:form.php

示例3: array

    echo JText::_('APP_EVENT_DISCUSSIONS_YOUR_RESPONSE');
    ?>
</h4>
                            <hr />
                            <a id="reply"></a>

                            <form data-reply-form class="reply-form">
                                <div class="alert alert-error alert-empty">
                                    <button type="button" class="close" data-bs-dismiss="alert">×</button>
                                    <?php 
    echo JText::_('APP_EVENT_DISCUSSIONS_EMPTY_REPLY_ERROR');
    ?>
                                </div>

                                <?php 
    echo FD::bbcode()->editor('reply_content', '', array('files' => $files, 'uid' => $event->id, 'type' => SOCIAL_TYPE_EVENT, 'controllerName' => 'events'), array('data-reply-content' => ''));
    ?>

                                <div class="form-actions">
                                    <button type="button" class="pull-right btn btn-es-primary btn-large" data-reply-submit><?php 
    echo JText::_('APP_EVENT_DISCUSSIONS_SUBMIT_REPLY');
    ?>
 &rarr;</a>
                                </div>
                            </form>

                            <div class="locked-form">
                                <i class="ies-locked"></i>
                                <?php 
    echo JText::_('APP_EVENT_DISCUSSIONS_IS_LOCKED');
    ?>
开发者ID:ppantilla,项目名称:bbninja,代码行数:31,代码来源:item.php

示例4: parseBBCode

 /**
  * Convert bbcode data into valid html codes
  *
  * @param	string
  * @return  string (in html)
  */
 public function parseBBCode($string, $options = array())
 {
     // Configurable option to determine if the bbcode should perform the following
     $options = array_merge(array('censor' => false, 'emoticons' => true), $options);
     $bbcode = FD::bbcode();
     $string = $bbcode->parse($string, $options);
     return $string;
 }
开发者ID:BetterBetterBetter,项目名称:B3App,代码行数:14,代码来源:string.php

示例5: array

                <hr />

                <div>
                    <input type="text" name="title" value="<?php 
echo $this->html('string.escape', $discussion->title);
?>
"
                        placeholder="<?php 
echo JText::_('APP_EVENT_DISCUSSIONS_TITLE_PLACEHOLDER', true);
?>
" class="form-control discussion-title mb-10"
                    />

                    <div class="editor-wrap fd-cf">
                        <?php 
echo FD::bbcode()->editor('content', $discussion->content, array('files' => $files, 'uid' => $event->id, 'type' => SOCIAL_TYPE_EVENT, 'controllerName' => 'events'));
?>
                    </div>
                </div>

                <div class="form-actions">
                    <a href="<?php 
echo FRoute::events(array('layout' => 'item', 'id' => $event->getAlias()));
?>
" class="pull-left btn btn-es-danger btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON');
?>
</a>
                    <button type="submit" class="pull-right btn btn-es-primary btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_SUBMIT_BUTTON');
?>
开发者ID:knigherrant,项目名称:decopatio,代码行数:31,代码来源:form.php

示例6: array

    echo JText::_('APP_GROUP_DISCUSSIONS_YOUR_RESPONSE');
    ?>
</h4>
							<hr />
							<a id="reply"></a>

							<form data-reply-form class="reply-form">
								<div class="alert alert-error alert-empty">
									<button type="button" class="close" data-bs-dismiss="alert">×</button>
									<?php 
    echo JText::_('APP_GROUP_DISCUSSIONS_EMPTY_ERROR');
    ?>
								</div>

								<?php 
    echo FD::bbcode()->editor('reply_content', '', array('files' => $files, 'uid' => $group->id, 'type' => SOCIAL_TYPE_GROUP), array('data-reply-content' => ''));
    ?>

								<div class="form-actions">
									<button type="button" class="pull-right btn btn-es-primary btn-large" data-reply-submit><?php 
    echo JText::_('APP_GROUP_DISCUSSIONS_SUBMIT_REPLY');
    ?>
 &rarr;</a>
								</div>
							</form>

							<div class="locked-form">
								<i class="ies-locked"></i>
								<?php 
    echo JText::_('APP_GROUP_DISCUSSIONS_IS_LOCKED');
    ?>
开发者ID:knigherrant,项目名称:decopatio,代码行数:31,代码来源:item.php

示例7: array

?>

                            </select>
                        </div>

                        <div class="col-sm-6">
                            <?php 
echo $this->html('form.calendar', 'due', $milestone->due, 'due', array('placeholder="' . JText::_('APP_EVENT_TASKS_DUE_DATE_FOR_MILESTONE', true) . '"'));
?>
                        </div>
                    </div>

                    <div class="mt-15" style="clear:both;">
                        <div class="editor-wrap fd-cf">
                            <?php 
echo FD::bbcode()->editor('description', $milestone->description, array('uid' => $event->id, 'type' => SOCIAL_TYPE_EVENT));
?>
                        </div>
                    </div>
                </div>

                <div class="form-actions">
                    <a href="<?php 
echo FRoute::events(array('layout' => 'item', 'id' => $event->getAlias()));
?>
" class="pull-left btn btn-es-danger btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON');
?>
</a>
                    <button type="submit" class="pull-right btn btn-es-primary btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_SUBMIT_BUTTON');
开发者ID:knigherrant,项目名称:decopatio,代码行数:31,代码来源:form.php

示例8: array

?>

							</select>
						</div>

						<div class="col-sm-6">
							<?php 
echo $this->html('form.calendar', 'due', $milestone->due, 'due', array('placeholder="' . JText::_('APP_GROUP_TASKS_DUE_DATE_FOR_MILESTONE', true) . '"'));
?>
						</div>
					</div>

					<div class="mt-15" style="clear:both;">
						<div class="editor-wrap fd-cf">
							<?php 
echo FD::bbcode()->editor('description', $milestone->description, array('uid' => $group->id, 'type' => SOCIAL_TYPE_GROUP));
?>
						</div>
					</div>
				</div>

				<div class="form-actions">
					<a href="<?php 
echo FRoute::groups(array('layout' => 'item', 'id' => $group->getAlias()));
?>
" class="pull-left btn btn-es-danger btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_CANCEL_BUTTON');
?>
</a>
					<button type="submit" class="pull-right btn btn-es-primary btn-sm"><?php 
echo JText::_('COM_EASYSOCIAL_SUBMIT_BUTTON');
开发者ID:knigherrant,项目名称:decopatio,代码行数:31,代码来源:form.php


注:本文中的FD::bbcode方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。