Commits

shl...@13c2ddb8-3aa7-4284-800b-8db07c650eef  committed 792cb99

Got rid of the news and testimonials on P4N.

They made the content too narrow in the tutorial and were annoying,
so I got rid of them.

  • Participants
  • Parent commits f94c296

Comments (0)

Files changed (4)

 	(cd dest && $(RSYNC) -a * shlomif@iglu.org.il:/iglu/html/shlomif/Perl-Begin/)
 
 upload_beta: all
-	(cd dest && $(RSYNC) -a * shlomif@shell.berlios.de:/home/groups/perl-begin/htdocs/__Beta-Quop/)
+	(cd dest && $(RSYNC) -a --inplace * perl-begin@hexten.net:htdocs/__Beta-Quop/)
 
 DEST_ARC_NAME = $(TARGET)/source/arcs/$(ARC_NAME)
 

File lib/perl-for-newbies.wml

 <script type="text/javascript" src="$(ROOT)/js/toggle-nav-controls.js"></script>
 </page_extra_head_elements>
 
+<perl_begin_sidebar>
+<!-- Nothing -->
+</perl_begin_sidebar>
+{#LATEMP_BODY_ATTRIBUTES#: class="no-news":##}
+
 <button id="toggle_nav_control" 
 onclick="javascript:toggle_nav_control()" 
 class="toggle_nav_control off">Show Navigation Controls</button>

File src/style.css

     background-color: rgb(255,255,255);	
 }
 
+.no-news .content
+{
+    width: 550px;
+}
+
 /*-------------------------*/
 /* Section 6.2 - Pagetitle */
 /*-------------------------*/

File template.wml

 {#PERL_BEGIN_NEWS#:%body:##}
 </define-tag>
 
+<define-tag perl_begin_sidebar endtag="required" whitespace="delete">
+{#!PERL_BEGIN_SIDEBAR!#:%body:##}
+</define-tag>
+
+<perl_begin_sidebar>
+    <!-- SIDEBAR -->
+    <h3 class="hide">Sidebar</h3>    
+    <div class="sidebar sidebar-font">
+
+      {#PERL_BEGIN_NEWS#}
+
+    </div>
+    <!-- END WRAP CONTENT AND SIDEBAR -->
+</perl_begin_sidebar>
+
 <define-tag latemp_theme_breadcrumbs_trail_html>
 <latemp_get_breadcrumbs_trail_unconditionally />
 </define-tag>
 </p>
 </latemp_webmaster>
 
-<body>
+<body{#LATEMP_BODY_ATTRIBUTES#}>
 
   <div id="page-container">
 
 ;;;        </div>
 ;;;      </div>
     </div>
-    <!-- SIDEBAR -->
-    <h3 class="hide">Sidebar</h3>    
-    <div class="sidebar sidebar-font">
-
-      {#PERL_BEGIN_NEWS#}
-
-    </div>
     
-    <!-- END WRAP CONTENT AND SIDEBAR -->
+    {#PERL_BEGIN_SIDEBAR#}
     </div>    
     
     <!-- FOOTER -->