comparison static/js/tinymce/examples/lists/media_list.js @ 45:966cde8635c0

For issue #3, created a separate news app. Created import management command. Using TinyMCE editor in the admin. News model now stores HTML. The news page is now paginated. Each story has a perma-link now.
author Brian Neal <bgneal@gmail.com>
date Thu, 15 Mar 2012 20:02:39 -0500
parents
children
comparison
equal deleted inserted replaced
44:42a6bde9913c 45:966cde8635c0
1 // This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
2 // There flash movies will be displayed as a dropdown in all media dialog if the "media_external_list_url"
3 // option is defined in TinyMCE init.
4
5 var tinyMCEMediaList = [
6 // Name, URL
7 ["Some Flash", "media/sample.swf"],
8 ["Some Quicktime", "media/sample.mov"],
9 ["Some AVI", "media/sample.avi"],
10 ["Some RealMedia", "media/sample.rm"],
11 ["Some Shockwave", "media/sample.dcr"],
12 ["Some Video", "media/sample.mp4"],
13 ["Some FLV", "media/sample.flv"]
14 ];