diff --git a/phpgwapi/themes/template2theme.pl b/phpgwapi/themes/template2theme.pl deleted file mode 100755 index e8c13ae0ec..0000000000 --- a/phpgwapi/themes/template2theme.pl +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/perl -# Takes a simple text file of properties and turns them -# into a themes files. -# Use it like so: -# template2theme.pl < infile > outfile -# by Stephan -# $Id$ -$wrap='$phpgw_info['theme']['_KEY_']= '_VAL_''; -print ' ) { - next unless ( $_ =~ /^\s*(\w+)\s*=(.+)/ ); - $k=$1; - $v=$2; - my $foo = $wrap; - $foo =~ s/_KEY_/$k/; - $foo =~ s/_VAL_/$v/; - print '$foo;\n'; -} -print '?>'; diff --git a/phpgwapi/themes/theme.template b/phpgwapi/themes/theme.template deleted file mode 100644 index 730afb45af..0000000000 --- a/phpgwapi/themes/theme.template +++ /dev/null @@ -1,36 +0,0 @@ -# This is a template for making a theme file to run through -# template2theme.pl -# Any line STARTING with xxx=yyy -# will be included in the output. All others are ignored. -bg_color=FBF1C5 -bg_text=000000 -vlink=blue -alink=red -link=blue -row_on=F7E58F -row_off=EAD688 -row_text=000000 -th_bg=C8A63B -th_text=000000 -navbar_bg=F7E58F -navbar_text=000000 -table_bg=EAD688 -table_text=C5AA2B -font=Arial, Helvetica, san-serif -bg01=FBF4D3 -bg02=F9EDB3 -bg03=F5E28B -bg04=F0D866 -bg05=EDCD39 -bg06=D5B211 -bg07=CCAB12 -bg08=C58C13 -bg09=B69910 -bg10=AC9010 - -cal_today=FBF1C5 -cal_dayview=F9E99F - -em_folder=EAD688 -em_folder_text=000000 - diff --git a/phpgwapi/themes/theme2template.pl b/phpgwapi/themes/theme2template.pl deleted file mode 100755 index 9c64d10b1e..0000000000 --- a/phpgwapi/themes/theme2template.pl +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/perl -# Takes a theme file and parses out the properties -# and makes a template file from it. -# Use it like so: -# theme2template.pl < infile > outfile -# by Stephan -# $Id$ - -$t=localtime; -print << 'EOF'; -# template file for making eGroupWare themes using template2theme.pl - -EOF -while( $_ = ) { - chomp($_); - next unless ( $_ =~ /\$phpgw_info\[\'theme\'\]\[\'(.*)\'\].*=.*\'(.*)\'.*/ ); - print '$1=$2\n'; -}