diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-15 19:08:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-15 19:08:40 -0400 |
commit | e2b43578a677894d23fa526d9201e5a89b231abc (patch) | |
tree | cd59dc2071520757b616d038e8c27ac6a0195bc4 /templates | |
parent | 3a939f05c509ef57740d6524c785667e36ccff24 (diff) | |
download | ikiwiki-e2b43578a677894d23fa526d9201e5a89b231abc.tar ikiwiki-e2b43578a677894d23fa526d9201e5a89b231abc.tar.gz |
load attachment javascript into template the clean way
Diffstat (limited to 'templates')
-rw-r--r-- | templates/editpage.tmpl | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl index b3098a240..efe077f84 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 /> @@ -29,12 +27,6 @@ <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> |