Commit bc243aa9c5b393331ed72b4c1050dd0687b2921d
1 parent
7f16a832
corrected image too big error message
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1819 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
2 additions
and
2 deletions
presentation/lookAndFeel/knowledgeTree/administration/news/addNewsBL.php
| ... | ... | @@ -61,7 +61,7 @@ if (checkSession()) { |
| 61 | 61 | |
| 62 | 62 | } else { |
| 63 | 63 | // the image is too big |
| 64 | - $oContent->setHtml(renderAddNewsPage($oDashboardNews, "The image you have submitted is too big (" . $iImgHeight . "x" . $iImgWidth . " > " . $oDashboardNews->getMaxImageDimensions() . "), please correct and retry")); | |
| 64 | + $oContent->setHtml(renderAddNewsPage($oDashboardNews, "The image you have submitted is too big (" . $iImgWidth . "x" . $iImgHeight . " > " . $oDashboardNews->getMaxImageDimensions() . "), please correct and retry")); | |
| 65 | 65 | } |
| 66 | 66 | } |
| 67 | 67 | } else { | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/news/editNewsBL.php
| ... | ... | @@ -73,7 +73,7 @@ if (checkSession()) { |
| 73 | 73 | |
| 74 | 74 | } else { |
| 75 | 75 | // the image is too big |
| 76 | - $oContent->setHtml(renderEditNewsPage($oDashboardNews, "The image you have submitted is too big (" . $iImgHeight . "x" . $iImgWidth . " > " . $oDashboardNews->getMaxImageDimensions() . "), please correct and retry")); | |
| 76 | + $oContent->setHtml(renderEditNewsPage($oDashboardNews, "The image you have submitted is too big (" . $iImgWidth . "x" . $iImgHeight . " > " . $oDashboardNews->getMaxImageDimensions() . "), please correct and retry")); | |
| 77 | 77 | } |
| 78 | 78 | } |
| 79 | 79 | } else { | ... | ... |