mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
removed this not longer (if ever) used files
This commit is contained in:
parent
3842048b5e
commit
811d0fe37c
@ -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 '<?\n';
|
|
||||||
print << 'EOF';
|
|
||||||
# eGroupWare Theme file
|
|
||||||
EOF
|
|
||||||
|
|
||||||
while( $_ = <STDIN> ) {
|
|
||||||
next unless ( $_ =~ /^\s*(\w+)\s*=(.+)/ );
|
|
||||||
$k=$1;
|
|
||||||
$v=$2;
|
|
||||||
my $foo = $wrap;
|
|
||||||
$foo =~ s/_KEY_/$k/;
|
|
||||||
$foo =~ s/_VAL_/$v/;
|
|
||||||
print '$foo;\n';
|
|
||||||
}
|
|
||||||
print '?>';
|
|
@ -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
|
|
||||||
|
|
@ -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( $_ = <STDIN> ) {
|
|
||||||
chomp($_);
|
|
||||||
next unless ( $_ =~ /\$phpgw_info\[\'theme\'\]\[\'(.*)\'\].*=.*\'(.*)\'.*/ );
|
|
||||||
print '$1=$2\n';
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user