1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00
php-e107/e107_core/templates/bbcode_template.php

90 lines
2.7 KiB
PHP
Raw Normal View History

2006-12-02 04:36:16 +00:00
<?php
/*
2009-11-12 15:01:36 +00:00
* e107 website system
*
* Copyright (C) e107 Inc (e107.org)
2009-11-12 15:01:36 +00:00
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* $URL$
* $Id$
2009-11-12 15:01:36 +00:00
*/
2006-12-02 04:36:16 +00:00
// How to register your own BBcode button.
// Uncomment the 2 commented lines below to see it in action. (only applies to the user area)
2009-07-07 07:25:27 +00:00
// $register_bb['blank'] = array("", "[blank][/blank]","Blank example helper text",e_IMAGE."bbcode/template.png");
// Simplified default bbcode bar - removed P, H, BR and NOBR bbcodes
// This is used on the front-end. ie. comments etc.
2006-12-02 04:36:16 +00:00
$BBCODE_TEMPLATE = "
2021-11-26 12:36:25 -08:00
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=left}{BB=center}{BB=right}{BB=justify}{BB=bq}{BB=list}{BB=emotes}
<div class='field-spacer'><!-- --></div>
2006-12-02 04:36:16 +00:00
";
$BBCODE_TEMPLATE_COMMENT = ""; // no buttons on comments by default.
2006-12-02 04:36:16 +00:00
// $BBCODE_TEMPLATE .= "{BB=blank}";
$BBCODE_TEMPLATE_SIGNATURE = "
2021-11-26 12:36:25 -08:00
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=left}{BB=center}{BB=right}{BB=justify}{BB=list}
<div class='field-spacer'><!-- --></div>
";
2006-12-02 04:36:16 +00:00
// $sc_style['BB_HELP']['pre'] = "<div style='text-align:center'>";
// $sc_style['BB_HELP']['post'] = "</div>";
$BBCODE_TEMPLATE_SUBMITNEWS = "
{BB_HELP}
<div class='field-spacer'><!-- --></div>
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=left}{BB=center}{BB=right}{BB=justify}
{BB=list}{BB=nobr}{BB=br}{BB=fontcol}{BB=fontsize}{BB=emotes}{BB=flash}{BB=youtube}
<div class='field-spacer'><!-- --></div>
";
2006-12-02 04:36:16 +00:00
// -------- Admin Templates ----------------------
$BBCODE_TEMPLATE_ADMIN = "
<div class='btn-toolbar'>
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=format}{BB=left}{BB=center}{BB=right}{BB=justify}
{BB=list}{BB=table}{BB=fontcol}{BB=fontsize}{BB=emotes}
2014-01-23 17:23:38 -08:00
{BB_PREIMAGEDIR}{BB=flash}
<div class='btn-group'>{BB=preimage}{BB=prefile}{BB=youtube}</div>
2013-03-16 02:05:04 -07:00
</div>
2006-12-02 04:36:16 +00:00
";
2009-11-04 20:19:11 +00:00
$BBCODE_TEMPLATE_MAILOUT = "
<div class='btn-toolbar'>
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=left}{BB=center}{BB=right}{BB=justify}{BB=list}{BB=fontcol}{BB=fontsize}{BB=emotes}
2014-01-23 17:23:38 -08:00
{BB_PREIMAGEDIR}{BB=flash}
<div class='btn-group'>{BB=preimage}{BB=prefile}{BB=shortcode}</div>
</div>
2009-11-04 20:19:11 +00:00
";
2006-12-02 04:36:16 +00:00
// $BBCODE_TEMPLATE_ADMIN .= "{BB=blank}";
$BBCODE_TEMPLATE_NEWSPOST = "
<div class='btn-toolbar'>
2021-11-26 12:36:25 -08:00
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=format}{BB=left}{BB=center}{BB=right}{BB=justify}{BB=list}{BB=table}{BB=fontcol}{BB=fontsize}{BB=emotes}{BB=flash}
{BB_PREIMAGEDIR=news}
2014-01-23 17:23:38 -08:00
<div class='btn-group'>{BB=preimage}{BB=prefile}{BB=youtube}</div>
</div>
2006-12-02 04:36:16 +00:00
";
$BBCODE_TEMPLATE_CPAGE = "
<div class='btn-toolbar'>
{BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=format}{BB=left}{BB=center}{BB=right}{BB=justify}
2014-01-23 17:23:38 -08:00
{BB=list}{BB=table}{BB=fontcol}{BB=fontsize}{BB=emotes}{BB=flash}
{BB_PREIMAGEDIR=page}
2014-01-23 17:23:38 -08:00
<div class='btn-group'>{BB=preimage}{BB=prefile}{BB=youtube}</div>
</div>
2006-12-02 04:36:16 +00:00
";