Server=localhost
Port=8000
ServerPassword=source2parisson
-ServerMountpoint=/My_station_-_CRFPA_-_Procédure_civile_-_Cours.ogg
+ServerMountpoint=/My_station_-_CRFPA_-_Note_de_synthese_-_Corrections.ogg
ServerPublic=0
AutomaticReconnectSecs=10
Encode=OggVorbis
ExternalFile=/home/pre-barreau/augustins/audio/
#YP Settings
ServerStreamURL=http://www.pre-barreau.com
-ServerName=My_station_-_CRFPA_-_Procédure_civile_-_Cours_-_2
-ServerDescription=My_station_-_CRFPA_-_Procédure_civile_-_Cours_-_2_-_qgf_-_sdg
+ServerName=My_station_-_CRFPA_-_Note_de_synthese_-_Corrections_-_1
+ServerDescription=My_station_-_CRFPA_-_Note_de_synthese_-_Corrections_-_1_-_azdf_-_zaed
ServerGenre=Teaching
#Advanced Settings
LogLevel=1
#print self.departments
#self.courses = self.conf['department']['courses']
self.len_departments = len(self.departments)
+ self.course_nb_max = 40
def header(self):
# Required header that tells the browser how to render the HTML.
print ' case '+str(k+1)+' : var text = new Array('+courses+'); '
print ' break;'
print ' }'
- print ' for(j = 0; j<50; j++)'
+ print ' for(j = 0; j<'+str(self.course_nb_max)+'; j++)'
print ' formulaire.course.options[j+1].text=text[j];'
#print ' formulaire.course.options[j+1].value=text[j];'
print '}'
print "\t\t<TR><TH align=\"left\">Intitulé du cours :</TH>"
print "<TD><select name=\"course\">"
print "<option selected>...........Choisissez un intitulé...........</option>"
- for i in range(1,50):
+ for i in range(1,self.course_nb_max):
print "<option></option>"
print "</select></TD></TR>"