Commits

Anonymous committed ceaf6fa

Added the software patents option.

  • Participants
  • Parent commits f6ea5c8

Comments (0)

Files changed (4)

common/images/noepatents_liberty.png

Added
New image
     background-color: moccasin;  
     width : 20%;
     padding-right : 1em;
+    padding-top : 0.5em;
 }
 p.desc { margin-left : 3em }
 ul.navbarmain { padding-left : 1em ; margin-left : 1em }
     margin-top : 0em;
     margin-bottom : 0em;
 }
+.colored_frame
+{
+    background-color : #F8FF98;
+    border-color : black;
+    border-width : medium;
+    border-style : double;
+    padding : 0.5em;
+}

t2/index.html.wml

 #include '../template.wml'
 <subject "Shlomi Fish' Homepage" />
 
+<define-tag software_patents_notice>
+<div class="colored_frame">
+<h2>Stop Software Patents in Europe!</h2>
+
+<p>
+The European Parliament is going to vote on software patents soon. Already,
+many harmful and/or trivial patents were accepted in Europe, which are just
+waiting for a proper legal status to become enforcable.
+</p>
+
+<p>
+While it is not necessary that all software patents are invalid, obviously
+most of them are, and so the best thing to do is to prevent them from becoming
+legally enforcable. Stop software patents now!
+</p>
+
+<a href="http://swpat.ffii.org/">Refer to the FFII Page about this for more
+information</a>.
+</div>
+</define-tag>
+
+<if "<software_patents />" "<software_patents_notice />" "" />
+
 <h2><a href="./me/">Personal Info</a></h2>
 
 <p class="indent">
 
 # Utility Functions.
 
+<define-tag software_patents>1</define-tag>
+
 <define-tag mynot><if "%0" "" "1" /></define-tag>
 
 <define-tag printable_style>
 <table summary="Layout Table: The first cell contains a navigation bar, the second the main page" border="0" width="99%">
 <tr>
 <td valign="top" class="navbar" style="width:20%">
+
+<if "<software_patents />" 
+    "<div class="center"><a href="http://swpat.ffii.org/" 
+     title="Stop Software Patents!"><img 
+     src="$(ROOT)/images/noepatents_liberty.png" 
+     alt="Stop Software Patents" class="highlight" 
+     style="border:0" /></a></div>"
+    ""
+    />
+
 <ul class="navbarmain">
 <li><navbarlink "" "Home" /></li>
 <li><navbarlink "me/" "About Myself" />
     />
 </li>
 <li><navbarlink "lecture/" "Lectures" host="vipe" />
-<if <match "$(FILENAME)" "lecture/*" action="report" /> 
+<if <match "$(FILENAME)" "^lecture/" action="report" /> 
     <lectures:navbar /> 
     "" 
     />