Merge pull request #4661 from hanakin/ticket/15037
[ticket/15037] Make imagesets retina
BIN
phpBB/develop/test.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 294 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 4.6 KiB |
@ -134,15 +134,17 @@ li.header dl.row-item dt .list-inner {
|
||||
dl.row-item {
|
||||
background-position: 10px 50%; /* Position of folder icon */
|
||||
background-repeat: no-repeat;
|
||||
background-size: 32px;
|
||||
}
|
||||
|
||||
dl.row-item dt {
|
||||
background-repeat: no-repeat;
|
||||
background-position: 5px 95%; /* Position of topic icon */
|
||||
background-size: 17px;
|
||||
}
|
||||
|
||||
dl.row-item dt .list-inner {
|
||||
padding-left: 45px; /* Space for folder icon */
|
||||
padding-left: 52px; /* Space for folder icon */
|
||||
}
|
||||
|
||||
dl.row-item dt, dl.row-item dd {
|
||||
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 738 B After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 753 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 724 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 755 B After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 708 B After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 681 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 725 B After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 725 B After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 646 B After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 633 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 626 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 723 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 738 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 2.6 KiB |
@ -100,8 +100,8 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
|
||||
$upload = new \phpbb\files\upload($this->filesystem, $this->factory, $this->language, $this->php_ini, $this->request, $this->phpbb_root_path);
|
||||
$upload->set_error_prefix('')
|
||||
->set_allowed_extensions(array('gif'))
|
||||
->set_max_filesize(1000);
|
||||
$file = $upload->handle_upload('files.types.remote', self::$root_url . 'styles/prosilver/theme/images/forum_read.gif');
|
||||
->set_max_filesize(2000);
|
||||
$file = $upload->handle_upload('files.types.remote', self::$root_url . 'develop/test.gif');
|
||||
$this->assertEquals(0, sizeof($file->error));
|
||||
$this->assertTrue(file_exists($file->get('filename')));
|
||||
$this->assertTrue($file->is_uploaded());
|
||||
@ -114,7 +114,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
|
||||
$upload->set_error_prefix('')
|
||||
->set_allowed_extensions(array('gif'))
|
||||
->set_max_filesize(100);
|
||||
$file = $upload->handle_upload('files.types.remote', self::$root_url . 'styles/prosilver/theme/images/forum_read.gif');
|
||||
$file = $upload->handle_upload('files.types.remote', self::$root_url . 'develop/test.gif');
|
||||
$this->assertEquals(1, sizeof($file->error));
|
||||
$this->assertEquals('WRONG_FILESIZE', $file->error[0]);
|
||||
}
|
||||
|