You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(103) |
Jul
(105) |
Aug
(16) |
Sep
(16) |
Oct
(78) |
Nov
(36) |
Dec
(58) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(100) |
Feb
(155) |
Mar
(84) |
Apr
(33) |
May
(22) |
Jun
(77) |
Jul
(36) |
Aug
(37) |
Sep
(183) |
Oct
(74) |
Nov
(235) |
Dec
(165) |
2002 |
Jan
(187) |
Feb
(183) |
Mar
(52) |
Apr
(10) |
May
(15) |
Jun
(19) |
Jul
(43) |
Aug
(90) |
Sep
(144) |
Oct
(144) |
Nov
(171) |
Dec
(78) |
2003 |
Jan
(113) |
Feb
(99) |
Mar
(80) |
Apr
(44) |
May
(35) |
Jun
(32) |
Jul
(34) |
Aug
(34) |
Sep
(30) |
Oct
(57) |
Nov
(97) |
Dec
(139) |
2004 |
Jan
(132) |
Feb
(223) |
Mar
(300) |
Apr
(221) |
May
(171) |
Jun
(286) |
Jul
(188) |
Aug
(107) |
Sep
(97) |
Oct
(106) |
Nov
(139) |
Dec
(125) |
2005 |
Jan
(200) |
Feb
(116) |
Mar
(68) |
Apr
(158) |
May
(70) |
Jun
(80) |
Jul
(55) |
Aug
(52) |
Sep
(92) |
Oct
(141) |
Nov
(86) |
Dec
(41) |
2006 |
Jan
(35) |
Feb
(62) |
Mar
(59) |
Apr
(52) |
May
(51) |
Jun
(61) |
Jul
(30) |
Aug
(36) |
Sep
(12) |
Oct
(4) |
Nov
(22) |
Dec
(34) |
2007 |
Jan
(49) |
Feb
(19) |
Mar
(37) |
Apr
(16) |
May
(9) |
Jun
(38) |
Jul
(17) |
Aug
(31) |
Sep
(16) |
Oct
(34) |
Nov
(4) |
Dec
(8) |
2008 |
Jan
(8) |
Feb
(16) |
Mar
(14) |
Apr
(6) |
May
(4) |
Jun
(5) |
Jul
(9) |
Aug
(36) |
Sep
(6) |
Oct
(3) |
Nov
(3) |
Dec
(3) |
2009 |
Jan
(14) |
Feb
(2) |
Mar
(7) |
Apr
(16) |
May
(2) |
Jun
(10) |
Jul
(1) |
Aug
(10) |
Sep
(11) |
Oct
(4) |
Nov
(2) |
Dec
|
2010 |
Jan
(1) |
Feb
|
Mar
(13) |
Apr
(11) |
May
(18) |
Jun
(44) |
Jul
(7) |
Aug
(2) |
Sep
(14) |
Oct
|
Nov
(6) |
Dec
|
2011 |
Jan
(2) |
Feb
(6) |
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(11) |
Feb
(3) |
Mar
(11) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(1) |
2015 |
Jan
(3) |
Feb
(2) |
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2016 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(6) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
(11) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(3) |
2024 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Marc-Etienne V. <Mar...@al...> - 2010-09-17 12:51:20
|
Le 17/09/2010 13:49, Reini Urban a écrit : > Marc-Etienne, > Do you want to formally announce the rc1 release? > You did most of the work. > > As you see I found some minor bugs when installing completely from > scratch on windows. Hello Reini, Great news. It certainly needs some more testing, we will make a formal announce for 1.4.0 final. I do not test on Windows, only Linux and Mac OS X. You did not create a tag and a branch, do we need to do it? What procedure do you use to create the ZIP file? I would like to create an RPM file for Linux, is there a spec for that somewhere? Best regards, Marc-Etienne -- Marc-Etienne Vargenau Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE +33 (0)1 30 77 28 33, Mar...@al... |
From: Reini U. <ru...@x-...> - 2010-09-17 11:50:34
|
Marc-Etienne, Do you want to formally announce the rc1 release? You did most of the work. As you see I found some minor bugs when installing completely from scratch on windows. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |
From: Marc-Etienne V. <Mar...@al...> - 2010-09-14 11:51:47
|
Le 13/09/2010 17:44, Sébastien Le Callonnec a écrit : > Hi Marc-Étienne, > > Ok, thanks, I’ll have a look! Is that happening in specific conditions? Hello Sébastien, As indicated in the error message, I am using Pear to access the database and My SQL. PHP 5.2.6 under Linux. Best regards, Marc-Etienne -- Marc-Etienne Vargenau Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE +33 (0)1 30 77 28 33, Mar...@al... |
From: Sébastien Le C. <seb...@we...> - 2010-09-13 16:11:09
|
Hi Marc-Étienne, Ok, thanks, I’ll have a look! Is that happening in specific conditions? Regards, Sébastien. On 13/09/2010 16:21, Marc-Etienne Vargenau wrote: > Le 11/09/2010 00:02, Sébastien Le Callonnec a écrit : >> Hi Marc-Étienne, >> >> >> I’m curious as to what error this patch caused so that I can have a >> look, rather than blindly reverting it -- the “AllPages” plugin is now >> again broken in my environments, which doesn’t seem to me like a >> convergent approach. > > Hello Sébastien, > > First let me say that you are very welcome to contribute to Phpwiki. > > For me, your patch produces the following error, that is why I reverted. > > Fatal Error: > > lib/WikiDB/backend/PearDB.php (In template 'body' < 'html'):1061 Error: > WikiDB_backend_PearDB_mysql: fatal database error > > * DB Error: syntax error > * (SELECT page.id AS id, page.pagename AS pagename, page.hits AS hits > FROM page WHERE AND page.pagename NOT IN ('') ORDER BY pagename ASC > LIMIT 0, 1000 [nativecode=1064 ** You have an error in your SQL syntax; > check the manual that corresponds to your MySQL server version for the > right syntax to use near 'AND page.pagename NOT IN ('') ORDER BY > pagename ASC LIMIT 0, 1000' at line 1]) > > Reini, can you please check what is going on? > > Best regards, > > Marc-Etienne > |
From: Marc-Etienne V. <Mar...@al...> - 2010-09-13 15:21:14
|
Le 11/09/2010 00:02, Sébastien Le Callonnec a écrit : > Hi Marc-Étienne, > > > I’m curious as to what error this patch caused so that I can have a > look, rather than blindly reverting it -- the “AllPages” plugin is now > again broken in my environments, which doesn’t seem to me like a > convergent approach. Hello Sébastien, First let me say that you are very welcome to contribute to Phpwiki. For me, your patch produces the following error, that is why I reverted. Fatal Error: lib/WikiDB/backend/PearDB.php (In template 'body' < 'html'):1061 Error: WikiDB_backend_PearDB_mysql: fatal database error * DB Error: syntax error * (SELECT page.id AS id, page.pagename AS pagename, page.hits AS hits FROM page WHERE AND page.pagename NOT IN ('') ORDER BY pagename ASC LIMIT 0, 1000 [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND page.pagename NOT IN ('') ORDER BY pagename ASC LIMIT 0, 1000' at line 1]) Reini, can you please check what is going on? Best regards, Marc-Etienne -- Marc-Etienne Vargenau Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE +33 (0)1 30 77 28 33, Mar...@al... |
From: Sébastien Le C. <seb...@we...> - 2010-09-10 22:29:26
|
Hi Marc-Étienne, I’m curious as to what error this patch caused so that I can have a look, rather than blindly reverting it -- the “AllPages” plugin is now again broken in my environments, which doesn’t seem to me like a convergent approach. Thanks, Sébastien. On 10/09/2010 12:31, var...@us... wrote: > Revision: 7681 > http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7681&view=rev > Author: vargenau > Date: 2010-09-10 11:31:37 +0000 (Fri, 10 Sep 2010) > > Log Message: > ----------- > revert of Patch 3024787 by S?\195?\169bastien Le Callonnec (caused an SQL syntax error) > > Modified Paths: > -------------- > trunk/TODO > trunk/lib/plugin/AllPages.php > > Modified: trunk/TODO > =================================================================== > --- trunk/TODO 2010-09-10 11:27:57 UTC (rev 7680) > +++ trunk/TODO 2010-09-10 11:31:37 UTC (rev 7681) > @@ -4,6 +4,7 @@ > * AllPages give too many pages > * WantedPages give too many pages (from interwiki map) > (to be tested in both Pear and ADODB) > +* revert of Patch 3024787 by Sébastien Le Callonnec (caused an SQL syntax error) > > == Others== > * Minimizer for JS/CSS > > Modified: trunk/lib/plugin/AllPages.php > =================================================================== > --- trunk/lib/plugin/AllPages.php 2010-09-10 11:27:57 UTC (rev 7680) > +++ trunk/lib/plugin/AllPages.php 2010-09-10 11:31:37 UTC (rev 7681) > @@ -67,18 +67,17 @@ > $timer = new DebugTimer; > } > $caption = _("All pages in this wiki (%d total):"); > - $exclude_empty_pagename = array(''); > > if ( !empty($args['userpages']) ) { > $pages = PageList::allUserPages($args['include_empty'], > - $args['sortby'], '', > - $exclude_empty_pagename); > + $args['sortby'], '' > + ); > $caption = _("List of user-created pages (%d total):"); > $args['count'] = $request->getArg('count'); > } elseif ( !empty($args['owner']) ) { > $pages = PageList::allPagesByOwner($args['owner'], $args['include_empty'], > - $args['sortby'], '', > - $exclude_empty_pagename); > + $args['sortby'], '' > + ); > $args['count'] = $request->getArg('count'); > if (!$args['count']) > $args['count'] = $dbi->numPages($args['include_empty'], $args['exclude']); > @@ -90,8 +89,8 @@ > $pages->_options['count'] = $args['count']; > } elseif ( !empty($args['author']) ) { > $pages = PageList::allPagesByAuthor($args['author'], $args['include_empty'], > - $args['sortby'], '', > - $exclude_empty_pagename); > + $args['sortby'], '' > + ); > $args['count'] = $request->getArg('count'); > if (!$args['count']) > $args['count'] = $dbi->numPages($args['include_empty'], $args['exclude']); > @@ -103,8 +102,7 @@ > $pages->_options['count'] = $args['count']; > } elseif ( !empty($args['creator']) ) { > $pages = PageList::allPagesByCreator($args['creator'], $args['include_empty'], > - $args['sortby'], '', > - $exclude_empty_pagename > + $args['sortby'], '' > ); > $args['count'] = $request->getArg('count'); > if (!$args['count']) > @@ -115,6 +113,8 @@ > : $args['creator'], > 'if_known'), $args['count']); > $pages->_options['count'] = $args['count']; > + //} elseif ($pages) { > + // $args['count'] = count($pages); > } else { > if (! $request->getArg('count')) > $args['count'] = $dbi->numPages($args['include_empty'], $args['exclude']); > @@ -126,17 +126,15 @@ > $pagelist = new PageList($args['info'], $args['exclude'], $args); > if (!$args['noheader']) $pagelist->setCaption($caption); > > - if ($pages !== false) { > + // deleted pages show up as version 0. > + //if ($args['include_empty']) > + // $pagelist->_addColumn('version'); > + > + if ($pages !== false) > $pagelist->addPageList($pages); > - } > - else { > - // Clear count as previous value was for non-empty pages. > - $pagelist->clearArg('count'); > - $pagelist->addPages($dbi->getAllPages($args['include_empty'], > - $args['sortby'], > - $args['limit'], > - $exclude_empty_pagename)); > - } > + else > + $pagelist->addPages( $dbi->getAllPages($args['include_empty'], $args['sortby'], > + $args['limit']) ); > if (DEBUG&& $args['debug']) { > return HTML($pagelist, > HTML::p(fmt("Elapsed time: %s s", $timer->getStats()))); > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > phpwiki-checkins mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-checkins |
From: Reini U. <ru...@x-...> - 2010-08-07 15:49:47
|
2010/8/7 Matt Brown <ma...@ma...>: > I was updating the PHPwiki debian package in preparation for the > upcoming Squeeze release, when I discovered that unfortunately it is > no longer working at all, as Squeeze is now using PHP 5.3. > > I see that there are a number of commits in the subversion repository > that address many of the issues (deprecated functions, etc). > > I've filed https://sourceforge.net/tracker/?func=detail&atid=106121&aid=3041169&group_id=6121 > to ask for a new release. However given that there haven't been any > releases since the 1.3.14 in 2007 I wanted to send this mail to check > if releases of PHPwiki are even being made at all... They are planned *real soon* but as this will be a new major one 1.14 and new blockers popped up and I'm busy with perl and Marc-Etienne is busy in holidays it will some time. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |
From: Matt B. <ma...@ma...> - 2010-08-07 14:47:43
|
Hi, I was updating the PHPwiki debian package in preparation for the upcoming Squeeze release, when I discovered that unfortunately it is no longer working at all, as Squeeze is now using PHP 5.3. I see that there are a number of commits in the subversion repository that address many of the issues (deprecated functions, etc). I've filed https://sourceforge.net/tracker/?func=detail&atid=106121&aid=3041169&group_id=6121 to ask for a new release. However given that there haven't been any releases since the 1.3.14 in 2007 I wanted to send this mail to check if releases of PHPwiki are even being made at all... Cheers -- Matt Brown ma...@ma... Mob +353 86 608 7117 www.mattb.net.nz |
From: Sébastien Le C. <seb...@we...> - 2010-07-15 20:33:08
|
No worries, Reini. I was just getting worried that they might have been overlooked. Thanks, Sébastien. On 15/07/2010 21:24, Reini Urban wrote: > Sébastien Le Callonnec schrieb: >> I have a couple of pending patches in the bug tracker; any chance of >> having them reviewed so that I can apply them? I’m thinking of issue >> #3024787 in particular, which prevents “AllPages” from working at all. > > Sorry, I'm very very busy right now. Marc-Etienne is also waiting for me. > Marc-Etienne, do you want to look at that? |
From: Reini U. <ru...@x-...> - 2010-07-15 20:24:28
|
Sébastien Le Callonnec schrieb: > I have a couple of pending patches in the bug tracker; any chance of > having them reviewed so that I can apply them? I’m thinking of issue > #3024787 in particular, which prevents “AllPages” from working at all. Sorry, I'm very very busy right now. Marc-Etienne is also waiting for me. Marc-Etienne, do you want to look at that? -- Reini |
From: Sébastien Le C. <seb...@we...> - 2010-07-15 18:54:19
|
Hi, I have a couple of pending patches in the bug tracker; any chance of having them reviewed so that I can apply them? I’m thinking of issue #3024787 in particular, which prevents “AllPages” from working at all. Thanks, Sébastien. |
From: Sébastien Le C. <seb...@we...> - 2010-07-05 16:56:24
|
Hi, Issue #3017253 is back, this time forcing Tahoma on the two links in the navbar whereas the others remain with the default “sans-serif” defined in body. (See https://sourceforge.net/tracker/?func=detail&aid=3017253&group_id=6121&atid=106121 for background). This is caused by the fact that these two links are actually created by “Button” (which gives them the class wikiadmin), whereas the other are plain “WikiLink” (which gives them the class named-wiki). Another side effect of the wikiadmin class is that these 2 links have no “text-decoration,” whereas the others do. Either we set all the links in the navbar to Tahoma (not really my favourite option), or leave everything as the default sans-serif (more than likely for just these 2 by creating specific CSS styles), but we have to decide... Regards, Seb |
From: Reini U. <ru...@x-...> - 2010-07-04 12:06:18
|
2010/7/3 Harold Hallikainen <ha...@ha...>: > Has anyone done an interface to botscout.com to avoid wiki spam? I'm > seeing a lot of it recently. No. I haven't seen it yet. But looks very very useful and simple. I'll definitively add it. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |
From: Harold H. <ha...@ha...> - 2010-07-02 23:26:35
|
Has anyone done an interface to botscout.com to avoid wiki spam? I'm seeing a lot of it recently. Thanks! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! |
From: Sébastien Le C. <seb...@we...> - 2010-06-29 15:46:56
|
Hi Wes, Would you be able to set ENABLE_USER_NEW to “true” (I’m suspecting it is set to false?) and see if this solves your problem? I’m also using the latest code from Subversion with a similar configuration, and I don’t experience that issue (php 5.3.2). Regards, Seb On 25/06/2010 19:10, Wes wrote: > Hello, > > I have a ton of older phpwiki installs running on Postgres. The machine > they're running on is on it's least breath, so I'm moving them to a new > machine and converting to MySQL. That's all worked...reasonably well. > Using a SVN pull from this morning. My config.ini is set to use > HttpAuth, and the .htaccess file is configured correctly. AuthPolicy is > set to "first-only". I can log in via the browser/Apache prompt fine, > but whenever I go to any page, I get this error: > > *Fatal error*: Call to a member function get() on a non-object in > */var/services/old-wikis/SysAdminWiki/lib/WikiUser.php* on line *153* > > And "Edit" on any page is asking for a login and pass (meaning it's > apparently not passing through correctly.) > > Thoughts or suggestions would be well received : ) > > Thanks! > > Wes > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |
From: Stefan <son...@ba...> - 2010-06-27 17:05:10
|
<?php // -*-php-*- rcs_id('$Id: RichTable.php,v 2.2 2010/06/24 17:44:24 Stefan Schorn Exp $'); /** Richtable - Tabellen plugin */ class WikiPlugin_RichTable extends WikiPlugin { function getName() { return _("RichTable"); } function getDescription() { return _("Layout tables using a very rich markup style."); } function getDefaultArguments() { return array(); } function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision: 1.7 $"); } function run($dbi, $argstr, &$request, $basepage) { global $WikiTheme; include_once("lib/BlockParser.php"); // RichTablePlugin markup is new. $markup = 2.0; $lines = preg_split('/\n/', $argstr); $table = HTML::table(); $atlas = 0; $atlasdl = 0; if ($lines[0][0] == '*') { $line = substr(array_shift($lines),1); $attrs = $this->_parse_attr($line); foreach ($attrs as $key => $value) { if (in_array ($key, array("id", "class", "title", "style", "bgcolor", "frame", "rules", "border", "cellspacing", "cellpadding", "summary", "align", "width"))) { if ($key == 'class') $class = $value; $table->setAttr($key, $value); } } } $r = 0; $c = 0; $ownclass = 0; $ownclasstr = 0; $Zelle = array(); if(is_array($lines)) $lastLine = $lines[count($lines)-1]; if (!(trim($lastLine) == '-')) { $lines[] = '-';} foreach ($lines as $line){ if (substr($line,0,1) == "-") { $makeit = 0; if (isset($row)) { if (isset($cell)) { if ($r == 1) $cmax = $c; if (isset($class) && $class && !$ownclass) { if ($c == $cmax) { if ($r == 1) { $cell->setAttr('class', $class.'-bn'); } else { $cell->setAttr('class', $class.'-bt'); } } else { if ($r == 1) { $cell->setAttr('class', $class.'-br'); } else { $cell->setAttr('class', $class.'-brt'); } } } if (isset($content)) { // debug $cell->pushContent(TransformText('<<'.$r.'#'.$c.'>>', $markup, $basepage)); $cell->pushContent(TransformText($content, $markup, $basepage)); unset($content); } $row->pushContent($cell); unset($cell); $makeit = 1; } if ($makeit == 1) { $table->pushContent($row); unset($row); } } $r++; $row = HTML::tr(); $attrs = $this->_parse_attr(substr($line,1)); $c = 0; $ownclasstr = 0; foreach ($attrs as $key => $value) { if (in_array ($key, array("id", "class", "title", "style", "bgcolor", "align", "valign"))) { $row->setAttr($key, $value); if ($key == 'class' && isset($value) && $value) { $ownclasstr = 1; } } } if (!$ownclasstr && isset($class) && $class) $row->setAttr('class', $class); continue; } if (substr($line,0,1) == "|" and isset($row)) { if (isset($cell)) { if ($class && !$ownclass) { if ($r == 1) { $cell->setAttr('class', $class.'-br'); } else { $cell->setAttr('class', $class.'-brt'); } } if (isset ($content)) { //debug $cell->pushContent(TransformText('<<'.$r.'#'.$c.'>>', $markup, $basepage)); $cell->pushContent(TransformText($content, $markup, $basepage)); unset($content); } $row->pushContent($cell); } $keyZold = $c; $go = 1; if (isset($Zelle[$r])) { foreach ($Zelle[$r] as $keyZ => $valueZ) { $diff = $keyZ - $keyZold; $keyZold = $keyZ; if ($diff == 1 && $go) { $c = $c + $valueZ; unset($Zelle[$r][$keyZ]); } else $go = 0; } } $c++; $cell = HTML::td(); $line = substr($line, 1); if ($line[0] == "*" ) { $attrs = $this->_parse_attr(substr($line,1)); $colsp = 0; $rowsp = 0; $ownclass = 0; foreach ($attrs as $key => $value) { if (in_array ($key, array("id", "class", "title", "style", "colspan", "rowspan", "width", "height", "bgcolor", "align", "valign"))) { if (!($atlas && $key == 'class')) $cell->setAttr($key, $value); if ($key == 'colspan' && is_numeric($value)) { $colsp = $value; } if ($key == 'rowspan' && is_numeric($value)) { $rowsp = $value; } if ($key == 'class' && isset($value) && $value) { $ownclass = 1; } } } if (is_numeric($colsp)) { for ($x = 1; $x < $colsp; $x++) { $c = $c + 1; } $colsp = 0; } if (is_numeric($rowsp)) { $endrow = $rowsp + $r; for ($x = ($r+1); $x < $endrow; $x++) { $Zelle[$x][$c] = 1; } $rowsp = 0; } continue; } } if (isset($row) and isset($cell)) { $line = str_replace("?\>", "?>", $line); $line = str_replace("\~", "~", $line); if (empty($content)) $content = ''; $content .= $line . "\n"; } } // $makit - no more empty rows $makeit = 0; if (isset($row)) { if (isset($cell)) { if (isset($content)) $cell->pushContent(TransformText($content)); $makeit = 1; $row->pushContent($cell); } if ($makeit == 1) { $table->pushContent($row); unset($row); } } return $table; } function _parse_attr($line) { $attr_chunks = preg_split("/\s*,\s*/", strtolower($line)); $options = array(); foreach ($attr_chunks as $attr_pair) { if (empty($attr_pair)) continue; $key_val = preg_split("/\s*=\s*/", $attr_pair); if (!empty($key_val[1])) $options[trim($key_val[0])] = trim($key_val[1]); } return $options; } } // End: ?> |
From: Stefan <son...@ba...> - 2010-06-27 02:13:24
|
Hallo, you are interested in my modified RichTable.php. The following fixes/anhancements are established to it. -W3C proofed (the old plugin only shows pictures in the last cell of the table when a "-" (<tr>) is at the end of the plugin. This is not nessassary anymore and handled inside the plugin. If allready set, an empty row without cell is not printed anymore) - different styles - for first row (first cell till before last cell) - frst row last cell - every next row (first cell till before last cell) - every next row (last cell) This gives you the chance to make layouts for tables without outer border, shadows and round corners etc. It was tricky to handle colspan and rowspan to find out which cell is the last one in a row (maybe its the one from row before at rowspan ...) but now it works how does it work? The plugin <?plugin RichTableNEW *class=YOURCLASS, width=100% -valign=top |*rowspan=2 1.1 - |2.1 |2.2 ?> The stylesheet /* YOURCLASS = class you use in your stylesheet. Here you can use the following styles to make round borders and shadow in firefox and chrome, safari: */ table.YOURCLASS{} tr.YOURCLASS { -moz-box-shadow: 1px 1px 2px 1px #999; -moz-border-radius: 4px; -khtml-border-radius: 4px; -khtml-box-shadow: 1px 1px 2px 1px #999; -webkit-border-radius: 4px; box-shadow: 1px 1px 2px 1px #999; border-radius: 4px; } /* bn = border none (right top cell) */ td.YOURCLASS-bn { border: none; } /* bt = border top (every last cell except top cell)*/ td.YOURCLASS-bt { border-top: 1px #999 solid; } /* br = border right (every first row cell except last one */ td.YOURCLASS-br { border-right: 1px #ddd solid; } /*brt = border right top (every missing cell) */ td.YOURCLASS-brt { border-right: 1px #ddd solid; border-top: 1px #ddd solid; } You can see it work here: http://www.mineralienatlas.de/lexikon/index.php/Geologische%20Zeittafel Have fun Stefan |
From: Wes <yh...@sh...> - 2010-06-25 18:28:23
|
Hello, I have a ton of older phpwiki installs running on Postgres. The machine they're running on is on it's least breath, so I'm moving them to a new machine and converting to MySQL. That's all worked...reasonably well. Using a SVN pull from this morning. My config.ini is set to use HttpAuth, and the .htaccess file is configured correctly. AuthPolicy is set to "first-only". I can log in via the browser/Apache prompt fine, but whenever I go to any page, I get this error: *Fatal error*: Call to a member function get() on a non-object in */var/services/old-wikis/SysAdminWiki/lib/WikiUser.php* on line *153* And "Edit" on any page is asking for a login and pass (meaning it's apparently not passing through correctly.) Thoughts or suggestions would be well received : ) Thanks! Wes |
From: Marc-Etienne V. <Mar...@al...> - 2010-06-24 07:41:42
|
Le 23/06/2010 21:43, ru...@us... a écrit : > Revision: 7566 > http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7566&view=rev > Author: rurban > Date: 2010-06-23 19:43:46 +0000 (Wed, 23 Jun 2010) > > Log Message: > ----------- > undo deletions r7561 and r7563. we need that > Hello Reini, Sorry, I was testing PHPDCD. Where are these functions needed? Best regards, Marc-Etienne -- Marc-Etienne Vargenau Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE +33 (0)1 30 77 28 33, Mar...@al... |
From: Reini U. <ru...@x-...> - 2010-06-21 08:54:05
|
2010/6/21 Marc-Etienne Vargenau <Mar...@al...>: > Le 19/06/2010 22:16, ru...@us... a écrit : >> >> Revision: 7551 > >> - * Provides no own input box, just<?plugin-form TitleSearch ?> is >> enough. >> - * Fancier Inputforms can be made using WikiForm Rich, to support regex >> and case_exact args. >> + * Provides no own input box, just<<TitleSearch>> is enough. >> + * Fancier Inputforms can be made using<<WikiFormRich>> to support regex >> and case_exact args. > > Hello Reini, > > I am not sure the <<TitleSearch>> Wikicreole syntax will work. > > What I have implemented is that <<FooBar>> is translated > as equivalent to <?plugin FooBar ?> > > So <<TitleSearch>> will be translated as <?plugin TitleSearch ?>, > not <?plugin-form TitleSearch ?>. Right, I was confused. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |
From: Reini U. <ru...@x-...> - 2010-06-21 08:52:36
|
2010/6/21 Marc-Etienne Vargenau <Mar...@al...>: > I sometimes get this warning: > PHP Warning > lib/DbSession/SQL.php:111 Warning[512]: Overlarge session data! 4002 gt. > 4000 > > What should be done? Is it a just a minor warning or does > it indicate a serious problem? The session handler cannot store overlarge data in cookies. It must be stripped in the debugger. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |
From: Reini U. <ru...@x-...> - 2010-06-21 08:51:17
|
2010/6/21 Marc-Etienne Vargenau <Mar...@al...>: > Le 19/06/2010 22:31, Reini Urban a écrit : >> >> 2010/6/17 Sébastien Le Callonnec<seb...@we...>: >>> >>> When clicking on the “Watch” button for a page, I get an error message >>> indicating that I need to define my email address in my user >>> preferences. When clicking the link to the UserPreferences page, there >>> is no field for the email address. >>> >>> Is that an issue, or is there some config that I’m somehow missing here? >> >> Looks like an issue, thanks. It is enabled with ENABLE_USER_NEW in the >> template >> themes/default/templates/userprefs.tmpl > > Hello all, > > I would suggest to make ENABLE_USER_NEW mandatory true, i.e. > remove lib/WikiUser.php from the code. > > In there any inconvenience to do so? Yes, it is. Most crashes result from endless recursion cycles in WikiUserNew.php, and using WikiUser.php is much easier then. ENABLE_USER_NEW = true is default. If not you have no email property -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |
From: Marc-Etienne V. <Mar...@al...> - 2010-06-21 07:53:04
|
Hello Reini, I sometimes get this warning: PHP Warning lib/DbSession/SQL.php:111 Warning[512]: Overlarge session data! 4002 gt. 4000 What should be done? Is it a just a minor warning or does it indicate a serious problem? Regards, Marc-Etienne -- Marc-Etienne Vargenau Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE +33 (0)1 30 77 28 33, Mar...@al... |
From: Marc-Etienne V. <Mar...@al...> - 2010-06-21 07:40:49
|
Le 19/06/2010 22:16, ru...@us... a écrit : > Revision: 7551 > - * Provides no own input box, just<?plugin-form TitleSearch ?> is enough. > - * Fancier Inputforms can be made using WikiForm Rich, to support regex and case_exact args. > + * Provides no own input box, just<<TitleSearch>> is enough. > + * Fancier Inputforms can be made using<<WikiFormRich>> to support regex and case_exact args. Hello Reini, I am not sure the <<TitleSearch>> Wikicreole syntax will work. What I have implemented is that <<FooBar>> is translated as equivalent to <?plugin FooBar ?> So <<TitleSearch>> will be translated as <?plugin TitleSearch ?>, not <?plugin-form TitleSearch ?>. Regards, Marc-Etienne -- Marc-Etienne Vargenau Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE +33 (0)1 30 77 28 33, Mar...@al... |
From: Marc-Etienne V. <Mar...@al...> - 2010-06-21 07:17:14
|
Le 19/06/2010 22:31, Reini Urban a écrit : > 2010/6/17 Sébastien Le Callonnec<seb...@we...>: >> When clicking on the “Watch” button for a page, I get an error message >> indicating that I need to define my email address in my user >> preferences. When clicking the link to the UserPreferences page, there >> is no field for the email address. >> >> Is that an issue, or is there some config that I’m somehow missing here? > > Looks like an issue, thanks. It is enabled with ENABLE_USER_NEW in the template > themes/default/templates/userprefs.tmpl Hello all, I would suggest to make ENABLE_USER_NEW mandatory true, i.e. remove lib/WikiUser.php from the code. In there any inconvenience to do so? Best regards, Marc-Etienne -- Marc-Etienne Vargenau Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE +33 (0)1 30 77 28 33, Mar...@al... |