Moin
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_engine2.3.5 How the theme engine works
When a Coppermine page is being parsed, the core code will call theme functions. If those functions exist in your custom theme, they will be taken into account. If a particular function does not exist in your custom theme, the core function will be used. The core functions (the default theme behaviour if you want to put it that way) reside in includes/themes.inc.php. Therefor, you mustn't edit includes/themes.inc.php, under no circumstances, as all your changes will be lost when upgrading in the future. Everything that possibly could be accomplished by editing include/themes.inc.php can be accomplished by editing themes/yourtheme/theme.php as well - stuff defined in your custom theme will take precedence over the core theme functions.
Das ist der Grund warum das "tabu" ist. Nicht weil man das nicht darf, sondern weil es von der Funktionsweise besser ist, die entsprechende Funktion in der theme.php des eigenen Themes unterzubringen, damit es beim Update nicht verloren geht....
Hier habe ich nun einen Beitrag von einem Helfer/Entwickler gefunden, der Codeschnipsel auch für die themes.inc anbietet.
Ist ja nicht verboten, nur unschön. Wo ist das? sollte man evtl. korrigieren....