##############################################################
## MOD Title: Thumbnails
## MOD Author: leviatan21 
## Modified: Cama 
##   TorrentPier II: DarkMod
## :   BBCode  "",           .
##
## :       
## 
##############################################################


------------------------------[  ]-----------------------------

bbcode.php

------------------------------[  ]------------------------------

// Image

------------------------------[   ]------------------------

// Thumbnails
$bbcode_tpl['thumbnails'] = <<<HTML
<a href="\\1" onclick="return hs.expand(this)" rel="topic" class="highslide"><img src="\\1" border="0" style="max-width:200px; max-height:120px;" class="thumb"/></a>
HTML;


------------------------------[  ]------------------------------

            '#\[font="([\w\- \']+)"\]#isu'                           => '<span style="font-family: $1;">',

------------------------------[   ]---------------------

			"#\[thumbnails\]($img_url_exp)\[/thumbnails\]\s*#i" 	 => $tpl['thumbnails'],
            
------------------------------[  ]-----------------------------

posting_editor.tpl

------------------------------[  ]------------------------------

<input type="button" value="{L_SPOILER}" name="codeSpoiler" title="{L_SPOILER}" style="width: 65px;" />

------------------------------[   ]---------------------

<input type="button" value="{L_SKETCH}" name="codeThumbnails" title="{L_SKETCH_TITLE}" style="width: 50px" />

------------------------------[  ]------------------------------

bbcode.addTag("codeSpoiler", "spoiler", null, "",  ctrl);

------------------------------[   ]---------------------

bbcode.addTag("codeThumbnails", "thumbnails", null, "T", ctrl);

------------------------------[  ]-----------------------------

lang_main.php(RUS/ENG)

------------------------------[  ]------------------------------

$lang['URL_TITLE'] = ' (Ctrl+W)';

------------------------------[   ]---------------------

$lang['SKETCH'] = '';
$lang['SKETCH_TITLE'] = '  (Ctrl+T)';

------------------------------[  ]-----------------------------

page_header.tpl

------------------------------[  ]------------------------------

<!-- IF INCLUDE_DEVELOP_JS -->

------------------------------[   ]---------------------

<script type="text/javascript" src="{#BB_ROOT}misc/js/subSiver/highslide.js"></script> 
<link rel="stylesheet" type="text/css" href="{#BB_ROOT}misc/js/subSiver/highslide.css" /> 
<script type="text/javascript"> 
  hs.graphicsDir = '{#BB_ROOT}misc/js/subSiver/graphics/'; 
  hs.align = 'center'; 
  hs.transitions = ['expand', 'crossfade']; 
  hs.outlineType = 'glossy-dark'; 
    hs.wrapperClassName = 'dark'; 
  hs.fadeInOut = true; 
  hs.dimmingOpacity = 0.50; 
  hs.numberPosition = 'caption'; 
</script>

------------------------------[   ]---------------------