Implemented custom cms format, and associated administration pages.

Applied to existing filter and format.
Added embedded_video filter (initially contribute by Javier Velilla).
This commit is contained in:
Jocelyn Fiat
2017-03-30 11:58:44 +02:00
parent 134f876e62
commit 0ce7d11e52
20 changed files with 758 additions and 43 deletions

View File

@@ -0,0 +1,34 @@
note
description: "Summary description for {VIDEO_HTML_CONTENT_FORMAT}."
author: ""
date: "$Date: 2015-07-10 13:38:10 +0200 (ven., 10 juil. 2015) $"
revision: "$Revision: 97687 $"
class
VIDEO_HTML_CONTENT_FORMAT
inherit
CONTENT_FORMAT
redefine
default_create
end
feature {NONE} -- Initialization
default_create
do
Precursor
create filters.make (0)
filters.force (create {VIDEO_CONTENT_FILTER})
end
feature -- Access
name: STRING = "video_html"
title: STRING_8 = "Video HTML content"
filters: ARRAYED_LIST [CONTENT_FILTER]
end