Commit a70b30321b82fb137c31886395197422fa747201
1 parent
9b4d3cbc
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,7 +61,7 @@ if (checkSession()) { | ||
| 61 | 61 | ||
| 62 | } else { | 62 | } else { |
| 63 | // the image is too big | 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 | } else { | 67 | } else { |
presentation/lookAndFeel/knowledgeTree/administration/news/editNewsBL.php
| @@ -73,7 +73,7 @@ if (checkSession()) { | @@ -73,7 +73,7 @@ if (checkSession()) { | ||
| 73 | 73 | ||
| 74 | } else { | 74 | } else { |
| 75 | // the image is too big | 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 | } else { | 79 | } else { |