mirror of https://github.com/BOINC/boinc.git
- web: fix bug in column-mode prefs display
svn path=/trunk/boinc/; revision=19685
This commit is contained in:
parent
f8e6ad4e59
commit
617b456df8
|
@ -9453,3 +9453,9 @@ Charlie 23 Nov 2009
|
|||
GR-ReadMe.rtf
|
||||
PTP-ReadMe.rtf
|
||||
ReadMe.rtf
|
||||
|
||||
David 23 Nov 2009
|
||||
- web: fix bug in column-mode prefs display
|
||||
|
||||
html/inc/
|
||||
prefs.inc
|
||||
|
|
|
@ -575,9 +575,9 @@ function hour_range($venue, $type) {
|
|||
//
|
||||
function row_defs($pre, $item, $post, $type, $prefs) {
|
||||
$gen = $prefs->$item;
|
||||
$hom = (isset($prefs->home) && isset($prefs->home->item)) ? $prefs->home->$item : "--";
|
||||
$schl = (isset($prefs->school) && isset($prefs->school->item)) ? $prefs->school->$item : "--";
|
||||
$wrk = (isset($prefs->work) && isset($prefs->work->item)) ? $prefs->work->$item : "--";
|
||||
$hom = (isset($prefs->home) && isset($prefs->home->$item)) ? $prefs->home->$item : "--";
|
||||
$schl = (isset($prefs->school) && isset($prefs->school->$item)) ? $prefs->school->$item : "--";
|
||||
$wrk = (isset($prefs->work) && isset($prefs->work->$item)) ? $prefs->work->$item : "--";
|
||||
|
||||
echo "<tr><td class=fieldname>$pre</td>";
|
||||
row_field($gen, $type);
|
||||
|
|
Loading…
Reference in New Issue