diff options
-rw-r--r-- | examples/config.manyhosts.inc.php | 86 | ||||
-rw-r--r-- | libraries/transformations/text_plain__append.inc.php | 58 | ||||
-rw-r--r-- | themes/pmahomme/info.inc.php | 28 |
3 files changed, 86 insertions, 86 deletions
diff --git a/examples/config.manyhosts.inc.php b/examples/config.manyhosts.inc.php index 8922290b6c..10a410419b 100644 --- a/examples/config.manyhosts.inc.php +++ b/examples/config.manyhosts.inc.php @@ -1,43 +1,43 @@ -<?php
-
-/**
- * This example configuration shows how to configure phpMyAdmin for
- * many hosts that all have identical configuration otherwise. To add
- * a new host, just drop it into $hosts below. Contributed by
- * Matthew Hawkins.
- */
-
-$i=0;
-$hosts = array (
- "foo.example.com",
- "bar.example.com",
- "baz.example.com",
- "quux.example.com",
-);
-
-foreach ($hosts as $host) {
- $i++;
- $cfg['Servers'][$i]['host'] = $host;
- $cfg['Servers'][$i]['port'] = '';
- $cfg['Servers'][$i]['socket'] = '';
- $cfg['Servers'][$i]['connect_type'] = 'tcp';
- $cfg['Servers'][$i]['extension'] = 'mysql';
- $cfg['Servers'][$i]['compress'] = false;
- $cfg['Servers'][$i]['controluser'] = 'pma';
- $cfg['Servers'][$i]['controlpass'] = 'pmapass';
- $cfg['Servers'][$i]['auth_type'] = 'cookie';
- $cfg['Servers'][$i]['user'] = '';
- $cfg['Servers'][$i]['password'] = '';
- $cfg['Servers'][$i]['only_db'] = '';
- $cfg['Servers'][$i]['verbose'] = '';
- $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
- $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
- $cfg['Servers'][$i]['relation'] = 'pma_relation';
- $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
- $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
- $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
- $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
- $cfg['Servers'][$i]['history'] = 'pma_history';
- $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
-}
-
+<?php + +/** + * This example configuration shows how to configure phpMyAdmin for + * many hosts that all have identical configuration otherwise. To add + * a new host, just drop it into $hosts below. Contributed by + * Matthew Hawkins. + */ + +$i=0; +$hosts = array ( + "foo.example.com", + "bar.example.com", + "baz.example.com", + "quux.example.com", +); + +foreach ($hosts as $host) { + $i++; + $cfg['Servers'][$i]['host'] = $host; + $cfg['Servers'][$i]['port'] = ''; + $cfg['Servers'][$i]['socket'] = ''; + $cfg['Servers'][$i]['connect_type'] = 'tcp'; + $cfg['Servers'][$i]['extension'] = 'mysql'; + $cfg['Servers'][$i]['compress'] = false; + $cfg['Servers'][$i]['controluser'] = 'pma'; + $cfg['Servers'][$i]['controlpass'] = 'pmapass'; + $cfg['Servers'][$i]['auth_type'] = 'cookie'; + $cfg['Servers'][$i]['user'] = ''; + $cfg['Servers'][$i]['password'] = ''; + $cfg['Servers'][$i]['only_db'] = ''; + $cfg['Servers'][$i]['verbose'] = ''; + $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; + $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; + $cfg['Servers'][$i]['relation'] = 'pma_relation'; + $cfg['Servers'][$i]['table_info'] = 'pma_table_info'; + $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; + $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; + $cfg['Servers'][$i]['column_info'] = 'pma_column_info'; + $cfg['Servers'][$i]['history'] = 'pma_history'; + $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords'; +} + diff --git a/libraries/transformations/text_plain__append.inc.php b/libraries/transformations/text_plain__append.inc.php index 7ca4062238..c08395fd42 100644 --- a/libraries/transformations/text_plain__append.inc.php +++ b/libraries/transformations/text_plain__append.inc.php @@ -1,29 +1,29 @@ -<?php
-/* vim: set expandtab sw=4 ts=4 sts=4: */
-/**
- * @package phpMyAdmin-Transformation
- * Has one option: the text to be appended (default '')
- */
-if (! defined('PHPMYADMIN')) {
- exit;
-}
-
-function PMA_transformation_text_plain__append_info()
-{
- return array(
- 'info' => __('Appends text to a string. The only option is the text to be appended (enclosed in single quotes, default empty string).'),
- );
-}
-
-function PMA_transformation_text_plain__append($buffer, $options = array(), $meta = '')
-{
- if (! isset($options[0]) || $options[0] == '') {
- $options[0] = '';
- }
-
- $newtext = $buffer . htmlspecialchars($options[0]); //just append the option to the original text
-
- return $newtext;
-}
-
-?>
+<?php +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * @package phpMyAdmin-Transformation + * Has one option: the text to be appended (default '') + */ +if (! defined('PHPMYADMIN')) { + exit; +} + +function PMA_transformation_text_plain__append_info() +{ + return array( + 'info' => __('Appends text to a string. The only option is the text to be appended (enclosed in single quotes, default empty string).'), + ); +} + +function PMA_transformation_text_plain__append($buffer, $options = array(), $meta = '') +{ + if (! isset($options[0]) || $options[0] == '') { + $options[0] = ''; + } + + $newtext = $buffer . htmlspecialchars($options[0]); //just append the option to the original text + + return $newtext; +} + +?> diff --git a/themes/pmahomme/info.inc.php b/themes/pmahomme/info.inc.php index aa485d8ac1..bd47cb84c6 100644 --- a/themes/pmahomme/info.inc.php +++ b/themes/pmahomme/info.inc.php @@ -1,15 +1,15 @@ -<?php
-/* vim: set expandtab sw=4 ts=4 sts=4: */
-/**
- * Theme information
- *
- * @package PhpMyAdmin-theme
- * @subpackage pmahomme
- */
-
-/**
- * If you have problems or questions about this theme email mikehomme@users.sourceforge.net
- */
-$theme_name = 'pmahomme';
-$theme_full_version = '1.1';
+<?php +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * Theme information + * + * @package PhpMyAdmin-theme + * @subpackage pmahomme + */ + +/** + * If you have problems or questions about this theme email mikehomme@users.sourceforge.net + */ +$theme_name = 'pmahomme'; +$theme_full_version = '1.1'; ?>
\ No newline at end of file |