just downloaded last night's build, and well my templates died and images broke.
strangely, functions.php and functions-i8n.php
functions.php
line 31 changed to if (
@defined(OFFSET_PATH)) {
and functions-i8n.php:
and line 16 changed to
if (
@defined(OFFSET_PATH) && OFFSET_PATH === 1) { // for admin only
should all these checks be checking if offset_path is null, and if there aren't any subdirs in the installation path, then something to set the constant to null? that'd be cleaner?
edit: ignore this - admin is broken with these changes...
Comments
if (@OFFSET_PATH == 1) {
if offset_path == 1 for admin, and 2 for setup? in that case maybe if (@OFFSET_PATH == 1 || @OFFSET_PATH == 2) ?
is it possible to see a list of changes for each nightly build?
You can review all changes here http://www.zenphoto.org/trac/browser/trunk or use a svn client with here http://www.zenphoto.org/svn/trunk
If you like file a ticket, but you have to wait until probably thuesday or wednesday until sbillard is back. I am not familar with those parts so I won't touch theme
$desc = str_replace("\r\n", "\n", $desc);
$desc = str_replace("\n", '', $desc);
in template-functions.php
i think those three lines should be part of a 'simple text input' / 'advanced input' option.
ie. if simple, then execute those lines, else don't.
ie. if i want to use html code for my description, then i should be able to right!, and if i do:
[p]foo bar foo bar[/p]
[p]more foo bar[/p]
then i wouldn't expect the newline to be replaced with a break return poss. breaking the layout!
so, can we have a 'simple input / expert input' option for description inputs please?
0: normal gallery view
>0: admin view
1: admin
2: setup
So, the code in functions.php (in the current nightly builds) is correct.