Format bug report mail
This commit is contained in:
1 parent
d9b730628b
commit
cd34ff227f
2 files changed
+7
-5
No files matched your search
@@ -1279,7 +1279,9 @@ public function _logIn() {
|
||||
public function _registerBugReport() {
|
||||
$bug = new BugReport(NULL, $_REQUEST);
|
||||
$bug->store();
|
||||
mail("kak-edb@studentersamfundet.no", '[Inside] New bug report', var_export($_REQUEST, true));
|
||||
$user_url = "https://inside.studentersamfundet.no/index.php?page=display-user&userid=".$_REQUEST['user_id'];
|
||||
$message = "Bruker:".$user_url."\n Type feil: ".$_REQUEST['title']."\nMelding fra bruker: " .$_REQUEST['comment'];
|
||||
mail("medlemskap@studentersamfundet.no, kak-edb@studentersamfundet.no", '[Inside] Ny melding om noe muffins fra bruker', $message);
|
||||
}
|
||||
|
||||
public function _updateBugReportStatus() {
|
||||
|
||||
+4
-4
@@ -5,7 +5,7 @@ function requestConcertInfo(callerid, target, programid) {
|
||||
var gigNo = parseInt(match[0]);
|
||||
|
||||
var oXmlHttp = zXmlHttp.createRequest();
|
||||
oXmlHttp.open("get", "getconcertinfo.php?gigid=" + iId + "&store=" + gigNo + "&programid=" + programid, true);
|
||||
oXmlHttp.open("get", "inside/getconcertinfo.php?gigid=" + iId + "&store=" + gigNo + "&programid=" + programid, true);
|
||||
oXmlHttp.onreadystatechange = function() {
|
||||
if (oXmlHttp.readyState == 4){
|
||||
if (oXmlHttp.status == 200) {
|
||||
@@ -23,7 +23,7 @@ function grantCardNumber(userid) {
|
||||
form.style.display = "none";
|
||||
|
||||
var oXmlHttp = zXmlHttp.createRequest();
|
||||
var sURL = "grantcardno.php?userid=" + userid;
|
||||
var sURL = "inside/grantcardno.php?userid=" + userid;
|
||||
oXmlHttp.open("get", sURL, true);
|
||||
oXmlHttp.onreadystatechange = function() {
|
||||
if (oXmlHttp.readyState == 4){
|
||||
@@ -151,7 +151,7 @@ function setOrderDeliveryStatus(orderid) {
|
||||
var value = input.value;
|
||||
|
||||
var oXmlHttp = zXmlHttp.createRequest();
|
||||
var sURL = "setorderdelivery.php?orderid=" + orderid + "&newstatusid=" + value;
|
||||
var sURL = "inside/setorderdelivery.php?orderid=" + orderid + "&newstatusid=" + value;
|
||||
oXmlHttp.open("get", sURL, true);
|
||||
oXmlHttp.onreadystatechange = function() {
|
||||
if (oXmlHttp.readyState == 4) {
|
||||
@@ -180,7 +180,7 @@ function setWeekText(sText, iId, sType) {
|
||||
|
||||
var oXmlHttp = zXmlHttp.createRequest();
|
||||
sText = escape(sText);
|
||||
var sURL = "setweekprogramtext.php?wid=" + iId + "&text=" + sText + "&type=" + sType;
|
||||
var sURL = "inside/setweekprogramtext.php?wid=" + iId + "&text=" + sText + "&type=" + sType;
|
||||
oXmlHttp.open("get", sURL, true);
|
||||
oXmlHttp.onreadystatechange = function() {
|
||||
if (oXmlHttp.readyState == 4){
|
||||
|
||||
Reference in new issue
Block a user