-"<div class=\"genby\">generated by $_{-version}</div>";
+# this gets `eval`-ed and must return a string to be included in the
+# index html page at the bottom.
+
+# The following variables are documented:
+# $_{-version}         SVN release of the running script
+# $_{-depth}           subdir depth relative to the "top" with .gallery2
+# $_{-title}           title of the current subdir (.title contents)
+# $_{-breadcrumbs}     not implemented at the moment
+
+"<div class=\"genby\">generated by $_{-version}</div>"
 
 
        This is a part of mkgallery.pl suite
        http://www.average.org/mkgallery/
+
+       DO NOT EDIT THIS FILE OR FACE RISK OF PROBLEMS ON UPGRADE
+       Instead, include custom modifications into custom.css
 */
 
 h2.ititle {
 
+# this gets `eval`-ed and must return a string to be included in the
+# index html page at the top.
+
+# The following variables are documented:
+# $_{-version}         SVN release of the running script
+# $_{-depth}           subdir depth relative to the "top" with .gallery2
+# $_{-title}           title of the current subdir (.title contents)
+# $_{-breadcrumbs}     not implemented at the moment
+
 "<h1 class=\"title\">$_{-title}</h1>".
 ($_{-depth}?"<div class=\"linkup\"><a href=\"../index.html\">UP</a></div>":"")