|
From: <ara...@us...> - 2007-03-09 16:06:53
|
Revision: 93
http://svn.sourceforge.net/easybox-mod/?rev=93&view=rev
Author: aragornis
Date: 2007-03-09 08:06:45 -0800 (Fri, 09 Mar 2007)
Log Message:
-----------
Introduction des zones de texte dynamiques
R?\195?\169paration du module horloge
Miscellanius et surprises ^^
R?\195?\169paration de la lecture des photos
Modified Paths:
--------------
trunk/http-vlc/lecteur/play.html
trunk/module/_explorateur/explorateur.tpl
trunk/module/diaporama/explorateur_photo.tpl
trunk/module/films/films.tpl
trunk/module/films/info.php
trunk/module/films/lecture.php
trunk/module/horloge/index1.php
trunk/module/modules/modules.tpl
trunk/settings.html
trunk/skin/simple/interface.tpl
trunk/skin/simplegreen/interface/Thumbs.db
trunk/skin/simplegreen/interface.tpl
Modified: trunk/http-vlc/lecteur/play.html
===================================================================
--- trunk/http-vlc/lecteur/play.html 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/http-vlc/lecteur/play.html 2007-03-09 16:06:45 UTC (rev 93)
@@ -1,164 +1,164 @@
-<!-- Recuperation des variables -->
-<vlc id="rpn" param1="mrl 'mrl' url_extract store" />
-<vlc id="rpn" param1="type 'type' url_extract store" />
-<vlc id="rpn" param1="qfile '\'' mrl value strcat '\'' strcat store" />
-
-<!-- Fichiers videos -->
-<!-- audio/video Lecture d'un fichier dans la playlist - Type 0 -->
- <vlc id="if" param1="type value 0 =" />
- <vlc id="rpn" param1="mrl value vlc_play" />
- <vlc id="end" />
-
-<!-- audio/video joue et transcode normalement TV - Type 1 -->
- <vlc id="if" param1="type value 1 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- audio/video ajoute et transcode normalement TV - Type 2 -->
- <vlc id="if" param1="type value 2 =" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" />
- <vlc id="end" />
-
-<!-- audio/video joue et transcode avec sortie sur PC - Type 3 -->
- <vlc id="if" param1="type value 3 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- audio/video ajoute et transcode avec sortie sur PC - Type 4 -->
- <vlc id="if" param1="type value 4 =" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" />
- <vlc id="end" />
-
-<!-- audio/video joue et transcode avec sortie en AC3 - Type 5 -->
- <vlc id="if" param1="type value 5 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- audio/video ajoute et transcode avec sortie en AC3 - Type 6 -->
- <vlc id="if" param1="type value 6 =" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" />
- <vlc id="end" />
-
-<!-- messagerie audio - Type 7 -->
- <vlc id="if" param1="type value 7 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=48000' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- Fichiers photos -->
-
-<!-- photo jouee normalement - Type 20 -->
- <vlc id="if" param1="type value 20 =" />
- <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
- <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-
-<!-- photo ajoutee normalement - Type 21 -->
- <vlc id="if" param1="type value 21 =" />
- <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
- <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add" />
- <vlc id="end" />
-
-
-<!-- playlist de photo jouee normalement - Type 22 -->
- <vlc id="if" param1="type value 22 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
- <vlc id="rpn" param1="qfile value mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- playlist de photo ajoutee normalement - Type 23 -->
- <vlc id="if" param1="type value 23 =" />
- <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
- <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
- <vlc id="rpn" param1="qfile value mrl value playlist_add" />
- <vlc id="end" />
-
-
-<!-- DVDs -->
-
-<!-- dvd joue normalement - transcodage audio - Type 30 -->
- <vlc id="if" param1="type value 30 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- dvd joue normalement - sortie audio PC - Type 31 -->
- <vlc id="if" param1="type value 31 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- dvd joue normalement - Sortie AC3 audio - Type 32 -->
- <vlc id="if" param1="type value 32 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- dvd ajoute normalement - transcodage audio - Type 33 -->
- <vlc id="if" param1="type value 33 =" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" />
- <vlc id="end" />
-
-<!-- dvd ajoute normalement - sortie audio PC - Type 34 -->
- <vlc id="if" param1="type value 34 =" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" />
- <vlc id="end" />
-
-<!-- dvd ajoute normalement - Sortie AC3 audio - Type 35 -->
- <vlc id="if" param1="type value 35 =" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" />
- <vlc id="end" />
-<!-- MMS -->
-
-<!-- MMS - Sortie TV - Type 40 -->
- <vlc id="if" param1="type value 40 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- MMS - Sortie PC - Type 41 -->
- <vlc id="if" param1="type value 41 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=512 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- MMS - Sortie AC3 - Type 42 -->
- <vlc id="if" param1="type value 42 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" />
- <vlc id="end" />
-
-<!-- Vide la playlist - Type 999 -->
- <vlc id="if" param1="type value 999 =" />
- <vlc id="rpn" param1="vlc_stop" />
- <vlc id="rpn" param1="playlist_empty" />
- <vlc id="end" />
+<!-- Recuperation des variables -->
+<vlc id="rpn" param1="mrl 'mrl' url_extract store" />
+<vlc id="rpn" param1="type 'type' url_extract store" />
+<vlc id="rpn" param1="qfile '\'' mrl value strcat '\'' strcat store" />
+
+<!-- Fichiers videos -->
+<!-- audio/video Lecture d'un fichier dans la playlist - Type 0 -->
+ <vlc id="if" param1="type value 0 =" />
+ <vlc id="rpn" param1="mrl value vlc_play" />
+ <vlc id="end" />
+
+<!-- audio/video joue et transcode normalement TV - Type 1 -->
+ <vlc id="if" param1="type value 1 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- audio/video ajoute et transcode normalement TV - Type 2 -->
+ <vlc id="if" param1="type value 2 =" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" />
+ <vlc id="end" />
+
+<!-- audio/video joue et transcode avec sortie sur PC - Type 3 -->
+ <vlc id="if" param1="type value 3 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- audio/video ajoute et transcode avec sortie sur PC - Type 4 -->
+ <vlc id="if" param1="type value 4 =" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=a52 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" />
+ <vlc id="end" />
+
+<!-- audio/video joue et transcode avec sortie en AC3 - Type 5 -->
+ <vlc id="if" param1="type value 5 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- audio/video ajoute et transcode avec sortie en AC3 - Type 6 -->
+ <vlc id="if" param1="type value 6 =" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-channels=6 :sout-transcode-acodec=a52 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay' strcat mrl value playlist_add" />
+ <vlc id="end" />
+
+<!-- messagerie audio - Type 7 -->
+ <vlc id="if" param1="type value 7 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=48000' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- Fichiers photos -->
+
+<!-- photo jouee normalement - Type 20 -->
+ <vlc id="if" param1="type value 20 =" />
+ <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
+ <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+
+<!-- photo ajoutee normalement - Type 21 -->
+ <vlc id="if" param1="type value 21 =" />
+ <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
+ <vlc id="rpn" param1="'fake: :sout=#transcode:std :sout-transcode-width=720 :sout-transcode-height=576 :sout-transcode-vb=4096 :sout-transcode-vcodec=mp2v :sout-transcode-vfilter=deinterlace :sout-deinterlace-mode=blend :sout-transcode-vb=9000 :sout-transcode-vcodec=mp2v :sout-ffmpeg-keyint=8 :sout-ffmpeg-interlace :no-sout-ffmpeg-interlace-me :fake-aspect-ratio=4:3 :fake-keep-ar :fake-deinterlace :deinterlace-mode=blend :fake-file=' mrl value strcat mrl value playlist_add" />
+ <vlc id="end" />
+
+
+<!-- playlist de photo jouee normalement - Type 22 -->
+ <vlc id="if" param1="type value 22 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
+ <vlc id="rpn" param1="qfile value mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- playlist de photo ajoutee normalement - Type 23 -->
+ <vlc id="if" param1="type value 23 =" />
+ <vlc id="rpn" param1="0 loop 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 random 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="0 repeat 'VLC_OBJECT_PLAYLIST' vlc_var_set"/>
+ <vlc id="rpn" param1="'temps' url_extract 'fake-duration' vlc_config_set" />
+ <vlc id="rpn" param1="qfile value mrl value playlist_add" />
+ <vlc id="end" />
+
+
+<!-- DVDs -->
+
+<!-- dvd joue normalement - transcodage audio - Type 30 -->
+ <vlc id="if" param1="type value 30 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- dvd joue normalement - sortie audio PC - Type 31 -->
+ <vlc id="if" param1="type value 31 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- dvd joue normalement - Sortie AC3 audio - Type 32 -->
+ <vlc id="if" param1="type value 32 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- dvd ajoute normalement - transcodage audio - Type 33 -->
+ <vlc id="if" param1="type value 33 =" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=256 :sout-transcode-acodec=mpga :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" />
+ <vlc id="end" />
+
+<!-- dvd ajoute normalement - sortie audio PC - Type 34 -->
+ <vlc id="if" param1="type value 34 =" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" />
+ <vlc id="end" />
+
+<!-- dvd ajoute normalement - Sortie AC3 audio - Type 35 -->
+ <vlc id="if" param1="type value 35 =" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-soverlay :sout-transcode-vt=1000000 :sout-transcode-fps=25.0' strcat mrl value playlist_add" />
+ <vlc id="end" />
+<!-- MMS -->
+
+<!-- MMS - Sortie TV - Type 40 -->
+ <vlc id="if" param1="type value 40 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=256 :sout-transcode-channels=2 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- MMS - Sortie PC - Type 41 -->
+ <vlc id="if" param1="type value 41 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout=#duplicate{dst=transcode:std,select=video,dst=display,select=audio} :sout-transcode-vcodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vb=4096 :sout-transcode-acodec=mpga :sout-transcode-ab=512 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- MMS - Sortie AC3 - Type 42 -->
+ <vlc id="if" param1="type value 42 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="rpn" param1="qfile value ' :sout=#transcode:std :sout-transcode-vcodec=mp2v :sout-transcode-vb=4096 :sout-transcode-ab=512 :sout-transcode-acodec=a52 :sout-transcode-channels=6 :sout-transcode-samplerate=44100 :sout-transcode-vt=1000000 :sout-transcode-fps=25.0 :file-caching=1000 :sout-transcode-soverlay :mms-caching=5000 :http-caching=5000 :http-reconnect' strcat mrl value playlist_add vlc_play" />
+ <vlc id="end" />
+
+<!-- Vide la playlist - Type 999 -->
+ <vlc id="if" param1="type value 999 =" />
+ <vlc id="rpn" param1="vlc_stop" />
+ <vlc id="rpn" param1="playlist_empty" />
+ <vlc id="end" />
Modified: trunk/module/_explorateur/explorateur.tpl
===================================================================
--- trunk/module/_explorateur/explorateur.tpl 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/module/_explorateur/explorateur.tpl 2007-03-09 16:06:45 UTC (rev 93)
@@ -100,13 +100,13 @@
{if $MIN!=0}
{assign var=temp value=$MIN-$NUM_ROW_AFFICH|max:0}
-<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN-$NUM_ROW_AFFICH|max:0}&directory={$REP|urlencode}&mode={$MODE}"><font size=2>Pr\xE9c\xE9dent</font></a> <a href="{$PAGE_EXPLO}?start=0&directory={$REP|urlencode}&mode={$MODE}"><font size=2>D\xE9but du r\xE9pertoire</font></a></td></tr>
+<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN-$NUM_ROW_AFFICH|max:0}&directory={$REP|urlencode}&mode={$MODE}" onfocus='aide="Page pr\xE9c\xE9dente";'><font size=2>Pr\xE9c\xE9dent</font></a> <a href="{$PAGE_EXPLO}?start=0&directory={$REP|urlencode}&mode={$MODE}"><font size=2>D\xE9but du r\xE9pertoire</font></a></td></tr>
{attribbouton touche="green" lien="$PAGE_EXPLO?start=$temp&directory=$rep_encoded&mode=$MODE"}
{/if}
{if $Nb_rep_path >='2' AND $MIN==0}
{assign var=temp value=$REP|dirname|realpath|urlencode}
-<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_jaune.gif" border="0"> <a focused href="{$PAGE_EXPLO}?directory={$REP|dirname|realpath|urlencode}&mode={$MODE}"><font size="2">Dossier parent</font></a></td></tr>
+<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_jaune.gif" border="0"> <a focused href="{$PAGE_EXPLO}?directory={$REP|dirname|realpath|urlencode}&mode={$MODE}" onfocus='aide="Dossier parent";'><font size="2">Dossier parent</font></a></td></tr>
{attribbouton touche="yellow" lien="$PAGE_EXPLO?directory=$temp&mode=$MODE"}
{elseif $Nb_rep_path >='2'}
{assign var=temp value=$REP|dirname|realpath|urlencode}
@@ -130,7 +130,7 @@
{/section}
{if $MIN+$smarty.section.files.total<count($T_affich)}
-<tr><td colspan="2"><table><tr><td><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN+$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}"><font size=2>Suivant</font></a> - <font size=2><a href="{$PAGE_EXPLO}?start={$N_affich-$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}">Fin du r\xE9pertoire</a> - Page {$MIN/$NUM_ROW_AFFICH+1|ceil} / {$N_affich/$NUM_ROW_AFFICH|ceil}</font></td>
+<tr><td colspan="2"><table><tr><td><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN+$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}" onfocus='aide="Page suivante";'><font size=2>Suivant</font></a> - <font size=2><a href="{$PAGE_EXPLO}?start={$N_affich-$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}">Fin du r\xE9pertoire</a> - Page {$MIN/$NUM_ROW_AFFICH+1|ceil} / {$N_affich/$NUM_ROW_AFFICH|ceil}</font></td>
{assign var=temp value=$MIN+$smarty.section.files.total}
{attribbouton touche="blue" lien="$PAGE_EXPLO?start=$temp&directory=$rep_encoded&mode=$MODE"}
{else}
Modified: trunk/module/diaporama/explorateur_photo.tpl
===================================================================
--- trunk/module/diaporama/explorateur_photo.tpl 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/module/diaporama/explorateur_photo.tpl 2007-03-09 16:06:45 UTC (rev 93)
@@ -35,16 +35,16 @@
{if $files[files]|in_array:$T_repertoire}
{if $DOS}
- <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td>
+ <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td>
{else}
- <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:26:"":true|wordwrap:15:"<br>":true|strip_delimiters}</font></td></tr></table></a></td>
+ <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td>
{/if}
- {else}
+ {else}
{assign var="dim" value=$REP|cat:'/'|cat:$files[files]|getimagesize}
{assign var="newdim" value=$dim.0|get_size:$dim.1}
- <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:26:"":true|wordwrap:15:"<br>":true|strip_delimiters}</font></td></tr></table></a></td>
- {/if}
+ <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}" onfocus='aide="{$files[files]|strip_delimiters}";'><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:20:"":true|wordwrap:10:"<br>":true|strip_delimiters}</font></td></tr></table></a></td>
+ {/if}
{if $smarty.section.files.iteration is div by 5 AND NOT $smarty.section.files.last}
Modified: trunk/module/films/films.tpl
===================================================================
--- trunk/module/films/films.tpl 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/module/films/films.tpl 2007-03-09 16:06:45 UTC (rev 93)
@@ -34,24 +34,31 @@
<input type=radio name=video bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistev.1} checked{/if}>{$pistev.0}<br>
{/foreach}
<br>Post-traitement
- - <input type="hslider" bgcolor="{#COULEUR_FOND_RADIO#}" name="pp" min="0" max="6" grad="1" value="{$pp_video}"> +
+<select name="pp">
+<option value=1 {if $pp_video==1}selected{/if}>1
+<option value=2 {if $pp_video==2}selected{/if}>2
+<option value=3 {if $pp_video==3}selected{/if}>3
+<option value=4 {if $pp_video==4}selected{/if}>4
+<option value=5 {if $pp_video==5}selected{/if}>5
+<option value=6 {if $pp_video==6}selected{/if}>6
+</select>
+
Augmenter la qualit\xE9 du traitement de l'image (de 0 vers 6) demande plus de puissance CPU.
<br>
-<table width="250" align="left">
-<tr><td width="130">4/3 Letterbox</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=letterbox></td></tr>
-<tr><td width="130">4/3 Combined</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=combined></td></tr>
-<tr><td width="130">4/3 Pan Scan</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=panscan></td></tr>
-<tr><td width="130">16/9</td><td><input type=radio bgcolor="{#COULEUR_FOND_RADIO#}" name=display_aspect_ratio_conversion value=ignore></td></tr>
-</table>
+<select name=display_scaling>
+<option value=letterbox>Letterbox
+<option value=panscan>Pan Scan
+<option value=fullscreen>Fullscreen
+</select>
-<table width="250" align="left">
+<table width="500" align="left">
<tr><td width="90">Lumi\xE9re</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_brightness min=0 max=255 grad=16></td></tr>
<tr><td width="90">Contraste</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_contrast min='-128' max=127 grad=16></td></tr>
<tr><td width="90">Couleur</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=denc_saturation min=0 max=255 grad=16></td></tr>
-<tr><td width="90">Zoom</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=video_output_scale min=25 max=100 grad=5></td></tr>
+<tr><td width="90">Zoom</td><td width="5">:</td><td><input bgcolor="{#COULEUR_FOND_RADIO#}" type=hslider name=video_output_scale min=25 max=150 grad=5></td></tr>
</table>
-
+<br>
<input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications">
</form>
@@ -59,10 +66,14 @@
<font size="3"><u>Options audio</u></font><br>
<form action="info.php" method="get"><input type=hidden name=module value=audio><input type=hidden name=var value="audio-es"><br>
- {foreach from=$audio item=pistea key=key name=audio}
- <input type=radio name=audio bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistea.1} checked{/if}>{$pistea.0}<br>
- {/foreach}</form>
- <br><form action="none">
+ <select name="audio">
+ {foreach from=$audio item=pistea key=key name=audio}
+ <option value={$key} {if $pistea.1}selected{/if}>{$pistea.0}
+ {*<input type=radio name=audio bgcolor="{#COULEUR_FOND_RADIO#}" value="{$key}" {if $pistea.1} checked{/if}>{$pistea.0}<br>*}
+ {/foreach}
+ </select>
+ </form>
+ <br> <br><form action="none">
<input type="radio" name="aud" value="69(en,mp2)" bgcolor="{#COULEUR_FOND_RADIO#}"> Son st\xE9r\xE9o<br>
<input type="radio" name="aud" value="69(en,ac3)" bgcolor="{#COULEUR_FOND_RADIO#}"> Dolby Digital (S/PDIF)<br>
<br><input bgcolor="{#COULEUR_TEXTBOX#}" type=submit value="Valider les modifications">
@@ -153,7 +164,7 @@
{section name=foo1 start=1 loop=$stream_3 step=1}
{assign var=time value="`$smarty.section.foo1.iteration*$largeursautmoins`"}
{assign var=heure value=$time|date_format:"%H"}
-<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td>
+<td width="5"><a onfocus='front_panel="{$time|calcul_hours|cleanaff}";temp_affich="{$time|calcul_hours}";' onBlur='front_panel="{$original_front|calcul_hours|cleanaff}";temp_affich="{$temps_affich}";' href="info.php?heures={$heure-1}&minutes={$time|date_format:"%M"}&secondes={$time|date_format:"%S"}"><table border="0" cellpadding="0" cellspacing="0" bgcolor="#BDBDC23f" abgcolor="#0000003f"><tr><td><img src="" width="5" height="5" border="0"></td></tr></table></a></td>
{/section}
@@ -201,7 +212,7 @@
<input name=secondes bgcolor="{#COULEUR_TEXTBOX#}" type=text value="" size=2 maxlength=2> sec
</form>
</td>
-<td><font size="1" color="#ffffff3f">{$temps_affich}</font>
+<td><font size="1" color="#ffffff3f"><var name=temps_affich width=200></font>
</td>
</tr></table></td>
</tr>
Modified: trunk/module/films/info.php
===================================================================
--- trunk/module/films/info.php 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/module/films/info.php 2007-03-09 16:06:45 UTC (rev 93)
@@ -15,7 +15,7 @@
}elseif($module!=''){
unset($META['refresh']);
}else{
- $META['refresh']= '30;url=lecture.php';
+ $META['blank']= '20;url=lecture.php';
}
if (isset($_REQUEST['control'])){
@@ -33,7 +33,8 @@
}else{
$META['front_panel'] = strtoupper($VLC['etat']);
}
-
+ $smarty->assign('original_front',$META['front_panel']);
+
//-- Ce deplac\xE9 a un temps definie par l'utilisateur.
if (isset($_REQUEST['heures']) OR isset($_REQUEST['minutes']) OR isset($_REQUEST['secondes'])) {
$heure = '0';
@@ -151,8 +152,8 @@
//Signets pour ce film
$db = sqlite_open($USER.'utilisateur.db', 0666);
- $mov = new ffmpeg_movie(realpath($VLC['url_current']));
- echo $mov->getFrameCount();
+ //$mov = new ffmpeg_movie(realpath($VLC['url_current']));
+ //echo $mov->getFrameCount();
$requete='SELECT * FROM signet WHERE lien="'.$signetsav[2].'" ORDER BY duree';
$result = sqlite_query($db,$requete);
@@ -173,6 +174,7 @@
}
$temps_affich=calcul_hours($VLC['duree_courante']).' / '.calcul_hours($VLC['duree_totale']).' ('.$VLC['pourcentage_courant'].'%)';
+ $META['temps_affich']= $temps_affich;
$LINK['stop']=$MODULE.'films/lecture.php?control=stop';
$LINK['play']=$MODULE.'films/lecture.php?control=pause';
Modified: trunk/module/films/lecture.php
===================================================================
--- trunk/module/films/lecture.php 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/module/films/lecture.php 2007-03-09 16:06:45 UTC (rev 93)
@@ -221,7 +221,7 @@
}
if ($act != "non")
{
- @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=2&var=spu-es&value='.$keysst[$nnn]);
+ @readfile('http://localhost:8081/lecteur/modif-config.html?type=2&type2=4&var=spu-es&value='.$keysst[$nnn]);
}
}
Modified: trunk/module/horloge/index1.php
===================================================================
--- trunk/module/horloge/index1.php 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/module/horloge/index1.php 2007-03-09 16:06:45 UTC (rev 93)
@@ -1,571 +1,14 @@
-<?php
-$RACINE_REP = "../../";
-require($RACINE_REP.'_framework/framework.php');
-
-$LINK['red']= $MODULE.'_menu/menu.php?cat=9';
-
-global $affichage,$level, $nb_joueurs, $nb_win, $fini;
-
-if ($_GET['rep']) {
- $level = $_GET['level'];
-}else{
- $level=1;
-}
-
-
-$MENU_ALT=array(
- array('lien'=>'index1.php?level=1', 'nom'=>'LEVEL 1', 'selected'=>$level=='1'),
- array('lien'=>'index1.php?level=2', 'nom'=>'LEVEL 2', 'selected'=>$level=='2'),
- array('lien'=>'index1.php?level=3', 'nom'=>'LEVEL 3', 'selected'=>$level=='3')
- );
-
-
-$affichage="";
-
-$nb_joueurs1=0;
-$nb_joueurs2=0;
-$nb_joueurs3=0;
-
- if(isset($_GET['level'])){ $level=$_GET['level']; } elseif(isset($_GET['level'])){ $level=$_GET['level']; }
- if(!isset($_GET['tour'])) { $tour=0; } else { $tour=$_GET['tour']; }
- if(isset($_GET['fini'])){ $fini = $_GET['fini']; } else { $fini=0; }
- $joue=0;
- $jouer_1=0;
- $jouer_2=0;
- $jouer_3=0;
-
- if(!isset($_GET['t11'])) { $tab[1][1]='-'; } elseif(isset($_GET['st11'])){ $tab[1][1] = 'b'; } else { $tab[1][1] = $_GET['t11']; }
- if(!isset($_GET['t12'])) { $tab[1][2]='-'; } elseif(isset($_GET['st12'])){ $tab[1][2] = 'b'; } else { $tab[1][2] = $_GET['t12']; }
- if(!isset($_GET['t13'])) { $tab[1][3]='-'; } elseif(isset($_GET['st13'])){ $tab[1][3] = 'b'; } else { $tab[1][3] = $_GET['t13']; }
- if(!isset($_GET['t21'])) { $tab[2][1]='-'; } elseif(isset($_GET['st21'])){ $tab[2][1] = 'b'; } else { $tab[2][1] = $_GET['t21']; }
- if(!isset($_GET['t22'])) { $tab[2][2]='-'; } elseif(isset($_GET['st22'])){ $tab[2][2] = 'b'; } else { $tab[2][2] = $_GET['t22']; }
- if(!isset($_GET['t23'])) { $tab[2][3]='-'; } elseif(isset($_GET['st23'])){ $tab[2][3] = 'b'; } else { $tab[2][3] = $_GET['t23']; }
- if(!isset($_GET['t31'])) { $tab[3][1]='-'; } elseif(isset($_GET['st31'])){ $tab[3][1] = 'b'; } else { $tab[3][1] = $_GET['t31']; }
- if(!isset($_GET['t32'])) { $tab[3][2]='-'; } elseif(isset($_GET['st32'])){ $tab[3][2] = 'b'; } else { $tab[3][2] = $_GET['t32']; }
- if(!isset($_GET['t33'])) { $tab[3][3]='-'; } elseif(isset($_GET['st33'])){ $tab[3][3] = 'b'; } else { $tab[3][3] = $_GET['t33']; }
-
- // on d\xE9finit les lignes qui seront test\xE9es lors du jeu
- $row1 = $tab[1][1] . $tab[1][2] . $tab[1][3];
- $row2 = $tab[2][1] . $tab[2][2] . $tab[2][3];
- $row3 = $tab[3][1] . $tab[3][2] . $tab[3][3];
- $row4 = $tab[1][1] . $tab[2][2] . $tab[3][3];
- $row5 = $tab[3][1] . $tab[2][2] . $tab[1][3];
- $row6 = $tab[1][1] . $tab[2][1] . $tab[3][1];
- $row7 = $tab[1][2] . $tab[2][2] . $tab[3][2];
- $row8 = $tab[1][3] . $tab[2][3] . $tab[3][3];
-
- // ces valeurs ne sont utiles que lors du d\xE9veloppement/ d\xE9buggage
- $ligne[1][1] = '1-1';
- $ligne[1][2] = '1-2';
- $ligne[1][3] = '1-3';
- $ligne[2][1] = '2-1';
- $ligne[2][2] = '2-2';
- $ligne[2][3] = '2-3';
- $ligne[3][1] = '3-1';
- $ligne[3][2] = '3-2';
- $ligne[3][3] = '3-3';
- $ligne[4][1] = '1-1';
- $ligne[4][2] = '2-2';
- $ligne[4][3] = '3-3';
- $ligne[5][1] = '3-1';
- $ligne[5][2] = '2-2';
- $ligne[5][3] = '1-3';
- $ligne[6][1] = '1-1';
- $ligne[6][2] = '2-1';
- $ligne[6][3] = '3-1';
- $ligne[7][1] = '1-2';
- $ligne[7][2] = '2-2';
- $ligne[7][3] = '3-2';
- $ligne[8][1] = '1-3';
- $ligne[8][2] = '2-3';
- $ligne[8][3] = '3-3';
-
- //-------------------
- // Fonction de conversion des lignes de type $tab[x][y]
- // pour ressortir la coordonn\xE9e des cases (comprise entre 1 et 3)
- //-------------------
-
- function cv($i, $j)
- {
- // si $tab[6][2] alors val1C=2 val2c=1
- if($i>3)
- {
- if($i==4 && $j==1) { $valc1=1; $valc2=1; }
- if($i==4 && $j==2) { $valc1=2; $valc2=2; }
- if($i==4 && $j==3) { $valc1=3; $valc2=3; }
- if($i==5 && $j==1) { $valc1=3; $valc2=1; }
- if($i==5 && $j==2) { $valc1=2; $valc2=2; }
- if($i==5 && $j==3) { $valc1=1; $valc2=3; }
- if($i==8 && $j==1) { $valc1=1; $valc2=3; }
- if($i==6 && $j==1) { $valc1=1; $valc2=1; }
- if($i==6 && $j==2) { $valc1=2; $valc2=1; }
- if($i==6 && $j==3) { $valc1=3; $valc2=1; }
- if($i==7 && $j==1) { $valc1=1; $valc2=2; }
- if($i==7 && $j==2) { $valc1=2; $valc2=2; }
- if($i==7 && $j==3) { $valc1=3; $valc2=2; }
- if($i==8 && $j==1) { $valc1=1; $valc2=3; }
- if($i==8 && $j==2) { $valc1=2; $valc2=3; }
- if($i==8 && $j==3) { $valc1=3; $valc2=3; }
- }
- else
- {
- $valc1=$i;
- $valc2=$j;
- }
-
- return array($valc1,$valc2);
- }
-
-
- if($tour!=0 && $fini!=true)
- {
- if($tour==1)
- {
- /*--------*/
- /* TOUR 1 */
- /*--------*/
-
- // si le joueur a jou\xE9 au centre alors on joue dans un coin
- if($tab[2][2] == 'b' && $joue != true)
- {
- $valr1 = ((rand(1,2)*2)-1);
- $valr2 = ((rand(1,2)*2)-1);
- $tab[$valr1][$valr2] = 'a';
- $joue = true;
- }
-
- // si le joueur a jou\xE9 dans un coin alors on joue au centre
- if(($tab[1][1] == 'b' | $tab[1][3] == 'b' | $tab[3][1] == 'b' | $tab[3][3] == 'b') && $joue != true)
- {
- $tab[2][2] = 'a';
- $joue = true;
- }
-
- // si le joueur a jou\xE9 au milieu d'une ligne alors on joue au centre
- if(($tab[1][2] == 'b' | $tab[2][1] == 'b' | $tab[2][3] == 'b' | $tab[3][2] == 'b') && $joue != true)
- {
- $tab[2][2] = 'a';
- $joue = true;
- }
- }
-
- elseif($tour>1 | !$tour)
- {
- if($level==3)
- {
- /*----------------------------*/
- /* PHASE 1 : PEUT ON GAGNER ? */
- /*----------------------------*/
-
- // Au d\xE9but de chaque tour, on regarde si il est possible de gagner
- for($i=1;$i<9;$i++)
- {
- $var = 'row'.$i;
- $combi = $$var;
-
- if($combi=='a-a' && $joue!=true)
- {
- $j=2;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- if($combi=='aa-' && $joue!=true)
- {
- $j=3;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- if($combi=='-aa' && $joue!=true)
- {
- $j=1;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- }
-
- /*--------------------------------------*/
- /* PHASE 2 : LE JOUEUR PEUT IL GAGNER ? */
- /*--------------------------------------*/
-
- // Au d\xE9but de chaque tour, on regarde si le joueur adverse peut gagner (b-b ou bb- ou -bb)
-
- for($i=1;$i<9;$i++)
- {
- $var = 'row'.$i;
- $combi = $$var;
-
- if($combi=='b-b' && $joue!=true)
- {
- $j=2;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- if($combi=='bb-' && $joue!=true)
- {
- $j=3;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- if($combi=='-bb' && $joue!=true)
- {
- $j=1;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
- }
-
- /*-------------------------------------------*/
- /* PHASE 3 : OU JOUER SI LA VOIE EST LIBRE ? */
- /*-------------------------------------------*/
-
- // Si on ne peut pas gagner et que le joueur ne peut pas non plus gagner ce tour, alors on joue
- // Mais attention, on joue "intelligemment".
-
- if($joue!=true)
- {
- for($i=1;$i<9;$i++)
- {
- $var = 'row'.$i;
- $combi = $$var;
-
- if($tour==2 && $joue!=true && ($row4=='bab' | $row5=='bab'))
- {
- $tab[1][2] = 'a';
- $joue=true;
- }
-
- // teste le cas o\xF9 on doit jouer coin \xE0 cot\xE9 des deux croix pour ne pas perdre
- elseif($tour==2 && $joue!=true && ($row2=='ba-' | $row7=='-ab'))
- {
- $tab[3][1] = 'a';
- $joue=true;
- }
- elseif($tour==2 && $joue!=true && ($row2=='-ab' | $row7=='-ab'))
- {
- $tab[3][3] = 'a';
- $joue=true;
- }
- elseif($tour==2 && $joue!=true && ($row2=='ba-' | $row7=='ba-'))
- {
- $tab[1][1] = 'a';
- $joue=true;
- }
- elseif($tour==2 && $joue!=true && ($row2=='-ab' | $row7=='ba-'))
- {
- $tab[1][3] = 'a';
- $joue=true;
- }
-
- $aab=0;
- $baa=0;
-
- if($i<4)
- {
- // aab, donc il faut jouer coin haut-droite ou bas-droite
- // baa, donc il faut jouer coin haut-gauche ou bas-gauche
- if($tour==3 && $aab!=0 && $joue!=true)
- {
- $j = 3;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
- if($tour==3 && $baa!=0 && $joue!=true)
- {
- $j=1;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
- if($combi=='aab')
- {
- $aab++;
- }
- if($combi=='baa')
- {
- $baa++;
- }
- }
-
- if($combi=='-a-' && $tab[2][2]=='a' && $i==2 && $joue!=true)
- {
- if($tab[1][1]=='b')
- {
- $tab[3][1] = 'a';
- $joue=true;
- }
- elseif($tab[1][3]=='b')
- {
- $tab[3][3] = 'a';
- $joue=true;
- }
- elseif($tab[3][1]=='b')
- {
- $tab[1][1] = 'a';
- $joue=true;
- }
- elseif($tab[3][3]=='b')
- {
- $tab[1][3] = 'a';
- $joue=true;
- }
- }
-
- elseif($combi=='-a-' && $tab[2][2]=='a' && $i==7 && $joue!=true)
- {
- if($tab[1][1]=='b')
- {
- $tab[1][3] = 'a';
- $joue=true;
- }
- elseif($tab[1][3]=='b')
- {
- $tab[1][1] = 'a';
- $joue=true;
- }
- elseif($tab[3][1]=='b')
- {
- $tab[3][3] = 'a';
- $joue=true;
- }
- elseif($tab[3][3]=='b')
- {
- $tab[3][1] = 'a';
- $joue=true;
- }
- }
-
- elseif($combi=='--a' && $joue!=true)
- {
- $j=1;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- // on regarde les cases vides pour jouer al\xE9atoirement si on a rien de mieux a faire
- if($joue!=true)
- {
-
- // peut-on jouer en case 1 ? Si oui on enregistre la case possible
- if($combi=='-bb' | $combi=='-aa' | $combi=='-ab' | $combi=='-ba' | $combi=='---' | $combi=='--a' | $combi=='--b' | $combi=='-b-' | $combi=='-a-')
- {
- $jouer_1=true;
- $val_1=$i;
- }
-
- // peut-on jouer en case 2 ? Si oui on enregistre la case possible
- if($combi=='b-b' | $combi=='a-a' | $combi=='a-b' | $combi=='b-a' | $combi=='---' | $combi=='--a' | $combi=='--b' | $combi=='b--' | $combi=='a--')
- {
- $jouer_2=true;
- $val_2=$i;
- }
-
- // peut-on jouer en case 3 ? Si oui on enregistre la case possible
- if($combi=='bb-' | $combi=='aa-' | $combi=='ab-' | $combi=='ba-' | $combi=='---' | $combi=='-a-' | $combi=='-b-' | $combi=='b--' | $combi=='a--')
- {
- $jouer_3=true;
- $val_3=$i;
- }
-
- }
-
- } // for($i=1;$i<9;$i++)
-
- // si l'on a pas r\xE9ussi a jouer avec tous les tests pr\xE9c\xE9dents
- // alors on joue al\xE9atoirement dans une case vide
- // c'est la meilleure - et seule - solution !
- if($joue!=true)
- {
- // on joue case 1 si on a pas jou\xE9
- if($jouer_1==true && $joue!=true)
- {
- $j=1;
- $i=$val_1;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- // on joue case 2 si on a pas jou\xE9
- if($jouer_2==true && $joue!=true)
- {
- $j=2;
- $i=$val_2;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
-
- // on joue case 3 si on a pas jou\xE9
- if($jouer_3==true && $joue!=true)
- {
- $j=3;
- $i=$val_3;
- list($val1, $val2) = cv($i, $j);
- $tab[$val1][$val2] = 'a';
- $joue=true;
- }
- } // if $joue!=true
- } // if($joue!=true)
- } // if($level==3)
- // si $level==2 n'est pas inhumain
- // alors on joue l\xE0 ou on peut, sans r\xE9fl\xE9chir.
- else
- {
- for($i=1;$i<4;$i++)
- {
- if($joue!=true)
- {
- for($j=1;$j<4;$j++)
- {
- if($tab[$i][$j]=='-' && $joue!=true)
- {
- $tab[$i][$j] = 'a';
- $joue=true;
- }
- }
- }
- }
- } // else (if
-
-
- /*-------------------------------------*/
- /* PHASE 4 : PERDU, GAGNE, MATCH NUL ? */
- /*-------------------------------------*/
-
- // on red\xE9finit les lignes apr\xE8s le traitement
- // du jeu du computer pour tester la victoire
-
- $row1 = $tab[1][1] . $tab[1][2] . $tab[1][3];
- $row2 = $tab[2][1] . $tab[2][2] . $tab[2][3];
- $row3 = $tab[3][1] . $tab[3][2] . $tab[3][3];
- $row4 = $tab[1][1] . $tab[2][2] . $tab[3][3];
- $row5 = $tab[3][1] . $tab[2][2] . $tab[1][3];
- $row6 = $tab[1][1] . $tab[2][1] . $tab[3][1];
- $row7 = $tab[1][2] . $tab[2][2] . $tab[3][2];
- $row8 = $tab[1][3] . $tab[2][3] . $tab[3][3];
-
- if($fini!=true)
- {
- for($i=1;$i<9;$i++)
- {
- $var = 'row'.$i;
- $combi = $$var;
- if($combi == 'aaa')
- {
- $affichage.="<h2>PERDU !</h2>";
- $fini=true;
- }
- if($combi == 'bbb' && $fini!=true)
- {
- $affichage.="<h2>GAGNE !</H2>";
- $fini=true;
- }
- }
- } // if fini!=true
- } // if $tour>1 | !$tour
- } // if($tour!=0 && $fini!=true)
-
-
- // si on est au cinqui\xE8me tour et qu'il
- // n'y a pas de vainqueur, alors match nul
- if($tour==5 && $fini!=true)
- {
- $affichage.="<h2>MATCH NUL !</h2>";
- $fini=true;
- }
-
- // sinon on incr\xE9mente le compteur tour
- // (jusqu'\xE0 ce que sa valeur soit 5)
- else
- {
- $tour++;
- }
-
- /*----------------*/
- /* AFFICHAGE HTML */
- /*----------------*/
-
- $t11 = $tab[1][1];
- $t12 = $tab[1][2];
- $t13 = $tab[1][3];
- $t21 = $tab[2][1];
- $t22 = $tab[2][2];
- $t23 = $tab[2][3];
- $t31 = $tab[3][1];
- $t32 = $tab[3][2];
- $t33 = $tab[3][3];
-
- $affichage.="<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#FFFFFF22\" align=\"center\">";
- $affichage.="<tr>";
-
- $affichage.="<tr>\n\r";
-
- $query="level=$level";
- $query.="&tour=$tour";
- $query.="&fini=$fini";
- $query.="&t11=$t11";
- $query.="&t12=$t12";
- $query.="&t13=$t13";
- $query.="&t21=$t21";
- $query.="&t22=$t22";
- $query.="&t23=$t23";
- $query.="&t31=$t31";
- $query.="&t32=$t32";
- $query.="&t33=$t33";
-
- if($t11=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st11=b&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t11.gif\" width=\"50\" height=\"54\">\n"; }
-
- if($t12=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st12=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t12.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- if($t13=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st13=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t13.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- $affichage.="</tr>\n<tr>\n";
- if($t21=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st21=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t21.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- if($t22=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st22=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t22.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- if($t23=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st23=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t23.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- $affichage.="</tr>\n<tr>\n";
- if($t31=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st31=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t31.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- if($t32=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st32=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t32.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- if($t33=='-') { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><a href=\"index1.php?st33=1&$query\">X</a></td>\n"; }
- else { $affichage.="<td align=\"center\" width=\"52\" height=\"56\"><img src=\"$t33.gif\" width=\"50\" height=\"54\"></td>\n"; }
-
- $affichage.="</tr>\n</table>
- <br>
- <br><font size=\"1\">
- Jeu du Morpion adapt\xE9 pour EasyBox par InPhoVid (06/2006)<br>
- Jeu du Morpion imbattable d\xE9velopp\xE9 en php. License GPL. Auteur : Matthieu Aubry
- </font>
- </center>
- ";
-
-$smarty->assign('TITRE','MORPION');
-$smarty->assign('affichage',$affichage);
-$smarty->assign('CONTENT',$smarty->fetch('generique.tpl'));
-$smarty->display('interface.tpl');
-?>
+<?php
+$RACINE_REP = "../../";
+require($RACINE_REP.'_framework/framework.php');
+
+$LINK['red']= page_retour_menu();
+
+ $META['refresh']='30;url=index1.php';
+
+ $smarty->assign('TITRE','Here is the current time (lol)');
+
+ $smarty->assign('CONTENT',$smarty->fetch('horloge.tpl'));
+ $smarty->display('interface.tpl');
+
+?>
Modified: trunk/module/modules/modules.tpl
===================================================================
--- trunk/module/modules/modules.tpl 2007-03-07 06:38:57 UTC (rev 92)
+++ trunk/module/modules/modules.tpl 2007-03-09 16:06:45 UTC (rev 93)
@@ -15,8 +15,8 @@
<td align="left" valign="top"><b><u>{$MOD[mod].nom}{if $action=="skin" AND $MOD[mod].current} - Skin actif{/if}</u></b><br>
<b>Version</b> : {$MOD[mod].version}<br>
<b>Description</b> : {$MOD[mod].description}</td>
- {if $action=="skin"}{if NOT $MOD[mod].current}<td width="20"><a href="index1.php?setskinid={$MOD[mod].id}&action={$action}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#COULEUR_FOND1#" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}valider.gif" border="0" width="20" height="20"></td></tr></table></a></td>{else}<td> </td>{/if}{/if}
- <td width="20"><a href="index1.php?delid={$MOD[mod].id}&action={$action}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#COULEUR_FOND1#" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}delete.gif" border="0" width="20" height="20"></td></tr></table></a></td>
+ {if $action=="skin"}{if NOT $MOD[mod].current}<td width="20"><a href="index1.php?setskinid={$MOD[mod].id}&action={$action}" onfocus='aide="Activer la {$MOD[mod].nom}";'><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#COULEUR_FOND1#" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}valider.gif" border="0" width="20" height="20"></td></tr></table></a></td>{else}<td> </td>{/if}{/if}
+ <td width="20"><a href="index1.php?delid={$MOD[mod].id}&action={$action}" onfocus='aide="Supprimer {if $action=="skin"}la skin{else}le ...
[truncated message content] |