diff --git a/etemplate/doc/reference.html b/etemplate/doc/reference.html
index 93a77a2617..4f21087a19 100644
--- a/etemplate/doc/reference.html
+++ b/etemplate/doc/reference.html
@@ -501,10 +501,7 @@ implement only a subset of XUL. Here are the main differences:
onclick: specify some java-script to be called if the button gets pressed/clicked:
a) general javascript: "window.close();"
b) confirmation: "return window.confirm('');" (message get run through lang()!)
- c) popups: "window.open(egw::link('/index.php','menuaction=app.class.func&id=$cont[id]'),'_blank',
- 'dependent=yes,width=600,height=450,scrollbars=yes,status=yes'); return false;"
- (egw::link('','') calls $GLOBALS['phpgw']->link() to allow eGW installtion relative links
- and to pass the session-id.
+ c) popup: app.class.func&id=$cont[id],target(default _blank),width (default 600),height (default 450)
You can use $cont[] or $row_cont[] (note no quotes!) to pass further information to the popup
via the content array.)
diff --git a/etemplate/inc/class.so_sql.inc.php b/etemplate/inc/class.so_sql.inc.php
index 6f387a164a..7e4095e641 100644
--- a/etemplate/inc/class.so_sql.inc.php
+++ b/etemplate/inc/class.so_sql.inc.php
@@ -411,7 +411,7 @@ class so_sql
* '*' and '?' are replaced with sql-wildcards '%' and '_'
*
* @param array/string $criteria array of key and data cols, OR a SQL query (content for WHERE), fully quoted (!)
- * @param boolean $only_keys=true True returns only keys, False returns all cols
+ * @param boolean/string/array $only_keys=true True returns only keys, False returns all cols. comma seperated list of keys or array to return certain values
* @param string $order_by='' fieldnames + {ASC|DESC} separated by colons ',', can also contain a GROUP BY (if it contains ORDER BY)
* @param string/array $extra_cols='' string or array of strings to be added to the SELECT, eg. "count(*) as num"
* @param string $wildcard='' appended befor and after each criteria