"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "controllers/review_manager.ctrl.php" between
seopanel.v.4.7.0.zip and seopanel.v.4.8.0.zip

About: Seo Panel is a seo control panel for managing search engine optimization of your websites.

review_manager.ctrl.php  (seopanel.v.4.7.0):review_manager.ctrl.php  (seopanel.v.4.8.0)
skipping to change at line 135 skipping to change at line 135
$this->validate->flagErr = true; $this->validate->flagErr = true;
} }
} }
// Validate link count // Validate link count
if(!$this->validate->flagErr){ if(!$this->validate->flagErr){
$websiteCtrl = new WebsiteController(); $websiteCtrl = new WebsiteController();
$websiteInfo = $websiteCtrl->__getWebsiteInfo($listInfo['website_id' ]); $websiteInfo = $websiteCtrl->__getWebsiteInfo($listInfo['website_id' ]);
$newCount = !empty($listInfo['id']) ? 0 : 1; $newCount = !empty($listInfo['id']) ? 0 : 1;
if (! $this->validateReviewLinkCount($websiteInfo['user_id'], $newCo unt)) { if (! $this->validateReviewLinkCount($websiteInfo['user_id'], $newCo unt)) {
$this->set('validationMsg', $this->spTextSMC['Your review link c ount already reached the limit']); $this->set('validationMsg', 'Your review link count already reac hed the limit');
$this->validate->flagErr = true; $this->validate->flagErr = true;
} }
} }
return $errMsg; return $errMsg;
} }
// Function to check / validate the user type review count // Function to check / validate the user type review count
function validateReviewLinkCount($userId, $newCount = 1) { function validateReviewLinkCount($userId, $newCount = 1) {
$userCtrler = new UserController(); $userCtrler = new UserController();
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)