Author: michiel
Date: 2010-05-15 01:41:31 +0200 (Sat, 15 May 2010)
New Revision: 42154
Added:
speeltuin/mihxil/simple/src/main/webapp/addthis.jspx
speeltuin/mihxil/simple/src/main/webapp/icons/
speeltuin/mihxil/simple/src/main/webapp/icons/facebook.png
speeltuin/mihxil/simple/src/main/webapp/icons/twitter.png
Modified:
speeltuin/mihxil/simple/src/main/webapp/WEB-INF/config/applications/Simple.xml
speeltuin/mihxil/simple/src/main/webapp/index.jspx
speeltuin/mihxil/simple/src/main/webapp/style.css.jsp
Log:
Modified:
speeltuin/mihxil/simple/src/main/webapp/WEB-INF/config/applications/Simple.xml
===================================================================
---
speeltuin/mihxil/simple/src/main/webapp/WEB-INF/config/applications/Simple.xml
2010-05-14 22:57:50 UTC (rev 42153)
+++
speeltuin/mihxil/simple/src/main/webapp/WEB-INF/config/applications/Simple.xml
2010-05-14 23:41:31 UTC (rev 42154)
@@ -16,6 +16,7 @@
<allowedrelationlist>
<relation from="segments" to="images" type="role" />
+ <relation from="segments" to="blocks" type="idrel" />
</allowedrelationlist>
<datasourcelist>
Added: speeltuin/mihxil/simple/src/main/webapp/addthis.jspx
===================================================================
--- speeltuin/mihxil/simple/src/main/webapp/addthis.jspx
(rev 0)
+++ speeltuin/mihxil/simple/src/main/webapp/addthis.jspx 2010-05-14
23:41:31 UTC (rev 42154)
@@ -0,0 +1,32 @@
+<div
+ class="icons"
+ xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0"
+ xmlns:jsp="http://java.sun.com/JSP/Page">
+ <jsp:output omit-xml-declaration="true" />
+ <!--
+ <div class="addthis_toolbox addthis_default_style">
+ <a class="addthis_button_facebook"></a>
+ <a class="addthis_button_hyves"></a>
+ <a class="addthis_button_twitter"></a>
+ <a class="addthis_button_favorites"></a>
+ </div>
+ -->
+ <mm:link absolute="true" id="I" write="false" />
+ <mm:link page="http://www.facebook.com/sharer.php">
+ <mm:param name="u"><mm:write escape="none" referid="I" /></mm:param>
+ <a href="${_}" title="facebook">
+ <mm:link page="/icons/facebook.png">
+ <img src="${_}" />
+ </mm:link>
+ </a>
+ </mm:link>
+ <mm:link page="http://twitter.com/home">
+ <mm:param name="status"><mm:write escape="none" referid="I" /></mm:param>
+ <a href="${_}" title="Twitter">
+ <mm:link page="/icons/twitter.png">
+ <img src="${_}" />
+ </mm:link>
+ </a>
+ </mm:link>
+
+</div>
\ No newline at end of file
Added: speeltuin/mihxil/simple/src/main/webapp/icons/facebook.png
===================================================================
(Binary files differ)
Property changes on: speeltuin/mihxil/simple/src/main/webapp/icons/facebook.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: speeltuin/mihxil/simple/src/main/webapp/icons/twitter.png
===================================================================
(Binary files differ)
Property changes on: speeltuin/mihxil/simple/src/main/webapp/icons/twitter.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: speeltuin/mihxil/simple/src/main/webapp/index.jspx
===================================================================
--- speeltuin/mihxil/simple/src/main/webapp/index.jspx 2010-05-14 22:57:50 UTC
(rev 42153)
+++ speeltuin/mihxil/simple/src/main/webapp/index.jspx 2010-05-14 23:41:31 UTC
(rev 42154)
@@ -10,10 +10,11 @@
doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"/>
<mm:import externid="edit" />
- <mm:content expires="${empty edit ? '' : '0'}"
- type="text/html"
- unacceptable="CRIPPLE"
- postprocessor="none" language="nl">
+ <mm:content
+ expires="${empty edit ? '' : '0'}"
+ type="text/html"
+ unacceptable="CRIPPLE"
+ postprocessor="none" language="nl">
<mm:cloud>
<mm:node number="${initParam.startnode}" id="start">
@@ -24,7 +25,7 @@
</mm:relatednodes>
</mm:relatednodescontainer>
<mm:node referid="n">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl">
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="nl" xml:lang="nl">
<head>
<title><mm:field name="title" /> - <mm:field node="start"
name="title" /></title>
<mm:include page="/mmbase/jquery/jquery.jspx" />
@@ -68,6 +69,9 @@
urchinTracker();
</script>
</c:if>
+ <!-- conflicts with corner scripts
+ <script type="text/javascript"
src="http://s7.addthis.com/js/250/addthis_widget.js#username=mihxil"><jsp:text>
</jsp:text></script>
+ -->
</head>
<body>
<div class="container">
@@ -79,6 +83,7 @@
<h2><mm:field name="subtitle" /></h2>
<mm:field name="intro" escape="p,links" />
<rich:field name="body" />
+ <mm:include page="addthis.jspx" />
</div>
</mm:node>
<div id="menu">
Modified: speeltuin/mihxil/simple/src/main/webapp/style.css.jsp
===================================================================
--- speeltuin/mihxil/simple/src/main/webapp/style.css.jsp 2010-05-14
22:57:50 UTC (rev 42153)
+++ speeltuin/mihxil/simple/src/main/webapp/style.css.jsp 2010-05-14
23:41:31 UTC (rev 42154)
@@ -222,5 +222,12 @@
a.mm_portal_edit {
position: relative;
}
+div.icons {
+ text-align: center;
+}
+div.icons img {
+ border: none;
+ margin-right: 1ex;
+}
</mm:cloud>
</mm:content>
\ No newline at end of file
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs