diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/static/js/tinymce/examples/lists/media_list.js	Thu Mar 15 20:02:39 2012 -0500
@@ -0,0 +1,14 @@
+// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
+// There flash movies will be displayed as a dropdown in all media dialog if the "media_external_list_url"
+// option is defined in TinyMCE init.
+
+var tinyMCEMediaList = [
+	// Name, URL
+	["Some Flash", "media/sample.swf"],
+	["Some Quicktime", "media/sample.mov"],
+	["Some AVI", "media/sample.avi"],
+	["Some RealMedia", "media/sample.rm"],
+	["Some Shockwave", "media/sample.dcr"],
+	["Some Video", "media/sample.mp4"],
+	["Some FLV", "media/sample.flv"]
+];
\ No newline at end of file