/[webpac2]/Webpacus/lib/Webpacus/Controller/Editor.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/lib/Webpacus/Controller/Editor.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 181 by dpavlin, Sun Nov 27 18:18:11 2005 UTC revision 241 by dpavlin, Wed Dec 14 18:56:11 2005 UTC
# Line 140  sub css : Local { Line 140  sub css : Local {
140    
141          $c->stash->{'css_content'} = $webpac->load_html( $css_full_path );          $c->stash->{'css_content'} = $webpac->load_html( $css_full_path );
142    
143            $c->stash->{'css_list'} = [ qw/user.css foobar.css/ ];
144    
145          $c->stash->{template} = 'editor/css.tt';          $c->stash->{template} = 'editor/css.tt';
146  }  }
147    
# Line 211  __TIDY_CLOSE__ Line 213  __TIDY_CLOSE__
213                  } else {                  } else {
214                          $html .= qq{<div class="tidy tidy_error">Can't parse this record with HTML Tidy!</div>};                          $html .= qq{<div class="tidy tidy_error">Can't parse this record with HTML Tidy!</div>};
215                  }                  }
216            } else {
217                    $html .= qq{<div class="no_results">Can't find record</div>};
218          }          }
219                                    
220                                    
221          $c->response->content_type('text/html; charset=utf-8');          $c->response->content_type('text/html; charset=utf-8');
222          $c->res->output( $html );          $c->response->body( $html );
223  }  }
224    
225    

Legend:
Removed from v.181  
changed lines
  Added in v.241

  ViewVC Help
Powered by ViewVC 1.1.26