Commits

Anonymous committed 3d3fda5

More latemptization.

  • Participants
  • Parent commits 8a6ca37

Comments (0)

Files changed (5)

 
 WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ --passoption=7,"-S imgsize" -DROOT~.
 
-WML_FLAGS += -DLATEMP_THEME=sinorca-2.0
+WML_FLAGS += -DLATEMP_THEME=sinorca-2.0 -DLATEMP_SERVER=hackers
 
 WML_FLAGS += -I$(LATEMP_WML_INCLUDE_PATH) -I../lib/
 
 	if [ ! -e $@ ] ; then mkdir $@ ; fi
 	
 $(DESTS) :: $(TARGET)/% : src/%.wml $(LIBRARY_FILES)
-	(cd src && wml $(WML_FLAGS) -DFILENAME=$(patsubst src/%.wml,%,$<) $(patsubst src/%,%,$<)) > $@
+	(cd src && wml $(WML_FLAGS) -DLATEMP_FILENAME=$(patsubst src/%.wml,%,$<) $(patsubst src/%,%,$<)) > $@
 
 $(RAW_FILES_DEST) :: $(TARGET)/% : src/%
 	cp -f $< $@

File lib/latemp/themes/sinorca-2.0/template.wml

 <latemp_init_h_w_navmenu />
 
 <latemp_html_header standard="xhtml1.0-strict" />
-<head>
-<title>{#SUBJECT_LOC#}</title>
-<link rel="stylesheet" type="text/css" href="$(ROOT)/sinorca-screen.css" media="screen" title="Sinorca (screen)" />
-<link rel="stylesheet" type="text/css" href="$(ROOT)/sinorca-print.css" media="print" />
-
-<:{
-use CGI qw();
-
-while (my ($key, $url) = each(%$nav_links))
-{
-    print "<link rel=\"$key\" href=\"" . CGI::escapeHTML($url) . "\" />\n"
-}
-}:>
-</head>
+<latemp_html_head_tag />
 <body>
 
 
 
     <div id="header">
       <div class="midHeader">
-        <h1 class="headerTitle">{#SUBJECT_LOC#}</h1>
+        <h1 class="headerTitle">{#LATEMP_SUBJECT_LOC#}</h1>
       </div>
     </div>
 

File src/index.html.wml

 #include '../template.wml'
 
-<subject "The Hackers-IL Homepage" />
+<latemp_subject "The Hackers-IL Homepage" />
 
 <p>
 Welcome to the homepage of Hackers-IL, a group of Israeli, or Israeli-oriented 

File src/mailing-lists/index.html.wml

 #include '../template.wml'
 
-<subject "The Hackers-IL Mailing Lists" />
+<latemp_subject "The Hackers-IL Mailing Lists" />
 
 <p>
 Most of our interactive discussion takes place in 

File src/wiki/index.html.wml

 #include '../template.wml'
 
-<subject "The Hackers-IL Wiki" />
+<latemp_subject "The Hackers-IL Wiki" />
 
 <p>
 We have <a href="/mediawiki/index.php/">a Wiki</a> where most of the site's