##############################################################
## MOD Title: Shots
## MOD Author: 
## Modified:  
##   TorrentPier II:
## :   BBCode  "",           .
##
## :     ( As is)
## 
##############################################################


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

bbcode.php

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

// Code

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

// Shots
$bbcode_tpl['Shots'] = <<<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;">',

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

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

posting_editor.tpl

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

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

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

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

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

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

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

bbcode.addTag("codeShots", "Shots", null, "T", ctrl);

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

lang_main.php(RUS)

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

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

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

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

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

page_header.tpl

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

<head>

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

<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox.css" media="screen" />
<script type="text/javascript" src="fancybox/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="fancybox/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox-1.2.1.pack.js"></script>

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

</head>

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

<script type="text/javascript">
$(document).ready(function() {

    $("a.Shots").fancybox({"padding" : 20,
          "imageScale" : true, 
			"zoomOpacity" : false,
			"zoomSpeedIn" : 300,	
			"zoomSpeedOut" : 300,	
			"zoomSpeedChange" : 1000, 
			"frameWidth" : 300,	 
			"frameHeight" : 300, 
			"overlayShow" : true, 
			"overlayOpacity" : 0.8,	
			"hideOnContentClick" :false,
			"centerOnScroll" : false})
			
			
});
</script>

------------------------------[  ]---------------------
 fancybox  

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

################################ #########################
padding -   ()   .     20px,  ,   ;
imageScale -   true - ()    ,  false -     .   - true;
zoomOpacity -       (  false). ,     0  1;
zoomSpeedIn -        (  0);
zoomSpeedOut -        (  0) ;
zoomSpeedChange -        (  0);
frameWidth -  , px (425px -  );
frameHeight -  , px(355px -  );
overlayShow - (  true)  true,      .    jquery.fancybox.css - div#fancy_overlay
overlayOpacity -   (0.3  );
hideOnContentClick -  true         (  ).   true;
centerOnScroll -  true,     ,    .
###########################################################################