From 18d00e176826a353503f889bb8ea157e5228304b Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 15 Apr 2010 17:07:13 +0000 Subject: Added granular access for views in ECML. Added 'usage' on keyword info. Updated docs. git-svn-id: http://code.elgg.org/elgg/trunk@5747 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/languages/en.php | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) (limited to 'mod/ecml/languages/en.php') diff --git a/mod/ecml/languages/en.php b/mod/ecml/languages/en.php index d93c7236a..2d1b873ad 100644 --- a/mod/ecml/languages/en.php +++ b/mod/ecml/languages/en.php @@ -13,9 +13,31 @@ $english = array( 'ecml' => 'ECML', 'ecml:help' => 'ECML Help', - /** - * Key words - */ + + // views + 'ecml:views:annotation_generic_comment' => 'Comments', + + // keywords + 'ecml:keywords:desc:entity' => 'Displays a list of any Elgg entity.', + 'ecml:keywords:usage:entity' => '[[entity]] supports all options in elgg_get_entities()', + + 'ecml:keywords:desc:view' => 'Displays any Elgg view.', + 'ecml:keywords:usage:view' => '[[view src="valid/view" arg1=value1 arg2=value2]]', + + 'ecml:keywords:desc:googlemaps' => 'Embed a Google Map.', + 'ecml:keywords:usage:entity' => '[[googlemaps src="URL"]] Use the link code from Google Maps as the src.', + + 'ecml:keywords:desc:slideshare' => 'Embed a Slideshare slide.', + 'ecml:keywords:usage:entity' => '[[slideshare id="slideshare_id"]] Use the Wordpress.com embed code, but make sure there are two [s and ]s surrounding it!', + + 'ecml:keywords:desc:vimeo' => 'Embed a Vimeo video.', + 'ecml:keywords:usage:videmo' => '[[videmo src="URL"]] Use a standard Vimeo URL as the source.', + + 'ecml:keywords:desc:youtube' => 'Embed a YouTube video.', + 'ecml:keywords:usage:entity' => '[[youtube src="URL"]] Use a standard YouTube URL as the source.', + + + // keyword help 'ecml:keywords_title' => 'Keywords', 'ecml:keywords_instructions' => 'Keywords are replaced with content when viewed. They must be surrounded by @@ -36,6 +58,21 @@ $english = array(

Ex: To show a text input with a default value:
[[view: input/text, value=This is a default value]]

', + + // admin + 'ecml:admin:admin' => 'ECML Permissions', + 'ecml:admin:instruction' => + +'ECML allows users you easily embed views, entities, and 3rd party applications into their content +on your site by using ECML keywords. There are some ECML keywords that you may want to restrict +in certain areas of your site. To disable a keyword for a section of your site, check the box in the +grid below. +', + + 'ecml:admin:permissions_saved' => 'ECML permissions saved.', + 'ecml:admin:cannot_save_permissions' => 'Cannot save ECML permissions!', + + ); add_translation('en', $english); \ No newline at end of file -- cgit v1.2.3