Appendices

Table of Contents

Glossary
A. Settings in fbconfig.pl
1. $FB Variables
1.1. User-configurable
1.2. Auto-configured
2. Configuring %FB::DBINFO
B. S2 - Style System 2
1. Introduction
2. Influential Properties
2.1. prop_init()
2.2. Reference
C. BML Template Reference
D. Privilege Reference
E. Downloading This Manual
F. Contributors to the FotoBilder Project
G. GNU Free Documentation License
1. PREAMBLE
2. APPLICABILITY AND DEFINITIONS
3. VERBATIM COPYING
4. COPYING IN QUANTITY
5. MODIFICATIONS
6. COMBINING DOCUMENTS
7. COLLECTIONS OF DOCUMENTS
8. AGGREGATION WITH INDEPENDENT WORKS
9. TRANSLATION
10. TERMINATION
11. FUTURE REVISIONS OF THIS LICENSE
12. How to use this License for your documents

Glossary

Here are the definitions to some common terms

B

BML Better Markup Language

A website template system written in Perl using Apache and mod_perl.

F

FotoBilder

FotoBilder is a package of tools that allow you to create and maintain galleries of images that can be used on the internet or a personal/corporate intranet. FotoBilder is a compound german word: "das Foto" (photo) & "die Bilder" (pictures).

See Also PicPix.

G

Gallery

An abstract element most often containing a group of pictures.

Group

A user-defined list of peer accounts; used for setting security bits on elements.

P

PicPix

PicPix is the internet photo gallery service that has been built using FotoBilder as the primary backbone. Part of the money from the PicPix service funds the development of the FotoBilder project.

S

S2 Style System 2

A powerful user-layout template system, written in Perl and Java.

Short Names

User defined abbreviated names for galleries which help speed the process of moving or adding pictures.

Scheme

A collection of BML templates that comprise a unique layout.

Style

All S2 Layers that comprise a user's layout.

See Also S2 - Style System 2 $Revision: 1.1 $ $Date: 2002/11/17 21:48:29 $ JesseProulxjproulx@livejournal.com 1.12002-11-15jproulxInitial version S2 - Style System 2Introduction S2 is actually a programming language, with syntax and semantics resembling Perl/C+/Java/etc. S2 code is compiled into a lower level language (currently Perl) and run directly when the page is loaded. Influential Properties While most properties defined in the core layer and layout layers are used only by the layers themselves, the values of certain properties influence the engine that supplies the S2 data structures. Those influencial properties are listed in the reference below. prop_init() The prop_init() function is the initial entry point called by the system, and it's called before the influential properties are examined. This gives you a place to conditionally setup the influential properties, if you don't want your layout layer to directly expose them to the user. Setting $*gallery_max_page_size For example, if you wanted to allow the user to specify a grid layout of the displayed thumbnails on a gallery page, you could create two properties: rows and cols, and then calculate $*gallery_max_page_size from those properties. By using this technique, the formula you write that calculates how many pictures to display will be fed an appropriate number of pictures. property int rows { des = "Number of rows of pictures"; min = 1; } set rows = 5; property int cols { des = "Number of cols of pictures"; min = 1; } set cols = 5; function prop_init () { $*gallery_page_max_size = $*rows * $*cols; }Reference$*thumbnails1$*gallery_min_page_size1$*gallery_max_page_size1Drop in sections for "language ref", "porting", etc.