Revision: 9053
http://languagetool.svn.sourceforge.net/languagetool/?rev=9053&view=rev
Author: gulp21-1
Date: 2013-01-18 21:02:50 +0000 (Fri, 18 Jan 2013)
Log Message:
-----------
[web] download button for LanguageToolFx
Modified Paths:
--------------
trunk/website/www/css/style.css
trunk/website/www/index.php
Added Paths:
-----------
trunk/website/include/downloadFx.php
trunk/website/www/images/extension.png
trunk/website/www/images/extension.svg
Added: trunk/website/include/downloadFx.php
===================================================================
--- trunk/website/include/downloadFx.php (rev 0)
+++ trunk/website/include/downloadFx.php 2013-01-18 21:02:50 UTC (rev
9053)
@@ -0,0 +1,14 @@
+<?php
+if( !isset($downloadTitleFx) ) $downloadTitleFx = 'Download
LanguageToolFx';
+if( !isset($downloadLabelFx) ) $downloadLabelFx = 'extension for
Mozilla<span class="reg">®</span> Firefox<span class="reg">®</span>';
+?>
+
+<div class="downloadButtonSmallContainer">
+<div class="downloadButton downloadButtonSmall">
+<a class='piwik_download'
href="https://addons.mozilla.org/firefox/addon/languagetoolfx/">
+ <img class="downloadButtonLogo" src="<?php print $rootUrl
?>/images/extension.png" alt="extension"/>
+ <span class="languagetool"><?php print $downloadTitleFx ?></span><br/>
+ <span class="download"><?php print $downloadLabelFx ?></span><br/>
+</a>
+</div>
+</div>
Modified: trunk/website/www/css/style.css
===================================================================
--- trunk/website/www/css/style.css 2013-01-18 14:56:48 UTC (rev 9052)
+++ trunk/website/www/css/style.css 2013-01-18 21:02:50 UTC (rev 9053)
@@ -331,20 +331,21 @@
.downloadButtonSmall {
display: block;
background-image: linear-gradient(to bottom, #FBDB2D 0%, #EC8622 100%)
!important;
- margin-left: 22px;
+/* margin-left: 22px; */
}
.downloadButtonSmall, .downloadButtonSmall > a {
min-height: 42px !important;
+ padding-right: 5px;
}
.downloadButtonSmall img, .downloadButtonSmall span {
position: relative;
- left: -22px;
+/* left: -22px; */
}
.downloadButtonSmall img {
- top: -1px;
+/* top: -1px; */
}
.downloadButtonSmall span {
@@ -356,11 +357,16 @@
}
.downloadButtonSmall .downloadButtonLogo {
- height: 45px !important;
- width: 45px !important;
- padding: 0px 5px 0px 0px;
+ height: 32px !important;
+ width: 32px !important;
+ padding: 4px;
}
+.reg {
+ font-size: 50%;
+ vertical-align: top;
+}
+
/* end: download button on the homepage */
.longPage h2 {
Added: trunk/website/www/images/extension.png
===================================================================
(Binary files differ)
Property changes on: trunk/website/www/images/extension.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/website/www/images/extension.svg
===================================================================
--- trunk/website/www/images/extension.svg (rev 0)
+++ trunk/website/www/images/extension.svg 2013-01-18 21:02:50 UTC (rev
9053)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="35"
+ height="35"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="extension.svg"
+
inkscape:export-filename="/home/markus/Downloads/languagetool/website/www/images/extension.png"
+ inkscape:export-xdpi="82.283699"
+ inkscape:export-ydpi="82.283699">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient3752">
+ <stop
+ style="stop-color:#0066a0;stop-opacity:0.90196079;"
+ offset="0"
+ id="stop3754" />
+ <stop
+ style="stop-color:#0066c8;stop-opacity:1;"
+ offset="1"
+ id="stop3756" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3752"
+ id="radialGradient3760"
+ cx="240.62491"
+ cy="822.36218"
+ fx="240.62491"
+ fy="822.36218"
+ r="17.5"
+
gradientTransform="matrix(-1.9973607e-6,-1.9999955,2.0000001,-1.9973653e-6,-1394.7239,1303.6124)"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.919596"
+ inkscape:cx="6.7688582"
+ inkscape:cy="16.78322"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:window-width="1366"
+ inkscape:window-height="702"
+ inkscape:window-x="-4"
+ inkscape:window-y="-3"
+ inkscape:window-maximized="1">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2998"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true"
+ originx="-211.71545px"
+ originy="-234.48718px" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Ebene 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-211.71545,-782.875)">
+ <path
+
style="fill:url(#radialGradient3760);fill-opacity:1.0;stroke:#0066ff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 219.87402,815.54638 0,-6.09569 -1.19734,0 c -0.22655,0
-4.78935,2.43827 -5.98669,-1.82872 -0.59867,-3.04785 -0.66588,-4.04551
0,-6.09569 0,0 0.89801,-2.35688 2.39467,-2.43828 1.49667,-0.0814
3.32599,1.19979 3.59202,1.21913 l 1.19734,0.087 0,-6.79235 c 0.16801,-1.31116
0.92278,-1.66643 1.796,-1.82871 l 5.9867,0 0,-1.21915 c 0,0 -1.97054,-1.60428
-1.79601,-3.04784 0.17453,-1.44355 1.98016,-2.97761 3.59201,-3.65741
1.61185,-0.67982 3.81091,-0.58139 5.38802,0 1.57711,0.58139 3.29541,1.60409
3.59201,3.04784 0.2966,1.44376 -1.79601,3.65741 -1.79601,3.65741 l 0,1.21915
7.7827,0 c 0.96942,0.23208 1.53905,0.8712 1.79601,1.82871 l 0,7.9244 -0.59867,0
c 0,0 -2.36367,-1.51439 -3.59202,-1.21914 -1.09866,0.26409 -1.94957,1.34415
-2.39467,2.43829 -0.44509,1.09412 -0.59866,1.8287 0,3.65742 0.59867,1.8287
1.7754,2.35486 2.99335,2.43827 1.21794,0.0835 2.99334,-1.82871 2.99334,-1.82871
l 0.59867,0 0,8.53398 c -0.43398,0.81918 -0.81157,1.71013 -1.79601,1.82871 l
-9.5787,0 0,-1.21915 c 0,0 1.28673,-1.91198 1.19734,-3.04784 -0.0893,-1.13586
-0.57556,-2.45975 -1.79601,-3.04785 -1.22045,-0.58811 -3.16039,-0.50075
-4.19068,0 -1.0303,0.50075 -2.39467,1.82871 -2.39467,3.04785 0,1.21914
1.19734,3.04784 1.19734,3.04784 l 0,1.21915 -7.18404,0 c -1.43927,-0.22916
-1.60669,-1.03389 -1.796,-1.82871 z"
+ id="path2996"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccscczsccccczzzzccccccazzzcccccczzzzcccc" />
+ </g>
+</svg>
Modified: trunk/website/www/index.php
===================================================================
--- trunk/website/www/index.php 2013-01-18 14:56:48 UTC (rev 9052)
+++ trunk/website/www/index.php 2013-01-18 21:02:50 UTC (rev 9053)
@@ -109,10 +109,10 @@
<a href="http://www.libreoffice.org/download">LibreOffice
3.5.4</a></strong> (or later) or
<strong><a href="http://www.openoffice.org/download/">Apache
OpenOffice 3.4.1</a></strong> (or later) as older versions
have a bug that causes a freeze on startup</li>
- <li>Use <em>Tools -> Extension Manager -> Add...</em> in
LibreOffice/OpenOffice.org to install this file</li>
+ <li>Use <em>Tools → Extension Manager → Add…</em>
in LibreOffice/OpenOffice.org to install this file</li>
<li><strong>Restart OpenOffice.org/LibreOffice</strong> after
installation of the extension</li>
<li>If you are using LibreOffice 3.5.x and you want to check
English texts:
- Use <em>Options -> Language Settings -> Writing Aids ->
Edit...</em> to disable LightProof and enable LanguageTool for English</li>
+ Use <em>Options → Language Settings → Writing Aids
→ Edit…</em> to disable LightProof and enable LanguageTool for
English</li>
</ul>
</td>
@@ -125,7 +125,17 @@
<li>Unzip the file and start LanguageToolGUI.jar by double
clicking it.
Also see <?=show_link("other ways to use LanguageTool",
"usage/", 0)?>.</li>
</ul>
-
+
+ <br/>
+
+ <?php
+ include("../include/downloadFx.php");
+ ?>
+
+ <ul style="padding-left: 20px">
+ <li>Check selected text on websites and text in text fields</li>
+ </ul>
+
</td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits