Revision 296 (by ahitrov, 2013/03/26 17:59:01) |
---|
% if ( $css ) { <% $css %> % } elsif ( $m->comp_exists ("/www/css/$prj/styles.css") ) { <& "/www/css/$prj/styles.css" &> % } <%init> my $prj = $request->{project}; my $css = $request->{project_profile}->css; $css =~ s/<% \$prj %>/$prj/gi if $css; </%init>