source: sandbox/2.3-MailArchiver/phpgwapi/themes/theme2template.pl @ 6779

Revision 6779, 487 bytes checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1#!/usr/bin/perl
2# Takes a theme file and parses out the properties
3# and makes a template file from it.
4# Use it like so:
5# theme2template.pl < infile > outfile
6# by Stephan
7# $Id: theme2template.pl,v 1.5 2003/08/28 14:29:08 ralfbecker Exp $
8
9$t=localtime;
10print << 'EOF';
11# template file for making phpGroupWare themes using template2theme.pl
12
13EOF
14while( $_ = <STDIN> ) {
15  chomp($_);
16  next unless ( $_ =~ /\$phpgw_info\[\'theme\'\]\[\'(.*)\'\].*=.*\'(.*)\'.*/ );
17  print '$1=$2\n';
18}
Note: See TracBrowser for help on using the repository browser.