Commits

Anonymous 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.

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)
 

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>
     background-color: rgb(255,255,255);	
 }
 
+.no-news .content
+{
+    width: 550px;
+}
+
 /*-------------------------*/
 /* Section 6.2 - Pagetitle */
 /*-------------------------*/
 {#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 -->
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.