[mhk] r1003 committed - minor fixes

0 views
Skip to first unread message

codesite...@google.com

unread,
Aug 5, 2011, 2:29:22 PM8/5/11
to mhk-dis...@googlegroups.com
Revision: 1003
Author: jmncarvalho
Date: Fri Aug 5 11:28:45 2011
Log: minor fixes
http://code.google.com/p/mhk/source/detail?r=1003

Modified:
/trunk/idb/etc/template/new/export.vm
/trunk/idb/etc/template/new/rperson_show.vm

=======================================
--- /trunk/idb/etc/template/new/export.vm Tue Jul 12 11:48:19 2011
+++ /trunk/idb/etc/template/new/export.vm Fri Aug 5 11:28:45 2011
@@ -21,7 +21,7 @@
#end
#elseif($type.equals("rpersons"))
## get all the acts
-#set($rpersons=$database.search("SELECT rid,instance,user FROM links,
rentities where links.rid=rentities.id and rentities.user='$user'"))
+#set($rpersons=$database.search("SELECT rid,instance,user FROM links,
rentities where links.rid=rentities.id and rentities.the_class='rperson'
and rentities.user='$user'"))
##field list
n${sep}rid${sep}id${lb}
#set($i=0)
=======================================
--- /trunk/idb/etc/template/new/rperson_show.vm Wed Jul 20 13:22:49 2011
+++ /trunk/idb/etc/template/new/rperson_show.vm Fri Aug 5 11:28:45 2011
@@ -267,8 +267,10 @@

#end</td>
<td>
+ #if($level>2 && $adminuser.equals("$user"))

#set($url="${uri}?dbname=$!dbname&action=changerpname&id=$Entity.id&name=$line.name")
&nbsp;<a href="$url"
title="$mhks.get('set.name.title')"><small>&raquo;$mhks.get('set.name')</small></a>
+ #end
</td>
</tr>
#end

Reply all
Reply to author
Forward
0 new messages