From 99a301cd791d767c2b6ee9e2ff608ad9cbf1d281 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 16 Apr 2010 15:46:07 +0000 Subject: ECML now only requires a single square bracket. git-svn-id: http://code.elgg.org/elgg/trunk@5775 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/languages/en.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'mod/ecml/languages') diff --git a/mod/ecml/languages/en.php b/mod/ecml/languages/en.php index 2d1b873ad..2b9b9118b 100644 --- a/mod/ecml/languages/en.php +++ b/mod/ecml/languages/en.php @@ -19,45 +19,45 @@ $english = array( // 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: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: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: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:usage:entity' => '[slideshare id="slideshare_id"] Use the Wordpress.com embed code.', '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: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.', + '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 - two square brackets ([[ and ]]). You can build your own or use the ones listed below. + square brackets ([ and ]). You can build your own or use the ones listed below. Hover over a keyword to read its description.', 'ecml:keywords_instructions_more' => '

You can build your own keywords for views and entities.

-

[[entity: type=type, subtype=subtype, owner=username, limit=number]]
+

[entity: type=type, subtype=subtype, owner=username, limit=number]
EX: To show 5 blog posts by admin:
- [[entity: type=object, subtype=blog, owner=admin, limit=5]]

+ [entity: type=object, subtype=blog, owner=admin, limit=5]

You can also specify a valid Elgg view:
- [[view: elgg_view, name=value]]

+ [view: elgg_view, name=value]

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

', + [view: input/text, value=This is a default value]

', // admin 'ecml:admin:admin' => 'ECML Permissions', -- cgit v1.2.3