]> git.parisson.com Git - telemeta.git/commitdiff
* Add dependency : python-imaging (>= 1.1.6)
authoryomguy <>
Wed, 27 Aug 2008 21:22:18 +0000 (21:22 +0000)
committeryomguy <>
Wed, 27 Aug 2008 21:22:18 +0000 (21:22 +0000)
debian/control
telemeta/htdocs/js/multiform.js [new file with mode: 0644]

index eef2968c7238a11c6337ebe5d8ce744ec2c7866c..2dbf0e8292ba05fd32bd1d02a66686e1715336a2 100644 (file)
@@ -8,7 +8,7 @@ Standards-Version: 3.7.3
 
 Package: telemeta
 Architecture: any
-Depends: ${python:Depends}, python-xml, python-mutagen, python-django (>= 0.96.2), sox, vorbis-tools, flac, normalize-audio, python-mysqldb, mysql-server, octave2.9, python-tk, libgd2-xpm, libsndfile1 (>= 1.0.17), python-numpy, python-ctypes (>= 1.0.1), vamp-examples
+Depends: ${python:Depends}, python-xml, python-mutagen, python-django (>= 0.96.2), python-imaging (>= 1.1.6), sox, vorbis-tools, flac, normalize-audio, python-mysqldb, mysql-server, octave2.9, python-tk, libgd2-xpm, libsndfile1 (>= 1.0.17), python-numpy, python-ctypes (>= 1.0.1), vamp-examples
 Recommends: lame
 Suggests: ecasound, festival, par2
 Description: web frontend to backup, transcode and tag any audio content with metadata
diff --git a/telemeta/htdocs/js/multiform.js b/telemeta/htdocs/js/multiform.js
new file mode 100644 (file)
index 0000000..b3c9fcf
--- /dev/null
@@ -0,0 +1,24 @@
+function choix(formulaire)
+    {
+    var j;
+    var i = formulaire.department.selectedIndex;
+    if (i == 0)
+        for(j = 1; j < '+ str(self.len_departments) + '; j++)
+            formulaire.conference.options[j].text="";
+    else{
+        switch (i){
+        for k in range(0, self.len_departments):
+            department = self.departments[k]
+            conferences = department['conferences']
+            #print conferences
+            conferences_t = dict2tuple(conferences)
+            #print conferences
+            conferences = '"'+'","'.join(conferences_t)+'"'
+            case '+str(k+1)+' : var text = new Array('+conferences+');
+            break;
+        }
+    for(j = 0; j<'+str(self.conference_nb_max)+'; j++)
+        formulaire.conference.options[j+1].text=text[j];
+        formulaire.conference.options[j+1].value=text[j];
+    }
+formulaire.conference.selectedIndex=0;}