names="config_alias config_cache config_debug config_feedback config_http config_interface config_ldap config_ldap2 config_ldap_path config_ldap_vars config_ldapcache config_ldapcache2 config_ldapcache_vars config_list config_logs config_main config_path config_session config_stta config_ticksess config_tta config_values"

head_template=es/templ_head
body_template=es/templ_body
msg_template=es/templ_msg

for file in `echo $names`
do
   name=`echo $file| sed 's/config_//g'`
   cat h | sed "s/NAME/$name/g" > $file.html
   /usr/local/webmin-1.050/stta/devtools/mkhtmldatconfs $name >>$file.html
   mv wk/* $STTA/help/es/config
   cat f | sed "s/config_$name//g" >>$file.html
   cat $head_template >es/head/config_$name.html
   cat $msg_template >es/msg/config_$name.html
   cat $body_template >es/body/config_$name.html
done
