forked from tbar0970/jethro-pmm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from tbar0970/master
Update to orig.
- Loading branch information
Showing
1,716 changed files
with
138,198 additions
and
57,978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/nbproject/private/ | ||
/nbproject/ | ||
/files/ | ||
conf.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
$finder = Symfony\CS\Finder\DefaultFinder::create() | ||
->exclude('include/phpword') | ||
->exclude('include/swiftmailer') | ||
->exclude('resources') | ||
->in(__DIR__) | ||
; | ||
|
||
return Symfony\CS\Config\Config::create() | ||
->level(Symfony\CS\FixerInterface::NONE_LEVEL) | ||
->fixers(array('trailing_spaces', 'encoding')) | ||
->finder($finder) | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
<?php | ||
class Call_Contact_List extends Call | ||
{ | ||
function run() | ||
function run() | ||
{ | ||
$GLOBALS['system']->initErrorHandler(); | ||
require_once 'views/view_2_families__4_contact_list.class.php'; | ||
if (!$GLOBALS['user_system']->havePerm(View_Families__Contact_List::getMenuPermissionLevel())) return; | ||
$view = new View_Families__Contact_List(); | ||
header('Content-disposition: attachment; filename="Contact-List.html"'); | ||
$view->processView(); | ||
$view->printResults(); | ||
|
||
switch (array_get($_REQUEST, 'format')) { | ||
case 'docx': | ||
header('Content-disposition: attachment; filename="Contact-List.docx"'); | ||
header('Content-type: application/vnd.openxmlformats-officedocument.wordprocessingml.document'); | ||
$view->printDOCX(); | ||
break; | ||
default: | ||
header('Content-disposition: attachment; filename="Contact-List.html"'); | ||
$view->printResults(TRUE); | ||
} | ||
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.