[Koha-cvs] CVS: koha/koha-tmpl templates.readme,1.3,1.4

Ambrose Li acli at users.sourceforge.net
Mon Jan 20 05:12:44 CET 2003


Update of /cvsroot/koha/koha/koha-tmpl
In directory sc8-pr-cvs1:/tmp/cvs-serv3851

Modified Files:
	templates.readme 
Log Message:
Minor spelling/punctuation corrections. More hyphens removed to conform to
normal English usage.


Index: templates.readme
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/templates.readme,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** templates.readme	20 Jan 2003 04:06:03 -0000	1.3
--- templates.readme	20 Jan 2003 04:12:41 -0000	1.4
***************
*** 1,3 ****
! This is a README-file for all interested in the templating system used
  by Koha.  It contains guidelines ans descriptions, please feel free to
  make comments and contributions to this file.
--- 1,3 ----
! This is a README file for all interested in the templating system used
  by Koha.  It contains guidelines ans descriptions, please feel free to
  make comments and contributions to this file.
***************
*** 5,9 ****
  1. Introduction
  
!   The advantage of a templating-system is the separation of code and
    design.  It is much easier to read the HTML and get an imagination of
    what it will look like without having it shattered by declarations and
--- 5,9 ----
  1. Introduction
  
!   The advantage of a templating system is the separation of code and
    design.  It is much easier to read the HTML and get an imagination of
    what it will look like without having it shattered by declarations and
***************
*** 28,32 ****
    Indeed, there is a little more to know.
  
!   I recomend reading the documentation to the HTML::Template-module.
    You can obtain it from http://www.perldoc.com/cpan/HTML/Template.html
  
--- 28,32 ----
    Indeed, there is a little more to know.
  
!   I recomend reading the documentation to the HTML::Template module.
    You can obtain it from http://www.perldoc.com/cpan/HTML/Template.html
  
***************
*** 57,61 ****
    If you have files (either templates or files in the webspace)
    which are the same for all themes or languages use the
!   "all"-directory. For example the "background.jpg" image, which
    is the same for all languages within a theme should go in
    koha-html/(intranet|opac)-html/custommade/all/images/background.jpg).
--- 57,61 ----
    If you have files (either templates or files in the webspace)
    which are the same for all themes or languages use the
!   "all" directory. For example the "background.jpg" image, which
    is the same for all languages within a theme should go in
    koha-html/(intranet|opac)-html/custommade/all/images/background.jpg).
***************
*** 66,70 ****
    value=nameoftheme.
  
!   If you want your users be able to override your theme-settings enter
    name=allowthemeoverride value=customtheme1,customtheme2,... (names of
    themes you want to be allowed) to the preferences.
--- 66,70 ----
    value=nameoftheme.
  
!   If you want your users be able to override your theme settings enter
    name=allowthemeoverride value=customtheme1,customtheme2,... (names of
    themes you want to be allowed) to the preferences.
***************
*** 84,92 ****
   5.1 For the templates
  
!   - Use absolute paths; relative paths in html-tags would be relative to
      the script's position and relative paths in <TMPL_INCLUDE> would be
      relative to the template.
  
!   - You don't have to make templates for everything in your custom-theme
      or language. If you omit a template in a language, the template of
      next available language is used. (Languages are tried in the order of
--- 84,92 ----
   5.1 For the templates
  
!   - Use absolute paths; relative paths in HTML tags would be relative to
      the script's position and relative paths in <TMPL_INCLUDE> would be
      relative to the template.
  
!   - You don't have to make templates for everything in your custom theme
      or language. If you omit a template in a language, the template of
      next available language is used. (Languages are tried in the order of
***************
*** 107,111 ****
   5.2 for the scripts
  
!   - Use meaningfull English (abbreviations) as parameter names
  
    - If you fetch a list of data, pass it completely and let the designer
--- 107,111 ----
   5.2 for the scripts
  
!   - Use meaningful English (abbreviations) as parameter names
  
    - If you fetch a list of data, pass it completely and let the designer
***************
*** 130,141 ****
      Takes a hash with the following keys:
  
!     -template: the name of the template-file (e.g. 'mytemplate.tmpl')
  
      -type: 'opac', 'intranet', 'none' or something you specify, decides
!     which directory to lookup, defaults to intranet
  
        -'opac': /somedirs/opac-tmpl/theme/language/template.tmpl
  
!       -'interanet': /somedirs/intranet-tmpl/theme/language/template.tmpl
  
        -'none': /somedirs/theme/language/template.tmpl
--- 130,141 ----
      Takes a hash with the following keys:
  
!     -template: the name of the template file (e.g. 'mytemplate.tmpl')
  
      -type: 'opac', 'intranet', 'none' or something you specify, decides
!     which directory to lookup; defaults to intranet
  
        -'opac': /somedirs/opac-tmpl/theme/language/template.tmpl
  
!       -'intranet': /somedirs/intranet-tmpl/theme/language/template.tmpl
  
        -'none': /somedirs/theme/language/template.tmpl





More information about the Koha-cvs mailing list