From: <var...@us...> - 2012-11-14 16:04:34
|
Revision: 8442 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8442&view=rev Author: vargenau Date: 2012-11-14 16:04:21 +0000 (Wed, 14 Nov 2012) Log Message: ----------- elseif Modified Paths: -------------- trunk/lib/WikiDB/adodb/drivers/adodb-fbsql.inc.php trunk/lib/WikiDB/adodb/drivers/adodb-mssql.inc.php trunk/lib/WikiDB/adodb/drivers/adodb-mysql.inc.php trunk/lib/plugin/FoafViewer.php Modified: trunk/lib/WikiDB/adodb/drivers/adodb-fbsql.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/drivers/adodb-fbsql.inc.php 2012-11-14 15:54:02 UTC (rev 8441) +++ trunk/lib/WikiDB/adodb/drivers/adodb-fbsql.inc.php 2012-11-14 16:04:21 UTC (rev 8442) @@ -194,7 +194,7 @@ //$o->max_length = -1; // fbsql returns the max length less spaces -- so it is unrealiable $f = @fbsql_field_flags($this->_queryID, $fieldOffset); $o->binary = (strpos($f, 'binary') !== false); - } else if ($fieldOffset == -1) { /* The $fieldOffset argument is not provided thus its -1 */ + } elseif ($fieldOffset == -1) { /* The $fieldOffset argument is not provided thus its -1 */ $o = @fbsql_fetch_field($this->_queryID); // fbsql returns the max length less spaces -- so it is unrealiable //$o->max_length = -1; } Modified: trunk/lib/WikiDB/adodb/drivers/adodb-mssql.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/drivers/adodb-mssql.inc.php 2012-11-14 15:54:02 UTC (rev 8441) +++ trunk/lib/WikiDB/adodb/drivers/adodb-mssql.inc.php 2012-11-14 16:04:21 UTC (rev 8442) @@ -697,7 +697,7 @@ { if ($fieldOffset != -1) { return @mssql_fetch_field($this->_queryID, $fieldOffset); - } else if ($fieldOffset == -1) { /* The $fieldOffset argument is not provided thus its -1 */ + } elseif ($fieldOffset == -1) { /* The $fieldOffset argument is not provided thus its -1 */ return @mssql_fetch_field($this->_queryID); } return null; Modified: trunk/lib/WikiDB/adodb/drivers/adodb-mysql.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/drivers/adodb-mysql.inc.php 2012-11-14 15:54:02 UTC (rev 8441) +++ trunk/lib/WikiDB/adodb/drivers/adodb-mysql.inc.php 2012-11-14 16:04:21 UTC (rev 8442) @@ -541,7 +541,7 @@ $o->max_length = @mysql_field_len($this->_queryID, $fieldOffset); // suggested by: Jim Nicholson (jn...@at...) //$o->max_length = -1; // mysql returns the max length less spaces -- so it is unrealiable $o->binary = (strpos($f, 'binary') !== false); - } else if ($fieldOffset == -1) { /* The $fieldOffset argument is not provided thus its -1 */ + } elseif ($fieldOffset == -1) { /* The $fieldOffset argument is not provided thus its -1 */ $o = @mysql_fetch_field($this->_queryID); $o->max_length = @mysql_field_len($this->_queryID); // suggested by: Jim Nicholson (jn...@at...) //$o->max_length = -1; // mysql returns the max length less spaces -- so it is unrealiable Modified: trunk/lib/plugin/FoafViewer.php =================================================================== --- trunk/lib/plugin/FoafViewer.php 2012-11-14 15:54:02 UTC (rev 8441) +++ trunk/lib/plugin/FoafViewer.php 2012-11-14 16:04:21 UTC (rev 8442) @@ -208,9 +208,9 @@ if ($index == "mboxsha1sum") { $string = '<a href="http://beta.plink.org/profile/' . $array[$index][$i] . '">' . '<img src="http://beta.plink.org/images/plink.png" alt="Plink - ' . $array[$index][$i] . '" /></a>'; - } else if ($index == "depiction") { + } elseif ($index == "depiction") { $string = '<img src="' . $array[$index][$i] . '" />'; - } else if ((substr($array[$index][$i], 0, 7) == "http://") || (substr($array[$index][$i], 0, 7) == "mailto:")) { + } elseif ((substr($array[$index][$i], 0, 7) == "http://") || (substr($array[$index][$i], 0, 7) == "mailto:")) { $string = '<a href="' . $array[$index][$i] . '"'; if (@$dc["description"][$array[$index][$i]]) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |