diff --git a/index.php b/index.php index 17899ddb35..7789cc461c 100644 --- a/index.php +++ b/index.php @@ -120,9 +120,9 @@ if ($server > 0 if (! $cfg['NavigationDisplayServers'] && (count($cfg['Servers']) > 1 || $server == 0 && count($cfg['Servers']) == 1) ) { - echo '
  • '; + echo '
  • '; include_once 'libraries/select_server.lib.php'; - echo PMA_selectServer(true, true); + echo PMA_Util::getImage('s_host.png') . " " . PMA_selectServer(true, true); echo '
  • '; } @@ -137,22 +137,23 @@ if ($server > 0 if ($cfg['ShowChgPassword']) { $conditional_class = 'ajax'; PMA_printListItem( - __('Change password'), + PMA_Util::getImage('s_passwd.png') . " " . __('Change password'), 'li_change_password', 'user_password.php?' . $common_url_query, null, null, 'change_password_anchor', - null, + "no_bullets", $conditional_class ); } } // end if - echo '
  • '; + echo '
  • '; echo '
    ' . "\n" . PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection') . '  ' . PMA_Util::showMySQLDocu('SQL-Syntax', 'CREATE_DATABASE'); ?>
    + ' + . PMA_Util::getImage('b_newdb.png') + . " " . __('Create database') + . ' ' + . PMA_Util::showMySQLDocu('SQL-Syntax', 'CREATE_DATABASE'); ?>
    diff --git a/server_databases.php b/server_databases.php index dc52517f3a..8072feb88c 100644 --- a/server_databases.php +++ b/server_databases.php @@ -142,7 +142,7 @@ echo '

    ' . "\n" * Create database. */ if ($cfg['ShowCreateDb']) { - echo '
    • ' . "\n"; + echo '
      • ' . "\n"; include 'libraries/display_create_database.lib.php'; echo '
      • ' . "\n"; echo '
      ' . "\n"; diff --git a/test/classes/PMA_Message_test.php b/test/classes/PMA_Message_test.php index 5560e784b5..b240f6036d 100644 --- a/test/classes/PMA_Message_test.php +++ b/test/classes/PMA_Message_test.php @@ -504,7 +504,7 @@ class PMA_Message_test extends PHPUnit_Framework_TestCase $this->assertFalse($this->object->isDisplayed()); $this->object->setMessage('Test Message'); - $this->expectOutputString('
      Test Message
      '); + $this->expectOutputString('
      Test Message
      '); $this->object->display(); $this->assertTrue($this->object->isDisplayed()); @@ -519,7 +519,7 @@ class PMA_Message_test extends PHPUnit_Framework_TestCase { $this->object->setMessage('Test Message'); $this->assertEquals( - '
      Test Message
      ', + '
      Test Message
      ', $this->object->getDisplay() ); } @@ -539,9 +539,9 @@ class PMA_Message_test extends PHPUnit_Framework_TestCase public function providerAffectedRows() { return array( - array(1, '
      1 row affected.
      '), - array(2, '
      2 rows affected.
      '), - array(10000, '
      10000 rows affected.
      '), + array(1, '
      1 row affected.
      '), + array(2, '
      2 rows affected.
      '), + array(10000, '
      10000 rows affected.
      '), ); } @@ -567,9 +567,9 @@ class PMA_Message_test extends PHPUnit_Framework_TestCase public function providerInsertedRows() { return array( - array(1, '
      1 row inserted.
      '), - array(2, '
      2 rows inserted.
      '), - array(100000, '
      100000 rows inserted.
      '), + array(1, '
      1 row inserted.
      '), + array(2, '
      2 rows inserted.
      '), + array(100000, '
      100000 rows inserted.
      '), ); } @@ -595,9 +595,9 @@ class PMA_Message_test extends PHPUnit_Framework_TestCase public function providerDeletedRows() { return array( - array(1, '
      1 row deleted.
      '), - array(2, '
      2 rows deleted.
      '), - array(500000, '
      500000 rows deleted.
      '), + array(1, '
      1 row deleted.
      '), + array(2, '
      2 rows deleted.
      '), + array(500000, '
      500000 rows deleted.
      '), ); } diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php index 9a5b1d62d5..9a477e919f 100644 --- a/themes/original/css/common.css.php +++ b/themes/original/css/common.css.php @@ -487,15 +487,6 @@ div.error { h1.success, div.success { border-color: #00FF00; - background-image: url(getImgPath('s_success.png');?>); - background-repeat: no-repeat; - - background-position: 5px 50%; - padding: 0.2em 0.2em 0.2em 25px; - - background-position: 99% 50%; - padding: 0.2em 35px 0.2em 0.2em; - } .success h1 { border-color: #00FF00; @@ -508,15 +499,6 @@ div.success { h1.notice, div.notice { border-color: #FFD700; - background-image: url(getImgPath('s_notice.png');?>); - background-repeat: no-repeat; - - background-position: 5px 50%; - padding: 0.2em 0.2em 0.2em 25px; - - background-position: 99% 50%; - padding: 0.2em 35px 0.2em 0.2em; - } .notice h1 { border-color: #FFD700; @@ -530,15 +512,6 @@ div.notice { h1.error, div.error { border-color: #ff0000; - background-image: url(getImgPath('s_error.png');?>); - background-repeat: no-repeat; - - background-position: 5px 50%; - padding: 0.2em 0.2em 0.2em 25px; - - background-position: 99% 50%; - padding: 0.2em 35px 0.2em 0.2em; - } div.error h1 { border-color: #ff0000; @@ -1279,90 +1252,15 @@ div#queryboxcontainer div#bookmarkoptions { } /* END main page */ - /* iconic view for ul items */ -li#li_create_database { - list-style-image: url(getImgPath('b_newdb.png');?>); + +li.no_bullets { + list-style-type:none !important; + margin-left: -25px !important; //align with other list items which have bullets } -li#li_select_lang { - list-style-image: url(getImgPath('s_lang.png');?>); -} - -li#li_select_mysql_collation { - list-style-image: url(getImgPath('s_asci.png');?>); -} - -li#li_select_theme { - list-style-image: url(getImgPath('s_theme.png');?>); -} - -li#li_user_info { - /* list-style-image: url(getImgPath('s_rights.png');?>); */ -} - -li#li_mysql_status { - list-style-image: url(getImgPath('s_status.png');?>); -} - -li#li_mysql_variables { - list-style-image: url(getImgPath('s_vars.png');?>); -} - -li#li_mysql_processes { - list-style-image: url(getImgPath('s_process.png');?>); -} - -li#li_mysql_collations { - list-style-image: url(getImgPath('s_asci.png');?>); -} - -li#li_mysql_engines { - list-style-image: url(getImgPath('b_engine.png');?>); -} - -li#li_mysql_binlogs { - list-style-image: url(getImgPath('s_tbl.png');?>); -} - -li#li_mysql_databases { - list-style-image: url(getImgPath('s_db.png');?>); -} - -li#li_export { - list-style-image: url(getImgPath('b_export.png');?>); -} - -li#li_import { - list-style-image: url(getImgPath('b_import.png');?>); -} - -li#li_change_password { - list-style-image: url(getImgPath('s_passwd.png');?>); -} - -li#li_log_out { - list-style-image: url(getImgPath('s_loggoff.png');?>); -} - -li#li_mysql_privilegs { - list-style-image: url(getImgPath('s_rights.png');?>); -} - -li#li_switch_dbstats { - list-style-image: url(getImgPath('b_dbstatistics.png');?>); -} - -li#li_flush_privileges { - list-style-image: url(getImgPath('s_reload.png');?>); -} - -li#li_user_preferences { - list-style-image: url(getImgPath('b_tblops.png');?>); -} /* END iconic view for ul items */ - #body_browse_foreigners { background: ; margin: .5em .5em 0 .5em; @@ -1490,10 +1388,6 @@ textarea#partitiondefinition { display: none; } -#li_select_server { - list-style-image: url(getImgPath('s_host.png');?>); -} - #list_server { list-style-image: none; } diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index b4da75ff19..2f666af693 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -701,7 +701,7 @@ div.error { background-repeat: no-repeat; background-position: 10px 50%; - padding: 10px 10px 10px 25px; + padding: 10px 10px 10px 10px; background-position: 99% 50%; padding: 10px 35px 10px 10px; @@ -729,14 +729,7 @@ div.error { h1.success, div.success { - border-color: #a2d246; - background-image: url(getImgPath('s_success.png');?>); - background-repeat: no-repeat; - - background-position: 5px 50%; - - background-position: 99% 50%; - + border-color: #a2d246; } .success h1 { border-color: #00FF00; @@ -750,13 +743,6 @@ div.success { h1.notice, div.notice { border-color: #3a6c7e; - background-image: url(getImgPath('s_notice.png');?>); - background-repeat: no-repeat; - - background-position: 5px 50%; - - background-position: 99% 50%; - } .notice h1 { @@ -771,14 +757,7 @@ div.notice { h1.error, div.error { - border-color: #333; - background-image: url(getImgPath('s_error.png');?>); - background-repeat: no-repeat; - - background-position: 5px 50%; - - background-position: 99% 50%; - + border-color: #333; } div.error h1 { @@ -1651,88 +1630,14 @@ div#queryboxcontainer div#bookmarkoptions { /* iconic view for ul items */ -li#li_create_database { - list-style-image: url(getImgPath('b_newdb.png');?>); + +li.no_bullets { + list-style-type:none !important; + margin-left: -25px !important; //align with other list items which have bullets } -li#li_select_lang { - list-style-image: url(getImgPath('s_lang.png');?>); -} - -li#li_select_mysql_collation { - list-style-image: url(getImgPath('s_asci.png');?>); -} - -li#li_select_theme { - list-style-image: url(getImgPath('s_theme.png');?>); -} - -li#li_user_info { - /* list-style-image: url(getImgPath('s_rights.png');?>); */ -} - -li#li_mysql_status { - list-style-image: url(getImgPath('s_status.png');?>); -} - -li#li_mysql_variables { - list-style-image: url(getImgPath('s_vars.png');?>); -} - -li#li_mysql_processes { - list-style-image: url(getImgPath('s_process.png');?>); -} - -li#li_mysql_collations { - list-style-image: url(getImgPath('s_asci.png');?>); -} - -li#li_mysql_engines { - list-style-image: url(getImgPath('b_engine.png');?>); -} - -li#li_mysql_binlogs { - list-style-image: url(getImgPath('s_tbl.png');?>); -} - -li#li_mysql_databases { - list-style-image: url(getImgPath('s_db.png');?>); -} - -li#li_export { - list-style-image: url(getImgPath('b_export.png');?>); -} - -li#li_import { - list-style-image: url(getImgPath('b_import.png');?>); -} - -li#li_change_password { - list-style-image: url(getImgPath('s_passwd.png');?>); -} - -li#li_log_out { - list-style-image: url(getImgPath('s_loggoff.png');?>); -} - -li#li_mysql_privilegs { - list-style-image: url(getImgPath('s_rights.png');?>); -} - -li#li_switch_dbstats { - list-style-image: url(getImgPath('b_dbstatistics.png');?>); -} - -li#li_flush_privileges { - list-style-image: url(getImgPath('s_reload.png');?>); -} - -li#li_user_preferences { - list-style-image: url(getImgPath('b_tblops.png');?>); -} /* END iconic view for ul items */ - #body_browse_foreigners { background: ; margin: .5em .5em 0 .5em; @@ -1874,10 +1779,6 @@ textarea#partitiondefinition { display: none; } -#li_select_server { - list-style-image: url(getImgPath('s_host.png');?>); -} - #list_server { list-style-image: none; }