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

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

revision 193 by dpavlin, Tue Nov 29 14:31:26 2005 UTC revision 250 by dpavlin, Thu Dec 15 02:03:25 2005 UTC
# Line 21  template_filename = '[% template_filenam Line 21  template_filename = '[% template_filenam
21      </head>      </head>
22      <body onload="init_page();">      <body onload="init_page();">
23    
 <div class="navigation">  
         <a id="a_left_arr" href="#previous" onClick="this.blur(); return dec_rec();">&#8678;</a>  
         <input id="record_nr" type="text" size="3" value="" onchange="return load_rec($('record_nr').value);"/>  
   
         <a id="a_right_arr" href="#next" onClick="this.blur(); return inc_rec();">&#8680;</a>  
         <a id="a_reload" href="#reload" onClick="this.blur(); return reload_rec();">&#8634;</a>  
         <span id="working"><img src="/img/indicator.gif" /></span>  
 </div>  
   
24  <div id="div_editor_toolbar">  <div id="div_editor_toolbar">
25   Editor   Editor
26   <a id="a_template" class="tab" href="#" onClick="return edit_template();">template</a>   <a id="a_template" class="tab" href="#" onClick="return edit_template();">template</a>
# Line 38  template_filename = '[% template_filenam Line 29  template_filename = '[% template_filenam
29  </div>  </div>
30    
31  <table id="div_editors" class="editors">  <table id="div_editors" class="editors">
32  <tr id="row_template"><td>  <tr id="row_template">
33    <span class="notice">no template loaded yet.</span>  [% c.subreq('/editor/template') %]
34  </td></tr>  </tr>
35  <tr id="row_css"><td>  <tr id="row_css">
36    <span class="notice"> no CSS loaded yet.</span>  [% c.subreq('/editor/css') %]
37  </td></tr>  </tr>
38  </table>  </table>
39    
40    <div class="navigation">
41            <a id="a_left_arr" href="#previous" onClick="this.blur(); return dec_rec();">&#8678;</a>
42            <input id="record_nr" type="text" size="3" value="[% rec || 1 %]" onchange="return load_rec($('record_nr').value);"/>
43    
44            <a id="a_right_arr" href="#next" onClick="this.blur(); return inc_rec();">&#8680;</a>
45            <a id="a_reload" href="#reload" onClick="this.blur(); return reload_rec();">&#8634;</a>
46    
47            <select name="rec_uri_prefix" id="rec_uri_prefix" onchange="return load_rec(rec);">
48            [% FOREACH db = databases %]
49            <option value="[% db.prefix %]">[% db.name %] ([% db.input %])</option>
50            [% END %]
51            </select>
52    
53            <span id="working"><img src="/img/indicator.gif" /></span>
54    </div>
55    
56  <div id="div_record">  <div id="div_record">
57   <span class="notice">no record loaded yet.</span>  [% c.subreq('/editor/record', { record_uri => record_uri }) %]
58  </div>  </div>
59    
60    
61  <pre>  <pre>
62  [% USE dumper ; dumper.dump( stash ) %]  [% USE dumper ; dumper.dump( databases ) %]
63  </pre>  </pre>
64    
65  [% INCLUDE footer.tt %]  [% INCLUDE footer.tt %]

Legend:
Removed from v.193  
changed lines
  Added in v.250

  ViewVC Help
Powered by ViewVC 1.1.26