diff --git a/etemplate/doc/etemplate.html b/etemplate/doc/etemplate.html
index b863e0b62b..f296b021fd 100644
--- a/etemplate/doc/etemplate.html
+++ b/etemplate/doc/etemplate.html
@@ -320,20 +320,21 @@ First we need to create an other eTemplate to show the list: 'et_media.show'<
$this->delete();
$this->init();
}
-
+
Of course we have to add this buttons to the template 'et_media.edit'
9. creating the english lang-file
To get rid of the stars '*' behind each Label and to be able to translate the app in other languages we need to create a lang-file
There are 2 possibilties to create it automaticaly:
+
- Use the [Write Langfile] button in the eTemplate editor (put the app-name 'et_media' in the name-field first)
That will omitt our own messages in the class!!!
- We use a function in our class to call etemplate::writeLangFile('et_media','en',$extra) and can so supply some extra strings.
If we add this function to the public_functions-array in our class, we can just call this function via the browser:
http://ourDomain/phpgroupware/index.php?menuaction=et_media.et_media.writeLangFile (the errormsg can be savely ignored)
This is the function (don't forget to add it like the edit-function to public_functions):
-
+
function writeLangFile()
{