<?php
if (isset($modified)) {
?>
<form method="POST">
<table>
<thead>
<tr><th>Project Id</th><th>Potential Creators</th></tr>
</thead>
<tbody>
<?php
foreach($modified as $projectId => $users) {
echo '<tr><td>' . $projectId . '</td><td>';
if (is_array($users)) {
echo '<select name=creators[' . $projectId .']>';
foreach ($users as $user) {
echo '<option value="' . $user . '">' . $user .'</option>';
}
echo '</select>';
} else {
echo '<input name="creators[' . $projectId. ']" type="hidden" value="' . $users .'">' . $users;
}
echo '</td></tr>';
}
?>
</tbody>
</table>
<p>Yes, I want to proceed! <input type="checkbox" name="confirm" value="proceed"/> </p>
<input type="submit">
</form>
<?php
} else {
echo "Projects updated with creators as specified.";
}
?>
# |
Change |
User |
Description |
Committed |
|
#1
|
24084 |
simonrenger |
"Forking branch Main of perforce-software-workshop to simonrenger-workshop." |
|
|
//guest/perforce_software/workshop/main/frontpage/module/Frontpage/view/frontpage/index/updateprojects.phtml |
#1
|
15568 |
Matt Attaway |
Move all of the workshop files into main branch to make Workshop happy |
|
|
//guest/perforce_software/workshop/frontpage/module/Frontpage/view/frontpage/index/updateprojects.phtml |
#1
|
10190 |
Matt Attaway |
Publish the Workshop FrontPage module for others to use. |
|
|