Changeset 57

Show
Ignore:
Timestamp:
11/17/05 11:18:44 (5 years ago)
Author:
bradley
Message:

Minor tweaks to some of the templates used to generate the code.

Location:
trunk/templates
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/Makefile.am

    r42 r57  
    5656                  $(PACKAGE_NAME).pl 
    5757 
    58 EXTRA_DIST = $(cfg_DATA) $(apacheconf_DATA) 
     58EXTRA_DIST = bootstrap $(cfg_DATA) $(apacheconf_DATA) bootstrap 
    5959 
    6060rpm: dist 
  • trunk/templates/appConfig.cfg.in

    r50 r57  
    1414#useSessions="Apache::Session::Postgres" 
    1515#sessionTable="sessions" 
     16 
     17# If you wish to use cookie-based authentication, use this: 
     18# Auth Levels: none (default), mixed (anon users allowed), login (must login) 
     19#authLevel='mixed' 
     20#authController='Auth/login' 
     21 
  • trunk/templates/templates/_pager.tt2

    r32 r57  
    22<table width="60%"> 
    33  <tr> 
    4     <td> 
     4    <td align="center"> 
    55      [% IF page.previous_page %] 
    66        <a href="[% REQUEST.uri() %]?[% IF PATTERN %]pattern=[% PATTERN %]&[% END %]pageNum=[% page.previous_page() %]&pageSize=[% BOOK.pageSize %]">Previous Page</a> 
     
    99      [% END %] 
    1010    </td> 
    11     <td> 
     11    <td align="center"> 
    1212      Displaying Item [% page.first %] - [% page.last %] of [% page.total_entries %] 
    1313    </td> 
    14     <td> 
     14    <td align="center"> 
    1515      [% IF page.next_page %] 
    1616        <a href="[% REQUEST.uri() %]?[% IF PATTERN %]pattern=[% PATTERN %]&[% END %]pageNum=[% page.next_page %]&pageSize=[% BOOK.pageSize %]">Next Page</a> 
  • trunk/templates/templates/create.tt2

    r1 r57  
    1818 
    1919</body> 
    20  
     20</html> 
  • trunk/templates/templates/edit.tt2

    r1 r57  
    2222 
    2323</body> 
    24  
     24</html> 
  • trunk/templates/templates/list.tt2

    r37 r57  
    6767 
    6868</body> 
    69  
     69</html> 
  • trunk/templates/templates/show.tt2

    r1 r57  
    5050 
    5151</body> 
    52  
     52</html>