PM rules doesn't handle sender properly fixes #1212

Signed-off-by: John Rayes <live627@gmail.com>
$entryname is used before it's declared

Signed-off-by: John Rayes <live627@gmail.com>
Get rid of pregReplaceCurry and use closures instead

Perks of PHP 5.3+, we can use closures instead of currying our way to pass scope into the callbacks, saves us from a lot of create_function hell

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Fix the Reply button in the Messages screen

Signed-off-by: Yoshi2889 <rick.2889@gmail.com>
Fix a bug in the package manager when a package is not compatible

Signed-off-by: Yoshi2889 <rick.2889@gmail.com>
Update Subs-Package.php



Signed-off-by: John Rayes <live627@gmail.com>
This is what happens when I use GitHub's editor

Signed-off-by: John Rayes <live627@gmail.com>
continue isn't needed

Signed-off-by: John Rayes <live627@gmail.com>
* A small leftover .half
Signed-off-by: Antes <antes@simplemachines.org>
Merge pull request #1659 from live627/entrynam

 	$entryname is used before it's declared
Merge pull request #1597 from live627/rule_logic

 PM rules doesn't handle sender properly fixes #1212
Merge pull request #1656 from Yoshi2889/icon_fixes

Fix the Reply button in the Messages screen
Merge pull request #1658 from Yoshi2889/package_manager_fix

Fix a bug in the package manager when a package is not compatible
! Typo (fixes #1660)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #1663 from Oldiesmann/release-2.1

! Typo (fixes #1660)
! Move to language file
Signed-off-by: Antes <antes@simplemachines.org>
Signed-off-by: Antes <antes@simplemachines.org>
logActions(): Misplaced use of $action instead of $log['action']

Fixes #1664

Signed-off-by: Shitiz Garg <mail@dragooon.net>
EditTheme() was suing $theme_dir instead of $context['theme_dir']

Fixes #1668

Signed-off-by: Shitiz Garg <mail@dragooon.net>
Use of undefined $attachmentOptions while checking for attachments

Should be $_SESSION['temp_attachments'][$attachID] instead.
Fixes #1667

Signed-off-by: Shitiz Garg <mail@dragooon.net>