summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-06-29 18:00:44 -0400
committerEudyptula <eitan@mosenkis.net>2009-06-29 18:00:44 -0400
commitd0172b464174f6ebc17a93f84e901618dd648adc (patch)
tree8e64402243d5b9a2e9dd8564dc1fcfba0fa8fb25 /shared
parentAdded an send invitations form to frontend and email notifications to backend (diff)
downloadingenue-d0172b464174f6ebc17a93f84e901618dd648adc.tar.gz
ingenue-d0172b464174f6ebc17a93f84e901618dd648adc.tar.bz2
ingenue-d0172b464174f6ebc17a93f84e901618dd648adc.zip
Added image format option to frontend, tbz2 and preliminary Install CD and LiveCD support to backend
Diffstat (limited to 'shared')
-rw-r--r--shared/classes/build.php2
-rw-r--r--shared/classes/buildopt.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/shared/classes/build.php b/shared/classes/build.php
index fd02aa9..3d37ec3 100644
--- a/shared/classes/build.php
+++ b/shared/classes/build.php
@@ -90,7 +90,7 @@ class sql_build extends sql_row_obj {
} elseif ($status[1]='running') {
// Add link to regular log viewer?
// Build stage X
- $html.='<span class="status building">[building]</span><br/><span class="links"><a href="'.url('logs/'.$this->id.'/live').'">Watch</a></span>';
+ $html.='<span class="status building">[building]</span><br/><span class="links"><a href="'.url('logs/'.$this->id.'/live').'">Watch</a> &bull; <a href="'.url('logs/'.$this->id).'"> Build log</a></span>';
} else {
throw_exception('Unrecognized build status '.$this->status);
}
diff --git a/shared/classes/buildopt.php b/shared/classes/buildopt.php
index b4b5226..68dc3cd 100644
--- a/shared/classes/buildopt.php
+++ b/shared/classes/buildopt.php
@@ -1,6 +1,6 @@
<?php
class sql_buildopt extends sql_row_obj {
- protected $table='buildopts', $columns=array(
+ protected $table='buildopts', $primary_key=array('build', 'name'), $columns=array(
'build' => array (
'type' => 'CHAR',
'length' => 6,