Skip to content

Commit

Permalink
Fixed conflict due to upstream merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ninadsp committed Jul 23, 2010
2 parents 13ec142 + 0498861 commit e646a27
Show file tree
Hide file tree
Showing 331 changed files with 126,539 additions and 131,487 deletions.
11 changes: 11 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,19 @@ $Id$
- patch #2999595, rfe #2998130 [interface] Cleanup navigation frame.
- patch #3025161 [core] Prevent sending of unnecessary cookies,
thanks to Piotr Przybylski - crackpl
- bug [password] Generate password only available if JS is enabled
(fixed for Privileges and Change password)
- [core] RecodingEngine now accepts none as valid option.
+ [core] Dropped AllowAnywhereRecoding configuration variable.
- rfe #3016457 [interface] Define tab order in SQL form to allow easier tab
navigation.
+ [code] Centralized format string expansion, @VARIABLES@ are recommended way
now.
+ [validator] SQL validator works also with SOAP PHP extension.
- [interface] Better formatting for SQL validator results.

3.3.6.0 (not yet released)
- bug #3031705 [core] Do not use CONCAT for DECIMAL fields.

3.3.5.0 (not yet released)
- patch #2932113 [information_schema] Slow export when having lots of
Expand Down
107 changes: 57 additions & 50 deletions Documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ <h3 id="linked-tables">Linked-tables infrastructure</h3>
<abbr title="Frequently Asked Questions">FAQ</abbr> 1.23</a>).</p>

<p> If you already had this infrastructure and upgraded to MySQL 4.1.2
or newer, please use <i>./scripts/upgrade_tables_mysql_4_1_2+.sql</i>.</p>
or newer, please use <i>./scripts/upgrade_tables_mysql_4_1_2+.sql</i>
and then create new tables by importing <i>./scripts/create_tables.sql</i>.</p>

<p> You can use your phpMyAdmin to create the tables for you. Please be aware
that you may need special (administrator) privileges to create the database
Expand Down Expand Up @@ -1683,36 +1684,22 @@ <h2 id="config">Configuration</h2>
expression. For example if you want only Czech and English, you should
set filter to <code>'^(cs|en)'</code>.</dd>

<dt id="cfg_DefaultCharset">$cfg['DefaultCharset'] string</dt>
<dd>Default character set to use for recoding of MySQL queries. This must be
enabled and it's described by
<a href="#cfg_AllowAnywhereRecoding" class="configrule">$cfg['AllowAnywhereRecoding']</a>
option.<br />
You can give here any character set which is in
<a href="#cfg_AvailableCharsets" class="configrule">$cfg['AvailableCharsets']</a>
array and this is just default choice, user can select any of them.</dd>

<dt id="cfg_AllowAnywhereRecoding">$cfg['AllowAnywhereRecoding'] boolean</dt>
<dd>Allow character set recoding of MySQL queries. You need recode or iconv
support (compiled in or module) in PHP to allow MySQL queries recoding
and used language file must have it enabled (by default only these
which are in Unicode, just to avoid losing some characters).<br /><br />

Setting this to <tt>TRUE</tt> also activates a pull-down menu
in the Export and Import pages, to choose the character set when
exporting a file. The default value in this menu comes from
<tt>$cfg['Export']['charset']</tt> and <tt>$cfg['Import']['charset']</tt>.
</dd>

<dt id="cfg_RecodingEngine">$cfg['RecodingEngine'] string</dt>
<dd>You can select here which functions will be used for character set
conversion. Possible values are:
<ul><li>auto - automatically use available one (first is tested
iconv, then recode)</li>
<li>iconv - use iconv or libiconv functions</li>
<li>recode - use recode_string function</li>
<li>none - disable encoding conversion</li>
</ul>
Default is auto.</dd>
<dd>
Enabled charset conversion activates a pull-down menu
in the Export and Import pages, to choose the character set when
exporting a file. The default value in this menu comes from
<tt>$cfg['Export']['charset']</tt> and <tt>$cfg['Import']['charset']</tt>.
</dd>

<dt id="cfg_IconvExtraParams">$cfg['IconvExtraParams'] string</dt>
<dd>Specify some parameters for iconv used in charset conversion. See
Expand Down Expand Up @@ -2163,24 +2150,8 @@ <h2 id="config">Configuration</h2>
<dt id="cfg_TitleDatabase">$cfg['TitleDatabase'] string</dt>
<dt id="cfg_TitleServer">$cfg['TitleServer'] string</dt>
<dt id="cfg_TitleDefault">$cfg['TitleDefault'] string</dt>
<dd>Allows you to specify window's title bar. Following magic string can
be used to get special values:
<dl>
<dt><code>@HTTP_HOST@</code></dt>
<dd>HTTP host that runs phpMyAdmin</dd>
<dt><code>@SERVER@</code></dt>
<dd>MySQL server name</dd>
<dt><code>@VERBOSE@</code></dt>
<dd>Verbose MySQL server name as defined in <a href="#cfg_Servers_verbose">server configuration</a></dd>
<dt><code>@VSERVER@</code></dt>
<dd>Verbose MySQL server name if set, otherwise normal</dd>
<dt><code>@DATABASE@</code></dt>
<dd>Currently opened database</dd>
<dt><code>@TABLE@</code></dt>
<dd>Currently opened table</dd>
<dt><code>@PHPMYADMIN@</code></dt>
<dd>phpMyAdmin with version</dd>
</dl>
<dd>Allows you to specify window's title bar. You can use
<a href="#faq6_27">format string expansion</a>.
</dd>

<dt id="cfg_ErrorIconic">$cfg['ErrorIconic'] boolean</dt>
Expand Down Expand Up @@ -4137,25 +4108,34 @@ <h4 id="faqsqlvalidator">
<a href="#faqsqlvalidator">6.14 How do I set up the
<abbr title="structured query language">SQL</abbr> Validator?</a></h4>

<p> To use it, you need a very recent version of PHP, 4.3.0 recommended, with
<p>
To use SQL Validator, you need PHP with
<abbr title="Extensible Markup Language">XML</abbr>,
<abbr title="Perl Compatible Regular Expressions">PCRE</abbr> and
<abbr title="PHP Extension and Application Repository">PEAR</abbr> support.
On your system command line, run <tt>"pear install Net_Socket Net_URL
HTTP_Request Mail_Mime Net_DIME SOAP"</tt> to get the necessary
<abbr title="PHP Extension and Application Repository">PEAR</abbr> modules
for usage.<br />
On a more recent pear version, I had problems with the state of Net_DIME
being beta, so this single command
<tt>"pear -d preferred_state=beta install -a SOAP"</tt> installed all the
needed modules.<br />
In addition you need a <abbr title="Simple Object Access
Protocol">SOAP</abbr> support, either as a PHP extension or as a PEAR SOAP
module.
</p>

<p>
To install <abbr title="PHP Extension and Application
Repository">PEAR</abbr> <abbr title="Simple Object Access
Protocol">SOAP</abbr> module, run <tt>"pear install Net_Socket Net_URL
HTTP_Request Mail_Mime Net_DIME SOAP"</tt> to get the necessary <abbr
title="PHP Extension and Application Repository">PEAR</abbr> modules for
usage.
</p>

<p>
If you use the Validator, you should be aware that any
<abbr title="structured query language">SQL</abbr> statement you
submit will be stored anonymously (database/table/column names,
strings, numbers replaced with generic values). The Mimer
<abbr title="structured query language">SQL</abbr>
Validator itself, is &copy; 2001 Upright Database Technology.
We utilize it as free SOAP service.</p>
We utilize it as free SOAP service.
</p>

<h4 id="faq6_15">
<a href="#faq6_15">6.15 I want to add a BLOB column and put an index on
Expand Down Expand Up @@ -4343,6 +4323,33 @@ <h4 id="faq6_26">
<p> Click the first row of the range, hold the shift key and click the last row of the range. This works everywhere you see rows, for example in Browse mode or on the Structure page.</p>


<h4 id="faq6_27">
<a href="#faq6_27">6.27 What format strings can I use?</a></h4>

<p>
In all places where phpMyAdmin accepts format strings, you can use
<code>@VARIABLE@</code> expansion and
<a href="http://php.net/strftime">strftime</a> format strings. The
expanded variables depend on a context (eg. if you don't have chosen
table, you can not get table name), but following variables can be used:
</p>
<dl>
<dt><code>@HTTP_HOST@</code></dt>
<dd>HTTP host that runs phpMyAdmin</dd>
<dt><code>@SERVER@</code></dt>
<dd>MySQL server name</dd>
<dt><code>@VERBOSE@</code></dt>
<dd>Verbose MySQL server name as defined in <a href="#cfg_Servers_verbose">server configuration</a></dd>
<dt><code>@VSERVER@</code></dt>
<dd>Verbose MySQL server name if set, otherwise normal</dd>
<dt><code>@DATABASE@</code></dt>
<dd>Currently opened database</dd>
<dt><code>@TABLE@</code></dt>
<dd>Currently opened table</dd>
<dt><code>@PHPMYADMIN@</code></dt>
<dd>phpMyAdmin with version</dd>
</dl>

<h3 id="faqproject">phpMyAdmin project</h3>

<h4 id="faq7_1">
Expand Down
1 change: 0 additions & 1 deletion browse_foreigners.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/**
* display selection for relational field values
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion bs_change_mime_type.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @version 1.0
* @package BLOBStreaming
*/

Expand Down
1 change: 0 additions & 1 deletion bs_disp_as_mime_type.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @version 1.0
* @package BLOBStreaming
*/

Expand Down
1 change: 0 additions & 1 deletion bs_play_media.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @version 1.0
* @package BLOBStreaming
*/

Expand Down
1 change: 0 additions & 1 deletion changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/**
* Simple script to set correct charset for changelog
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion chk_rel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_create.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_datadict.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_export.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/**
* dumps a database
*
* @version $Id$
* @uses libraries/db_common.inc.php
* @uses libraries/db_info.inc.php
* @uses libraries/display_export.lib.php
Expand Down
1 change: 0 additions & 1 deletion db_import.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_operations.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* - adding tables
* - viewing PDF schemas
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_printview.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_qbe.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/**
* query by example the whole database
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
22 changes: 2 additions & 20 deletions db_search.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,6 @@
* @todo display executed query, optional?
* @uses $cfg['UseDbSearch']
* @uses $GLOBALS['db']
* @uses __('Access denied')
* @uses __('at least one of the words')
* @uses __('all words')
* @uses __('the exact phrase')
* @uses __('as regular expression')
* @uses __('Search results for "<i>%s</i>" %s:')
* @uses __('%s match(es) inside table <i>%s</i>')
* @uses __('Browse')
* @uses __('Delete')
* @uses __('<b>Total:</b> <i>%s</i> match(es)')
* @uses __('Search in database')
* @uses __('Word(s) or value(s) to search for (wildcard: "%"):')
* @uses __('Find:')
* @uses __('Words are separated by a space character (" ").')
* @uses __('Inside table(s):')
* @uses __('Unselect All')
* @uses __('Select All')
* @uses PMA_DBI_get_tables()
* @uses PMA_sqlAddslashes()
* @uses PMA_getSearchSqls()
Expand All @@ -46,7 +29,6 @@
* @uses array_intersect()
* @uses sprintf()
* @uses in_array()
* @version $Id$
* @package phpMyAdmin
*/

Expand Down Expand Up @@ -263,7 +245,7 @@ function PMA_getSearchSqls($table, $field, $search_str, $search_option)
$sql_query .= $newsearchsqls['select_count'];

echo '<tr class="' . ($odd_row ? 'odd' : 'even') . '">'
.'<td>' . sprintf(__('%s match(es) inside table <i>%s</i>'), $res_cnt,
.'<td>' . sprintf(_ngettext('%s match inside table <i>%s</i>', '%s matches inside table <i>%s</i>', $res_cnt), $res_cnt,
htmlspecialchars($each_table)) . "</td>\n";

if ($res_cnt > 0) {
Expand All @@ -288,7 +270,7 @@ function PMA_getSearchSqls($table, $field, $search_str, $search_option)
echo '</table>' . "\n";

if (count($tables_selected) > 1) {
echo '<p>' . sprintf(__('<b>Total:</b> <i>%s</i> match(es)'),
echo '<p>' . sprintf(_ngettext('<b>Total:</b> <i>%s</i> match', '<b>Total:</b> <i>%s</i> matches', $num_search_result_total),
$num_search_result_total) . '</p>' . "\n";
}
} // end 1.
Expand Down
1 change: 0 additions & 1 deletion db_sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion db_tracking.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
1 change: 0 additions & 1 deletion error.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/**
* phpMyAdmin fatal error display page
*
* @version $Id$
* @package phpMyAdmin
*/

Expand Down
Loading

0 comments on commit e646a27

Please sign in to comment.