Re: [PHP-DOC] cvs: livedocs / README

2006-02-26 Thread Gabor Hojtsy
Hm, the last part after "some people" is from a different commit, it should not have been there... Anway I intended to also add that the sqlite part was updated to be more modern, in line with PHP 5 ages :) Goba Gabor Hojtsy wrote: > goba Sun Feb 26 12:21:29 2006 UTC > > Modified file

Re: [PHP-DOC] cvs: livedocs / livedoc.php livedoc_funcs.php search.php

2005-07-14 Thread Nuno Lopes
Nuno Lopes wrote: Sorry, but I couldn't find any info for 'xssoops'. Is this a free/open-source tool? Is it available for download? It is not open source or available for download at this time. XSSOOPS is an evolving tool I've written (and still writing) that tries to catch most common PHP m

Re: [PHP-DOC] cvs: livedocs / livedoc.php livedoc_funcs.php search.php

2005-07-14 Thread Ilia Alshanetsky
Nuno Lopes wrote: Sorry, but I couldn't find any info for 'xssoops'. Is this a free/open-source tool? Is it available for download? It is not open source or available for download at this time. XSSOOPS is an evolving tool I've written (and still writing) that tries to catch most common PHP m

Re: [PHP-DOC] cvs: livedocs / livedoc.php livedoc_funcs.php search.php

2005-07-14 Thread Nuno Lopes
iliaa Thu Jul 14 15:05:38 2005 EDT Modified files: /livedocs livedoc.php livedoc_funcs.php search.php Log: Security fixes for XSS, SQL Injection and possible path disclosure. # Found by xssoops tool. Sorry, but I couldn't find any info for 'xssoops'. Is this a free/open-source tool? Is

Re: [PHP-DOC] cvs: livedocs / mkindex.php

2005-06-20 Thread Jean-Sebastien Goupil
I have rebuilt now the manual and it seems that is working find... don't know what happenned. There are some "function.require [?]" but this is not critical for me ;) See ya Jean-Sébastien Goupil [EMAIL PROTECTED] Jean-Sebastien Goupil wrote: Since you sent update for livedocs, I have rebui

Re: [PHP-DOC] cvs: livedocs / livedoc_funcs.php mkindex.php

2005-06-17 Thread Sean Coates
Ilia Alshanetsky wrote: iliaa Fri Jun 17 18:10:18 2005 EDT Modified files: /livedocs livedoc_funcs.php mkindex.php Log: Added some warnings on common errors. Fixed bug #33358 (Use TITLEABBREV in table of contents). Ilia, It may not have been this one, but

Re: [PHP-DOC] cvs: livedocs / livedoc_funcs.php

2005-02-09 Thread mazzanet
Curt mustn't have updated his patch, $children[$parent] needs to be changed to $children[$valsub] (on the indicated line below) otherwise the function list and other 'sub-TOCs' are broken. Matt Ilia Alshanetsky wrote: > iliaa Wed Feb 9 15:03:44 2005 EDT > > Modified files: > /livedocs l

Re: [PHP-DOC] cvs: livedocs / livedoc_funcs.php

2005-02-09 Thread Sean Coates
Nuno Lopes wrote: A slightly optimized version would be: The one I submitted was copied directly from php-web, but I have no problem with the optimization, once tested. P.S.: BTW, thanks for reviewing some livedocs' patches. Yes, thanks. Ilia also said he'd take a look, later today. S

Re: [PHP-DOC] cvs: livedocs / livedoc_funcs.php

2005-02-09 Thread Nuno Lopes
+// turn urls into links +$the_note = preg_replace( + "/((mailto|http|ftp|nntp|news):.+?)(>|\\s|\\)|\"|\\.\\s|<|$)/", +"\\1\\3", +$the_note +); + A slightly optimized version would be: $

Re: [PHP-DOC] cvs: livedocs

2004-09-17 Thread Curt Zirzow
* Thus wrote Gabor Hojtsy: > > >>Also if you let the sidebar contents to wrap, it might not look that > >>good with the bullets, but it will not go outside the faux column: > >> > >> http://livedocs.zirzow.dyndns.org/index.php?l=en&q=stream.common-api > > > >Which is better? the wrapping or the t

Re: [PHP-DOC] cvs: livedocs

2004-09-14 Thread Gabor Hojtsy
Looks good, but the fonts are not those used on php.net. I do think that the documentation text is more readable with this font, but users accustomed to our current font might not like it. It should be discussed. Had a look on the http://livedocs.zirzow.dyndns.org. Didn't notice any font changes f

Re: [PHP-DOC] cvs: livedocs

2004-09-13 Thread Gabor Hojtsy
Looks good, but the fonts are not those used on php.net. I do think that the documentation text is more readable with this font, but users accustomed to our current font might not like it. It should be discussed. The sidebar looks quite good on subpages, but it is a bit confusing on the frontpa

Re: [PHP-DOC] cvs: livedocs

2004-09-12 Thread Curt Zirzow
* Thus wrote Gabor Hojtsy: > >> Log: > >> push php.net theme specific stuff to the php.net theme > >> > >> more CSS files wil bee needed (from phpweb), but we actually > >> need the adoption of the tableless layout here, for which I > >> hope someone will volunteer - coupled with some CSS cleanup

Re: [PHP-DOC] cvs: livedocs /images php.gif small_submit.gif small_submit_white.gif /themes/php.net html_format.php php.gif small_submit.gif small_submit_white.gif spacer.gif

2004-09-11 Thread Aidan Lister
Wow Curt, that's fantastic! Well done

Re: [PHP-DOC] cvs: livedocs /images php.gif small_submit.gif small_submit_white.gif /themes/php.net html_format.php php.gif small_submit.gif small_submit_white.gif spacer.gif

2004-09-11 Thread Gabor Hojtsy
Log: push php.net theme specific stuff to the php.net theme more CSS files wil bee needed (from phpweb), but we actually need the adoption of the tableless layout here, for which I hope someone will volunteer - coupled with some CSS cleanup :) Hows this? http://livedocs.zirzow.dyndns.org/ I

Re: [PHP-DOC] cvs: livedocs /images php.gif small_submit.gif small_submit_white.gif /themes/php.net html_format.php php.gif small_submit.gif small_submit_white.gif spacer.gif

2004-09-11 Thread Curt Zirzow
* Thus wrote Gabor Hojtsy: > Log: > push php.net theme specific stuff to the php.net theme > > more CSS files wil bee needed (from phpweb), but we actually > need the adoption of the tableless layout here, for which I > hope someone will volunteer - coupled with some CSS cleanup :) Ho

Re: [PHP-DOC] cvs: livedocs /images php.gif small_submit.gif small_submit_white.gif /themes/php.net html_format.php php.gif small_submit.gif small_submit_white.gif spacer.gif

2004-09-11 Thread Gabor Hojtsy
Just a small note: you should use the WEBBASE constant. instead of "/themes.." you should use WEBBASE/.. Ah, ok. WEBBASE was not used in this theme yet, so I introduced it now. Goba

Re: [PHP-DOC] cvs: livedocs /images php.gif small_submit.gif small_submit_white.gif /themes/php.net html_format.php php.gif small_submit.gif small_submit_white.gif spacer.gif

2004-09-11 Thread Nuno Lopes
- + - + -   +   - + Just a small note: you should use the WEBBASE constant. instead of "/themes.." you should use WEBBASE/.. Nuno

Re: [PHP-DOC] cvs: livedocs / getnotes mk_notes.php

2004-08-08 Thread Gabor Hojtsy
Added files: /livedocs getnotes Modified files: /livedocs mk_notes.php Log: allowing testers to fetch all notes without a token - patch and shell script by Jacques Marneweck Hello Goba, Did you take a look at my patch that does the same thing. I think it's better than this as it downloads

Re: [PHP-DOC] cvs: livedocs / getnotes mk_notes.php

2004-08-08 Thread Nuno Lopes
> goba Sun Aug 8 06:49:35 2004 EDT > > Added files: > /livedocs getnotes > > Modified files: > /livedocs mk_notes.php > Log: > allowing testers to fetch all notes without a token - patch and shell script by Jacques Marneweck Hello Goba, Did you take a look at my patch that does

Re: [PHP-DOC] cvs: livedocs / livedoc_funcs.php style_mapping.php xml_classes5.php

2004-05-26 Thread Jakub Vrana
Ilia Alshanetsky wrote: > - switch (count($parts)) { > - case 4: > - $id = 'function.' . $parts[3]; > - $func_name = lookup_title($id); > - break; > - > - case 5: > - if ($parts[3] == 'class'

Re: [PHP-DOC] cvs: livedocs / configure.in livedoc.php livedoc_funcs.php mkindex.php pregenerate.php xml_classes5.php /themes/default html_format.php

2004-05-25 Thread Nuno Lopes
> wez Tue May 25 07:33:48 2004 EDT > > Added files: > /livedocs livedoc_funcs.php pregenerate.php xml_classes5.php > > Modified files: > /livedocs configure.in livedoc.php mkindex.php > /livedocs/themes/default html_format.php > Log: > Big commit; will be a little unclear what h

Re: [PHP-DOC] cvs: livedocs / error.php

2004-05-01 Thread Nuno Lopes
> > Maintain this array is not that hard. I think its much more beautiful to > > have the names of the languages instead of just 'de', 'en' or 'fr' > > I know it's not hard, but it shouldn't be in this file. > > Derick So where should it be? In a separate file?

Re: [PHP-DOC] cvs: livedocs / error.php

2004-05-01 Thread Derick Rethans
On Sat, 1 May 2004, Nuno Lopes wrote: > I did this change because language chooser wasn't working on my pc (maybe > because I use Apache 2). > > Maintain this array is not that hard. I think its much more beautiful to > have the names of the languages instead of just 'de', 'en' or 'fr' I know

Re: [PHP-DOC] cvs: livedocs / error.php

2004-05-01 Thread Nuno Lopes
> On Sat, 1 May 2004, Nuno Lopes wrote: > > > +} else { > > + > > + /* TODO: Add all languages here */ > > + $langs = array('en' => 'English', > > + 'de' => 'German', > > + 'fr' => 'French', > > + 'pt_BR' => 'Portuguese (Brazilian)'); > > How is it an improvement if you need to maintain this array?

Re: [PHP-DOC] cvs: livedocs / error.php

2004-05-01 Thread Derick Rethans
On Sat, 1 May 2004, Nuno Lopes wrote: > +} else { > + > + /* TODO: Add all languages here */ > + $langs = array('en' => 'English', > + 'de' => 'German', > + 'fr' => 'French', > + 'pt_BR' => 'Portuguese (Brazilian)'); How is it an

Re: [PHP-DOC] cvs: livedocs / handlers.php livedoc.php

2004-04-28 Thread Nuno Lopes
> YUCK! just pass the $title as parameter, or use $GLOBALS['title']; > > Derick Fixed, thanks! Nuno

Re: [PHP-DOC] cvs: livedocs / mk_peardoc.php mk_phpdoc.php mk_smarty.php mkindex.php

2004-04-27 Thread Derick Rethans
On Tue, 27 Apr 2004, Nuno Lopes wrote: > nlopess Tue Apr 27 10:43:28 2004 EDT > > Modified files: > /livedocs mk_peardoc.php mk_phpdoc.php mk_smarty.php mkindex.php > Log: > latest sqlite/php5 snapshot echoes a warning with empty queries. > this patch fixes them > > http:

Re: [PHP-DOC] cvs: livedocs / handlers.php livedoc.php

2004-04-27 Thread Derick Rethans
On Tue, 27 Apr 2004, Nuno Lopes wrote: > nlopess Tue Apr 27 10:07:11 2004 EDT > > Modified files: > /livedocs handlers.php livedoc.php > Log: > better title handling (error free now) > > http://cvs.php.net/diff.php/livedocs/handlers.php?r1=1.2&r2=1.3&ty=u > Index: livedocs/

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-04-18 Thread Nuno Lopes
> You don't seem to be aware fo the EN-Revision tag used by translators: > >http://www.php.net/manual/howto/translation-revtrack.html (9.4.2) > > with your script, you think that fr is up to date :( > That's why you have to compare the tag in the english > file with the tag in the french f

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-04-18 Thread Mehdi Achour
Nuno Lopes wrote: +/* Checks if translated file is updated */ +if ($lang != 'en' && !isset($using_fallback)) { + + if (preg_match('$Revision: 1.88 $', $file_revision, $matches)) { $Revision 1.88 exactly? Fixed in the source. CVS has replaced my rexesp automatically. + $lang_rev = $matches[1];

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-04-18 Thread Nuno Lopes
> > +/* Checks if translated file is updated */ > > +if ($lang != 'en' && !isset($using_fallback)) { > > + > > + if (preg_match('$Revision: 1.88 $', $file_revision, $matches)) { > > $Revision 1.88 exactly? Fixed in the source. CVS has replaced my rexesp automatically. > > + $lang_rev = $matches[

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-04-18 Thread Gabor Hojtsy
+/* Checks if translated file is updated */ +if ($lang != 'en' && !isset($using_fallback)) { + + if (preg_match('$Revision: 1.88 $', $file_revision, $matches)) { $Revision 1.88 exactly? + $lang_rev = $matches[1]; + } else { + $lang_rev = 0; + } + +

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-04-18 Thread Derick Rethans
On Sun, 18 Apr 2004, Nuno Lopes wrote: > > +/* Checks if translated file is updated */ > > +if ($lang != 'en' && !isset($using_fallback)) { > > + > > + if (preg_match('$Revision: 1.88 $', $file_revision, $matches)) { > > + $lang_rev = $matches[1]; > > + } else { > > + $lang_rev = 0; > > + } > > >

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-04-18 Thread Nuno Lopes
> +/* Checks if translated file is updated */ > +if ($lang != 'en' && !isset($using_fallback)) { > + > + if (preg_match('$Revision: 1.88 $', $file_revision, $matches)) { > + $lang_rev = $matches[1]; > + } else { > + $lang_rev = 0; > + } Problems here! Any idea about how to escape the preg_match s

Re: [PHP-DOC] cvs: livedocs /themes/default html_format.php

2004-03-21 Thread Mehdi Achour
Derick Rethans wrote: On Sun, 21 Mar 2004, Nuno Lopes wrote: nlopess Sun Mar 21 05:56:11 2004 EDT Modified files: /livedocs/themes/default html_format.php /livedocs/themes/php.net html_format.php Log: these function are not need anymore I hope so :) Just wondering... is

Re: [PHP-DOC] cvs: livedocs /themes/default html_format.php /themes/php.net html_format.php

2004-03-21 Thread Nuno Lopes
> Just wondering... is the old 'style' (like at http://docs.php.net) > totally gone now? > > Derick No, its totally the same, but these functions aren't needed anymore because they were used in the function index. Yesterday, I've changed the way that the function index works (now its using the man

Re: [PHP-DOC] cvs: livedocs /themes/default html_format.php /themes/php.net html_format.php

2004-03-21 Thread Derick Rethans
On Sun, 21 Mar 2004, Nuno Lopes wrote: > nlopess Sun Mar 21 05:56:11 2004 EDT > > Modified files: > /livedocs/themes/default html_format.php > /livedocs/themes/php.net html_format.php > Log: > these function are not need anymore > I hope so :) Just wondering...

Re: [PHP-DOC] cvs: livedocs / mkindex.php

2004-03-20 Thread Nuno Lopes
> Modified files: > /livedocs mkindex.php > Log: > this was the bug... entities needs to be generated in the database before we start parsing files > # doh Great! Its fixed. The indexing isn't working 100% ok, but almost :) I'll contact the peardoc team about the authoring dir. Nuno

Re: [PHP-DOC] cvs: livedocs / build-ops.in build.sh common.php config.php.in configure.in mktoc.php

2004-01-30 Thread Nuno Lopes
> > momo Fri Jan 30 00:49:17 2004 EDT > > > > Modified files: > > /livedocs build-ops.in build.sh common.php config.php.in > > configure.in mktoc.php > > Log: > > 3. more magic_quotes issues > > Why just not make this a requirement for livedocs? I don't think it's a > good i

Re: [PHP-DOC] cvs: livedocs / build-ops.in build.sh common.php config.php.in configure.in mktoc.php

2004-01-30 Thread moshe doron
> Why just not make this a requirement for livedocs? I don't think it's a > good idea to add hacks for it. > first, there is already set_magic on some of the files. this patch is just add some consistency to the code. second, what is the minus of this 'hack'? we don't realy encouraging the use of

Re: [PHP-DOC] cvs: livedocs / build-ops.in build.sh common.php config.php.in configure.in mktoc.php

2004-01-30 Thread Derick Rethans
On Fri, 30 Jan 2004, Moshe Doron wrote: > momo Fri Jan 30 00:49:17 2004 EDT > > Modified files: > /livedocs build-ops.in build.sh common.php config.php.in > configure.in mktoc.php > Log: > 3. more magic_quotes issues Why just not make this a requirement for livedo

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-01-12 Thread Mehdi Achour
Gabor Hojtsy wrote: nlopess Sun Jan 11 04:48:15 2004 EDT Modified files: /livedocslivedoc.php Log: fix examples output default: + $content=htmlspecialchars($content); } Please keep the whitespace as it was, ie: $content = etc. I would say

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-01-12 Thread Gabor Hojtsy
> > nlopess Sun Jan 11 04:48:15 2004 EDT > > > > Modified files: > > /livedocs livedoc.php > > Log: > > fix examples output > > > > default: > > + $content=htmlspecialchars($content); > > } > > Please keep the whitespace as it was, ie:

Re: [PHP-DOC] cvs: livedocs / README

2004-01-12 Thread Gabor Hojtsy
> > gobaSun Jan 11 09:04:24 2004 EDT > > > > Modified files: > > /livedocs README > > Log: > > sqlite need to be loaded by default in php.ini (fix for ticket number 2) > > If you use #2 it will automatically make a link in CVSTrac Where is the code for this? I cann

Re: [PHP-DOC] cvs: livedocs / README

2004-01-12 Thread Derick Rethans
On Sun, 11 Jan 2004, Gabor Hojtsy wrote: > goba Sun Jan 11 09:04:24 2004 EDT > > Modified files: > /livedocs README > Log: > sqlite need to be loaded by default in php.ini (fix for ticket number 2) If you use #2 it will automatically make a link in CVSTrac Derick

Re: [PHP-DOC] cvs: livedocs / livedoc.php

2004-01-12 Thread Derick Rethans
On Sun, 11 Jan 2004, Nuno Lopes wrote: > nlopess Sun Jan 11 04:48:15 2004 EDT > > Modified files: > /livedocs livedoc.php > Log: > fix examples output > > default: > + $content=htmlspecialchars($content); > } Please keep the whitespa

Re: [PHP-DOC] cvs: livedocs / .htaccess

2004-01-11 Thread Gabor Hojtsy
> +ErrorDocument 404 /phpdoc/index.php > +DirectoryIndex index.php Why /phpdoc/ ??? This does not seem to be to general to me (and it completely not in line with the README after you have updated it :). Goba