/[webpac2]/Webpacus/root/editor/template.tt
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/root/editor/template.tt

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

revision 167 by dpavlin, Sat Nov 26 21:11:41 2005 UTC revision 170 by dpavlin, Sun Nov 27 00:50:27 2005 UTC
# Line 1  Line 1 
 <div class="template_form">  
1    
2  <div id="div_template_list">  [% c.prototype.form_remote_tag(
3            url => base _ 'editor/template',
4  Templates:          update => 'div_template_status',
5            loading => 'show_working();',
6  <ul>          loaded => 'reload_rec(); hide_working();',
7  [% FOREACH t IN template_list %]          html_options => {
8   [% IF t == template_filename %]                  name => 'form_editor_css',
9    <li><b>[% t %]</b></li>          }
10   [% ELSE %]  ) %]
11    <li><a href="#" onclick="return load_template('[% t %]');">[% t %]</a></li>  <div id="div_template_form">
  [% END %]  
 [% END %]  
 </ul>  
   
 </div>  
12    
13  <form name="form_editor_template" action="[% base %]" method="post">  <form name="form_editor_template" action="[% base %]" method="post">
14    
# Line 34  Templates: Line 28  Templates:
28  </form>  </form>
29    
30  </div>  </div>
31    
32    <div id="div_template_list">
33    
34    Templates:
35    
36    <ul>
37    [% FOREACH t IN template_list %]
38     [% IF t == template_filename %]
39      <li id="template_list_selected">[% t %]</li>
40     [% ELSE %]
41      <li><a href="#" onclick="return switch_template('[% t %]');">[% t %]</a></li>
42     [% END %]
43    [% END %]
44    </ul>
45    
46    </div>

Legend:
Removed from v.167  
changed lines
  Added in v.170

  ViewVC Help
Powered by ViewVC 1.1.26