1. The replacement of '\r\n' and '\r' to '\n' should better be done
after loading page, for convenience of modifying the source. For
example, someone may find problematic when modifying data in a source
and it wouldn't work since Windows consider linebreaks '\r\n' instead
of '\n'.
Other fixes:
The line in BOLTFoverwrite:
if ($pages == '') return BOLTmsg('function_overwrite_nopages');
should be:
if ($pages == '') return BOLTmsg('func_overwrite_nopages');
2. I fixed several things in site.language, including duplicated,
missed, and missorted items or so. The list is very long, so I
uploaded the fixed file to this Google Group.
There are still problems for the translation. If the translated text
in >> << contains some markups that goes before translation markup,
their value would change first so the translation list won't recognise
them. For example: /= =/, `, {vars}.
The affected pages noted so far are listed below:
site.config line 1
site.plugins line 1
site.script line 3
action.history lower
action.upload lower
And also some sentenses like:
"Page renamed from {p} to {=page} by {=author} :: "
3. It seems that there's a problem of [if] condition. Several pages
are significantly affected:
action.delete
action.plugins
I think it's due to the deletion of the 2nd line of the following:
$condition = BOLTstripslashes($condition);
$condition = str_replace('&&', '&&', $condition);
4. All "return BOLTmsg(~" is not correct since it adds a message box
on the page. See action.plugins.
5. 'save' in the following 2 lines should be uppercase 'SAVE':
BOLTreplace('~~~', "[[~.$BOLTid|$BOLTmember]], " . strftime('%x'),
'save');
BOLTreplace('~~', "[[~.$BOLTid|$BOLTmember]]", 'save');
5. I'm confused what it means... you were going to change >|> to
> were you?
MarkUp('fmt', 'indent', '/\-(>|>)\n?/', '<blockquote>'); // -> <-
indent (blockquote)
MarkUp('fmt', 'indentend', '/\n?(<|<)\-/', '</blockquote>'); // ->
<- indent (blockquote)
//MarkUp('fmt', 'indent', '/\-\>\n?/', '<blockquote>'); // -> <-
indent (blockquote)
//MarkUp('fmt', 'indentend', '/\n?<\-/', '</blockquote>'); // -> <-
indent (blockquote)
6. A small thing for html markup. I think it would be better if we
allow no space backward:
old:
MarkUp('style', 'html', '/<([\/]?)([a-z0-9]+)( \/)?>/ie',
"BOLTMhtml('$1', '$2', '$3')"); // allowed html
new:
MarkUp('style', 'html', '/<([\/]?)([a-z0-9]+)( ?\/)?>/ie',
"BOLTMhtml('$1', '$2', '$3')"); // allowed html
7. If site language is not default, the page is saved instead of
preview even when we click "PREVIEW". I'm not yet sure where the
problem is. But if I write a config file which specifies a site
language in v3.3.2 , I get the same problem.
8. For picky optomizations:
1) The line in BOLTauth should be unneeded since we already do the
replace several lines before:
$f = str_replace('{id}', $BOLTid, $f);
2) The comment of BOLTXrename should be rewritten:
## GIVES NEW NAMES TO EXISTING PAGES, RETAINING ALL CONTENT AND DATA,
ETC. FORMAT OF $value LOOKS LIKE oldpage|newpage
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.