[Cpan-forum-commit] rev 311 - in trunk: . lib/CPAN templates

svn at pti.co.il svn at pti.co.il
Sun Jul 29 08:35:56 EEST 2007


Author: gabor
Date: 2007-07-29 08:35:56 +0300 (Sun, 29 Jul 2007)
New Revision: 311

Added:
   trunk/templates/privacy_policy.tmpl
Modified:
   trunk/
   trunk/lib/CPAN/Forum.pm
   trunk/templates/footer.tmpl
Log:
add privacy policy page



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 7bc34947-122d-0410-bc5a-f898d2bb5f81:/local/cpan-forum:4338
8c4c90e1-83eb-0310-96eb-e7cb62807872:/local/cpan-forum:12752
   + 7bc34947-122d-0410-bc5a-f898d2bb5f81:/local/cpan-forum:4340
8c4c90e1-83eb-0310-96eb-e7cb62807872:/local/cpan-forum:12752

Modified: trunk/lib/CPAN/Forum.pm
===================================================================
--- trunk/lib/CPAN/Forum.pm	2007-07-26 17:35:25 UTC (rev 310)
+++ trunk/lib/CPAN/Forum.pm	2007-07-29 05:35:56 UTC (rev 311)
@@ -510,7 +510,7 @@
     register register_process 
     logout 
     about faq stats
-    posts threads dist users author
+    posts threads dist users author privacy_policy
     search all 
     site_is_closed
     help
@@ -543,7 +543,7 @@
     faq 
     admin
     admin_edit_user
-    mypan selfconfig 
+    mypan selfconfig privacy_policy
     search all 
     rss
     atom
@@ -1540,8 +1540,12 @@
     }
 }
 
+sub privacy_policy {
+    $_[0]->load_tmpl("privacy_policy.tmpl")->output;
+}
 
 
+
 sub help {
     $_[0]->load_tmpl("help.tmpl")->output;
 }

Modified: trunk/templates/footer.tmpl
===================================================================
--- trunk/templates/footer.tmpl	2007-07-26 17:35:25 UTC (rev 310)
+++ trunk/templates/footer.tmpl	2007-07-29 05:35:56 UTC (rev 311)
@@ -3,7 +3,8 @@
 <div class="left_footer">
 	Service launched on 2nd of February 2005.<br />
 	Comments, and other submissions on CPAN Forum are Copyright 2005-2007, their respective owners.<br />
-	Site maintainer is not responsible for content.
+	Site maintainer is not responsible for content. 
+    <a href="/privacy_policy">Privacy Policy</a>
 </div>
 <!--
 <p>

Added: trunk/templates/privacy_policy.tmpl
===================================================================
--- trunk/templates/privacy_policy.tmpl	                        (rev 0)
+++ trunk/templates/privacy_policy.tmpl	2007-07-29 05:35:56 UTC (rev 311)
@@ -0,0 +1,25 @@
+<TMPL_INCLUDE NAME="head.tmpl">
+<p id="pageTitle">CPAN::Forum Privacy Policy</p>
+
+<TMPL_INCLUDE NAME="navigation.tmpl">
+
+<div class="blurb">
+Privacy of our users is important, so is making the content of CPAN::Forum available
+to the public. There are several types of information available in our database.
+</div>
+<div class="about_list">
+	<p class="about_title">Posts</p>
+
+</div>
+
+<div class="about_list">
+	<p class="about_title">Your e-mail, password</p>
+	<p class="about_p">
+    The most critical for the privacy of users are e-mail and password. 
+    </p> 
+</div>
+
+
+
+<TMPL_INCLUDE NAME="footer.tmpl">
+



More information about the Cpan-forum-commit mailing list