Skip to content

Commit

Permalink
ran php-cs-fixer toi auto-fix styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mindblender committed Sep 21, 2017
1 parent d28e63e commit 5438da2
Show file tree
Hide file tree
Showing 215 changed files with 728 additions and 982 deletions.
16 changes: 8 additions & 8 deletions administration/admin.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../administration/admin.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down Expand Up @@ -68,9 +68,9 @@
}

/* disabled
if ($databaseType == "postgresql")
if ($databaseType == "postgresql")
{
$block1->contentRow("",$blockPage->buildLink("../administration/phppgadmin.php?",$strings["database"],in));
$block1->contentRow("",$blockPage->buildLink("../administration/phppgadmin.php?",$strings["database"],in));
}
*/

Expand All @@ -85,11 +85,11 @@

if (file_exists("../installation/setup.php")) {
$block1->contentRow("", "<b>" . $strings["attention"] . "</b> : " . $strings["setup_erase"]);
if (is_writable("../setup.php"))
if (is_writable("../setup.php")) {
$block1->contentRow("", "<a href='../installation/remove_files.php'>" . $strings["setup_erase_file"] . "</a>");
else
} else {
$block1->contentRow("", "<span style='color: #F00;font-weight:bold;'>" . $strings["setup_erase_file_ua"] . "</span>");

}
}

$block1->closeContent();
Expand Down
6 changes: 3 additions & 3 deletions administration/index.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../administration/index.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down
6 changes: 3 additions & 3 deletions administration/listlogs.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../administration/listlogs.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down
14 changes: 7 additions & 7 deletions administration/mycompany.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 06/09/2004
** Last Edit page: 06/09/2004
** Path by root: ../administration/mycompany.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -22,7 +22,7 @@
** 2004-09-06 - xhtml correction
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down Expand Up @@ -54,11 +54,10 @@
$logoDel = phpCollab\Util::returnGlobal('logoDel', 'POST');

if ($logoDel == "on") {

$tmpquery = "UPDATE {$tableCollab["organizations"]} SET extension_logo='' WHERE id=:org_id";
$tmpquery = "UPDATE {$tableCollab["organizations"]} SET extension_logo='' WHERE id=:org_id";
$dbParams = ["org_id" => 1];

phpCollab\Util::newConnectSql($tmpquery. $dbParams);
phpCollab\Util::newConnectSql($tmpquery. $dbParams);
@unlink("../logos_clients/1.$extensionOld");

unset($dbParams);
Expand Down Expand Up @@ -142,7 +141,8 @@
$block1->contentRow($strings["logo"] . $blockPage->printHelp("mycompany_logo"), '<input size="44" style="width: 400px" name="upload" type="file">');

if (file_exists("../logos_clients/1." . $clientDetail->org_extension_logo[0])) {
$block1->contentRow("",
$block1->contentRow(
"",
'<img src="../logos_clients/1.' . $clientDetail->org_extension_logo[0] . '" border="0" alt="' . $clientDetail->org_name[0] . '">
<input name="extensionOld" type="hidden" value="' . $clientDetail->org_extension_logo[0] . '">
<input name="logoDel" type="checkbox" value="on"> ' . $strings["delete"]
Expand Down
6 changes: 3 additions & 3 deletions administration/phpinfo.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../administration/phpinfo.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down
6 changes: 3 additions & 3 deletions administration/phpmyadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -22,7 +22,7 @@
** 2004-09-06 - xhtml
** -----------------------------------------------------------------------------
** TO-DO:
** move to the render engine
** move to the render engine
**
** =============================================================================
*/
Expand Down Expand Up @@ -60,7 +60,7 @@
<select name='table_select[]' size='5' multiple='multiple'>";

sort($tableCollab);
while (list ($key, $val) = each($tableCollab)) {
while (list($key, $val) = each($tableCollab)) {
echo "<option value='$val' selected>$val</option>";
}

Expand Down
6 changes: 3 additions & 3 deletions administration/phppgadmin.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../administration/phppgadmin.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
** move to the render engine
** move to the render engine
**
** =============================================================================
*/
Expand Down
6 changes: 3 additions & 3 deletions administration/support.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../administration/support.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down
6 changes: 3 additions & 3 deletions administration/updatedatabase.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../administration/updatedatabase.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - update db to the new version
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down
8 changes: 4 additions & 4 deletions administration/updatesettings.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2005-03-08
** Last Edit page: 2005-03-08
** Path by root: ../administration/updatesettings.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand Down Expand Up @@ -57,11 +57,11 @@
$pathMantisNew = $pathMantisNew . "/";
}

// DAB - scrub the data
// DAB - scrub the data
$dataFunction = new DataFunctions();
$scrubedData = $dataFunction->scrubData($_POST);
extract($scrubedData);
// -- END Paranoia
// -- END Paranoia

$content = <<<STAMP
<?php
Expand Down
14 changes: 7 additions & 7 deletions alerts/daily_alert.php
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2006-09-30
** Last Edit page: 2006-09-30
** Path by root: ../alerts/daily_alert.php
** Authors: Rich Cave (cavemansf)
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
**
** -----------------------------------------------------------------------------
** FILE: daily_alert.php
**
** DESC: Notifications for daily alerts triggered by a cron job
** DESC: Notifications for daily alerts triggered by a cron job
**
** HISTORY:
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand All @@ -29,7 +29,7 @@
define("PHPCOLLAB_INC_DIR", dirname(__FILE__) . "/../includes/");
define("PHPCOLLAB_LANG_DIR", dirname(__FILE__) . "/../languages/");

// Include
// Include
include PHPCOLLAB_INC_DIR . 'settings.php';

if (!isset($langDefault) || ($langDefault == '')) {
Expand Down Expand Up @@ -105,7 +105,7 @@
$taskCount = 0;
$subtaskCount = 0;

// See if there are any tasks pending
// See if there are any tasks pending
$query = "SELECT $tasksTable.id,
$tasksTable.name,
$tasksTable.priority,
Expand Down Expand Up @@ -156,7 +156,7 @@
$taskCount++;
}

// See if there are any subtasks pending
// See if there are any subtasks pending
$query = "SELECT $subtasksTable.id,
$subtasksTable.name,
$subtasksTable.priority,
Expand Down
8 changes: 4 additions & 4 deletions bookmarks/deletebookmarks.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/*
** Application name: phpCollab
** Last Edit page: 2003-10-23
** Last Edit page: 2003-10-23
** Path by root: ../bookmarks/deletebookmarks.php
** Authors: Ceam / Fullo
**
** =============================================================================
**
** phpCollab - Project Managment
** phpCollab - Project Managment
**
** -----------------------------------------------------------------------------
** Please refer to license, copyright, and credits in README.TXT
Expand All @@ -21,7 +21,7 @@
** 2003-10-23 - added new document info
** -----------------------------------------------------------------------------
** TO-DO:
**
**
**
** =============================================================================
*/
Expand Down Expand Up @@ -68,7 +68,7 @@
$block1->openContent();
$block1->contentTitle($strings["delete_following"]);

$id = explode(',',str_replace("**", ",", $id));
$id = explode(',', str_replace("**", ",", $id));

$bookmarkList = $bookmarks->getBookmarksInRange($id);

Expand Down
Loading

0 comments on commit 5438da2

Please sign in to comment.