2 # vim: expandtab sw=4 ts=4 sts=4:
7 echo Main documentation
16 langname
=`./get-lang-name $1`
18 if [ "$2" = full
] ; then
20 files
="INSTALL TODO README Documentation.html"
22 num
=`ls | grep -v docs.css | grep -v favicon.ico | grep -v index.html | grep -v index-template.html | grep -v index-full-template.html | grep -v themes | grep -v '\.stamp$' | wc -l`
23 files
=`ls | grep -v docs.css | grep -v favicon.ico | grep -v index.html | grep -v index-template.html | grep -v index-full-template.html | grep -v themes | grep -v '\.stamp$' `
25 cp ..
/..
/..
/phpmyadmin
/docs.css .
26 cp ..
/..
/..
/phpmyadmin
/favicon.ico .
27 mkdir
-p themes
/original
/img
28 cp ..
/..
/..
/phpmyadmin
/themes
/original
/img
/logo_right.png themes
/original
/img
29 cp ..
/..
/..
/phpmyadmin
/themes
/original
/img
/docs_menu_bg.png themes
/original
/img
31 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
32 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
33 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$lang"
34 version="-//W3C//DTD XHTML 1.1//EN" dir="ltr">
36 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
37 <title>phpMyAdmin $langname Documentation</title>
40 <h1>phpMyAdmin $langname Documentation</h1>
42 if [ $num -eq 0 ] ; then
44 <p>Unfortunately no document is enough translated to $langname.</p>
48 <p>Documents translated to $langname:</p>
51 for file in $files ; do
52 echo "<li><a href=\"$file\">`getname $file`</a></li>"