#!/usr/local/bin/python
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# C Y B E R C H A I R V E R S I O N 4 #
# #
# Copyright (c) University of Twente, The Netherlands #
# http://www.utwente.nl #
# Author: Richard van de Stadt (cyberchair@borbala.com) #
# Department of Computer Science #
# TRESE Group (http://trese.cs.utwente.nl) #
# and #
# Borbala Online Conference Services #
# http://www.borbala.com #
# #
# A demo system has been installed at http://www.cyberchair.org #
# #
# This program is free software. It is part of CyberChair, a system to #
# manage online submissions and reviews. You can redistribute it and/or #
# modify it under the terms of the GNU General Public License as published #
# by the Free Software Foundation; either version 2 of the License, or (at #
# your option) any later version. This copyright text must stay in this file. #
# Please send modifications you make to cyberchair@cs.utwente.nl, so that #
# others may profit from them. #
# #
# If you use CyberChair, it would be nice if you mention its use on your #
# conference or workshop website and in the proceedings. Please send a copy #
# of the proceedings to: #
# #
# University of Twente #
# Department of Computer Science #
# Richard R. van de Stadt #
# P.O. Box 217 or Drienerlolaan 5 #
# 7500 AE Enschede 7522 NB Enschede #
# The Netherlands #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# This version of CyberChair was created on Mon May 19 17:59:49 2003
# by request of Adam Stephens (unixadmin@ilrt.org) from
# Organization: University of Bristol
# Conference of workshop: The 2003 UK Workshop on Computational Intelligence
# (UKCI2003)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# @(#) June, 2003
# Script modified to expand reviewer's HTML form.
#
# @(#) Feb 16, 1999
# This script shows a review form of a given reviewer for a given paper.
# The review is shown as a HTML form. If called as 'showreview.py',
# then the submit-button will not be shown.
#
# @(#) Dec 13, 1999; adapted for ECOOP 2000
# Main fields are not filled in by the reviewers, so removed
# Further, for security, the review form is first generated
# in the reviewers' page, and then shown if the link is
# clicked.
import cgi, string, sys
import traceback
from generic import white, header, footer, get_paperreviewers, get_reviewerinfo, get_review, get_nrofreviews, fieldseparator, openforread
from constantsNew import processreviewformprog, conferencename, revinfofieldseparator, maintaineremail
from reviewfieldnames import *
from revinfodatafieldnames import *
from datafieldnames import *
def boldreviewer(identifier, filledin, color):
return '' + identifier + '' + str(filledin) + ' '
def hiddenfield(what, value):
return ''
def askable(reviewernr, paperno, versionno):
askstr = ''
askstr = askstr + hiddenfield('reviewer_number', reviewernr)
askstr = askstr + hiddenfield('paper_number', paperno)
askstr = askstr + hiddenfield('version_number', versionno)
return askstr
def reviewer(reviewer, reviewernr, title, CP, paperno, evaluationversion):
from generic import getReviewModifyTime
revstr = ''
revstr = revstr + '
'
revstr = revstr + askable(reviewernr, paperno, evaluationversion)
return revstr
def boldstring(astring, initval):
if initval == "":
color = "red" #topic has not been filled in
else:
color = "green" #topic has been filled in
return '' + astring + ''
def option(astring):
return '