Subversion Repositories VORC

Rev

Rev 212 | Rev 226 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 212 Rev 222
Line 350... Line 350...
350
					} else {
350
					} else {
351
						$F->{EMTVerified} = "False"."  ".$h->input ({ type=>"submit", name=>"submit", value=>"Verify" });
351
						$F->{EMTVerified} = "False"."  ".$h->input ({ type=>"submit", name=>"submit", value=>"Verify" });
352
	      	}
352
	      	}
353
        }
353
        }
354
      }
354
      }
-
 
355
      if ($F->{department}->{COA} >= RollerCon::USER) {
-
 
356
        ($F->{bio}) = $dbh->selectrow_array ("select concat(left(bio, 24), if(length(bio)>16, '...', '')) as truncated_bio from coach_bio where RCid = ?", undef, $F->{RCid});
-
 
357
        if ($ORCUSER->{RCid} eq $F->{RCid} or $ORCUSER->{access} >= RollerCon::SYSADMIN) {
-
 
358
          $F->{bio} .= $h->input ({ type=>"button", value=>"Edit", onClick=>"window.location.href='view_coach_bio.pl?RCid=$F->{RCid}&choice=Update'; return false;" });
-
 
359
        }
-
 
360
      }
355
      $F->{access} = $AccessLevel->{$F->{access}};
361
      $F->{access} = $AccessLevel->{$F->{access}};
356
      $F->{showme} = $F->{showme} ? "True" : "False";
362
      $F->{showme} = $F->{showme} ? "True" : "False";
357
      $F->{'password'} = "*******";
363
      $F->{'password'} = "*******";
358
      $F->{buttons}   = $h->input ({ type=>"hidden", name=>"RCid", value=>$F->{'RCid'} }).$h->input ({ type=>"submit", name=>"submit", value=>"Edit" });
364
      $F->{buttons}   = $h->input ({ type=>"hidden", name=>"RCid", value=>$F->{'RCid'} }).$h->input ({ type=>"submit", name=>"submit", value=>"Edit" });
Line 444... Line 450...
444
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "Database ID: ",             $F->{RCid}) ]),
450
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "Database ID: ",             $F->{RCid}) ]),
445
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "User Added: ",              $F->{added}) ]),
451
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "User Added: ",              $F->{added}) ]),
446
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "Last Login: ",              $F->{last_login}) ]),
452
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "Last Login: ",              $F->{last_login}) ]),
447
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "vORC Access Level: ",       $F->{access}) ]),
453
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "vORC Access Level: ",       $F->{access}) ]),
448
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "MVP Pass: ",                $F->{MVPid}) ]),
454
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "MVP Pass: ",                $F->{MVPid}) ]),
449
        exists $F->{EMTVerified} ? $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "EMT Verified: ",                $F->{EMTVerified}) ]) : "",
455
        exists $F->{EMTVerified} ? $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "EMT Verified: ", $F->{EMTVerified}) ]) : "",
-
 
456
        exists $F->{bio} ? $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr", style=>"font-size: unset;" }, "Coach Bio: ",            $F->{bio}) ]) : "",
450
        @printDepartments,
457
        @printDepartments,
451
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCell" }, " ") ]),
458
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCell" }, " ") ]),
452
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr" }, $h->a ({ href=>$goback }, "[go back]"), $F->{buttons}) ])
459
        $h->div ({ class=>"rTableRow" },[ $h->div ({ class=>"rTableCellr" }, $h->a ({ href=>$goback }, "[go back]"), $F->{buttons}) ])
453
      ])
460
      ])
454
    ])
461
    ])