Author: andre
Date: 2010-06-11 15:53:38 +0200 (Fri, 11 Jun 2010)
New Revision: 42525
Modified:
openimages/trunk/src/main/webapp/mmbase/components/oip/user-favorites.jspx
Log:
rewrote 'favoriting' a media item OIP-70
Modified:
openimages/trunk/src/main/webapp/mmbase/components/oip/user-favorites.jspx
===================================================================
--- openimages/trunk/src/main/webapp/mmbase/components/oip/user-favorites.jspx
2010-06-11 10:51:59 UTC (rev 42524)
+++ openimages/trunk/src/main/webapp/mmbase/components/oip/user-favorites.jspx
2010-06-11 13:53:38 UTC (rev 42525)
@@ -14,9 +14,9 @@
<mm:maywrite>
<oip:h2><fmt:message key="users.my_favorites" /></oip:h2>
+
+ <div class="msgspot"><jsp:text><!-- empty --></jsp:text></div>
- <oip:favorite messages="true" />
-
<mm:import externid="n" required="true" />
<mm:node referid="n">
<mm:relatednodescontainer type="mediafragments" role="ratingrel"
searchdirs="destination">
@@ -35,9 +35,8 @@
<dl class="${gridclass} noverflow">
<dt>
<a title="${favorite.title}" href="${_}"><oip:thumb /></a>
- <mm:link referids="favorite">
- <mm:param name="remove">please</mm:param>
- <a title="remove favorite" class="remove"
href="${_}">remove</a>
+ <mm:link page="/action/favorite.jspx" referids="favorite">
+ <a title="remove favorite" class="remove favorite"
href="${_}">remove</a>
</mm:link>
</dt>
</dl>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs