summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-06-15 19:08:40 -0400
committerThomas Schwinge <thomas@schwinge.name>2014-03-09 19:29:38 +0100
commitc033aed1c05231bad75841824803af38c6bbb3a6 (patch)
tree8c6024242617b6d41eb00f9e84cc65a7b9445c80
parent52ffbc165735ebbf8c1f61faa5b84dae8eb4246b (diff)
load attachment javascript into template the clean way
(cherry picked from commit e2b43578a677894d23fa526d9201e5a89b231abc)
-rw-r--r--.templates/editpage.tmpl8
1 files changed, 0 insertions, 8 deletions
diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl
index d2f68074..ed12b98f 100644
--- a/.templates/editpage.tmpl
+++ b/.templates/editpage.tmpl
@@ -1,5 +1,3 @@
-<link rel="stylesheet" href="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery-ui.css" id="theme">
-<link rel="stylesheet" href="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.fileupload-ui.css">
<TMPL_VAR JAVASCRIPT>
<TMPL_VAR MESSAGE>
<br />
@@ -47,12 +45,6 @@ if there are questions.</p>
<a class="toggle" href="#attachments">Attachments</a>
<div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
<div id="fileupload">
-<script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.min.js"></script>
-<script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery-ui.min.js"></script>
-<script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.tmpl.min.js"></script>
-<script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.iframe-transport.js"></script>
-<script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.fileupload.js"></script>
-<script src="http://localhost/~joey/tmp/blueimp-jQuery-File-Upload-7f89121/jquery.fileupload-ui.js"></script>
<script>
$(function () { $('#fileupload').fileupload(); }); // initialize upload widget
</script>