Anonymous avatar Anonymous committed f96c0be

Added the Get firefox button to the site. To do so, I had to modify
some of the gen_helper.sh logic.

Comments (0)

Files changed (4)

 
 DESTS = $(patsubst src/%.html.wml,$(TARGET)/%.html,$(SOURCES))
 
-RAW_FILES = style.css
+RAW_FILES = $(IMAGES)
 RAW_FILES_SOURCES = $(addprefix src/,$(RAW_FILES))
 RAW_FILES_DEST = $(addprefix $(TARGET)/,$(RAW_FILES))
 
     echo "source/arcs"
 }
 
+list_images()
+{
+    find ./src -type f -not -name '*.wml' -not -name '.*' | 
+    grep -v '/\.svn' | 
+    grep -v '~$' | 
+    sed 's!^./src/!!'
+}
+
 (echo "PAGES = $(list_wmls | xargs)" ;
 echo
-echo "SUBDIRS = $(list_wmls | get_subdirs | add_extra | xargs)"
+echo "SUBDIRS = $(((list_wmls) ; (list_images))| get_subdirs | add_extra | xargs)"
+echo 
+echo "IMAGES = $(list_images | xargs)" ;
 echo ) > defs.mak
 
     
Add a comment to this file

src/images/get-firefox.gif

Added
New image
 <:{ print join("\n", @$nav_html); }:>
 
 <define-tag validhtml>
-<br /><br /><br /><br />
+<p>
+<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=70"><img 
+   style="margin-top:1em; border:0;" alt="Get Firefox!" 
+   title="Get Firefox! A safer, faster, better web-browser." 
+   src="$(ROOT)/images/get-firefox.gif" /></a>
+</p>
 <p>
 <a href="http://validator.w3.org/check/referer"><img 
     style="border:0" src="http://www.w3.org/Icons/valid-xhtml10" 
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.