View | Details | Raw Unified | Return to bug 3910 | Differences between
and this patch

Collapse All | Expand All

(-)styles/articleView.css (-2 / +2 lines)
 Lines 60-70    Link Here 
60
	padding-bottom: 2.5em;
60
	padding-bottom: 2.5em;
61
}
61
}
62
62
63
#articleFontSize {
63
#articleTools {
64
	float: right;
64
	float: right;
65
}
65
}
66
66
67
#articleFontSize img {
67
#articleTools img {
68
	display: inline;
68
	display: inline;
69
	vertical-align: middle;
69
	vertical-align: middle;
70
	margin: 0;
70
	margin: 0;
(-)templates/article/article.tpl (-1 / +28 lines)
 Lines 13-23    Link Here 
13
{if $galley}
13
{if $galley}
14
	{if $galley->isHTMLGalley()}
14
	{if $galley->isHTMLGalley()}
15
		<div id="topBar">
15
		<div id="topBar">
16
			<div id="articleFontSize">
16
			<div id="articleTools">
17
				{translate key="article.fontSize"}:&nbsp;
17
				{translate key="article.fontSize"}:&nbsp;
18
				<a href="#" onclick="setFontSize('{translate|escape:"jsparam" key="article.fontSize.small.altText"}');" class="icon">{icon path="lib/pkp/templates/images/icons/" name="font_small"}</a>&nbsp;
18
				<a href="#" onclick="setFontSize('{translate|escape:"jsparam" key="article.fontSize.small.altText"}');" class="icon">{icon path="lib/pkp/templates/images/icons/" name="font_small"}</a>&nbsp;
19
				<a href="#" onclick="setFontSize('{translate|escape:"jsparam" key="article.fontSize.medium.altText"}');" class="icon">{icon path="lib/pkp/templates/images/icons/" name="font_medium"}</a>&nbsp;
19
				<a href="#" onclick="setFontSize('{translate|escape:"jsparam" key="article.fontSize.medium.altText"}');" class="icon">{icon path="lib/pkp/templates/images/icons/" name="font_medium"}</a>&nbsp;
20
				<a href="#" onclick="setFontSize('{translate|escape:"jsparam" key="article.fontSize.large.altText"}');" class="icon">{icon path="lib/pkp/templates/images/icons/" name="font_large"}</a>
20
				<a href="#" onclick="setFontSize('{translate|escape:"jsparam" key="article.fontSize.large.altText"}');" class="icon">{icon path="lib/pkp/templates/images/icons/" name="font_large"}</a>
21
				&nbsp;
22
				<!-- start AddThis -->
23
				{if $sharingEnabled}
24
				{if isset($sharingDropDownMenu)}
25
26
				{if isset($sharingUserName)}
27
				<script type="text/javascript">var addthis_pub = '{$sharingUserName}';</script>
28
				{/if}{* sharingUserName *}
29
30
31
				<a href="http://www.addthis.com/bookmark.php" 
32
					onmouseover="return addthis_open(this, '', '{$sharingArticleURL}', '{$sharingArticleTitle}')" 
33
					onmouseout="addthis_close()" onclick="return addthis_sendto()">
34
						<img src="{$sharingButtonUrl}" width="{$sharingButtonWidth}" height="{$sharingButtonHeight}" border="0" alt="Bookmark and Share" style="border:0;padding:0" />
35
					</a>
36
					<script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>
37
				{else}{* sharingUserName *}
38
				<a href="http://www.addthis.com/bookmark.php" 
39
				   onclick="window.open('http://www.addthis.com/bookmark.php?pub={$sharingUserName}&amp;url={$sharingRequestURL}&amp;title={$sharingArticleTitle}', 'addthis', 
40
					                    'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); 
41
							return false;" 
42
					title="Bookmark using any bookmark manager!" target="_blank">
43
					<img src="{$sharingButtonUrl}" width="{$sharingButtonWidth}" height="{$sharingButtonHeight}" border="0" alt="Bookmark and Share" style="border:0;padding:0" />
44
				</a>
45
				{/if}{* sharingDropdown *}
46
				{/if}{* sharingEnabled *}
47
				<!-- end AddThis -->
21
			</div>
48
			</div>
22
		</div>
49
		</div>
23
		{$galley->getHTMLContents()}
50
		{$galley->getHTMLContents()}
(-)templates/article/footer.tpl (+1 lines)
 Lines 18-23    Link Here 
18
{/if}{* sharingUserName *}
18
{/if}{* sharingUserName *}
19
19
20
<div class="addthis_container">
20
<div class="addthis_container">
21
	<br />
21
<a href="http://www.addthis.com/bookmark.php" 
22
<a href="http://www.addthis.com/bookmark.php" 
22
	onmouseover="return addthis_open(this, '', '{$sharingArticleURL}', '{$sharingArticleTitle}')" 
23
	onmouseover="return addthis_open(this, '', '{$sharingArticleURL}', '{$sharingArticleTitle}')" 
23
	onmouseout="addthis_close()" onclick="return addthis_sendto()">
24
	onmouseout="addthis_close()" onclick="return addthis_sendto()">

Return to bug 3910