aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-06-26 01:27:14 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2012-07-05 21:17:26 +0530
commitbc699f66cf8c4f043f3b62da5e50c3acf198084e (patch)
treee2abcd16c47435465017eae2fb4da153c89513a3 /phpBB
parentdfbd32ce24a1ecf5003d21f31949d3269145cc55 (diff)
downloadforums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar.gz
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar.bz2
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.tar.xz
forums-bc699f66cf8c4f043f3b62da5e50c3acf198084e.zip
[feature/postgresql-fulltext-search] fix formatting
adds proper spaces after control keywords and comment symbol PHPBB3-9730
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/search/fulltext_postgres.php4
-rw-r--r--phpBB/search.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/search/fulltext_postgres.php b/phpBB/includes/search/fulltext_postgres.php
index 1e10e2d043..79c8035438 100644
--- a/phpBB/includes/search/fulltext_postgres.php
+++ b/phpBB/includes/search/fulltext_postgres.php
@@ -49,7 +49,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
{
$pgsql_version = explode(',', substr($db->sql_server_info(), 10));
$this->version = trim($pgsql_version[0]);
- if(version_compare($this->version, '8.3', '>='))
+ if (version_compare($this->version, '8.3', '>='))
{
$this->tsearch_usable = true;
}
@@ -752,7 +752,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
{
global $db, $config;
- if($db->sql_layer != 'postgres')
+ if ($db->sql_layer != 'postgres')
{
$this->stats = array();
return;
diff --git a/phpBB/search.php b/phpBB/search.php
index 0d13644b02..0187995f75 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -596,7 +596,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
$u_search .= ($search_fields != 'all') ? '&amp;sf=' . $search_fields : '';
$u_search .= ($return_chars != 300) ? '&amp;ch=' . $return_chars : '';
- //check if search backend supports phrase search or not
+ // Check if search backend supports phrase search or not
$l_phrase_search_disabled = '';
if (strpos(html_entity_decode($keywords), '"') !== false && isset($search->phrase_search))
{
class="hl kwa"><I>Wed May 30 12:43:41 CEST 2012</I> <P><UL> <LI>Previous message: <A HREF="007560.html">[Mageia-discuss] Testers needed for ncpfs (Requires access to Novell Netware server). </A></li> <LI>Next message: <A HREF="007562.html">[Mageia-discuss] Formal request to the Board/Council </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#7561">[ date ]</a> <a href="thread.html#7561">[ thread ]</a> <a href="subject.html#7561">[ subject ]</a> <a href="author.html#7561">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>A. Request to open discussion logs of the board about the Mandriva agreement I'm referring to the announcements wrt the collaboration with Mandriva SA and the usage of the Mageia distribution as base for server products, as announced in the blog entry: <A HREF="http://blog.mageia.org/en/2012/05/21/mageia-comes-full-circle/">http://blog.mageia.org/en/2012/05/21/mageia-comes-full-circle/</A> 1. I am NOT against any of the points mentioned there, so pls do not take this as an unfriendly act or even a lack of trust in the board or single members of the board. This it is definitely NOT! 2. I respect the need for non-disclosure by the Mandriva SA side while these negotiations/discussions were going on. I also respect the fact that the internal discussions of the board about the matter were not to be held in public at that time. Now the announcements were made in public these reasons for non-disclosure are not valid any more. **Therefore I request the logs of the internal discussions of the board about this matter to be opened to the public and this opening being announced to the public.** I am positively sure that 2 weeks are more than enough to decide on this request. Reasons: 1. Transparency is a top requirement for such a project as Mageia. The more this transparency is needed if the matter is of great interest to all members of the Mageia community. If the transparency can not be provided because of valid reasons (as has been the case here) it should be established as soon as these reasons are not valid any more. 2. The following questions are not answered by a mere announcement: - was the decision to enter the agreement with Mandriva SA unanimous or were there votes against it? - if there were votes against it who were the people voting in favor and who votest against it? - what were the arguments of both sides These questions can only be answered by opening the internal logs concerning this matter. Again: this request only concerns the *internal* discussions in the Mageia board, not any discussions with external entities (namely Croset and/or Mandriva SA). ------------------------ B. Request to put a procedure in place to reach the board / council In our organisation there is a well organized structure to forward a single user's request all the way up to the council / board - but only if he is a member of a team! How can a user who is not member of a team contact the board and/or the council in an official and public way? Of course there is a mail address to contact and you can always reach single people of the board / council by mail but mails to these contacts are private mails, not seen by the public and not official. The only way I found so far is the one I am using here, hoping that somebody of the board is reading this. Is there a need for an official procedure (as I think it is) or do you think this way (via mageia-discuss) is sufficient? -- wobo </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="007560.html">[Mageia-discuss] Testers needed for ncpfs (Requires access to Novell Netware server). </A></li> <LI>Next message: <A HREF="007562.html">[Mageia-discuss] Formal request to the Board/Council </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#7561">[ date ]</a> <a href="thread.html#7561">[ thread ]</a> <a href="subject.html#7561">[ subject ]</a> <a href="author.html#7561">[ author ]</a> </LI> </UL> <hr> <a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss mailing list</a><br> </body></html>