Changeset 157 for Dev/trunk/returnStep.php
- Timestamp:
- 11/18/11 09:33:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/returnStep.php
r155 r157 39 39 40 40 function processUid($uid) { 41 $dbi = new DatabaseInterface(); 41 42 if ($uid == "123") { // test case for when steps aren't actually working 42 43 $imageURL = "images/icons/unknowntype.png"; … … 67 68 } 68 69 69 if ( result != null) {70 if ($result != null) { 70 71 $applications = $dbi->get("Application", array("uid" => $uid)); 71 72 if (count($applications) > 0) { … … 78 79 } 79 80 80 if ( result != null) {81 if ($result != null) { 81 82 $dashboards = $dbi->get("Dashboard", array("uid" => $uid)); 82 83 if (count($dashboards) > 0) { … … 111 112 112 113 //echo out the HTML markup 113 $responsePart = '<div class="displayStep" id="' . $result->uid . '" onClick="selectStep(this.id);"><div class="displayStepIcon"><img src="' . $imageURL . '" /></div>' . $result-> name . '</div>';114 $responsePart = '<div class="displayStep" id="' . $result->uid . '" onClick="selectStep(this.id);"><div class="displayStepIcon"><img src="' . $imageURL . '" /></div>' . $result->title . '</div>'; 114 115 return $responsePart; 115 116 }
Note: See TracChangeset
for help on using the changeset viewer.