This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Zen4All/master
This coding will start the basis of Missing Images for ZenCart 2.0.
- Loading branch information
Showing
4 changed files
with
402 additions
and
458 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
YOUR_ADMIN/includes/languages/english/extra_definitions/missing_images.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
// Define language definitions to avoid copy/pasting almost the same exact sentence. | ||
define('ERROR_IMAGE_FORMAT', 'The image is named as a %s file but instead registers as a %s! Try to resave and reupload your file in the proper format.'); | ||
define('ERROR_FILE_NOT_FOUND', 'Image file does not exist. Edit the product\'s details and click "delete image" to remove from database.'); | ||
define('ERROR_NOT_WEB_FORMAT', 'The file found is either not an image or not an image that can be inherently loaded in a web browser. Try reuploading the file in PNG, GIF, JPG, or BMP format.'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
@media screen { | ||
.documentHeadline { | ||
text-align: center; | ||
font-size: 36px; | ||
font-weight: bold; | ||
} | ||
.centeredText { | ||
text-align: center; | ||
} | ||
body { | ||
background: #E1E1E1; | ||
font-family: arial, helvetica, sans-serif !important; | ||
font-size: 13px !important; | ||
color: #242424; | ||
line-height: 2.3em !important; | ||
} | ||
|
||
.resultsTable { | ||
width: 80%; | ||
margin: auto; | ||
border-collapse: collapse; | ||
line-height: 1.7em; | ||
} | ||
.rowEven { | ||
background: #FFFFFF; | ||
} | ||
|
||
.rowEven:hover { | ||
background: #DADADA; | ||
} | ||
|
||
.rowOdd { | ||
background: #EFEFEF; | ||
} | ||
.rowOdd:hover { | ||
background: #D2D2D2; | ||
} | ||
.headingRow { | ||
text-align: center; | ||
font-weight: bold; | ||
color: #FFFFFF; | ||
background: #000000; | ||
} | ||
.mismatch, .caution { | ||
background: yellow !important; | ||
font-style: italic; | ||
} | ||
.redAlert { | ||
color: #FF0000 !important; | ||
font-weight: bold; | ||
} | ||
.OK { | ||
padding: 0 0 0 50px; | ||
color: #009900 !important; | ||
font-weight: bold; | ||
} | ||
|
||
.productIDcolumn { width: 5%; } | ||
.productNamecolumn { width: 20%; } | ||
.productFilecolumn { width: 40%; } | ||
.productResultcolumn { width:35%; } | ||
} | ||
|
||
@media print { | ||
.documentHeadline { | ||
text-align: center; | ||
font-size: 36px; | ||
font-weight: bold; | ||
} | ||
.centeredText { | ||
text-align: center; | ||
} | ||
body { | ||
font-family: arial, helvetica, sans-serif !important; | ||
font-size: 13px !important; | ||
color: #000000; | ||
line-height: 2.3em !important; | ||
} | ||
|
||
.resultsTable { | ||
width: 600px; | ||
margin: auto; | ||
border-collapse: collapse; | ||
line-height: 1.7em; | ||
table-layout:fixed; | ||
} | ||
.resultsTable td { | ||
word-wrap: break-word; | ||
} | ||
.rowEven { | ||
background: #FFFFFF; | ||
} | ||
|
||
.rowEven:hover { | ||
background: #DADADA; | ||
} | ||
|
||
.rowOdd { | ||
background: #EFEFEF; | ||
} | ||
.rowOdd:hover { | ||
background: #D2D2D2; | ||
} | ||
.headingRow { | ||
text-align: center; | ||
font-weight: bold; | ||
color: #FFFFFF; | ||
background: #000000; | ||
} | ||
.mismatch, .caution { | ||
background: yellow !important; | ||
font-style: italic; | ||
} | ||
.redAlert { | ||
color: #FF0000 !important; | ||
font-weight: bold; | ||
} | ||
.OK { | ||
padding: 0 0 0 50px; | ||
color: #009900 !important; | ||
font-weight: bold; | ||
} | ||
|
||
.productIDcolumn { width: 5%; } | ||
.productNamecolumn { width: 20%; } | ||
.productFilecolumn { width: 40%; } | ||
.productResultcolumn { width:35%; } | ||
} |
Oops, something went wrong.