User Tools

Site Tools


en:beginner:customization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:beginner:customization [2019/12/05 00:30] anupamaen:beginner:customization [2023/03/13 01:46] – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ====== Customization ====== ====== Customization ======
 //**Part of the [[en:beginner:index|Greenstone Beginner's Guide]]**// \\ //**Part of the [[en:beginner:index|Greenstone Beginner's Guide]]**// \\
Line 16: Line 19:
  
  
-<TABAREA tabs="Greenstone3,Greenstone2"> +<tabbox Greenstone3>
-<TAB>+
 ===== Site, interfaces, and libraries ===== ===== Site, interfaces, and libraries =====
 Sites and interfaces contain the content and presentation information, respectively,  Sites and interfaces contain the content and presentation information, respectively, 
Line 50: Line 52:
 Finally, every site-interface combination you create is considered a **library**  Finally, every site-interface combination you create is considered a **library** 
 (in technical terms, each library is actually a servlet). (in technical terms, each library is actually a servlet).
-</TAB> +<tabbox Greenstone2>
-<!-- ################################################################################## +
-####################################################################################### +
-#######################################################################################--> +
-<TAB>+
 ===== Collection level vs. library level ===== ===== Collection level vs. library level =====
  
Line 79: Line 77:
 Every macro variable now has additional variants of itself: variants that are safe to use in an HTML context, in an HTML attribute context, CSS context, URL context, JavaScript context and SQL context.  Every macro variable now has additional variants of itself: variants that are safe to use in an HTML context, in an HTML attribute context, CSS context, URL context, JavaScript context and SQL context. 
  
-The additional variants of each variable are denoted by the suffixes: Htmlsafe, Attrsafe, Csssafe, Urlsafe, Jssafe, SqlsafeThe variable name suffixes of these additional variants' indicate the context in which each is to be used.  +The additional variants of each variable are denoted by the suffixes: 
- +<code>Htmlsafe, Attrsafe, Csssafe, Urlsafe, Jssafe, Sqlsafe</code> 
-For example, the ''_cgiargq_'' variable has the following variants:+The variable name suffixes of these additional variants' indicate the context in which each is to be used.  
 +// 
 +For example//, the ''_cgiargq_'' variable has the following variants:
 <code>_cgiargqHtmlsafe_ <code>_cgiargqHtmlsafe_
 _cgiargqAttrsafe_ _cgiargqAttrsafe_
Line 101: Line 101:
   * [[https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html|OWASP XSS cheat sheet]]   * [[https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html|OWASP XSS cheat sheet]]
  
-</TAB> +</tabbox>
-</TABAREA>+
  
 ===== Useful Links for Customisation ===== ===== Useful Links for Customisation =====
Line 124: Line 123:
  
 //**Now that you know the basics of using and customizing Greenstone, there are a few other features, functions, and resources you should be aware of. The final section of this Beginner's Guide presents [[en:beginner:additional_topics|additional Greenstone topics]].**// //**Now that you know the basics of using and customizing Greenstone, there are a few other features, functions, and resources you should be aware of. The final section of this Beginner's Guide presents [[en:beginner:additional_topics|additional Greenstone topics]].**//
 +
en/beginner/customization.txt · Last modified: 2023/03/13 20:51 by kjdon