/[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 271 by dpavlin, Sat Dec 17 03:19:58 2005 UTC revision 381 by dpavlin, Sun Jan 22 00:44:42 2006 UTC
# Line 41  sub default : Private { Line 41  sub default : Private {
41    
42          $c->stash->{template_filename} = $template_filename;          $c->stash->{template_filename} = $template_filename;
43    
         $c->stash->{databases} = $c->comp('Model::Databases')->list_inputs;  
   
44          $c->stash->{template} = 'editor.tt';          $c->stash->{template} = 'editor.tt';
45  }  }
46    
# Line 220  __TIDY_CLOSE__ Line 218  __TIDY_CLOSE__
218                          $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>};
219                  }                  }
220          } else {          } else {
221                  $html .= qq{<div class="no_results">Can't find record</div>};                  $html .= qq{<div class="no_results">Can't find record $record_uri</div>};
222          }          }
223    
224          $c->response->content_type('text/html; charset=utf-8');          $c->response->content_type('text/html; charset=utf-8');

Legend:
Removed from v.271  
changed lines
  Added in v.381

  ViewVC Help
Powered by ViewVC 1.1.26