From: pifou Date: Wed, 4 Jul 2007 20:56:59 +0000 (+0000) Subject: git-svn-id: svn://euphorik.ch/pompage@45 02bbb61a-6d21-0410-aba0-cb053bdfd66a X-Git-Url: http://git.euphorik.ch/?a=commitdiff_plain;ds=inline;h=c3b0deb3d8c9f439739c79806e915c29bc1d4b84;p=pompage.git git-svn-id: svn://euphorik.ch/pompage@45 02bbb61a-6d21-0410-aba0-cb053bdfd66a --- diff --git a/doc/todo.txt b/doc/todo.txt index 533881c..fc428ba 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -15,7 +15,9 @@ [ok] Les films "vide" ne s'affiche pas bien (il manque une partie du tableau) [ok] Choisir un film aléatoirement dans la liste des films [ok] Tout dérouler ou enrouler les films actuellement affichées +[ok] problème avec les & dans le nom du fichier, donne ca dans la base xml -> "&" au lieu de "&" +* Chargement du xml trop lent ! * Ajouter des options au programme : - Mettre à jour un film en donnant son ID en paramètre - Donner en paramètre un dossier pour les images diff --git a/doc/webdeveloper/about/about.css b/doc/webdeveloper/about/about.css new file mode 100644 index 0000000..39a99e2 --- /dev/null +++ b/doc/webdeveloper/about/about.css @@ -0,0 +1,61 @@ +@import url("chrome://global/skin/"); +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +description +{ + margin-left: 0 !important; +} + +separator, #webdeveloper-about-dialog +{ + margin: 0 !important; + padding: 0 !important; +} + +#webdeveloper-about-details +{ + background-color: #ffffff !important; + color: #000000 !important; + padding: 0.5em !important; +} + +#webdeveloper-about-details hbox +{ + background-image: url("chrome://webdeveloper/content/images/logo/large.png") !important; + background-position: top right !important; + background-repeat: no-repeat !important; + min-height: 35px !important; + padding-right: 35px !important; +} + +.date +{ + color: #999999 !important; +} + +.name +{ + font-size: x-large !important; + padding-right: 0.25em !important; +} + +.name, .title +{ + font-weight: bold !important; +} + +.title +{ + padding-top: 0.25em !important; +} + +.url +{ + color: #0000ff !important; + cursor: pointer !important; + text-decoration: underline !important; +} +.url:hover +{ + color: #ff0000 !important; +} \ No newline at end of file diff --git a/doc/webdeveloper/about/about.js b/doc/webdeveloper/about/about.js new file mode 100644 index 0000000..b022f8c --- /dev/null +++ b/doc/webdeveloper/about/about.js @@ -0,0 +1,42 @@ +// Opens the URL in a new tab +function webdeveloper_openURL(urlElement) +{ + var parentWindow = null; + var url = urlElement.firstChild.nodeValue; + + // If there is a parent window + if(window.opener) + { + // If there is a grand parent window + if(window.opener.opener) + { + parentWindow = window.opener.opener; + } + else + { + parentWindow = window.opener; + } + } + + // If a parent window was found + if(parentWindow) + { + // If the open in windows preference is set to true + if(webdeveloper_getBooleanPreference("webdeveloper.open.tabs", true)) + { + var newTab = parentWindow.getBrowser().addTab(url); + + // If the open tabs in background preference is not set or is set to false + if(!webdeveloper_getBooleanPreference("webdeveloper.open.tabs.background", true)) + { + parentWindow.getBrowser().selectedTab = newTab; + } + } + else + { + parentWindow.open(url); + } + + window.close(); + } +} diff --git a/doc/webdeveloper/about/about.xul b/doc/webdeveloper/about/about.xul new file mode 100644 index 0000000..c18c0ca --- /dev/null +++ b/doc/webdeveloper/about/about.xul @@ -0,0 +1,26 @@ + + + + + + + +