"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/class/Notify.php" between
wacko.6.1.18.zip and wacko.6.1.19.zip

About: WackoWiki is a multilingual Wiki-engine that supports WYTIWYG-editing, page rights (ACLs), design themes (skins), file upload, email notification and much more.

Notify.php  (wacko.6.1.18):Notify.php  (wacko.6.1.19)
skipping to change at line 53 skipping to change at line 53
$this->wacko->send_user_email($user, $subject, $body); $this->wacko->send_user_email($user, $subject, $body);
$this->wacko->set_language($save, true); $this->wacko->set_language($save, true);
} }
public function notify_upload($page_id, $file_id, $tag, $file_name, $user _id, $user_name, $replace): void public function notify_upload($page_id, $file_id, $tag, $file_name, $user _id, $user_name, $replace): void
{ {
if (!$this->wacko->db->notify_upload) { if (!$this->wacko->db->notify_upload) {
return; return;
} }
#$body[] = sha1_file() . base_convert();
$subject[] = 'FileUploadedSubj'; $subject[] = 'FileUploadedSubj';
$subject[] = $file_name; $subject[] = $file_name;
$body[] = $replace ? 'FileReplacedBody' : 'FileUploadedBody'; $body[] = $replace ? 'FileReplacedBody' : 'FileUploadedBody';
$body[] = $user_name; $body[] = $user_name;
$body[] = $file_name . "\n" . $page_id ? $tag : $this->wacko->_t( 'UploadGlobal'); $body[] = $file_name . "\n" . $page_id ? $tag : $this->wacko->_t( 'UploadGlobal');
$body[] = $this->wacko->href('filemeta', '', ['m' => 'show', 'fil e_id' => (int)$file_id], null, null, null, true, true); $body[] = $this->wacko->href('filemeta', '', ['m' => 'show', 'fil e_id' => (int)$file_id], null, null, null, true, true);
$this->wacko->notify_moderator($page_id, $user_id, $subject, $bod y); $this->wacko->notify_moderator($page_id, $user_id, $subject, $bod y);
} }
 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)