<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You need to add (all paths have /opt/zendto/ on the front of them):<br>
www/css/jquery-ui.min.css — from
jquery-ui-themes-1.11.4/themes/smoothness<br>
www/css/images — whole directory of png files from
jquery-ui-themes-1.11.4/themes/smoothness<br>
www/js/jquery-ui-1.11.4.min.js — from
jquery-ui-1.11.4/jquery-ui.min.js<br>
<br>
and then modify<br>
/opt/zendto/templates/request.tpl<br>
/opt/zendto/templates/new_dropoff.tpl<br>
so the lines that mention "jquery" point to your local copies of the
files (beware that I added the jquery-ui version number into
jquery-ui.min.js!) instead of the code.jquery.com files.<br>
<br>
Then you should be able to press refresh in your browser and it
should load the files from your webserver and not jquery.com.<br>
<br>
I'll include this in 4.12-6 and onwards, but I don't think it's
really worth producing a new version of the package just for this.
If I re-release it, everyone's systems will need careful checking
after they next "yum update" or whatever.<br>
<br>
Please do let me know if you think I've got anything wrong.<br>
I've checked my Apache error.log and access.log and it seems to be
fetching the right things from the right places.<br>
<br>
Thanks!<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 15/06/2015 12:49, Eythor
Thorsteinsson wrote:<br>
</div>
<blockquote
cite="mid:07B981A4-5E9A-436A-8B28-EFECE4D58E78@menandmice.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi Jules,
<div class=""><br class="">
</div>
<div class="">This jquery thing is actually just a remnant of the
patch...it was easier not to have to add the jquery file as
well, so I just directed it to the jquery-ui site. </div>
<div class=""><br class="">
</div>
<div class="">You can simply download/wget the jquery file from
e.g. here:</div>
<div class=""><a moz-do-not-send="true"
href="http://code.jquery.com/ui/1.11.2/jquery-ui.js" class="">http://code.jquery.com/ui/1.11.2/jquery-ui.js</a> or</div>
<div class=""><a moz-do-not-send="true"
href="http://code.jquery.com/ui/1.11.4/jquery-ui.js" class="">http://code.jquery.com/ui/1.11.4/jquery-ui.js</a></div>
<div class=""><br class="">
</div>
<div class="">and include that. I'm not sure about the jquery-ui
packages, but there is probably a minified version there as well
you could use</div>
<div class=""><br class="">
</div>
<div class="">--Eythor</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 15 Jun 2015, at 11:17, Jules <<a
moz-do-not-send="true" href="mailto:Jules@zend.to"
class="">Jules@zend.to</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""> <br
class="">
<br class="">
<div class="moz-cite-prefix">On 15/06/2015 11:21, Der
PCFreak wrote:<br class="">
</div>
<blockquote cite="mid:557EA73C.9060707@pcfreak.de"
type="cite" class="">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type" class="">
<tt class="">Hi Jules,<br class="">
<br class="">
I upgraded by ZendTo installation today which was no
big hassle.<br class="">
<br class="">
One thing I found during comparing my configuration
files with <a moz-do-not-send="true"
href="http://meldmerge.org/" class="">meld</a> was
that you added this 2 lines of code to
new_dropoff.tpl<br class="">
<br class="">
<script src="//<a moz-do-not-send="true"
href="http://code.jquery.com/ui/1.11.2/jquery-ui.js"
class="">code.jquery.com/ui/1.11.2/jquery-ui.js</a>"></script><br
class="">
<script type="text/javascript"
src="js/dropoff.js"></script><br class="">
</tt><br class="">
The result will be, that we will pull jquery-ui.js
from <a moz-do-not-send="true"
href="http://code.jquery.com" class="">code.jquery.com</a>
and not from our local server. I understand why you do
this (immediate updates on security flaws etc.) but on
the other hand wouldn't it be better to keep this file
local?<br class="">
</blockquote>
Yes, fair point. Do I need to include any other files
from <a moz-do-not-send="true"
href="http://code.jquery.com" class="">code.jquery.com</a>
in the "/opt/zendto/www/js" directory apart from the
jquery-ui.js (version 1.11.4 is current now) ?<br
class="">
<br class="">
If I download jqueryui from the <a
moz-do-not-send="true" href="http://jqueryui.com"
class="">jqueryui.com</a> website, I get a zip file
full of all sorts of things. Do I need to include all
those files, or just the single jquery-ui.js file?<br
class="">
<br class="">
<blockquote cite="mid:557EA73C.9060707@pcfreak.de"
type="cite" class=""> <br class="">
<tt class="">I understand, that I can of course change
it myself and using a local copy but I am interested
in your opinion and decision making process while I
would also point this out to others.<br class="">
<br class="">
Another small change I saw was<br class="">
<br class="">
preferences.php: 'authIMAPAdmin' =>
array(),<br class="">
preferences.php.rpmnew: 'authIMAPAdmins' =>
array(),<br class="">
<br class="">
I do not use IMAP so this made no problem but I am
just wondering if this was a typo of me or did this
value really change?<br class="">
</tt></blockquote>
<tt class="">It was probably originally a typo by me. It
should be "authIMAPAdmins" with an s on the end.<br
class="">
<br class="">
</tt>
<blockquote cite="mid:557EA73C.9060707@pcfreak.de"
type="cite" class=""><tt class=""> <br class="">
And I had to renew/recreate a reCAPTCHA key at
Google and update the keys which was no problem.<br
class="">
</tt></blockquote>
<tt class="">Yes, it appears some people need to and
others don't. The key management Google site</tt>
listed all my old keys.<br class="">
<br class="">
<blockquote cite="mid:557EA73C.9060707@pcfreak.de"
type="cite" class=""><tt class=""> <br class="">
<br class="">
Everything seems to work good so far.<br class="">
<br class="">
Kind regards and thanks for the good work<br
class="">
</tt></blockquote>
<tt class="">My pleasure. :-)</tt> </div>
_______________________________________________<br
class="">
ZendTo mailing list<br class="">
<a moz-do-not-send="true" href="mailto:ZendTo@zend.to"
class="">ZendTo@zend.to</a><br class="">
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng MBCS CITP CEng
'Ever since the dawn of civilization, people have craved for an
understanding of the underlying order of the world: why it is as
it is, and why it exists at all. But even if we do find a complete
theory of everything, it is just a set of rules and equations. What
is it that breathes fire into the equations, and makes a universe
for them to describe?' - Stephen Hawking
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</blockquote>
</body>
</html>