<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) PHP Fusion Inc
| https://phpfusion.com/
+--------------------------------------------------------+
| Filename: ulist_bbcode_include_var.php
| Author: Wooya
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
    die("Access Denied");
}
//Unordered list BBCode VARS
$__BBCODE__[] = [
    "description"    => $locale['bb_ulist_description'], "value" => "ulist",
    "bbcode_start"   => "[ulist=TYPE]", "bbcode_end" => "[/ulist]",
    "usage"          => "[ulist=(disc|circle|square)]".$locale['bb_ulist_usage']."[/ulist]",
    "onclick"        => "return overlay(this, 'bbcode_ulist_".$textarea_name."', 'rightbottom');",
    "onmouseover"    => "", "onmouseout" => "",
    "html_start"     => "<div id='bbcode_ulist_".$textarea_name."' class='tbl1 bbcode-popup' style='display: none; border:1px solid black; position: absolute; width: auto; height: auto; text-align: center' onclick=\"overlayclose('bbcode_ulist_".$textarea_name."');\">",
    "includejscript" => "", "calljscript" => "", "phpfunction" => "",
    "html_middle"    => "<input type='button' value='".$locale['bb_ulist_1']."' class='button' style='width:70px' onclick=\"addText('".$textarea_name."', '[ulist=disc]', '[/ulist]', '".$inputform_name."');return false;\" /><br /><input type='button' value='".$locale['bb_ulist_2']."' class='button' style='width:70px' onclick=\"addText('".$textarea_name."', '[ulist=circle]', '[/ulist]', '".$inputform_name."');return false;\" /><br /><input type='button' value='".$locale['bb_ulist_3']."' class='button' style='width:70px' onclick=\"addText('".$textarea_name."', '[ulist=square]', '[/ulist]', '".$inputform_name."');return false;\" />",
    "html_end"       => "</div>"
];

