tazpanel diff lib/libtazpanel @ rev 292

translatable header, footer & titles; make pot
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 11 20:12:41 2012 +0300 (2012-04-11)
parents 4c35cd60c1d8
children fdfc6b494539
line diff
     1.1 --- a/lib/libtazpanel	Mon Apr 02 10:12:05 2012 +0200
     1.2 +++ b/lib/libtazpanel	Wed Apr 11 20:12:41 2012 +0300
     1.3 @@ -149,7 +149,7 @@
     1.4  }
     1.5  
     1.6  xhtml_header() {
     1.7 -	cat ${PANEL}$HEADER | sed s/'- %TITLE%'/"$TITLE"/
     1.8 +	. ${PANEL}$HEADER
     1.9  	if [ $DEBUG == "1" ]; then
    1.10  		local i
    1.11  		local j
    1.12 @@ -180,7 +180,7 @@
    1.13  }
    1.14  
    1.15  xhtml_footer() {
    1.16 -	cat ${PANEL}$FOOTER
    1.17 +	. ${PANEL}$FOOTER
    1.18  }
    1.19  
    1.20  table_start() {
    1.21 @@ -195,7 +195,7 @@
    1.22  	</tbody>
    1.23  </table>
    1.24  EOT
    1.25 -	
    1.26 +
    1.27  }
    1.28  
    1.29  df_thead() {