view.php
1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
namespace Tz\WordPress\Tools\AddThis;
?>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>
<div class="addthis_toolbox <?php echo isset(Vars::$options['use_32px_icons']) ? "addthis_32x32_style" : ""; ?> addthis_default_style">
<?php if ( isset(Vars::$options['show_share_dropdown']) && Vars::$options['show_share_dropdown']==1): ?>
<a href="http://addthis.com/bookmark.php?v=250" class="addthis_button_compact">Share</a>
<span class="addthis_separator"> </span>
<?php endif; ?>
<?php if ( isset(Vars::$options['facebook']) && Vars::$options['facebook']==1): ?>
<a class="addthis_button_facebook"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['twitter']) && Vars::$options['twitter']==1): ?>
<a class="addthis_button_twitter"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['googlebuzz']) && Vars::$options['googlebuzz']==1): ?>
<a class="addthis_button_googlebuzz"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['email']) && Vars::$options['email']==1): ?>
<a class="addthis_button_email"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['print_button']) && Vars::$options['print_button']==1): ?>
<a class="addthis_button_print"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['myspace']) && Vars::$options['myspace']==1): ?>
<a class="addthis_button_myspace"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['digg']) && Vars::$options['digg']==1): ?>
<a class="addthis_button_digg"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['stumble_upon']) && Vars::$options['stumble_upon']==1): ?>
<a class="addthis_button_stumbleupon"></a>
<?php endif; ?>
<?php if ( isset(Vars::$options['facebook_like']) && Vars::$options['facebook_like']==1): ?>
<span class="addthis_separator"> </span>
<a class="addthis_button_facebook_like"></a>
<?php endif; ?>
</div>