Seditio Source code viewer
Root | Root
./Seditio-Developer/Seditio.175/plugins/textboxer2/tb2.forums.posts.php
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome & Seditio Team
http://www.neocrome.net
http://www.seditio.org
[BEGIN_SED]
File=plugins/textboxer2/tb2.forums.posts.php
Version=175
Updated=2012-dec-31
Type=Plugin
Author=Arkkimaagi
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=textboxer2
Part=forums.posts
File=tb2.forums.posts
Hooks=forums.posts.newpost.tags
Tags=forums.posts.tpl:{FORUMS_POSTS_NEWPOST_TEXTBOXER}
Order=10
[END_SED_EXTPLUGIN]
==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

require_once(
"plugins/textboxer2/lang/textboxer2.".$usr['lang'].".lang.php");
require_once(
"plugins/textboxer2/inc/textboxer2.inc.php");

$tb2DropdownIcons = array(-1,49,1,7,10,15,19,23,35,50);
$tb2MaxSmilieDropdownHeight = 300;     // Height in px for smilie dropdown
$tb2InitialSmilieLimit = 20;        // Smilies loaded by default to dropdown
$tb2TextareaRows = 16;                // Rows of the textarea

// Do not edit below this line !

$tb2ParseBBcodes = TRUE;
$tb2ParseSmilies = TRUE;
$tb2ParseBR = TRUE;

$ta = $post_mark.$post_guest.sed_textboxer2('newmsg',
           
'newpost',
           
sed_cc($newmsg),
           
$tb2TextareaRows,
           
$tb2TextareaCols,
           
'forumsposts',
           
$tb2ParseBBcodes,
           
$tb2ParseSmilies,
           
$tb2ParseBR,
           
$tb2Buttons,
           
$tb2DropdownIcons,
           
$tb2MaxSmilieDropdownHeight,
           
$tb2InitialSmilieLimit).$pfs;

$t->assign("FORUMS_POSTS_NEWPOST_TEXTBOXER", $ta);
$t->assign("FORUMS_POSTS_NEWPOST_TEXT", $ta);

?>
Presented with Sourceer