Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

Commit

Permalink
god I fixed it
Browse files Browse the repository at this point in the history
  • Loading branch information
bennetgallein committed Jan 21, 2018
1 parent 2036fe0 commit 76f0511
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions modules/customermanagment/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,22 @@
</div>

</div>
<!-- THIS BUTTON IS NOT IN HTML. NOT EVEN IN THE DEVTOOLS!?!?!? WTF-->
<a class="btn btn-primary pull-right" data-background-color="red"
href="module.php?module=customermanagment/profile.php&params=user|<?= $user->id ?>_delete|1">Delete
Profile </a>
<!--<div class="clearfix"></div>-->
<div class="row">
<!-- THIS BUTTON IS NOT IN HTML. NOT EVEN IN THE DEVTOOLS!?!?!? WTF-->
<a class="btn btn-primary pull-right" data-background-color="red"
href="module.php?module=customermanagment/profile.php&params=user|<?= $user->getId() ?>_delete|1">Delete
Profile </a>
<!--<div class="clearfix"></div>-->
</div>
</div>
</div>
</div>
</div>
<?php
/*echo "HI";
if ($db->moduleExists("Support Manager")) {
echo "HI";
$module = $db->getModuleByName("Support Manager");
var_dump($module->getIncludeables());
if ($module->getIncludeable("profile_overview")['permission'] <= $user->getPermissions()) {
var_dump($module->getIncludeable("profile_overview"));
echo(dirname(__FILE__) . "/../modules/" . $module->getIncludeable("profile_overview")['link']);
include(dirname(__FILE__) . "/../" . $module->getIncludeable("profile_overview")['link']);
}
}*/
}
?>

0 comments on commit 76f0511

Please sign in to comment.