From cc8652e0989d87d2056cb705e2a0d1bd56bf1127 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 28 Oct 2002 01:27:34 +0000 Subject: [PATCH] update --- etemplate/doc/et_media/inc/class.et_media.inc.php | 3 ++- etemplate/doc/et_media/setup/etemplates.inc.php | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/etemplate/doc/et_media/inc/class.et_media.inc.php b/etemplate/doc/et_media/inc/class.et_media.inc.php index c8f7ce361d..d14ef3f666 100644 --- a/etemplate/doc/et_media/inc/class.et_media.inc.php +++ b/etemplate/doc/et_media/inc/class.et_media.inc.php @@ -145,7 +145,8 @@ /*! @function writeLangFile @abstract writes langfile with all templates and messages registered here - @discussion can be called via http://domain/phpgroupware/index.php?et_media.et_media.writeLangFile + @discussion can be called via [write Langfile] in the eTemplate editor or + @discussion http://domain/phpgroupware/index.php?et_media.et_media.writeLangFile */ function writeLangFile() { diff --git a/etemplate/doc/et_media/setup/etemplates.inc.php b/etemplate/doc/et_media/setup/etemplates.inc.php index bd8389bf2e..64a98def7d 100644 --- a/etemplate/doc/et_media/setup/etemplates.inc.php +++ b/etemplate/doc/et_media/setup/etemplates.inc.php @@ -1,9 +1,11 @@ 'et_media.edit','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:10:{i:0;a:0:{}i:1;a:4:{s:1:\"A\";a:6:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:2:\"ib\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:18:\"eTemplates MediaDB\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:3:\"msg\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:2;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"hrule\";s:4:\"span\";s:3:\"all\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:3;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:4;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Name\";}s:1:\"B\";a:5:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:7:\"100,100\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:4:\"name\";s:4:\"help\";s:46:\"here goes the name of the publication / record\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:5;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Author\";}s:1:\"B\";a:5:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:7:\"100,100\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:6:\"author\";s:4:\"help\";s:27:\"please use Name, First Name\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:6;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Type\";}s:1:\"B\";a:4:{s:4:\"type\";s:6:\"select\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:4:\"type\";s:4:\"help\";s:28:\"select the type fitting most\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:7;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:11:\"Description\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"textarea\";s:4:\"size\";s:5:\"3,100\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:5:\"descr\";s:4:\"help\";s:48:\"we have a fulltext search using that description\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:8;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:9;a:4:{s:1:\"A\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Read\";s:4:\"name\";s:4:\"read\";s:4:\"help\";s:57:\"reads or searches for entries matching the criteria above\";}s:1:\"B\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Save\";s:4:\"name\";s:4:\"save\";s:4:\"help\";s:26:\"saves the change to the db\";}s:1:\"C\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:6:\"cancel\";s:4:\"help\";s:42:\"clears the form, without changing anything\";}s:1:\"D\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Delete\";s:4:\"name\";s:6:\"delete\";s:4:\"help\";s:16:\"deletes an entry\";}}}','size' => '100%','style' => '',); +/* $Id$ */ -$templ_data[] = array('name' => 'et_media.show.rows','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:3:{i:0;a:2:{s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:3:\"nmr\";}i:1;a:3:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Name\";}s:1:\"B\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Author\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}i:2;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}s:1:\"B\";a:4:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:5:\",ml10\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[author]\";}s:1:\"C\";a:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Edit\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";s:4:\"help\";s:28:\"click here to edit the entry\";}}}','size' => '100%','style' => '.nmh { font-weight: bold; }',); +$templ_data[] = array('name' => 'et_media.edit','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:10:{i:0;a:0:{}i:1;a:4:{s:1:\"A\";a:6:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:2:\"ib\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:18:\"eTemplates MediaDB\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:3:\"msg\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:2;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"hrule\";s:4:\"span\";s:3:\"all\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:3;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:4;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Name\";}s:1:\"B\";a:5:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:7:\"100,100\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:4:\"name\";s:4:\"help\";s:46:\"here goes the name of the publication / record\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:5;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Author\";}s:1:\"B\";a:5:{s:4:\"type\";s:4:\"text\";s:4:\"size\";s:7:\"100,100\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:6:\"author\";s:4:\"help\";s:27:\"please use Name, First Name\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:6;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Type\";}s:1:\"B\";a:4:{s:4:\"type\";s:6:\"select\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:4:\"type\";s:4:\"help\";s:28:\"select the type fitting most\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:7;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:11:\"Description\";}s:1:\"B\";a:5:{s:4:\"type\";s:8:\"textarea\";s:4:\"size\";s:5:\"3,100\";s:4:\"span\";s:3:\"all\";s:4:\"name\";s:5:\"descr\";s:4:\"help\";s:48:\"we have a fulltext search using that description\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:8;a:4:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";}s:1:\"B\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}s:1:\"D\";a:1:{s:4:\"type\";s:5:\"label\";}}i:9;a:4:{s:1:\"A\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Read\";s:4:\"name\";s:4:\"read\";s:4:\"help\";s:57:\"reads or searches for entries matching the criteria above\";}s:1:\"B\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Save\";s:4:\"name\";s:4:\"save\";s:4:\"help\";s:26:\"saves the change to the db\";}s:1:\"C\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Cancel\";s:4:\"name\";s:6:\"cancel\";s:4:\"help\";s:42:\"clears the form, without changing anything\";}s:1:\"D\";a:4:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:6:\"Delete\";s:4:\"name\";s:6:\"delete\";s:4:\"help\";s:16:\"deletes an entry\";}}}','size' => '100%','style' => '','modified' => '1014069820',); -$templ_data[] = array('name' => 'et_media.show','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:5:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:6:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:2:\"ib\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:18:\"eTemplates MediaDB\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:3:\"msg\";}}i:2;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"hrule\";s:4:\"span\";s:3:\"all\";}}i:3;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";}}i:4;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:8:\"template\";s:4:\"size\";s:5:\"entry\";s:4:\"name\";s:18:\"et_media.show.rows\";}}}','size' => '100%','style' => '',); +$templ_data[] = array('name' => 'et_media.show.rows','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:3:{i:0;a:2:{s:2:\"c1\";s:3:\"nmh\";s:2:\"c2\";s:3:\"nmr\";}i:1;a:3:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:4:\"Name\";}s:1:\"B\";a:2:{s:4:\"type\";s:5:\"label\";s:5:\"label\";s:6:\"Author\";}s:1:\"C\";a:1:{s:4:\"type\";s:5:\"label\";}}i:2;a:3:{s:1:\"A\";a:3:{s:4:\"type\";s:5:\"label\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:12:\"${row}[name]\";}s:1:\"B\";a:4:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:5:\",ml10\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:14:\"${row}[author]\";}s:1:\"C\";a:5:{s:4:\"type\";s:6:\"button\";s:5:\"label\";s:4:\"Edit\";s:5:\"align\";s:6:\"center\";s:4:\"name\";s:19:\"edit[$row_cont[id]]\";s:4:\"help\";s:28:\"click here to edit the entry\";}}}','size' => '100%','style' => '.nmh { font-weight: bold; }','modified' => '1014069820',); + +$templ_data[] = array('name' => 'et_media.show','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:5:{i:0;a:0:{}i:1;a:1:{s:1:\"A\";a:6:{s:4:\"type\";s:5:\"label\";s:4:\"size\";s:2:\"ib\";s:4:\"span\";s:3:\"all\";s:5:\"label\";s:18:\"eTemplates MediaDB\";s:7:\"no_lang\";s:1:\"1\";s:4:\"name\";s:3:\"msg\";}}i:2;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"hrule\";s:4:\"span\";s:3:\"all\";}}i:3;a:1:{s:1:\"A\";a:2:{s:4:\"type\";s:5:\"label\";s:4:\"span\";s:3:\"all\";}}i:4;a:1:{s:1:\"A\";a:3:{s:4:\"type\";s:8:\"template\";s:4:\"size\";s:5:\"entry\";s:4:\"name\";s:18:\"et_media.show.rows\";}}}','size' => '100%','style' => '','modified' => '1014069820',);