--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/.htaccess.old Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,7 @@
+<IfModule mod_rewrite.c>
+RewriteEngine On
+RewriteBase /iritest/
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule . /iritest/index.php [L]
+</IfModule>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/readme.txt Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,28 @@
+////////////////////////////////////////////////////////////////////////////////////////
+//
+// Déploiement du site web IRI sous wordpress
+//
+// samuel Huron admin@cybunk.com
+//
+////////////////////////////////////////////////////////////////////////////////////////
+//
+//
+// 1. Copier la base MySQL.
+//
+// 2. Modifier la valeur "siteurl" dans la table "wp_options" de la base MySQL.
+//
+// 3. Copier le dossier wordpress.
+//
+// 4. Modifier les fichier "config.php" et "_wp-config.php" afin de leur mettre les valeur correct.
+//
+// 5. Aller dans l'administration "/wp-admin" et modifier dans le Réglages/générale le parametre
+// "Adresse web du blog"
+//
+// 6. Mettre a jour les permaliens via la commande SQL suivante :
+//
+ UPDATE wp_posts SET guid = replace(guid, 'http://www.monancienserver.com/repertoir/',
+ 'http://www.iri.centrepompidou.fr/dev/~hurons/');
+//
+//
+////////////////////////////////////////////////////////////////////////////////////////
+
Binary file web/wp-content/plugins/add-to-any/icons/Thumbs.db has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/plugins/wp-ldt-downloader.php Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,281 @@
+<?php
+/**
+ * @package WP-ldt-downloader
+ * @author Samuel Huron
+ * @version 0.1
+ */
+/*
+Plugin Name: WP-ldt-downloader
+Plugin URI: http://www.iri.centrepompidou.fr
+Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
+Author: Samuel Huron
+Version: 0.1
+Author URI: http://www.cybunk.com
+*/
+
+// replace tag in content with tag cloud (non-shortcode version for WP 2.3.x)
+function WP-ldt-downloader_init($content){
+ if( strpos($content, '[WP-LDT-DWL]') === false ){
+ return $content;
+ } else {
+ $code = WP-ldt-Template-Liste();
+ $content = str_replace( '[WP-LDT-DWL]', $code, $content );
+ return $content;
+ }
+}
+
+function WP-ldt-Template-Liste(){
+
+ // HTML TR
+ $MyLdtLineTemplate = "<tr>
+ <td>"."X_row['Auteur']_X"."</td>
+ <td>"."X_row['Titre']_X"."</td>
+ <td>"."X_row['Fond']_X"."</td>
+ <td> <a href='?URL="."X_row['NomFichier']_X"."' nicetitle='Cliquez ici pour télécharger le projet"."X_row['NomFichier']_X"."'>
+ <img src='".get_bloginfo('stylesheet_directory')."/images/get.png'/> </a> </td>
+ </tr>";
+
+
+ // GET the DB informations
+ $MyListe = listeMyLdt($MyLdtLineTemplate);
+
+ // HTML table
+ $MyLdtOutPut = "
+ <div class='box'>
+ <table style='width:100%;'>
+ <thead>
+ <tr>
+ <td class='thead'> <b>Auteur</b></td>
+ <td class='thead'> <b>Titre</b> </td>
+ <td class='thead'> <b>Fond</b> </td>
+ <td class='thead'> </td>
+ </tr>
+ </thead>
+ ".$MyListe."
+ </table></div>";
+
+ echo ($MyLdtOutPut);
+
+}
+
+function WP-ldt-downloader(){
+
+
+
+
+
+}
+
+# Display the list of movies
+function WP-ldt-listeMyLdt($template){
+
+ $MyLdtDataBase = "lignesIRI";
+ $MyLdtTable = "Lignes";
+ $MyLdtconnexion = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);
+ $MyLdtListe = "";
+ //$WP_db_selected = mysql_select_db();
+
+ if (!$MyLdtconnexion) {
+ echo "Impossible de se connecter à la base de données : " . mysql_error();
+ exit;
+ }
+
+ if (!mysql_select_db($MyLdtDataBase)) {
+ echo "Impossible de sélectionner la base mydbname : " . mysql_error();
+ exit;
+ }
+
+ $MyLdtSql = "SELECT * FROM ".$MyLdtTable." WHERE `NomFichier` NOT LIKE ''";
+
+ $result = mysql_query($MyLdtSql);
+
+ if (!$result) {
+ echo "Impossible d'exécuter la requête ($MyLdtSql) dans la base : " . mysql_error();
+ exit;
+ }
+
+ if (mysql_num_rows($result) == 0) {
+ echo "Aucune ligne trouvée, rien à afficher.";
+ exit;
+ }
+
+ $MyLdtTable="";
+
+ while ($row = mysql_fetch_assoc($result)) {
+ $MyLdtLineTemplate = str_replace( "X_row['Auteur']_X", $row['Auteur'], $template );
+ $MyLdtLineTemplate = str_replace( "X_row['Auteur']_X", $row['Titre'], $MyLdtLineTemplate );
+ $MyLdtLineTemplate = str_replace( "X_row['Auteur']_X", $row['Fond'], $MyLdtLineTemplate );
+ $MyLdtLineTemplate = str_replace( "X_row['Auteur']_X", $row['NomFichier'], $MyLdtLineTemplate );
+ /*
+ "<tr onClick='?URL=".$row['NomFichier']."'>
+ <td>".$row['Auteur']."</td> <td>".$row['Titre']."</td> <td>".$row['Fond']."</td>
+ <td> <a href='?URL=".$row['NomFichier']."' nicetitle='Cliquez ici pour télécharger le projet".$row['NomFichier']."'> <img src='".get_bloginfo('stylesheet_directory')."/images/get.png'/> </a> </td> </tr>";
+ */
+ $MyLdtTable .= $MyLdtLineTemplate."\n";
+
+ }
+
+ return ($MyLdtTable);
+
+ mysql_free_result($result);
+ //mysql_select_db($WP_db_selected);
+}
+
+# Create the LDT's ZIP to download IT
+function WP-ldt-createMyLdtProject($fichierIRI){
+
+ $MyRoot = "/iridata/users/hurons/public_html/DOCUMENT/_LDT";
+ $MyRootRel = "non-classe/telecharger/?URL=DOCUMENT/_LDT";
+ $MyCache = "/CACHE";
+ $MyExemple = "/EXEMPLE_zip";
+ $MyPattern = "X_NOMPROJET_X";
+ $MyLdtName = "projet_".$MyPattern.".ldt";
+ $MyReadMeName="LISEZ_MOI_READ_ME.txt";
+ $MySoundExt = "_audio.xml";
+ $Return = "";
+
+ $end = strrpos($fichierIRI,".");
+ $FileName = substr($fichierIRI, 0, $end);
+ $ext = substr($fichierIRI, $end, strlen($FileName));
+
+
+ // cette fontion n'est utilisé que sur les .IRI
+ if ($ext==".iri"){
+
+ // Vérifie si le cache éxiste déja
+ if (file_exists($MyCache."/".$FileName.".zip")){
+ //echo ($MyCache.$FileName.".zip"." is in cache");
+ // ensuite envoyer vers la redirection.
+ redirectionDWL($MyRootRel.$MyCache."/".$FileName.".zip");
+
+ } else {
+
+ echo ("Le fichier ".$FileName.".zip est en cours de compression, veuillez patientez un instant.");
+
+ // Créer le .LDT à partir de l'exemple
+ $MyLdtExemple = implode(file($MyRoot.$MyExemple."/".$MyLdtName , FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES));
+ $MyFuturLdt = str_replace($MyPattern, $FileName, $MyLdtExemple);
+
+ // Créer le read me
+ $MyReadMeExemple = implode(file($MyRoot.$MyExemple."/".$MyPattern."/".$MyReadMeName , FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES));
+ $MyFuturReadMe = str_replace($MyPattern, $FileName, $MyReadMeExemple);
+
+ // ZIP l'ensemble est met dans le cache
+ $Zipfilename = $MyRoot.$MyCache."/".$FileName.".zip";
+ $zip = new ZipArchive();
+ if ($zip->open($Zipfilename, ZIPARCHIVE::CREATE)!==TRUE) {
+ exit("Impossible d'ouvrir <$filename>\n");
+ }
+ // ZIP - ajouter le .LDT
+ $MyLdtNewName = str_replace($MyPattern, $FileName, $MyLdtName);
+ $zip->addFromString($MyLdtNewName, $MyFuturLdt); //$zip->addFile($MyFuturLdtName, $FileName);
+ // ZIP - ajouter le .IRI
+ $zip->addFile($MyRoot."/".$fichierIRI, $FileName."/".$fichierIRI);
+ // ZIP - ajouter le ReadMe
+ $zip->addFromString($FileName."/".$MyReadMeName, $MyFuturReadMe); //$zip->addFile($MyRoot.$MyTemp."/".$FileName."/".$MyReadMeName, $FileName."/".$MyReadMeName);
+ // ZIP - ajouter le audio si il y a
+ $fileAudio = $MyRoot."/".$FileName.$MySoundExt ;
+ if (file_exists($fileAudio)){
+ $zip->addFile($fileAudio, $FileName."/".$FileName.$MySoundExt);
+ }
+ $zip->close();
+
+ // mettre a jour la bdd ? pour vider le cache quand c'est un nouveau fichier ?
+
+ // ensuite envoyer vers la redirection.
+ redirectionDWL($MyRootRel.$MyCache."/".$FileName.".zip");
+ }
+ }
+}
+
+# Javascript DWL redirection
+function WP-ldt-redirectionDWL ($url) {
+
+ $URL = get_bloginfo('url')."/".$url;
+
+ echo("Le téléchargement est en cours... <br/>\n
+ Si le téléchargement ne démarre pas automatiquement, veuillez cliquez <a href=".$URL.">ici</a>.<br/>\n");
+
+ echo("<script language=\"javascript\" type=\"text/javascript\"> \n");
+ echo(" <!--\n");
+ echo(" document.location.href = \"".$URL."\";\n ");
+ echo(" window.location = \"".$URL."\";\n ");
+ echo(" //-->\n");
+ echo("</script>\n");
+
+}
+
+
+//______________________
+
+
+
+function hello_dolly_get_lyric() {
+ /** These are the lyrics to Hello Dolly */
+ $lyrics = "Hello, Dolly
+Well, hello, Dolly
+It's so nice to have you back where you belong
+You're lookin' swell, Dolly
+I can tell, Dolly
+You're still glowin', you're still crowin'
+You're still goin' strong
+We feel the room swayin'
+While the band's playin'
+One of your old favourite songs from way back when
+So, take her wrap, fellas
+Find her an empty lap, fellas
+Dolly'll never go away again
+Hello, Dolly
+Well, hello, Dolly
+It's so nice to have you back where you belong
+You're lookin' swell, Dolly
+I can tell, Dolly
+You're still glowin', you're still crowin'
+You're still goin' strong
+We feel the room swayin'
+While the band's playin'
+One of your old favourite songs from way back when
+Golly, gee, fellas
+Find her a vacant knee, fellas
+Dolly'll never go away
+Dolly'll never go away
+Dolly'll never go away again";
+
+ // Here we split it into lines
+ $lyrics = explode("\n", $lyrics);
+
+ // And then randomly choose a line
+ return wptexturize( $lyrics[ mt_rand(0, count($lyrics) - 1) ] );
+}
+
+// This just echoes the chosen line, we'll position it later
+function hello_dolly() {
+ $chosen = hello_dolly_get_lyric();
+ echo "<p id='dolly'>$chosen</p>";
+}
+
+// Now we set that function up to execute when the admin_footer action is called
+add_action('admin_footer', 'hello_dolly');
+
+// We need some CSS to position the paragraph
+function dolly_css() {
+ // This makes sure that the posinioning is also good for right-to-left languages
+ $x = ( 'rtl' == get_bloginfo( 'text_direction' ) ) ? 'left' : 'right';
+
+ echo "
+ <style type='text/css'>
+ #dolly {
+ position: absolute;
+ top: 4.5em;
+ margin: 0;
+ padding: 0;
+ $x: 215px;
+ font-size: 11px;
+ }
+ </style>
+ ";
+}
+
+add_action('admin_head', 'dolly_css');
+
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/G_CSE_look.xml Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,47 @@
+<CustomSearchEngine ... >
+ <Title>...</Title>
+ <Description>...</Description>
+ <Context>
+ ...
+ </Context>
+
+ <LookAndFeel nonprofit="true" googlebranding="watermark" element_layout="1" theme="1" custom_theme="false" text_font="Arial, sans-serif"/>
+ <Logo />
+ <Colors url="#3366cc"
+ background="#FFFFFF"
+ border="#336699"
+ title="#0000CC"
+ text="#000000"
+ visited="#ffbd10"
+ title_hover="#0000CC"
+ title_active="#0000CC"/>
+
+ <Promotions title_color="#006600"
+ title_visited_color="#663399"
+ url_color="#3366ff"
+ background_color="#FFFFFF"
+ border_color="#ffff33"
+ show_image="true"
+ show_snippet="true"
+ snippet_color="#330000"
+ title_hover_color="#0000CC"
+ title_active_color="#0000CC" />
+
+ <SearchControls input_border_color="#BCCDF0"
+ button_border_color="#666666"
+ button_background_color="#CECECE"
+ tab_border_color="#E9E9E9"
+ tab_background_color="#EEEEEE"
+ tab_selected_border_color="#FF9900"
+ tab_selected_background_color="#FFFFFF" />
+
+ <Results border_color="#FFFFFF"
+ border_hover_color="#FFFFFF"
+ background_color="#FFFFFF"
+ background_hover_color="#FFFFFF" />
+
+ </LookAndFeel>
+ <AdSense />
+ <EnterpriseAccount />
+
+</CustomSearchEngine>
\ No newline at end of file
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/Thumbs.db has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_flat_75_ffffff_40x100.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_glass_55_fbf9ee_1x400.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_glass_65_ffffff_1x400.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_glass_75_dadada_1x400.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_glass_75_e6e6e6_1x400.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_glass_95_fef1ec_1x400.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-icons_222222_256x240.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-icons_2e83ff_256x240.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-icons_454545_256x240.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-icons_888888_256x240.png has changed
Binary file web/wp-content/themes/IRI-Theme/css/custom-theme/images/ui-icons_cd0a0a_256x240.png has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/css/custom-theme/jquery-ui-1.7.2.custom.css Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,113 @@
+/*
+* jQuery UI CSS Framework
+* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
+* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
+* --------------------------------------------------------------------------------- CUSTOMIZE BY SAM
+*/
+
+/* Layout helpers
+----------------------------------*/
+.ui-helper-hidden { display: none; }
+.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; list-style: none; }
+.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
+.ui-helper-clearfix { display: inline-block; }
+/* required comment for clearfix to work in Opera \*/
+* html .ui-helper-clearfix { height:1%; }
+.ui-helper-clearfix { display:block; }
+/* end clearfix */
+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
+
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-disabled { cursor: default !important; }
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
+/* Accordion----------------------------------*/
+.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; font-size:12px; }
+.ui-accordion .ui-accordion-li-fix { display: inline; }
+.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
+.ui-accordion .ui-accordion-header a { display: block; padding: .2em .2em .2em 1em; }
+.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .2em; top: 50%; margin-top: -8px; }
+.ui-accordion .ui-accordion-content { padding: 0.5em 0.5em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
+.ui-accordion .ui-accordion-content-active { display: block; }
+
+/* Resizable----------------------------------*/
+.ui-resizable { position: relative;}
+.ui-resizable-handle { position: absolute; z-index: 99999; display: block;}
+.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
+.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
+.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
+.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
+.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
+.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
+.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
+.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
+.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
+
+/*
+* jQuery UI CSS Framework
+* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
+* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
+* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=0px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
+*/
+
+
+/* Component containers
+----------------------------------*/
+.ui-widget {/* font-family: Verdana,Arial,sans-serif;*/ }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; }
+.ui-widget-content { border:none; border-bottom: 1px solid #EEE; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 25% 75% repeat-x; color: #222222; }
+.ui-widget-content a { color: #222222; }
+/*.ui-widget-header { border: 1px dotted #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }*/
+.ui-widget-header { border-bottom: 1px dotted #aaaaaa; background: #FFF color: #222222; font-weight: bold; }
+.ui-widget-header a { color: #222222; }
+
+/* Interaction states
+----------------------------------*/
+.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3; font-weight: normal; color: #5FBCDE; outline: none; }
+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; outline: none; }
+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
+.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; outline: none; }
+.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff; font-weight: normal; color: #212121; outline: none; }
+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; outline: none; text-decoration: none; }
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-highlight, .ui-widget-content .ui-state-highlight {/*border: 1px dotted #fcefa1;*/ background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
+.ui-state-error, .ui-widget-content .ui-state-error {/*border: 1px solid #cd0a0a;*/ background: #fef1ec; color: #cd0a0a; }
+.ui-state-error a, .ui-widget-content .ui-state-error a { color: #cd0a0a; }
+.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; }
+.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
+.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }
+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
+
+/* Misc visuals
+----------------------------------*/
+ Overlays
+.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
+
+
+.ui-tabs { padding: .1em; zoom: 1; }
+.ui-tabs .ui-tabs-nav { list-style: none; list-style-image:none; position: relative; padding: .1em .1em 0; }
+.ui-tabs .ui-tabs-nav li { list-style: none; list-style-image:none; position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .1em -1px 0; padding: 0; }
+.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .2em 1em; color:#5FBCDE;}
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; font-weight:bold; font-size:13px; }
+.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
+.ui-tabs .ui-tabs-panel { padding: 0.5em 1.2em; display: block; border-width: 0; background: none; }
+.ui-tabs .ui-tabs-hide { display: none !important; }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/css/skinned-select.css Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,59 @@
+
+ /************************************************************\
+ *
+ * Skinned Select Box Copyright 2007 Derek Harvey
+ * www.lotsofcode.com
+ *
+ * This file is part of Skinned Select Box .
+ *
+ * Skinned Select Boxis free software; 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.
+ *
+ * Skinned Select Box is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Skinned Select Box; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ \************************************************************/
+
+/* skinned select */
+
+div.skinned-select {
+ background: url('images/select-skin.png') no-repeat scroll 0pt 100%;
+ float:right;
+}
+div.skinned-select select {
+ opacity: 0;
+ filter: alpha(opacity = 0);
+ moz-opacity: 0;
+ position: relative;
+ z-index: 100;
+}
+div.skinned-select .select-text {
+ position: absolute;
+ text-indent: 10px;
+ line-height: 19px;
+ width: 150px;
+ z-index: 1;
+}
+div.skinned-select .select-text,
+div.skinned-select select,
+div.skinned-select select option {
+ width: 150px;
+ font-size: 11px;
+ color: #316D89;
+}
+
+/* non javascript version select */
+
+.my-skinnable-select select {
+ width: 150px;
+ font-size: 11px;
+ border: 1px solid #D5E6EE;
+}
Binary file web/wp-content/themes/IRI-Theme/images/Thumbs.db has changed
Binary file web/wp-content/themes/IRI-Theme/images/blank.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/get.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/icons/Thumbs.db has changed
Binary file web/wp-content/themes/IRI-Theme/images/icons/delicious.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/icons/facebook.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/icons/flickr.gif has changed
Binary file web/wp-content/themes/IRI-Theme/images/icons/search_grey_r.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/icons/twitter.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/navigation_s.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/partenaires/Thumbs.db has changed
Binary file web/wp-content/themes/IRI-Theme/images/select-skin-h.png has changed
Binary file web/wp-content/themes/IRI-Theme/images/select-skin-p.png has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/js/jquery.DOMWindow.js Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,372 @@
+(function($){
+
+ //closeDOMWindow
+ $.fn.closeDOMWindow = function(settings){
+
+ if(!settings){settings={};}
+
+ var run = function(passingThis){
+
+ if(settings.anchoredClassName){
+ var $anchorClassName = $('.'+settings.anchoredClassName);
+ $anchorClassName.fadeOut('fast',function(){
+ if($.fn.draggable){
+ $anchorClassName.draggable('destory').trigger("unload").remove();
+ }else{
+ $anchorClassName.trigger("unload").remove();
+ }
+ });
+ if(settings.functionCallOnClose){settings.functionCallAfterClose();}
+ }else{
+ var $DOMWindowOverlay = $('#DOMWindowOverlay');
+ var $DOMWindow = $('#DOMWindow');
+ $DOMWindowOverlay.fadeOut('fast',function(){
+ $DOMWindowOverlay.trigger('unload').unbind().remove();
+ });
+ $DOMWindow.fadeOut('fast',function(){
+ if($.fn.draggable){
+ $DOMWindow.draggable("destroy").trigger("unload").remove();
+ }else{
+ $DOMWindow.trigger("unload").remove();
+ }
+ });
+
+ $(window).unbind('scroll.DOMWindow');
+ $(window).unbind('resize.DOMWindow');
+
+ if($.fn.openDOMWindow.isIE6){$('#DOMWindowIE6FixIframe').remove();}
+ if(settings.functionCallOnClose){settings.functionCallAfterClose();}
+ }
+ };
+
+ if(settings.eventType){//if used with $().
+ return this.each(function(index){
+ $(this).bind(settings.eventType, function(){
+ run(this);
+ return false;
+ });
+ });
+ }else{//else called as $.function
+ run();
+ }
+
+ };
+
+ //allow for public call, pass settings
+ $.closeDOMWindow = function(s){$.fn.closeDOMWindow(s);};
+
+ //openDOMWindow
+ $.fn.openDOMWindow = function(instanceSettings){
+
+ var shortcut = $.fn.openDOMWindow;
+
+ //default settings combined with callerSettings////////////////////////////////////////////////////////////////////////
+
+ shortcut.defaultsSettings = {
+ anchoredClassName:'',
+ anchoredSelector:'',
+ borderColor:'#ccc',
+ borderSize:'4',
+ draggable:0,
+ eventType:null, //click, blur, change, dblclick, error, focus, load, mousedown, mouseout, mouseup etc...
+ fixedWindowY:100,
+ functionCallOnOpen:null,
+ functionCallOnClose:null,
+ height:500,
+ loader:0,
+ loaderHeight:0,
+ loaderImagePath:'',
+ loaderWidth:0,
+ modal:0,
+ overlay:1,
+ overlayColor:'#000',
+ overlayOpacity:'85',
+ positionLeft:0,
+ positionTop:0,
+ positionType:'centered', // centered, anchored, absolute, fixed
+ width:500,
+ windowBGColor:'#fff',
+ windowBGImage:null, // http path
+ windowHTTPType:'get',
+ windowPadding:10,
+ windowSource:'inline', //inline, ajax, iframe
+ windowSourceID:'',
+ windowSourceURL:'',
+ windowSourceAttrURL:'href',
+ windowOverflow : 'auto',
+ ajaxParameters : {}
+ };
+
+ var settings = $.extend({}, $.fn.openDOMWindow.defaultsSettings , instanceSettings || {});
+
+ //Public functions
+
+ shortcut.viewPortHeight = function(){ return self.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;};
+ shortcut.viewPortWidth = function(){ return self.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;};
+ shortcut.scrollOffsetHeight = function(){ return self.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;};
+ shortcut.scrollOffsetWidth = function(){ return self.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft;};
+ shortcut.isIE6 = typeof document.body.style.maxHeight === "undefined";
+
+ //Private Functions/////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+ var sizeOverlay = function(){
+ var $DOMWindowOverlay = $('#DOMWindowOverlay');
+ if(shortcut.isIE6){//if IE 6
+ var overlayViewportHeight = document.documentElement.offsetHeight + document.documentElement.scrollTop - 4;
+ var overlayViewportWidth = document.documentElement.offsetWidth - 21;
+ $DOMWindowOverlay.css({'height':overlayViewportHeight +'px','width':overlayViewportWidth+'px'});
+ }else{//else Firefox, safari, opera, IE 7+
+ $DOMWindowOverlay.css({'height':'100%','width':'100%','position':'fixed'});
+ }
+ };
+
+ var sizeIE6Iframe = function(){
+ var overlayViewportHeight = document.documentElement.offsetHeight + document.documentElement.scrollTop - 4;
+ var overlayViewportWidth = document.documentElement.offsetWidth - 21;
+ $('#DOMWindowIE6FixIframe').css({'height':overlayViewportHeight +'px','width':overlayViewportWidth+'px'});
+ };
+
+ var centerDOMWindow = function() {
+ var $DOMWindow = $('#DOMWindow');
+ if(settings.height + 50 > shortcut.viewPortHeight()){//added 50 to be safe
+ $DOMWindow.css('left',Math.round(shortcut.viewPortWidth()/2) + shortcut.scrollOffsetWidth() - Math.round(($DOMWindow.outerWidth())/2));
+ }else{
+ $DOMWindow.css('left',Math.round(shortcut.viewPortWidth()/2) + shortcut.scrollOffsetWidth() - Math.round(($DOMWindow.outerWidth())/2));
+ $DOMWindow.css('top',Math.round(shortcut.viewPortHeight()/2) + shortcut.scrollOffsetHeight() - Math.round(($DOMWindow.outerHeight())/2));
+ }
+ };
+
+ var centerLoader = function() {
+ var $DOMWindowLoader = $('#DOMWindowLoader');
+ if(shortcut.isIE6){//if IE 6
+ $DOMWindowLoader.css({'left':Math.round(shortcut.viewPortWidth()/2) + shortcut.scrollOffsetWidth() - Math.round(($DOMWindowLoader.innerWidth())/2),'position':'absolute'});
+ $DOMWindowLoader.css({'top':Math.round(shortcut.viewPortHeight()/2) + shortcut.scrollOffsetHeight() - Math.round(($DOMWindowLoader.innerHeight())/2),'position':'absolute'});
+ }else{
+ $DOMWindowLoader.css({'left':'50%','top':'50%','position':'fixed'});
+ }
+
+ };
+
+ var fixedDOMWindow = function(){
+ var $DOMWindow = $('#DOMWindow');
+ $DOMWindow.css('left', settings.positionLeft + shortcut.scrollOffsetWidth());
+ $DOMWindow.css('top', + settings.positionTop + shortcut.scrollOffsetHeight());
+ };
+
+ var showDOMWindow = function(instance){
+ if(arguments[0]){
+ $('.'+instance+' #DOMWindowLoader').remove();
+ $('.'+instance+' #DOMWindowContent').fadeIn('fast',function(){if(settings.functionCallOnOpen){settings.functionCallOnOpen();}});
+ $('.'+instance+ '.closeDOMWindow').click(function(){
+ $.closeDOMWindow();
+ return false;
+ });
+ }else{
+ $('#DOMWindowLoader').remove();
+ $('#DOMWindow').fadeIn('fast',function(){if(settings.functionCallOnOpen){settings.functionCallOnOpen();}});
+ $('#DOMWindow .closeDOMWindow').click(function(){
+ $.closeDOMWindow();
+ return false;
+ });
+ }
+
+ };
+
+ var urlQueryToObject = function(s, q){
+ var query = typeof(q) != 'undefined' ? q : {};
+ s.replace(/b([^&=]*)=([^&=]*)b/g, function (m, a, d) {
+ if (typeof query[a] != 'undefined') {
+ query[a] += ',' + d;
+ } else {
+ query[a] = d;
+ }
+ });
+ return query;
+ };
+
+ //Run Routine ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
+ var run = function(passingThis){
+
+ //get values from element clicked, or assume its passed as an option
+ settings.windowSourceID = $(passingThis).attr('href') || settings.windowSourceID;
+ settings.windowSourceURL = $(passingThis).attr(settings.windowSourceAttrURL) || settings.windowSourceURL;
+ settings.windowBGImage = settings.windowBGImage ? 'background-image:url('+settings.windowBGImage+')' : '';
+ var urlOnly, urlQueryObject;
+
+ if(settings.positionType == 'anchored'){//anchored DOM window
+
+ var anchoredPositions = $(settings.anchoredSelector).position();
+ var anchoredPositionX = anchoredPositions.left + settings.positionLeft;
+ var anchoredPositionY = anchoredPositions.top + settings.positionTop;
+
+ $('body').append('<div class="'+settings.anchoredClassName+'" style="'+settings.windowBGImage+';background-repeat:no-repeat;padding:'+settings.windowPadding+'px;overflow:'+settings.windowOverflow+';position:absolute;top:'+anchoredPositionY+'px;left:'+anchoredPositionX+'px;height:'+settings.height+'px;width:'+settings.width+'px;background-color:'+settings.windowBGColor+';border:'+settings.borderSize+'px solid '+settings.borderColor+';z-index:10001"><div id="DOMWindowContent" style="display:none"></div></div>');
+ //loader
+ if(settings.loader && settings.loaderImagePath !== ''){
+ $('.'+settings.anchoredClassName).append('<div id="DOMWindowLoader" style="width:'+settings.loaderWidth+'px;height:'+settings.loaderHeight+'px;"><img src="'+settings.loaderImagePath+'" /></div>');
+
+ }
+
+ if($.fn.draggable){
+ if(settings.draggable){$('.' + settings.anchoredClassName).draggable({cursor:'move'});}
+ }
+
+ switch(settings.windowSource){
+ case 'inline'://////////////////////////////// inline //////////////////////////////////////////
+ $('.' + settings.anchoredClassName+" #DOMWindowContent").append($(settings.windowSourceID).children());
+ $('.' + settings.anchoredClassName).unload(function(){// move elements back when you're finished
+ $('.' + settings.windowSourceID).append( $('.' + settings.anchoredClassName+" #DOMWindowContent").children());
+ });
+ showDOMWindow(settings.anchoredClassName);
+ break;
+ case 'iframe'://////////////////////////////// iframe //////////////////////////////////////////
+ $('.' + settings.anchoredClassName+" #DOMWindowContent").append('<iframe frameborder="0" hspace="0" wspace="0" src="'+settings.windowSourceURL+'" name="DOMWindowIframe'+Math.round(Math.random()*1000)+'" style="width:100%;height:100%;border:none;background-color:#fff;overflow:'+settings.windowOverflow+';" class="'+settings.anchoredClassName+'Iframe" ></iframe>');
+ $('.'+settings.anchoredClassName+'Iframe').load(showDOMWindow(settings.anchoredClassName));
+ break;
+ case 'ajax'://////////////////////////////// ajax //////////////////////////////////////////
+ if(settings.windowHTTPType == 'post'){
+
+ if(settings.windowSourceURL.indexOf("?") !== -1){//has a query string
+ urlOnly = settings.windowSourceURL.substr(0, settings.windowSourceURL.indexOf("?"));
+ urlQueryObject = urlQueryToObject(settings.windowSourceURL, settings.ajaxParameters);
+ }else{
+ urlOnly = settings.windowSourceURL;
+ urlQueryObject = settings.ajaxParameters;
+ }
+ $('.' + settings.anchoredClassName+" #DOMWindowContent").load(urlOnly,urlQueryObject,function(){
+ showDOMWindow(settings.anchoredClassName);
+ });
+ }else{
+ if(settings.windowSourceURL.indexOf("?") == -1){ //no query string, so add one
+ settings.windowSourceURL += '?';
+ }
+ $('.' + settings.anchoredClassName+" #DOMWindowContent").load(
+ settings.windowSourceURL + '&random=' + (new Date().getTime()),function(){
+ showDOMWindow(settings.anchoredClassName);
+ });
+ }
+ break;
+ }
+
+ }else{//centered, fixed, absolute DOM window
+
+ //overlay & modal
+ if(settings.overlay){
+ $('body').append('<div id="DOMWindowOverlay" style="z-index:10000;display:none;position:absolute;top:0;left:0;background-color:'+settings.overlayColor+';filter:alpha(opacity='+settings.overlayOpacity+');-moz-opacity: 0.'+settings.overlayOpacity+';opacity: 0.'+settings.overlayOpacity+';"></div>');
+ if(shortcut.isIE6){//if IE 6
+ $('body').append('<iframe id="DOMWindowIE6FixIframe" src="blank.html" style="width:100%;height:100%;z-index:9999;position:absolute;top:0;left:0;filter:alpha(opacity=0);"></iframe>');
+ sizeIE6Iframe();
+ }
+ sizeOverlay();
+ var $DOMWindowOverlay = $('#DOMWindowOverlay');
+ $DOMWindowOverlay.fadeIn('fast');
+ if(!settings.modal){$DOMWindowOverlay.click(function(){$.closeDOMWindow();});}
+ }
+
+ //loader
+ if(settings.loader && settings.loaderImagePath !== ''){
+ $('body').append('<div id="DOMWindowLoader" style="z-index:10002;width:'+settings.loaderWidth+'px;height:'+settings.loaderHeight+'px;"><img src="'+settings.loaderImagePath+'" /></div>');
+ centerLoader();
+ }
+
+ //add DOMwindow
+ $('body').append('<div id="DOMWindow" style="background-repeat:no-repeat;'+settings.windowBGImage+';overflow:'+settings.windowOverflow+';padding:'+settings.windowPadding+'px;display:none;height:'+settings.height+'px;width:'+settings.width+'px;background-color:'+settings.windowBGColor+';border:'+settings.borderSize+'px solid '+settings.borderColor+'; position:absolute;z-index:10001"></div>');
+
+ var $DOMWindow = $('#DOMWindow');
+ //centered, absolute, or fixed
+ switch(settings.positionType){
+ case 'centered':
+ centerDOMWindow();
+ if(settings.height + 50 > shortcut.viewPortHeight()){//added 50 to be safe
+ $DOMWindow.css('top', (settings.fixedWindowY + shortcut.scrollOffsetHeight()) + 'px');
+ }
+ break;
+ case 'absolute':
+ $DOMWindow.css({'top':(settings.positionTop+shortcut.scrollOffsetHeight())+'px','left':(settings.positionLeft+shortcut.scrollOffsetWidth())+'px'});
+ if($.fn.draggable){
+ if(settings.draggable){$DOMWindow.draggable({cursor:'move'});}
+ }
+ break;
+ case 'fixed':
+ fixedDOMWindow();
+ break;
+ case 'anchoredSingleWindow':
+ var anchoredPositions = $(settings.anchoredSelector).position();
+ var anchoredPositionX = anchoredPositions.left + settings.positionLeft;
+ var anchoredPositionY = anchoredPositions.top + settings.positionTop;
+ $DOMWindow.css({'top':anchoredPositionY + 'px','left':anchoredPositionX+'px'});
+
+ break;
+ }
+
+ $(window).bind('scroll.DOMWindow',function(){
+ if(settings.overlay){sizeOverlay();}
+ if(shortcut.isIE6){sizeIE6Iframe();}
+ if(settings.positionType == 'centered'){centerDOMWindow();}
+ if(settings.positionType == 'fixed'){fixedDOMWindow();}
+ });
+
+ $(window).bind('resize.DOMWindow',function(){
+ if(shortcut.isIE6){sizeIE6Iframe();}
+ if(settings.overlay){sizeOverlay();}
+ if(settings.positionType == 'centered'){centerDOMWindow();}
+ });
+
+ switch(settings.windowSource){
+ case 'inline'://////////////////////////////// inline //////////////////////////////////////////
+ $DOMWindow.append($(settings.windowSourceID).children());
+ $DOMWindow.unload(function(){// move elements back when you're finished
+ $(settings.windowSourceID).append($DOMWindow.children());
+ });
+ showDOMWindow();
+ break;
+ case 'iframe'://////////////////////////////// iframe //////////////////////////////////////////
+ var name = 'DOMWindowIframe'+Math.round(Math.random()*1000);
+ $DOMWindow.append('<iframe frameborder="0" hspace="0" wspace="0" src="'+settings.windowSourceURL+'" name="'+name+'" style="width:100%;height:100%;border:none;background-color:#fff;overflow:'+settings.windowOverflow+';" id="DOMWindowIframe" ></iframe>');
+ $('#DOMWindowIframe').load(showDOMWindow());
+ break;
+ case 'ajax'://////////////////////////////// ajax //////////////////////////////////////////
+ if(settings.windowHTTPType == 'post'){
+
+ if(settings.windowSourceURL.indexOf("?") !== -1){//has a query string
+ urlOnly = settings.windowSourceURL.substr(0, settings.windowSourceURL.indexOf("?"));
+ urlQueryObject = urlQueryToObject(settings.windowSourceURL, settings.ajaxParameters);
+ }else{
+ urlOnly = settings.windowSourceURL;
+ urlQueryObject = settings.ajaxParameters;
+ }
+ $DOMWindow.load(urlOnly,urlQueryObject,function(){
+ showDOMWindow();
+ });
+ }else{
+ if(settings.windowSourceURL.indexOf("?") == -1){ //no query string, so add one
+ settings.windowSourceURL += '?';
+ }
+ $DOMWindow.load(
+ settings.windowSourceURL + '&random=' + (new Date().getTime()),function(){
+ showDOMWindow();
+ });
+ }
+ break;
+ }
+
+ }//end if anchored, or absolute, fixed, centered
+
+ };//end run()
+
+ if(settings.eventType){//if used with $().
+ return this.each(function(index){
+ $(this).bind(settings.eventType,function(){
+ run(this);
+ return false;
+ });
+ });
+ }else{//else called as $.function
+ run();
+ }
+
+ };//end function openDOMWindow
+
+ //allow for public call, pass settings
+ $.openDOMWindow = function(s){$.fn.openDOMWindow(s);};
+
+})(jQuery);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/js/jquery.skinned-select.js Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,26 @@
+$(document).ready(
+ function() {
+ $('.my-skinnable-select').each(
+ function(i) {
+ selectContainer = $(this);
+ // Remove the class for non JS browsers
+ selectContainer.removeClass('my-skinnable-select');
+ // Add the class for JS Browers
+ selectContainer.addClass('skinned-select');
+ // Find the select box
+ selectContainer.children().before('<div class="select-text">a</div>').each(
+ function() {
+ $(this).prev().text(this.options[0].innerHTML)
+ }
+ );
+ // Store the parent object
+ var parentTextObj = selectContainer.children().prev();
+ // As we click on the options
+ selectContainer.children().click(function() {
+ // Set the value of the html
+ parentTextObj.text(this.options[this.selectedIndex].innerHTML);
+ })
+ }
+ );
+ }
+);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/js/swfobject.js Mon Feb 01 09:53:45 2010 +0000
@@ -0,0 +1,8 @@
+/**
+ * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
+ *
+ * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
+ * http://www.opensource.org/licenses/mit-license.php
+ *
+ */
+if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
\ No newline at end of file