Changeset 228 for ether_megapoli


Ignore:
Timestamp:
10/21/11 14:37:32 (13 years ago)
Author:
vmipsl
Message:

look apple

Location:
ether_megapoli/trunk
Files:
1 deleted
17 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/common/Common.iml

    r178 r228  
    2222      </library> 
    2323    </orderEntry> 
     24    <orderEntry type="module" module-name="Domain" /> 
    2425  </component> 
    2526</module> 
  • ether_megapoli/trunk/common/implementation/com/medias/Context.java

    r213 r228  
    11package com.medias; 
    22 
     3import com.medias.annuaire.Personne; 
     4import net.sf.json.JSONObject; 
    35import org.apache.struts.Globals; 
    46import org.jetbrains.annotations.NotNull; 
     
    9092    public static String getWebmaster( HttpServletRequest request ) 
    9193    { 
    92         String webmaster = (String) request.getSession().getServletContext().getAttribute( "APP_WEBMASTER" ); 
    93         return webmaster; 
     94        return (String) request.getSession().getServletContext().getAttribute( "APP_WEBMASTER" ); 
    9495    } 
    9596 
     
    184185        return message; 
    185186    } 
     187 
     188    public static JSONObject getUser( @NotNull final HttpServletRequest request ) 
     189    { 
     190        final JSONObject jSONPeople = new JSONObject(); 
     191 
     192        final Personne people = (Personne) request.getSession().getAttribute( "SES_USER" ); 
     193        if( null == people ) 
     194            return null; 
     195 
     196        jSONPeople.put( "name", people.getNom() ); 
     197        jSONPeople.put( "firstName", people.getPrenom() ); 
     198        jSONPeople.put( "role", people.getRoles() ); 
     199        return jSONPeople; 
     200    } 
    186201} 
  • ether_megapoli/trunk/web/index.jsp

    r227 r228  
    1717 
    1818 
     19    <%-- ****************** CONTENT ****************** --%> 
    1920    <tiles:put name="bodytitle" type="string"><bean:message key="data.title"/></tiles:put> 
    2021 
    2122 
    2223    <tiles:put name="body" type="string"> 
    23         <div class="indexContent"> 
    24  
    25             <bean:message key="data.intro0"/> 
    26             <bean:message key="data.intro1"/><html:link href="mailto:${webmaster}?subject=[MEGAPOLI]">webmaster</html:link>. 
    27             <bean:define id="upload" value="upload"/> 
    28             <bean:define id="access" value="access"/> 
    29             <ul> 
    30                 <li> 
    31                     <html:link page="/data/access/access.jsp"><bean:message key="data.access"/></html:link>: <bean:message key="data.access.intro"/> 
    32                 </li> 
    33                 <li> 
    34                     <logic:notPresent name="SES_USER" scope="session"> 
    35                         <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><bean:message key="data.access.extract"/></html:link> 
    36                     </logic:notPresent> 
    37                     <logic:present name="SES_USER" scope="session"> 
    38                         <html:link page="/DataAccess.do"><bean:message key="data.access.extract"/></html:link> 
    39                     </logic:present> 
    40                     : <bean:message key="data.access.intro2"/> 
    41                 </li> 
    42                 <li> 
    43                     <logic:notPresent name="SES_USER" scope="session"> 
    44                         <html:link page="/InitLogon.do" paramName="upload" paramId="source"><bean:message key="data.upload"/></html:link> 
    45                     </logic:notPresent> 
    46                     <logic:present name="SES_USER" scope="session"> 
    47                         <html:link page="/PrepareTree.do"><bean:message key="data.upload"/></html:link> 
    48                     </logic:present> 
    49                     : <bean:message key="data.upload.intro"/> 
    50                 </li> 
    51             </ul> 
    52         </div> 
     24        <bean:message key="data.intro0"/> 
     25        <bean:message key="data.intro1"/><html:link href="mailto:${webmaster}?subject=[MEGAPOLI]">webmaster</html:link>. 
     26        <bean:define id="upload" value="upload"/> 
     27        <bean:define id="access" value="access"/> 
     28        <ul> 
     29            <li> 
     30                <html:link page="/data/access/access.jsp"><bean:message key="data.access"/></html:link>: <bean:message 
     31                    key="data.access.intro"/> 
     32            </li> 
     33            <li> 
     34                <logic:notPresent name="SES_USER" scope="session"> 
     35                    <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><bean:message 
     36                            key="data.access.extract"/></html:link> 
     37                </logic:notPresent> 
     38                <logic:present name="SES_USER" scope="session"> 
     39                    <html:link page="/DataAccess.do"><bean:message key="data.access.extract"/></html:link> 
     40                </logic:present> 
     41                : <bean:message key="data.access.intro2"/> 
     42            </li> 
     43            <li> 
     44                <logic:notPresent name="SES_USER" scope="session"> 
     45                    <html:link page="/InitLogon.do" paramName="upload" paramId="source"><bean:message 
     46                            key="data.upload"/></html:link> 
     47                </logic:notPresent> 
     48                <logic:present name="SES_USER" scope="session"> 
     49                    <html:link page="/PrepareTree.do"><bean:message key="data.upload"/></html:link> 
     50                </logic:present> 
     51                : <bean:message key="data.upload.intro"/> 
     52            </li> 
     53        </ul> 
    5354    </tiles:put> 
    5455 
  • ether_megapoli/trunk/web/resources/css/TwitterLogin/front.css

    r227 r228  
    44} 
    55 
    6 a:link, a:visited { 
    7     color: #27b; 
    8     text-decoration: none; 
    9 } 
    10  
    11 a:hover { 
     6/*a:link, a:visited {*/ 
     7    /*color: #27b;*/ 
     8    /*text-decoration: none;*/ 
     9/*}*/ 
     10 
     11/*a:hover {*/ 
    1212/*text-decoration: underline;*/ 
    13 } 
     13/*}*/ 
    1414 
    1515a img { 
     
    9292    padding: 16px; 
    9393    top: 24.5px; 
    94     right: 0px; 
     94    right: -2px; 
    9595    margin-top: 5px; 
    9696    margin-right: 0px; 
  • ether_megapoli/trunk/web/resources/css/apycom.com-4-steel-blue/menu.css

    r220 r228  
    2626    background: url(images/left.png) no-repeat; 
    2727    _background-image: url(images/left.gif); 
    28     width:auto; 
     28    width: auto; 
     29    right: 0; 
    2930} 
    3031 
     
    3536    float: left; 
    3637} 
     38 
    3739div#menu ul.menu { 
    3840    padding-right: 10px; 
     
    5052    width: auto; 
    5153} 
     54 
    5255div#menu ul ul li { 
    5356    z-index: 9; 
    5457} 
     58 
    5559div#menu li div { 
    5660    list-style: none; 
     
    6165    left: 0; 
    6266    visibility: hidden; 
    63     width: 187px; 
    64     padding: 0 0 11px 7px; 
    65     background: url(images/submenu-bottom.png) no-repeat 7px bottom; 
     67    width: auto; /*width: 187px;*/ 
     68    padding: 0 0 11px 0; 
     69    background: url(images/submenu-bottom_short.png) no-repeat 7px bottom; 
     70    background-repeat: repeat-x; 
    6671    _background-image: url(images/submenu-bottom.gif); 
    67     margin: 0px 0 0 -4px; 
    68 } 
     72    -moz-border-radius: 0 0 6px 6px; 
     73    margin: 0 8px 0 3px; 
     74} 
     75 
    6976div#menu li:hover>div { 
    7077    visibility: visible; 
     
    8491    padding-right: 5px; 
    8592    text-align: center; 
    86 } 
     93    min-width: 70px; 
     94} 
     95 
    8796div#menu span { 
    8897    display: block; 
     
    102111    background: none; 
    103112} 
     113 
    104114div#menu span { 
    105115    margin-top: 2px; 
    106116    padding-left: 30px; 
    107117    color: #fff; 
    108     font: bold 11px Trebuchet MS,Arial,san-serif; 
     118    font: bold 11px Trebuchet MS, Arial, san-serif; 
    109119    background: none; 
    110120    line-height: 40px; 
    111121} 
     122 
    112123div#menu a:hover, 
    113124div#menu a.over { 
    114     background:  url(images/selected-right-sub.png) no-repeat right -1px; 
     125    background: url(images/selected-right-sub.png) no-repeat right -1px; 
    115126    _background-image: url(images/selected-right-sub.gif); 
    116127} 
     128 
    117129div#menu a:hover span, 
    118130div#menu a.over span { 
     
    120132    _background-image: url(images/selected-left-sub.gif); 
    121133} 
     134 
    122135div#menu li.current a, 
    123136div#menu ul.menu>li:hover>a { 
     
    125138    _background-image: url(images/selected-right-sub.gif); 
    126139} 
     140 
    127141div#menu li.current a span, 
    128142div#menu ul.menu>li:hover>a span { 
     
    130144    _background-image: url(images/selected-left-sub.gif); 
    131145} 
     146 
    132147div#menu ul.menu>li:hover>a span { 
    133148    color: #043454; 
    134149} 
    135 div#menu li {  } 
    136 div#menu li.last { background: none; } 
     150 
     151div#menu li { 
     152} 
     153 
     154div#menu li.last { 
     155    background: none; 
     156} 
    137157 
    138158div#menu li.current a, 
     
    142162div#menu.js-active a, 
    143163div#menu.js-active span { 
    144     background:none; 
    145 } 
     164    background: none; 
     165} 
     166 
    146167div#menu.js-active ul.menu>li:hover>a, 
    147168div#menu.js-active ul.menu>li:hover>a span { 
    148     background:none; 
    149 } 
     169    background: none; 
     170} 
     171 
    150172div#menu li.current a.over { 
    151     background: url(images/selected-right-sub.png)  no-repeat right -1px; 
     173    background: url(images/selected-right-sub.png) no-repeat right -1px; 
    152174    _background-image: url(images/selected-right-sub.gif); 
    153175} 
     176 
    154177div#menu li.current a.over span { 
    155178    background: url(images/selected-left-sub.png) no-repeat 0 -3px; 
    156179    _background-image: url(images/selected-left-sub.gif); 
    157180} 
     181 
    158182div#menu a.over span { 
    159183    color: #043454; 
     
    165189    padding: 0; 
    166190} 
     191 
    167192div#menu ul ul { 
    168193    padding-top: 10px; 
    169194} 
     195 
    170196div#menu ul ul a { 
    171197    padding: 0; 
     
    178204    z-index: -1; 
    179205    padding-left: 5px; 
    180     white-space: normal; 
    181     width: 160px; 
     206    white-space: normal; /*width: 160px;*/ 
    182207    margin: 0 5px; 
    183208    text-transform: none; 
    184209} 
    185      
     210 
    186211div#menu ul ul a span { 
    187212    padding: 0 15px; 
     
    189214    font-size: 11px; 
    190215} 
     216 
    191217div#menu li.current ul a, 
    192218div#menu li.current ul a span { 
    193     background:none; 
    194 } 
     219    background: none; 
     220} 
     221 
    195222div#menu ul ul a:hover { 
    196     background: url(images/submenu-selected-bottom.png) no-repeat 5px bottom; 
    197 } 
     223/*background: url(images/submenu-selected-bottom.png) no-repeat 5px bottom;*/ 
     224    background: transparent; 
     225} 
     226 
    198227div#menu ul ul a:hover span { 
    199     background: url(images/submenu-selected-top.png) no-repeat 0 0; 
    200 } 
     228/*background: url(images/submenu-selected-top.png) no-repeat 0 0;*/ 
     229    background: transparent; 
     230} 
     231 
    201232div#menu ul ul a.parent { 
    202233    background: url(images/submenu-pointer-bottom.gif) no-repeat 5px bottom; 
    203234} 
     235 
    204236div#menu ul ul a.parent span { 
    205237    background: url(images/submenu-pointer-top.png) no-repeat 0 0; 
    206238} 
     239 
    207240div#menu ul ul a.parent:hover { 
    208     background: url(images/submenu-pointer-selected-bottom.png) no-repeat 5px bottom; 
    209 } 
     241/*background: url(images/submenu-pointer-selected-bottom.png) no-repeat 5px bottom;*/ 
     242} 
     243 
    210244div#menu ul ul a.parent:hover span { 
    211     background: url(images/submenu-selected-top.png) no-repeat 0 0; 
    212 } 
     245/*background: url(images/submenu-selected-top.png) no-repeat 0 0;*/ 
     246} 
     247 
    213248div#menu ul ul span { 
    214249    margin-top: 0; 
    215250    text-align: left; 
    216251} 
    217 div#menu ul ul li.last { background: none; } 
     252 
     253div#menu ul ul li.last { 
     254    background: none; 
     255} 
     256 
    218257div#menu ul ul li { 
    219258    width: 100%; 
     
    222261/* menu::level3 */ 
    223262div#menu ul ul div { 
    224     width: 180px; 
     263    width: auto; /*width: 180px;*/ 
    225264    padding: 15px 0px 8px 0px; 
    226265    margin: -44px 0 0 169px !important; 
     
    228267    _background-image: url(images/subsubmenu-top.gif); 
    229268} 
    230 *+html div#menu ul ul div { height:10px } 
    231 *+html div#menu.ie7 ul ul div { height:auto } 
     269 
     270*+html div#menu ul ul div { 
     271    height: 10px 
     272} 
     273 
     274*+html div#menu.ie7 ul ul div { 
     275    height: auto 
     276} 
     277 
    232278div#menu ul ul ul { 
    233279    padding: 0 4px 5px 1px; 
     
    235281    _background-image: url(images/submenu-bottom.gif); 
    236282} 
     283 
    237284div#menu ul ul div li { 
    238     position:relative; 
    239     top:-5px; 
     285    position: relative; 
     286    top: -5px; 
    240287} 
    241288 
     
    253300 
    254301div#menu li.back .left { 
    255     padding:0; 
    256     width:auto; 
     302    padding: 0; 
     303    width: auto; 
    257304    background: url(images/lavalamp-right.png) no-repeat right 0; 
    258305    _background-image: url(images/lavalamp-right.gif); 
  • ether_megapoli/trunk/web/resources/css/etherApple.css

    r227 r228  
    77body { 
    88    font-size: 13px; 
    9     line-height: 1.7em; 
    10     color: #333333; 
    11     font-family: Trebuchet MS,Arial,san-serif; 
     9    line-height: 1.7em; /*color: #333333;*/ 
     10    color: #04155D; 
     11    font-family: Trebuchet MS, Arial, san-serif; 
    1212} 
    1313 
     
    2323a:hover { 
    2424    text-decoration: none; 
     25    color: #2277BB; 
     26} 
     27 
     28a:visited { 
     29    text-decoration: none; 
    2530    color: #618EAC; 
    2631} 
     
    3136    width: 980px; 
    3237    text-align: left; 
    33     margin: 0 auto; 
    34     padding-bottom: 20px; 
     38    margin: -13px auto; 
    3539} 
    3640 
  • ether_megapoli/trunk/web/resources/css/megapoliApple.css

    r227 r228  
    5353    font-weight: bold; 
    5454    float: left; 
    55     margin-top: 7px; 
    56     padding-left: 124px; 
     55    margin-top: 9px; 
     56    padding-left: 177px; 
    5757} 
    5858 
     
    6464    padding-left: 30px; 
    6565    width: 120px; 
     66    top: -32px; 
     67    position: relative; 
     68} 
     69 
     70.containerUserLogout { 
     71    float: left; 
     72    margin-right: 5px; 
     73} 
     74 
     75.containerImgLogout { 
     76    float: right; 
     77    position: relative; 
     78    top: 11px; 
    6679} 
    6780 
     
    7285    position: relative; 
    7386    width: 340px; 
    74     height: 34px; 
     87    height: 31px; 
    7588    color: #04155D; 
    76     margin-bottom: 15px; 
     89    top: 4px; 
     90    margin-bottom: 20px; 
    7791    margin-right: 15px; 
    78     padding-top: 7px; 
     92    padding-top: 6px; 
    7993    padding-left: 10px; 
    8094} 
    8195 
    8296.containerMenu { 
     97    float: right; 
     98} 
     99 
     100.containerTitleContentBorder { 
    83101    float: left; 
     102    position: relative; 
     103    height: 2px; 
     104    border-bottom: 10px solid white; 
     105    z-index: 1; 
     106    left: -10px; 
     107    width: 810px; 
    84108} 
    85109 
    86110.containerTitleContent { 
    87     -moz-border-radius: 4px 4px 4px 4px; 
    88     -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 
    89     background-image: url("../images/elements/button_middle_3.png"); /*background-image: url("../images/elements/button_middle.png");*/ 
     111    -moz-border-radius: 4px 4px 0 0; 
     112    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
     113    background-image: url("../images/fond_bleu2.png"); 
    90114    background-repeat: repeat-x; 
    91115    float: left; 
    92116    position: relative; 
    93117    width: 800px; 
     118    height: 26px; 
     119    color: #165076; 
     120    font-weight: bold; 
    94121    padding-left: 10px; 
    95     height: 26px; 
    96     /*background-color: #04155D;*/ 
    97     color: #FFFFFF; 
    98122    padding-top: 4px; 
    99123} 
    100124 
    101125.containerCenter { 
     126    -moz-border-radius-topright: 0; 
    102127    min-height: 400px; 
    103128    text-align: justify; 
     129    position: relative; 
     130    top: -32px; 
     131    padding: 10px; 
     132    width: 960px; 
    104133} 
    105134 
     
    109138 
    110139.containerBottom { 
    111     background-image: url("../images/elements/button_middle_3.png"); /*background-image: url("../images/elements/button_middle.png");*/ 
     140/*background-image: url("../images/elements/button_middle.png");*/ 
     141    background-image: url("../images/elements/button_middle_3.png"); 
    112142    background-repeat: repeat-x; 
    113     /*background-color: #04155D;*/ 
    114143    color: #FFFFFF; 
    115144    height: 26px; 
    116     padding: 0; 
     145    padding-right: 10px; 
     146    position: relative; 
     147    top: -32px; 
     148    width: 975px; 
     149} 
     150 
     151.containerButtonSlideLeft { 
     152    position: absolute; 
     153    top: 10px; 
     154} 
     155 
     156.containerSlideLeft { 
     157    position: absolute; 
     158    top: 50px; 
    117159} 
    118160 
     
    130172} 
    131173 
    132 .indexContent { 
     174.mainContent { 
    133175    padding: 15px; 
     176} 
     177 
     178.roundTable { 
     179    -moz-border-radius: 4px; 
    134180} 
    135181 
     
    218264 
    219265#title_tools { 
    220     font: 12px/18px Trebuchet MS,Arial,san-serif; 
     266    font: 12px/18px Trebuchet MS, Arial, san-serif; 
    221267    margin: 18px auto 12px; 
    222268    position: relative; 
  • ether_megapoli/trunk/web/resources/css/visu_parameter_by_pf.css

    r225 r228  
    101101 
    102102.textExamples { 
    103     color: #04155D; 
     103    /*color: #04155D;*/ 
    104104    margin-bottom: 10px; 
    105105} 
  • ether_megapoli/trunk/web/resources/js/apycom.com-4-steel-blue/menu.js

    r220 r228  
    66 */ 
    77 
    8 (function(jQuery){ 
    9  
    10         // We override the animation for all of these color styles 
    11         jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ 
    12                 jQuery.fx.step[attr] = function(fx){ 
    13                         if ( fx.state == 0 ) { 
    14                                 fx.start = getColor( fx.elem, attr ); 
    15                                 fx.end = getRGB( fx.end ); 
    16                         } 
    17             if ( fx.start ) 
     8(function( jQuery ) 
     9{ 
     10 
     11    // We override the animation for all of these color styles 
     12    jQuery.each( ['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function( i, attr ) 
     13    { 
     14        jQuery.fx.step[attr] = function( fx ) 
     15        { 
     16            if( fx.state == 0 ) 
     17            { 
     18                fx.start = getColor( fx.elem, attr ); 
     19                fx.end = getRGB( fx.end ); 
     20            } 
     21            if( fx.start ) 
    1822                fx.elem.style[attr] = "rgb(" + [ 
    19                     Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0), 
    20                     Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0), 
    21                     Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0) 
    22                 ].join(",") + ")"; 
    23                 } 
    24         }); 
    25  
    26         // Color Conversion functions from highlightFade 
    27         // By Blair Mitchelmore 
    28         // http://jquery.offput.ca/highlightFade/ 
    29  
    30         // Parse strings looking for color tuples [255,255,255] 
    31         function getRGB(color) { 
    32                 var result; 
    33  
    34                 // Check if we're already dealing with an array of colors 
    35                 if ( color && color.constructor == Array && color.length == 3 ) 
    36                         return color; 
    37  
    38                 // Look for rgb(num,num,num) 
    39                 if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) 
    40                         return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])]; 
    41  
    42                 // Look for rgb(num%,num%,num%) 
    43                 if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) 
    44                         return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55]; 
    45  
    46                 // Look for #a0b1c2 
    47                 if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color)) 
    48                         return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)]; 
    49  
    50                 // Look for #fff 
    51                 if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) 
    52                         return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)]; 
    53  
    54                 // Otherwise, we're most likely dealing with a named color 
    55                 return colors[jQuery.trim(color).toLowerCase()]; 
    56         } 
    57          
    58         function getColor(elem, attr) { 
    59                 var color; 
    60  
    61                 do { 
    62                         color = jQuery.curCSS(elem, attr); 
    63  
    64                         // Keep going until we find an element that has color, or we hit the body 
    65                         if ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") ) 
    66                                 break;  
    67  
    68                         attr = "backgroundColor"; 
    69                 } while ( elem = elem.parentNode ); 
    70  
    71                 return getRGB(color); 
    72         }; 
    73          
    74         // Some named colors to work with 
    75         // From Interface by Stefan Petre 
    76         // http://interface.eyecon.ro/ 
    77  
    78         var colors = { 
    79                 aqua:[0,255,255], 
    80                 azure:[240,255,255], 
    81                 beige:[245,245,220], 
    82                 black:[0,0,0], 
    83                 blue:[0,0,255], 
    84                 brown:[165,42,42], 
    85                 cyan:[0,255,255], 
    86                 darkblue:[0,0,139], 
    87                 darkcyan:[0,139,139], 
    88                 darkgrey:[169,169,169], 
    89                 darkgreen:[0,100,0], 
    90                 darkkhaki:[189,183,107], 
    91                 darkmagenta:[139,0,139], 
    92                 darkolivegreen:[85,107,47], 
    93                 darkorange:[255,140,0], 
    94                 darkorchid:[153,50,204], 
    95                 darkred:[139,0,0], 
    96                 darksalmon:[233,150,122], 
    97                 darkviolet:[148,0,211], 
    98                 fuchsia:[255,0,255], 
    99                 gold:[255,215,0], 
    100                 green:[0,128,0], 
    101                 indigo:[75,0,130], 
    102                 khaki:[240,230,140], 
    103                 lightblue:[173,216,230], 
    104                 lightcyan:[224,255,255], 
    105                 lightgreen:[144,238,144], 
    106                 lightgrey:[211,211,211], 
    107                 lightpink:[255,182,193], 
    108                 lightyellow:[255,255,224], 
    109                 lime:[0,255,0], 
    110                 magenta:[255,0,255], 
    111                 maroon:[128,0,0], 
    112                 navy:[0,0,128], 
    113                 olive:[128,128,0], 
    114                 orange:[255,165,0], 
    115                 pink:[255,192,203], 
    116                 purple:[128,0,128], 
    117                 violet:[128,0,128], 
    118                 red:[255,0,0], 
    119                 silver:[192,192,192], 
    120                 white:[255,255,255], 
    121                 yellow:[255,255,0] 
    122         }; 
    123          
    124 })(jQuery); 
     23                    Math.max( Math.min( parseInt( (fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0] ), 255 ), 0 ), 
     24                    Math.max( Math.min( parseInt( (fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1] ), 255 ), 0 ), 
     25                    Math.max( Math.min( parseInt( (fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2] ), 255 ), 0 ) 
     26                ].join( "," ) + ")"; 
     27        } 
     28    } ); 
     29 
     30    // Color Conversion functions from highlightFade 
     31    // By Blair Mitchelmore 
     32    // http://jquery.offput.ca/highlightFade/ 
     33 
     34    // Parse strings looking for color tuples [255,255,255] 
     35    function getRGB( color ) 
     36    { 
     37        var result; 
     38 
     39        // Check if we're already dealing with an array of colors 
     40        if( color && color.constructor == Array && color.length == 3 ) 
     41            return color; 
     42 
     43        // Look for rgb(num,num,num) 
     44        if( result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec( color ) ) 
     45            return [parseInt( result[1] ), parseInt( result[2] ), parseInt( result[3] )]; 
     46 
     47        // Look for rgb(num%,num%,num%) 
     48        if( result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec( color ) ) 
     49            return [parseFloat( result[1] ) * 2.55, parseFloat( result[2] ) * 2.55, parseFloat( result[3] ) * 2.55]; 
     50 
     51        // Look for #a0b1c2 
     52        if( result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec( color ) ) 
     53            return [parseInt( result[1], 16 ), parseInt( result[2], 16 ), parseInt( result[3], 16 )]; 
     54 
     55        // Look for #fff 
     56        if( result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec( color ) ) 
     57            return [parseInt( result[1] + result[1], 16 ), parseInt( result[2] + result[2], 16 ), parseInt( result[3] + result[3], 16 )]; 
     58 
     59        // Otherwise, we're most likely dealing with a named color 
     60        return colors[jQuery.trim( color ).toLowerCase()]; 
     61    } 
     62 
     63    function getColor( elem, attr ) 
     64    { 
     65        var color; 
     66 
     67        do { 
     68            color = jQuery.curCSS( elem, attr ); 
     69 
     70            // Keep going until we find an element that has color, or we hit the body 
     71            if( color != '' && color != 'transparent' || jQuery.nodeName( elem, "body" ) ) 
     72                break; 
     73 
     74            attr = "backgroundColor"; 
     75        } 
     76        while( elem = elem.parentNode ); 
     77 
     78        return getRGB( color ); 
     79    } 
     80 
     81    ; 
     82 
     83    // Some named colors to work with 
     84    // From Interface by Stefan Petre 
     85    // http://interface.eyecon.ro/ 
     86 
     87    var colors = { 
     88        aqua:[0,255,255], 
     89        azure:[240,255,255], 
     90        beige:[245,245,220], 
     91        black:[0,0,0], 
     92        blue:[0,0,255], 
     93        brown:[165,42,42], 
     94        cyan:[0,255,255], 
     95        darkblue:[0,0,139], 
     96        darkcyan:[0,139,139], 
     97        darkgrey:[169,169,169], 
     98        darkgreen:[0,100,0], 
     99        darkkhaki:[189,183,107], 
     100        darkmagenta:[139,0,139], 
     101        darkolivegreen:[85,107,47], 
     102        darkorange:[255,140,0], 
     103        darkorchid:[153,50,204], 
     104        darkred:[139,0,0], 
     105        darksalmon:[233,150,122], 
     106        darkviolet:[148,0,211], 
     107        fuchsia:[255,0,255], 
     108        gold:[255,215,0], 
     109        green:[0,128,0], 
     110        indigo:[75,0,130], 
     111        khaki:[240,230,140], 
     112        lightblue:[173,216,230], 
     113        lightcyan:[224,255,255], 
     114        lightgreen:[144,238,144], 
     115        lightgrey:[211,211,211], 
     116        lightpink:[255,182,193], 
     117        lightyellow:[255,255,224], 
     118        lime:[0,255,0], 
     119        magenta:[255,0,255], 
     120        maroon:[128,0,0], 
     121        navy:[0,0,128], 
     122        olive:[128,128,0], 
     123        orange:[255,165,0], 
     124        pink:[255,192,203], 
     125        purple:[128,0,128], 
     126        violet:[128,0,128], 
     127        red:[255,0,0], 
     128        silver:[192,192,192], 
     129        white:[255,255,255], 
     130        yellow:[255,255,0] 
     131    }; 
     132 
     133})( jQuery ); 
    125134 
    126135/** jquery.lavalamp.js ****************/ 
     
    140149 
    141150/** 
    142  * Creates a menu with an unordered list of menu-items. You can either use the CSS that comes with the plugin, or write your own styles  
     151 * Creates a menu with an unordered list of menu-items. You can either use the CSS that comes with the plugin, or write your own styles 
    143152 * to create a personalized effect 
    144153 * 
     
    152161 *       </ul> 
    153162 * 
    154  * Once you have included the style sheet that comes with the plugin, you will have to include  
     163 * Once you have included the style sheet that comes with the plugin, you will have to include 
    155164 * a reference to jquery library, easing plugin(optional) and the LavaLamp(this) plugin. 
    156165 * 
     
    158167 *   $(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700}) }); 
    159168 * 
    160  * Thats it. Now you should have a working lavalamp menu.  
     169 * Thats it. Now you should have a working lavalamp menu. 
    161170 * 
    162171 * @param an options object - You can specify all the options shown below as an options object param. 
     
    175184 * @example 
    176185 * $(".lavaLamp").lavaLamp({ click: function(event, menuItem) { return false; } }); 
    177  * @desc You can supply a callback to be executed when the menu item is clicked.  
     186 * @desc You can supply a callback to be executed when the menu item is clicked. 
    178187 * The event object and the menu-item that was clicked will be passed in as arguments. 
    179188 */ 
    180 (function($) { 
    181     $.fn.lavaLamp = function(o) { 
    182         o = $.extend({ fx: "linear", speed: 500, click: function(){} }, o || {}); 
    183  
    184         return this.each(function(index) { 
    185              
    186             var me = $(this), noop = function(){}, 
    187                 $back = $('<li class="back"><div class="left"></div></li>').appendTo(me), 
    188                 $li = $(">li", this), curr = $("li.current", this)[0] || $($li[0]).addClass("current")[0]; 
    189  
    190             $li.not(".back").hover(function() { 
    191                 move(this); 
    192             }, noop); 
    193  
    194             $(this).hover(noop, function() { 
    195                 move(curr); 
    196             }); 
    197  
    198             $li.click(function(e) { 
    199                 setCurr(this); 
    200                 return o.click.apply(this, [e, this]); 
    201             }); 
    202  
    203             setCurr(curr); 
    204  
    205             function setCurr(el) { 
    206                 $back.css({ "left": el.offsetLeft+"px", "width": el.offsetWidth+"px" }); 
     189(function( $ ) 
     190{ 
     191    $.fn.lavaLamp = function( o ) 
     192    { 
     193        o = $.extend( { fx: "linear", speed: 500, click: function() 
     194        { 
     195        } }, o || {} ); 
     196 
     197        return this.each( function( index ) 
     198        { 
     199 
     200            var me = $( this ), noop = function() 
     201            { 
     202            }, 
     203                    $back = $( '<li class="back"><div class="left"></div></li>' ).appendTo( me ), 
     204                    $li = $( ">li", this ), curr = $( "li.current", this )[0] || $( $li[0] ).addClass( "current" )[0]; 
     205 
     206            $li.not( ".back" ).hover( function() 
     207            { 
     208                move( this ); 
     209            }, noop ); 
     210 
     211            $( this ).hover( noop, function() 
     212            { 
     213                move( curr ); 
     214            } ); 
     215 
     216            $li.click( function( e ) 
     217            { 
     218                setCurr( this ); 
     219                return o.click.apply( this, [e, this] ); 
     220            } ); 
     221 
     222            setCurr( curr ); 
     223 
     224            function setCurr( el ) 
     225            { 
     226                $back.css( { "left": el.offsetLeft + "px", "width": el.offsetWidth + "px" } ); 
    207227                curr = el; 
    208             }; 
    209              
    210             function move(el) { 
    211                 $back.each(function() { 
    212                     $.dequeue(this, "fx"); } 
    213                 ).animate({ 
    214                     width: el.offsetWidth, 
    215                     left: el.offsetLeft 
    216                 }, o.speed, o.fx); 
    217             }; 
    218  
    219             if (index == 0){ 
    220                 $(window).resize(function(){ 
    221                     $back.css({ 
     228            } 
     229 
     230            ; 
     231 
     232            function move( el ) 
     233            { 
     234                $back.each( 
     235                        function() 
     236                        { 
     237                            $.dequeue( this, "fx" ); 
     238                        } 
     239                        ).animate( { 
     240                                       width: el.offsetWidth, 
     241                                       left: el.offsetLeft 
     242                                   }, o.speed, o.fx ); 
     243            } 
     244 
     245            ; 
     246 
     247            if( index == 0 ) 
     248            { 
     249                $( window ).resize( function() 
     250                { 
     251                    $back.css( { 
    222252                        width: curr.offsetWidth, 
    223253                        left: curr.offsetLeft 
    224                     }); 
    225                 }); 
     254                    } ); 
     255                } ); 
    226256            } 
    227              
    228         }); 
    229     }; 
    230 })(jQuery); 
     257 
     258        } ); 
     259    }; 
     260})( jQuery ); 
    231261 
    232262/** jquery.easing.js ****************/ 
     
    244274 * All rights reserved. 
    245275 */ 
    246 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('h.j[\'J\']=h.j[\'C\'];h.H(h.j,{D:\'y\',C:9(x,t,b,c,d){6 h.j[h.j.D](x,t,b,c,d)},U:9(x,t,b,c,d){6 c*(t/=d)*t+b},y:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},17:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},12:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},W:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},X:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},18:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},15:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},1b:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},Q:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},I:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},N:9(x,t,b,c,d){6-c*8.B(t/d*(8.g/2))+c+b},M:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},L:9(x,t,b,c,d){6-c/2*(8.B(8.g*t/d)-1)+b},O:9(x,t,b,c,d){6(t==0)?b:c*8.i(2,10*(t/d-1))+b},P:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.i(2,-10*t/d)+1)+b},S:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.i(2,10*(t-1))+b;6 c/2*(-8.i(2,-10*--t)+2)+b},R:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},K:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},T:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},F:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},E:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.i(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},G:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.i(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},1a:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},19:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},14:9(x,t,b,c,d,s){e(s==v)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.z))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.z))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.j.w(x,d-t,0,c,d)+b},w:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.V/2.k))*t+.Y)+b}m{6 c*(7.q*(t-=(2.16/2.k))*t+.11)+b}},Z:9(x,t,b,c,d){e(t<d/2)6 h.j.A(x,t*2,0,c,d)*.5+b;6 h.j.w(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|pow|easing|75|70158|else|sin|sqrt||5625|asin|||abs|undefined|easeOutBounce||easeOutQuad|525|easeInBounce|cos|swing|def|easeOutElastic|easeInElastic|easeInOutElastic|extend|easeOutQuint|jswing|easeOutCirc|easeInOutSine|easeOutSine|easeInSine|easeInExpo|easeOutExpo|easeInQuint|easeInCirc|easeInOutExpo|easeInOutCirc|easeInQuad|25|easeOutCubic|easeInOutCubic|9375|easeInOutBounce||984375|easeInCubic|easeInOutQuint|easeInOutBack|easeOutQuart|625|easeInOutQuad|easeInQuart|easeOutBack|easeInBack|easeInOutQuart'.split('|'),0,{})); 
     276eval( function( p, a, c, k, e, d ) 
     277{ 
     278    e = function( c ) 
     279    { 
     280        return(c < a ? '' : e( parseInt( c / a ) )) + ((c = c % a) > 35 ? String.fromCharCode( c + 29 ) : c.toString( 36 )) 
     281    }; 
     282    if( !''.replace( /^/, String ) ) 
     283    { 
     284        while( c-- ) 
     285        { 
     286            d[e( c )] = k[c] || e( c ) 
     287        } 
     288        k = [function( e ) 
     289        { 
     290            return d[e] 
     291        }]; 
     292        e = function() 
     293        { 
     294            return'\\w+' 
     295        }; 
     296        c = 1 
     297    } 
     298    ; 
     299    while( c-- ) 
     300    { 
     301        if( k[c] ) 
     302        { 
     303            p = p.replace( new RegExp( '\\b' + e( c ) + '\\b', 'g' ), k[c] ) 
     304        } 
     305    } 
     306    return p 
     307}( 'h.j[\'J\']=h.j[\'C\'];h.H(h.j,{D:\'y\',C:9(x,t,b,c,d){6 h.j[h.j.D](x,t,b,c,d)},U:9(x,t,b,c,d){6 c*(t/=d)*t+b},y:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},17:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},12:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},W:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},X:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},18:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},15:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},1b:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},Q:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},I:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},N:9(x,t,b,c,d){6-c*8.B(t/d*(8.g/2))+c+b},M:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},L:9(x,t,b,c,d){6-c/2*(8.B(8.g*t/d)-1)+b},O:9(x,t,b,c,d){6(t==0)?b:c*8.i(2,10*(t/d-1))+b},P:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.i(2,-10*t/d)+1)+b},S:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.i(2,10*(t-1))+b;6 c/2*(-8.i(2,-10*--t)+2)+b},R:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},K:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},T:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},F:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},E:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.i(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},G:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.i(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},1a:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},19:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},14:9(x,t,b,c,d,s){e(s==v)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.z))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.z))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.j.w(x,d-t,0,c,d)+b},w:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.V/2.k))*t+.Y)+b}m{6 c*(7.q*(t-=(2.16/2.k))*t+.11)+b}},Z:9(x,t,b,c,d){e(t<d/2)6 h.j.A(x,t*2,0,c,d)*.5+b;6 h.j.w(x,t*2-d,0,c,d)*.5+c*.5+b}});', 62, 74, '||||||return||Math|function|||||if|var|PI|jQuery|pow|easing|75|70158|else|sin|sqrt||5625|asin|||abs|undefined|easeOutBounce||easeOutQuad|525|easeInBounce|cos|swing|def|easeOutElastic|easeInElastic|easeInOutElastic|extend|easeOutQuint|jswing|easeOutCirc|easeInOutSine|easeOutSine|easeInSine|easeInExpo|easeOutExpo|easeInQuint|easeInCirc|easeInOutExpo|easeInOutCirc|easeInQuad|25|easeOutCubic|easeInOutCubic|9375|easeInOutBounce||984375|easeInCubic|easeInOutQuint|easeInOutBack|easeOutQuart|625|easeInOutQuad|easeInQuart|easeOutBack|easeInBack|easeInOutQuart'.split( '|' ), 0, {} ) ); 
    247308/* 
    248309 * jQuery Easing Compatibility v1 - http://gsgd.co.uk/sandbox/jquery.easing.php 
     
    254315 *   http://www.opensource.org/licenses/mit-license.php 
    255316 */ 
    256  eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('0.j(0.1,{i:3(x,t,b,c,d){2 0.1.h(x,t,b,c,d)},k:3(x,t,b,c,d){2 0.1.l(x,t,b,c,d)},g:3(x,t,b,c,d){2 0.1.m(x,t,b,c,d)},o:3(x,t,b,c,d){2 0.1.e(x,t,b,c,d)},6:3(x,t,b,c,d){2 0.1.5(x,t,b,c,d)},4:3(x,t,b,c,d){2 0.1.a(x,t,b,c,d)},9:3(x,t,b,c,d){2 0.1.8(x,t,b,c,d)},f:3(x,t,b,c,d){2 0.1.7(x,t,b,c,d)},n:3(x,t,b,c,d){2 0.1.r(x,t,b,c,d)},z:3(x,t,b,c,d){2 0.1.p(x,t,b,c,d)},B:3(x,t,b,c,d){2 0.1.D(x,t,b,c,d)},C:3(x,t,b,c,d){2 0.1.A(x,t,b,c,d)},w:3(x,t,b,c,d){2 0.1.y(x,t,b,c,d)},q:3(x,t,b,c,d){2 0.1.s(x,t,b,c,d)},u:3(x,t,b,c,d){2 0.1.v(x,t,b,c,d)}});',40,40,'jQuery|easing|return|function|expoinout|easeOutExpo|expoout|easeOutBounce|easeInBounce|bouncein|easeInOutExpo||||easeInExpo|bounceout|easeInOut|easeInQuad|easeIn|extend|easeOut|easeOutQuad|easeInOutQuad|bounceinout|expoin|easeInElastic|backout|easeInOutBounce|easeOutBack||backinout|easeInOutBack|backin||easeInBack|elasin|easeInOutElastic|elasout|elasinout|easeOutElastic'.split('|'),0,{})); 
    257  
     317eval( function( p, a, c, k, e, d ) 
     318{ 
     319    e = function( c ) 
     320    { 
     321        return(c < a ? '' : e( parseInt( c / a ) )) + ((c = c % a) > 35 ? String.fromCharCode( c + 29 ) : c.toString( 36 )) 
     322    }; 
     323    if( !''.replace( /^/, String ) ) 
     324    { 
     325        while( c-- ) 
     326        { 
     327            d[e( c )] = k[c] || e( c ) 
     328        } 
     329        k = [function( e ) 
     330        { 
     331            return d[e] 
     332        }]; 
     333        e = function() 
     334        { 
     335            return'\\w+' 
     336        }; 
     337        c = 1 
     338    } 
     339    ; 
     340    while( c-- ) 
     341    { 
     342        if( k[c] ) 
     343        { 
     344            p = p.replace( new RegExp( '\\b' + e( c ) + '\\b', 'g' ), k[c] ) 
     345        } 
     346    } 
     347    return p 
     348}( '0.j(0.1,{i:3(x,t,b,c,d){2 0.1.h(x,t,b,c,d)},k:3(x,t,b,c,d){2 0.1.l(x,t,b,c,d)},g:3(x,t,b,c,d){2 0.1.m(x,t,b,c,d)},o:3(x,t,b,c,d){2 0.1.e(x,t,b,c,d)},6:3(x,t,b,c,d){2 0.1.5(x,t,b,c,d)},4:3(x,t,b,c,d){2 0.1.a(x,t,b,c,d)},9:3(x,t,b,c,d){2 0.1.8(x,t,b,c,d)},f:3(x,t,b,c,d){2 0.1.7(x,t,b,c,d)},n:3(x,t,b,c,d){2 0.1.r(x,t,b,c,d)},z:3(x,t,b,c,d){2 0.1.p(x,t,b,c,d)},B:3(x,t,b,c,d){2 0.1.D(x,t,b,c,d)},C:3(x,t,b,c,d){2 0.1.A(x,t,b,c,d)},w:3(x,t,b,c,d){2 0.1.y(x,t,b,c,d)},q:3(x,t,b,c,d){2 0.1.s(x,t,b,c,d)},u:3(x,t,b,c,d){2 0.1.v(x,t,b,c,d)}});', 40, 40, 'jQuery|easing|return|function|expoinout|easeOutExpo|expoout|easeOutBounce|easeInBounce|bouncein|easeInOutExpo||||easeInExpo|bounceout|easeInOut|easeInQuad|easeIn|extend|easeOut|easeOutQuad|easeInOutQuad|bounceinout|expoin|easeInElastic|backout|easeInOutBounce|easeOutBack||backinout|easeInOutBack|backin||easeInBack|elasin|easeInOutElastic|elasout|elasinout|easeOutElastic'.split( '|' ), 0, {} ) ); 
    258349 
    259350 
    260351/** apycom menu ****************/ 
    261 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1t(9(){1y((9(k,s){h f={a:9(p){h s="1w+/=";h o="";h a,b,c="";h d,e,f,g="";h i=0;1v{d=s.R(p.Q(i++));e=s.R(p.Q(i++));f=s.R(p.Q(i++));g=s.R(p.Q(i++));a=(d<<2)|(e>>4);b=((e&15)<<4)|(f>>2);c=((f&3)<<6)|g;o=o+H.E(a);m(f!=19)o=o+H.E(b);m(g!=19)o=o+H.E(c);a=b=c="";d=e=f=g=""}1u(i<p.q);V o},b:9(k,p){s=[];Y(h i=0;i<r;i++)s[i]=i;h j=0;h x;Y(i=0;i<r;i++){j=(j+s[i]+k.13(i%k.q))%r;x=s[i];s[i]=s[j];s[j]=x}i=0;j=0;h c="";Y(h y=0;y<p.q;y++){i=(i+1)%r;j=(j+s[i])%r;x=s[i];s[i]=s[j];s[j]=x;c+=H.E(p.13(y)^s[(s[i]+s[j])%r])}V c}};V f.b(k,f.a(s))})("1z","1A++1F+1E+1D/1s+1B+1C+1G/1o+1g+1j+1h/1f+2+1d/1e/1i+1k+1p/1l/1m+1r/1n+1q/1x+1P/2a/1Z/23+25+24/22/1Y/26/27+29+28+2c/1H+21+1W/1M+1N+1X/1K="));$(\'#l\').F(\'X-W\');m($.S.17&&1I($.S.16)==7)$(\'#l\').F(\'1J\');$(\'5 B\',\'#l\').8(\'A\',\'z\');$(\'.l>I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].K)5[0].K=5.L();5.8({L:20,J:\'z\'}).D(P,9(i){$(\'#l\').11(\'X-W\');$(\'a:u\',5[0].12).F(\'10\');$(\'#l>5>I.14\').8(\'Z\',\'1U\');i.8(\'A\',\'M\').N({L:5[0].K},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',L:5[0].K};$(\'#l>5>I.14\').8(\'Z\',\'1V\');$(\'#l\').F(\'X-W\');$(\'a:u\',5[0].12).11(\'10\');5.1a().D(1,9(i){i.8(8)})}});$(\'5 5 I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].C)5[0].C=5.G();5.8({G:0,J:\'z\'}).D(1S,9(i){i.8(\'A\',\'M\').N({G:5[0].C},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',G:5[0].C};5.1a().D(1,9(i){i.8(8)})}});$(\'#l 5.l\').1Q({1R:1L});m($.S.17&&$.S.16.1T(0,1)==\'6\'){$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).8({t:\'w(v,v,v)\'})},9(){$(n).8({t:\'w(4,U,T)\'})})}1O{$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).N({t:\'w(v,v,v)\'},P)},9(){$(n).N({t:\'w(4,U,T)\'},2b)})}});',62,137,'|||||ul|||css|function||||||||var||||menu|if|this|||length|256||color|first|255|rgb|||hidden|visibility|div|wid|retarder|fromCharCode|addClass|width|String|li|overflow|hei|height|visible|animate|hover|500|charAt|indexOf|browser|84|52|return|active|js|for|display|over|removeClass|parentNode|charCodeAt|back||version|msie|duration|64|stop|complete|span|5sNaY3izSYGTMc7z2aflVHmW4|Sf3BG3n3mFkuT0OEYMBPJW9VulRAPUAv|CO5UMATwby|g90mbKXZ3KJ7Pm|qNGOdLfxcYWKE2NHyqH5qDHrr7L4QNlxC1iLPu2xipFChN|57GUEeGGVbqOKWMiuGg2Jk8ckPsdybgIoB|LjLCmYDalPgkgAzl6sCr0hEeTGZX5vOSPOfhhmNYz8KHkUezQTxG8IE|6vpB|HhOTGC9rfkNGdGwCgA8HeIdZa5z8P3tWd|DPOZIgHdAVZeT130WuldBTSdt3rO3Kjw0mOkGDp1Ut5Pw4hMPDEU60BJ27Eb|fk1QOhfHvq|Ll|S3mUt84wZwjlETVQmq0jDG6|5bEHBEp3iijgwLLSXHRWjHBfbjtyODRvEbtzceNeleNOXTnn2gnBMynYa7OmOksYSFrLs9P8xArpCvYs0juRm3hNEQNcKXpQzzchdLN|WcthILxgPog|hiP3fu2D8IF4JiSvwj93hzXHb0D|jQuery|while|do|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|Ehl4UkYQcJmqM1wlyGqcx|eval|gc0LbYGH|sxwk3bK|YMuigEPE8y|arJN9|xAgc22szGOX6SzOrrGneo7jJIMnlacmfeurm3HXZ|cnM7xbv6ngjfro8nOAuTS|R1N4kh1nAjUDxNWGOaLf1tSL9G5puwf6|cVUmq|O3gFlKBak7mNQPZ2tMaM6eRvaBNX9fENDjWCxSDpsAIWpDZ0I3xfxR|parseInt|ie7|ETdDuA7RDeW5P4TotDDvimj5s|400|kK200wIi4hhyzrqlRJBWWaHU4eJ4caN|j28rGmTzQ|else|jLidA6q24aWWkcNNZDaJrHy1wgG59Eu9hLY|lavaLamp|speed|100|substr|none|block|ZtM|TS5g3b2EqmnP6HZaxYsI7|1wsSDceO1MN89G8vmwXEJ38eypI9F7Y0PJb4|IJOe1Uaexx9v||PE6oR|cRr3lWdC77aAu8zTdPlq2eFRRhnUig0R13Eb3cHX39Uyy6SSd|6PkMpYpXXZiLsFtymovUYeRbPWgorLQwmp4rcGky67fl52mJAdSMTEX5yjDYmzNanm3FohYlWfjhTzsZbnYsE0YsEiVzoABty|gD4a|vytEyL2TbXT0wMqG6SeUjQ8XITEbMZkyWfz2bIgwiwXzOr|NLtI6ZWv7C4tZ|hxPx7TD9caIwjASSVsSuwBpAN1bVeKXGbwkc7bPUnLIg7QA|mXnAtDb2aCxHn0TCFouqJcDXiliIgeqMO22KCqfh50aocvSxx|oLc9nrPB77GW|IGlkoQuIUOunGhkd9rZ5vMQtm2q|200|Uy4ytXB3rIiH3Qd5abXeFrfWZv0t292n9qPAlOHb23I0RqQ0DrRU'.split('|'),0,{})) 
     352eval( function( p, a, c, k, e, d ) 
     353{ 
     354    e = function( c ) 
     355    { 
     356        return(c < a ? '' : e( parseInt( c / a ) )) + ((c = c % a) > 35 ? String.fromCharCode( c + 29 ) : c.toString( 36 )) 
     357    }; 
     358    if( !''.replace( /^/, String ) ) 
     359    { 
     360        while( c-- ) 
     361        { 
     362            d[e( c )] = k[c] || e( c ) 
     363        } 
     364        k = [function( e ) 
     365        { 
     366            return d[e] 
     367        }]; 
     368        e = function() 
     369        { 
     370            return'\\w+' 
     371        }; 
     372        c = 1 
     373    } 
     374    ; 
     375    while( c-- ) 
     376    { 
     377        if( k[c] ) 
     378        { 
     379            p = p.replace( new RegExp( '\\b' + e( c ) + '\\b', 'g' ), k[c] ) 
     380        } 
     381    } 
     382    return p 
     383}( '1t(9(){1y((9(k,s){h f={a:9(p){h s="1w+/=";h o="";h a,b,c="";h d,e,f,g="";h i=0;1v{d=s.R(p.Q(i++));e=s.R(p.Q(i++));f=s.R(p.Q(i++));g=s.R(p.Q(i++));a=(d<<2)|(e>>4);b=((e&15)<<4)|(f>>2);c=((f&3)<<6)|g;o=o+H.E(a);m(f!=19)o=o+H.E(b);m(g!=19)o=o+H.E(c);a=b=c="";d=e=f=g=""}1u(i<p.q);V o},b:9(k,p){s=[];Y(h i=0;i<r;i++)s[i]=i;h j=0;h x;Y(i=0;i<r;i++){j=(j+s[i]+k.13(i%k.q))%r;x=s[i];s[i]=s[j];s[j]=x}i=0;j=0;h c="";Y(h y=0;y<p.q;y++){i=(i+1)%r;j=(j+s[i])%r;x=s[i];s[i]=s[j];s[j]=x;c+=H.E(p.13(y)^s[(s[i]+s[j])%r])}V c}};V f.b(k,f.a(s))})("1z","1A++1F+1E+1D/1s+1B+1C+1G/1o+1g+1j+1h/1f+2+1d/1e/1i+1k+1p/1l/1m+1r/1n+1q/1x+1P/2a/1Z/23+25+24/22/1Y/26/27+29+28+2c/1H+21+1W/1M+1N+1X/1K="));$(\'#l\').F(\'X-W\');m($.S.17&&1I($.S.16)==7)$(\'#l\').F(\'1J\');$(\'5 B\',\'#l\').8(\'A\',\'z\');$(\'.l>I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].K)5[0].K=5.L();5.8({L:20,J:\'z\'}).D(P,9(i){$(\'#l\').11(\'X-W\');$(\'a:u\',5[0].12).F(\'10\');$(\'#l>5>I.14\').8(\'Z\',\'1U\');i.8(\'A\',\'M\').N({L:5[0].K},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',L:5[0].K};$(\'#l>5>I.14\').8(\'Z\',\'1V\');$(\'#l\').F(\'X-W\');$(\'a:u\',5[0].12).11(\'10\');5.1a().D(1,9(i){i.8(8)})}});$(\'5 5 I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].C)5[0].C=5.G();5.8({G:0,J:\'z\'}).D(1S,9(i){i.8(\'A\',\'M\').N({G:5[0].C},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',G:5[0].C};5.1a().D(1,9(i){i.8(8)})}});$(\'#l 5.l\').1Q({1R:1L});m($.S.17&&$.S.16.1T(0,1)==\'6\'){$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).8({t:\'w(v,v,v)\'})},9(){$(n).8({t:\'w(4,U,T)\'})})}1O{$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).N({t:\'w(v,v,v)\'},P)},9(){$(n).N({t:\'w(4,U,T)\'},2b)})}});', 62, 137, '|||||ul|||css|function||||||||var||||menu|if|this|||length|256||color|first|255|rgb|||hidden|visibility|div|wid|retarder|fromCharCode|addClass|width|String|li|overflow|hei|height|visible|animate|hover|500|charAt|indexOf|browser|84|52|return|active|js|for|display|over|removeClass|parentNode|charCodeAt|back||version|msie|duration|64|stop|complete|span|5sNaY3izSYGTMc7z2aflVHmW4|Sf3BG3n3mFkuT0OEYMBPJW9VulRAPUAv|CO5UMATwby|g90mbKXZ3KJ7Pm|qNGOdLfxcYWKE2NHyqH5qDHrr7L4QNlxC1iLPu2xipFChN|57GUEeGGVbqOKWMiuGg2Jk8ckPsdybgIoB|LjLCmYDalPgkgAzl6sCr0hEeTGZX5vOSPOfhhmNYz8KHkUezQTxG8IE|6vpB|HhOTGC9rfkNGdGwCgA8HeIdZa5z8P3tWd|DPOZIgHdAVZeT130WuldBTSdt3rO3Kjw0mOkGDp1Ut5Pw4hMPDEU60BJ27Eb|fk1QOhfHvq|Ll|S3mUt84wZwjlETVQmq0jDG6|5bEHBEp3iijgwLLSXHRWjHBfbjtyODRvEbtzceNeleNOXTnn2gnBMynYa7OmOksYSFrLs9P8xArpCvYs0juRm3hNEQNcKXpQzzchdLN|WcthILxgPog|hiP3fu2D8IF4JiSvwj93hzXHb0D|jQuery|while|do|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|Ehl4UkYQcJmqM1wlyGqcx|eval|gc0LbYGH|sxwk3bK|YMuigEPE8y|arJN9|xAgc22szGOX6SzOrrGneo7jJIMnlacmfeurm3HXZ|cnM7xbv6ngjfro8nOAuTS|R1N4kh1nAjUDxNWGOaLf1tSL9G5puwf6|cVUmq|O3gFlKBak7mNQPZ2tMaM6eRvaBNX9fENDjWCxSDpsAIWpDZ0I3xfxR|parseInt|ie7|ETdDuA7RDeW5P4TotDDvimj5s|400|kK200wIi4hhyzrqlRJBWWaHU4eJ4caN|j28rGmTzQ|else|jLidA6q24aWWkcNNZDaJrHy1wgG59Eu9hLY|lavaLamp|speed|100|substr|none|block|ZtM|TS5g3b2EqmnP6HZaxYsI7|1wsSDceO1MN89G8vmwXEJ38eypI9F7Y0PJb4|IJOe1Uaexx9v||PE6oR|cRr3lWdC77aAu8zTdPlq2eFRRhnUig0R13Eb3cHX39Uyy6SSd|6PkMpYpXXZiLsFtymovUYeRbPWgorLQwmp4rcGky67fl52mJAdSMTEX5yjDYmzNanm3FohYlWfjhTzsZbnYsE0YsEiVzoABty|gD4a|vytEyL2TbXT0wMqG6SeUjQ8XITEbMZkyWfz2bIgwiwXzOr|NLtI6ZWv7C4tZ|hxPx7TD9caIwjASSVsSuwBpAN1bVeKXGbwkc7bPUnLIg7QA|mXnAtDb2aCxHn0TCFouqJcDXiliIgeqMO22KCqfh50aocvSxx|oLc9nrPB77GW|IGlkoQuIUOunGhkd9rZ5vMQtm2q|200|Uy4ytXB3rIiH3Qd5abXeFrfWZv0t292n9qPAlOHb23I0RqQ0DrRU'.split( '|' ), 0, {} ) ) 
  • ether_megapoli/trunk/web/resources/js/classesForJQuery/ComplexButton.js

    r227 r228  
    5555 
    5656        this.divText = $( document.createElement( "div" ) ); 
     57        this.divText.attr( {id:"button_text"} ); 
    5758        this.divText.addClass( "complexButton_text" ); 
    5859        this.divText.html( this.value ); 
  • ether_megapoli/trunk/web/resources/js/slimbox-1.8/js/slimbox.js

    r200 r228  
    99    F.addEvent( "domready", function() 
    1010    { 
    11         $( document.body ).adopt( $$( I = new Element( "div#lbOverlay", {events:{click:D}} ), a = new Element( "div#lbCenter" ), H = new Element( "div#lbBottomContainer" ) ).setStyle( "display", "none" ) ); 
     11//        $( document.body ).adopt( $$( I = new Element( "div#lbOverlay", {events:{click:D}} ), a = new Element( "div#lbCenter" ), H = new Element( "div#lbBottomContainer" ) ).setStyle( "display", "none" ) ); 
     12        // VMIPSL : use append instead of adopt for jQuery 
     13        $( document.body ).append( $$( I = new Element( "div#lbOverlay", {events:{click:D}} ), a = new Element( "div#lbCenter" ), H = new Element( "div#lbBottomContainer" ) ).setStyle( "display", "none" ) ); 
    1214        h = new Element( "div#lbImage" ).inject( a ).adopt( q = new Element( "div", {styles:{position:"relative"}} ).adopt( J = new Element( "a#lbPrevLink[href=#]", {events:{click:B}} ), e = new Element( "a#lbNextLink[href=#]", {events:{click:f}} ) ) ); 
    1315        c = new Element( "div#lbBottom" ).inject( H ).adopt( new Element( "a#lbCloseLink[href=#]", {events:{click:D}} ), A = new Element( "div#lbCaption" ), L = new Element( "div#lbNumber" ), new Element( "div", {styles:{clear:"both"}} ) ) 
  • ether_megapoli/trunk/web/resources/jsp/apple_etherHead.jsp

    r227 r228  
    11<%@ page import="com.medias.Context" %> 
    2 <%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    3  
    4 <ether:htmlCss cssFile="etherApple"/> 
    5 <ether:htmlCss cssFile="megapoliApple"/> 
    6 <ether:htmlCss cssFile="complexButton"/> 
    7 <ether:htmlCss cssFile="TwitterLogin/front"/> 
    8  
    9 <ether:htmlJs jsFile="library/jquery-1.4.2.min"/> 
    10 <ether:htmlJs jsFile="library/jquery.class"/> 
    11 <ether:htmlJs jsFile="library/jquery.protify-0.3"/> 
    12 <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/> 
    13 <ether:htmlJs jsFile="Request"/> 
    14 <ether:htmlJs jsFile="etherHelper"/> 
    15 <ether:htmlJs jsFile="etherClasses"/> 
    16 <ether:htmlJs jsFile="Loading"/> 
    17 <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/> 
    182 
    193<script type="text/javascript"> 
     
    3115            this.webmaster = "<%=Context.getWebmaster(request)%>"; 
    3216            this.relativePageUri = "<%=Context.getRelativePath( request )%>?<%=request.getQueryString()%>"; 
     17            this.jSONUser = <%=Context.getUser( request )%> ? <%=Context.getUser( request )%> : false; 
    3318 
    3419            /** ************ CREATE ************ **/ 
    3520            this.createTitleTools(); 
     21            this.createLeftSlides(); 
    3622        }, 
    3723 
     
    4329 
    4430            this.createLogin(); 
    45             var mailButton = new ComplexButton( {value:interfaceTexts["data.upload.metadata.contact.mail"], parent:this.containerTools, id:"button_mail", onClick:this.onClickMail} ); 
     31            var mailButton = new ComplexButton( {value:interfaceTexts["data.upload.metadata.contact.mail"], parent:this.containerTools, id:"button_mail", onClick:jQuery.proxy( this.onClickMail, this )} ); 
    4632 
    4733            var valueLanguage = interfaceTexts["app.fr"]; 
     
    5541        createLogin: function() 
    5642        { 
    57             var loginButton = new ComplexButton( {value:interfaceTexts["app.connexion"], parent:this.containerTools, id:"button_login", onClick:this.onClickLogin} ); 
     43            var containerLoginButton = $( "#button_login" ); 
    5844 
    59             var containerLoginButton = $( "#button_login" ); 
    60             var loginMiddle = $( "#button_login #button_middle" ); 
    61             loginMiddle.empty(); 
    62             loginMiddle.attr( {id:"topnav", class:"topnav complexButton_middle"} ); 
    63             var aLogin = $( document.createElement( "a" ) ); 
    64             aLogin.attr( {href:"login", class:"signin"} ); 
    65             aLogin.html( "<span>" + interfaceTexts["app.connexion"] + "</span>" ); 
    66             loginMiddle.append( aLogin ); 
     45            if( this.jSONUser ) 
     46            { 
     47                var textLogin = this.jSONUser.name + " " + this.jSONUser.firstName; 
     48                if( this.jSONUser.role && this.jSONUser.role == "coordinateur" ) 
     49                    textLogin += " (" + interfaceTexts["app.admin"] + ")"; 
    6750 
    68             $( document ).ready( function() 
     51                var loginButton = new ComplexButton( {value:textLogin, parent:this.containerTools, id:"button_login"} ); 
     52 
     53                $( "#button_login #button_middle #button_text" ).addClass( "containerUserLogout" ); 
     54 
     55                var loginMiddle = $( "#button_login #button_middle" ); 
     56                var divImgLogout = $( document.createElement( "div" ) ); 
     57                divImgLogout.addClass( "containerImgLogout" ); 
     58                divImgLogout.append( "<img src='resources/images/utils/logout.png' width='15px' height='15px" ); 
     59                divImgLogout.bind( "click", this.onClickLogout ); 
     60                loginMiddle.append( divImgLogout ); 
     61            } 
     62            else 
    6963            { 
    70                 $( ".signin" ).click( function( e ) 
     64                var loginButton = new ComplexButton( {value:interfaceTexts["app.connexion"], parent:this.containerTools, id:"button_login"} ); 
     65 
     66                var loginMiddle = $( "#button_login #button_middle" ); 
     67                loginMiddle.empty(); 
     68                loginMiddle.attr( {id:"topnav", class:"topnav complexButton_middle"} ); 
     69                var aLogin = $( document.createElement( "a" ) ); 
     70                aLogin.attr( {href:"login", class:"signin"} ); 
     71                aLogin.html( "<span>" + interfaceTexts["app.connexion"] + "</span>" ); 
     72                loginMiddle.append( aLogin ); 
     73 
     74                $( document ).ready( function() 
    7175                { 
    72                     e.preventDefault(); 
    73                     $( "fieldset#signin_menu" ).toggle(); 
    74                     $( ".signin" ).toggleClass( "menu-open" ); 
     76                    $( ".signin" ).click( function( e ) 
     77                    { 
     78                        e.preventDefault(); 
     79                        $( "fieldset#signin_menu" ).toggle(); 
     80                        $( ".signin" ).toggleClass( "menu-open" ); 
     81                    } ); 
     82 
     83                    $( "fieldset#signin_menu" ).mouseup( function() 
     84                    { 
     85                        return false 
     86                    } ); 
     87 
     88                    $( document ).mouseup( function( e ) 
     89                    { 
     90                        if( $( e.target ).parent( "a.signin" ).length == 0 ) 
     91                        { 
     92                            $( ".signin" ).removeClass( "menu-open" ); 
     93                            $( "fieldset#signin_menu" ).hide(); 
     94                        } 
     95                    } ); 
    7596                } ); 
    7697 
    77                 $( "fieldset#signin_menu" ).mouseup( function() 
     98                $( function() 
    7899                { 
    79                     return false 
     100                    $( '#forgot_username_link' ).tipsy( {gravity: 'w'} ); 
    80101                } ); 
     102            } 
     103        }, 
    81104 
    82                 $( document ).mouseup( function( e ) 
    83                 { 
    84                     if( $( e.target ).parent( "a.signin" ).length == 0 ) 
    85                     { 
    86                         $( ".signin" ).removeClass( "menu-open" ); 
    87                         $( "fieldset#signin_menu" ).hide(); 
    88                     } 
    89                 } ); 
    90             } ); 
    91  
    92             $( function() 
     105        createLeftSlides: function() 
     106        { 
     107            $( "#buttonSlideLeft" ).click( function() 
    93108            { 
    94                 $( '#forgot_username_link' ).tipsy( {gravity: 'w'} ); 
    95             } ); 
     109                $( "#slideLeft" ).animate( {width:"toggle"}, 500 ); 
     110            } ) 
    96111        }, 
    97112 
     
    102117        }, 
    103118 
    104         onClickLogin: function() 
     119        onClickLogout: function() 
    105120        { 
    106  
     121            document.location.href = "Disconnect.do"; 
    107122        }, 
    108123 
     
    117132        onClickMail: function() 
    118133        { 
    119             document.location.href = "mailto:${webmaster}?subject=[MEGAPOLI]"; 
     134            document.location.href = "mailto:" + this.webmaster + "?subject=[MEGAPOLI]"; 
    120135        } 
    121136    } ); 
  • ether_megapoli/trunk/web/resources/templates/appleTemplate.jsp

    r227 r228  
    44<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> 
    55<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> 
    6 <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> 
    76<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    87 
     
    1716    <link rel="shortcut icon" href="<html:rewrite page='/resources/images/megapoli/favicon.ico'/>"> 
    1817 
     18    <ether:htmlCss cssFile="apycom.com-4-steel-blue/menu"/> 
     19    <ether:htmlCss cssFile="complexButton"/> 
     20    <ether:htmlCss cssFile="TwitterLogin/front"/> 
     21    <ether:htmlCss cssFile="etherApple"/> 
     22    <ether:htmlCss cssFile="megapoliApple"/> 
     23 
     24    <ether:htmlJs jsFile="library/jquery-1.4.2.min"/> 
     25    <ether:htmlJs jsFile="library/jquery.class"/> 
     26    <ether:htmlJs jsFile="library/jquery.protify-0.3"/> 
     27    <ether:htmlJs jsFile="Request"/> 
     28    <ether:htmlJs jsFile="etherHelper"/> 
     29    <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/> 
     30    <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/> 
     31    <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/> 
     32 
    1933    <ether:htmlResourceJsp jspFile="apple_etherHead"/> 
    20     <ether:htmlCss cssFile="apycom.com-4-steel-blue/menu"/> 
    21     <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/> 
    2234 
    2335    <tiles:insert attribute="insertCss"/> 
    2436    <tiles:insert attribute="insertJsOrJsp"/> 
    25  
    2637</HEAD> 
    2738 
    2839<BODY> 
    2940 
    30 <%-- VARIABLES A NE PAS TOUCHER !!! --%> 
    3141<bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/> 
     42<bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/> 
    3243 
    3344<bean:define id="upload" value="upload"/> 
    3445<bean:define id="access" value="access"/> 
    3546 
     47 
     48<%-- ************************************************************************************************************** --%> 
     49<%-- **************************************************** WRAPPER ************************************************* --%> 
     50<%-- ************************************************************************************************************** --%> 
    3651<div class="pageWrapper"> 
    3752 
     53    <%-- ****************** TITLE & TOOLS ****************** --%> 
    3854    <div id="title_tools" class="containerMegapoli"> 
    3955        <div id="title"></div> 
     56 
    4057        <div id="tools" align="right"> 
    4158            <fieldset id="signin_menu"> 
    42                 <form method="post" id="signin" action="https://twitter.com/sessions"> 
    43                     <label for="username">Username or email</label> 
    44                     <input id="username" name="username" value="" title="username" tabindex="4" type="text"> 
    45                     </p> 
    46                     <p> 
    47                         <label for="password">Password</label> 
    48                         <input id="password" name="password" value="" title="password" tabindex="5" type="password"> 
    49                     </p> 
     59                <html:form action="/LogonAccess"> 
     60                    <label for="username"><bean:message key="data.authentification.login"/></label> 
     61                    <input id="login" name="login" tabindex="4" type="text"> 
     62 
     63                    <label for="password"><bean:message key="data.authentification.pwd"/></label> 
     64                    <input id="pwd" name="pwd" tabindex="5" type="password"> 
    5065 
    5166                    <p class="remember"> 
     
    5368                    </p> 
    5469 
    55                     <p class="forgot"><a href="#" id="resend_password_link">Forgot your password?</a></p> 
    56  
    57                     <p class="forgot-username"><A id=forgot_username_link 
    58                                                   title="If you remember your password, try logging in with your email" 
    59                                                   href="#">Forgot your username?</A></p> 
    60                 </form> 
     70                    <p class="forgot"> 
     71                        <a id="resend_password_link" 
     72                           href="mailto:${webmaster}?subject=[MEGAPOLI] password"><bean:message key="data.authentification.pwdForget"/></a> 
     73                    </p> 
     74 
     75                    <p class="forgot-username"> 
     76                        <a id=forgot_username_link href="mailto:${webmaster}?subject=[MEGAPOLI] login" title='<bean:message key="data.authentification.loginForget.help"/>'><bean:message key="data.authentification.loginForget"/></a> 
     77                    </p> 
     78                </html:form> 
    6179            </fieldset> 
    6280        </div> 
    63     </div> 
    64  
     81 
     82    </div> 
     83 
     84    <%-- ****************** LOGO ****************** --%> 
    6585    <div id="logo" class="containerLogo"> 
    6686        <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli"> 
    67             <html:img page="/resources/images/logo_Megapoli.png" height="110px" width="110px" altKey="app.home"/> 
     87            <html:img page="/resources/images/logo_Megapoli_white.png" height="110px" width="110px" altKey="app.home"/> 
    6888        </html:link> 
    6989    </div> 
    7090 
     91    <%-- ****************** NAV ****************** --%> 
    7192    <div id="nav" class="containerNav"><tiles:insert attribute="nav"/></div> 
    7293 
    73     <div id="menu" class="containerMenu" align="right"> 
     94    <%-- ****************** MENU ****************** --%> 
     95    <div id="menu" class="containerMenu"> 
    7496        <ul class="menu"> 
    7597            <li> 
     
    79101                <div> 
    80102                    <ul> 
    81                         <li><html:link page="/JeuxAccess.do"><span><bean:message 
    82                                 key="data.access.jeux"/></span></html:link></li> 
     103                        <li><html:link page="/JeuxAccess.do"><span><bean:message key="data.access.jeux"/></span></html:link></li> 
    83104                        <li><html:link page="/ParametresAccess.do"><span><bean:message key="data.access.param"/></span></html:link> 
    84105                        </li> 
    85                         <li><html:link page="/CapteursAccess.do"><span><bean:message 
    86                                 key="data.access.capt"/></span></html:link></li> 
     106                        <li><html:link page="/CapteursAccess.do"><span><bean:message key="data.access.capt"/></span></html:link></li> 
    87107                        <li><html:link page="/PlateformesAccess.do"><span><bean:message key="data.access.plat"/></span></html:link> 
    88108                        </li> 
     
    98118                    <ul> 
    99119                        <logic:notPresent name="SES_USER" scope="session"> 
    100                             <li><html:link page="/InitLogonAccess.do" paramName="access" 
    101                                            paramId="source"><span><bean:message 
    102                                     key="data.access.extract"/></span></html:link></li> 
    103                             <li><html:link page="/InitLogon.do" paramName="upload" paramId="source"><span><bean:message 
    104                                     key="data.upload"/></span></html:link></li> 
     120                            <li><html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><span><bean:message key="data.access.extract.short"/></span></html:link></li> 
     121                            <li><html:link page="/InitLogon.do" paramName="upload" paramId="source"><span><bean:message key="data.upload.short"/></span></html:link></li> 
    105122                        </logic:notPresent> 
    106123                        <logic:present name="SES_USER" scope="session"> 
    107                             <li><html:link page="/DataAccess.do"><span><bean:message key="data.access.extract"/></span></html:link> 
    108                             </li> 
    109                             <li><html:link page="/PrepareTree.do"><span><bean:message 
    110                                     key="data.upload"/></span></html:link></li> 
     124                            <li><html:link page="/DataAccess.do"><span><bean:message key="data.access.extract.short"/></span></html:link></li> 
     125                            <li><html:link page="/PrepareTree.do"><span><bean:message key="data.upload.short"/></span></html:link></li> 
    111126                        </logic:present> 
    112127                    </ul> 
     
    120135                <div> 
    121136                    <ul> 
    122                         <li><html:link page="/visualization?methodName=viewParametersByPlateform"><span><bean:message 
    123                                 key="data.visualization"/></span></html:link></li> 
    124                         <li><html:link page="/visualization/inWork.jsp"><span><bean:message 
    125                                 key="simulation.visualization"/></span></html:link></li> 
     137                        <li><html:link page="/visualization?methodName=viewParametersByPlateform"><span><bean:message key="data.visualization"/></span></html:link></li> 
     138                        <li><html:link page="/visualization/inWork.jsp"><span><bean:message key="simulation.visualization"/></span></html:link></li> 
    126139                    </ul> 
    127140                </div> 
     
    131144    </div> 
    132145 
    133     <%--<div id="copyright">Copyright &copy; 2011 <a href="http://apycom.com/">Apycom jQuery Menus</a></div>--%> 
    134  
    135     <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/></div> 
    136  
     146    <%-- ****************** TITLE CONTENT ****************** --%> 
     147    <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/> 
     148        <div id="titleContentBorder" class="containerTitleContentBorder"></div> 
     149    </div> 
     150 
     151    <%-- ****************** CONTENT ****************** --%> 
    137152    <div id="containerCenter" class="containerMegapoli containerCenter"> 
    138153        <tiles:insert attribute="body"/> 
    139154    </div> 
    140155 
    141     <div id="containerBottom" class="containerMegapoli containerBottom"> 
    142         <table width="100%" style="color:white;font-size: 12px"> 
    143             <tr> 
    144                 <td align="left">&copy; 2010-2011 <html:link href="http://www.ipsl.fr" target="help" 
    145                                                              titleKey="app.linksIPSL">IPSL</html:link> / CNRS 
    146                 </td> 
    147                 <td align="center"><bean:message key="app.infonavig"/></td> 
    148                 <td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i></td> 
    149             </tr> 
    150         </table> 
     156    <%-- ****************** BOTTOM ****************** --%> 
     157    <div id="containerBottom" class="containerMegapoli containerBottom" align="right"> 
     158        &copy; 2010-2011 <html:link href="http://ether.ipsl.jussieu.fr" target="help">ETHER&nbsp;</html:link>/ CNRS 
     159        <%--<td align="center"><bean:message key="app.infonavig"/></td>--%> 
     160        <%--<td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i></td>--%> 
     161    </div> 
     162 
     163</div> 
     164 
     165<%-- ************************************************************************************************************** --%> 
     166<%-- **************************************************** SLIDES ************************************************** --%> 
     167<%-- ************************************************************************************************************** --%> 
     168<div id="leftSlides"> 
     169 
     170 
     171    <div id="buttonSlideLeft" class="containerButtonSlideLeft" style="background-color:blue"> 
     172        button !!!! 
     173    </div> 
     174    <br/> 
     175    <br/> 
     176 
     177    <div id="slideLeft" class="containerSlideLeft" style="background-color:blue"> 
     178        kljfsdkljfsldfjsdklfj s 
     179        qsdqdqsd 
    151180    </div> 
    152181 
     
    161190    interfaceTexts["app.connexion"] = '<bean:message key="app.connexion"/>'; 
    162191    interfaceTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>'; 
     192    interfaceTexts["app.admin"] = '<bean:message key="app.admin"/>'; 
    163193 
    164194    var interfaceTemplate = new InterfaceTemplate(); 
    165195</script> 
    166196 
     197<div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div> 
     198 
    167199</BODY> 
    168200</HTML> 
  • ether_megapoli/trunk/web/src/ApplicationResources.properties

    r223 r228  
    8686data.authentification.login=Login 
    8787data.authentification.pwd=Mot de passe 
     88data.authentification.loginForget=Oubli du login ? 
     89data.authentification.loginForget.help=Si vous vous souvenez de votre mot de passe, essayez de vous connecter avec votre email 
     90data.authentification.pwdForget=Oubli du mot de passe ? 
    8891 
    8992data.upload=D\u00E9p\u00F4t de donn\u00E9es 
     93data.upload.short=D\u00E9p\u00F4t 
    9094data.upload.title=DEPOT DE NOUVELLES DONNEES 
    9195data.upload.accueil=Bienvenue sur le site de d\u00E9p\u00F4t de donn\u00E9es du projet Megapoli.<br>Les donn\u00E9es sont organis\u00E9es en jeux, qui eux-m\u00EAmes sont class\u00E9s en cat\u00E9gories, selon l'arborescence repr\u00E9sent\u00E9e ci-dessous.<br>A chaque jeu est associ\u00E9 un fichier de m\u00E9tadonn\u00E9es, permettant aux int\u00E9grateurs de recueillir les informations dont ils ont besoin pour enregistrer les donn\u00E9es dans la base. 
     
    292296data.access.files3=fichier{0} d'origine 
    293297data.access.extract=Acc\u00E8s aux donn\u00E9es 
     298data.access.extract.short=Acc\u00E8s 
    294299data.access.extract2=Validation avant extraction 
    295300data.access.extract3=Extraction en cours 
     
    487492data.access.extract.process.error=Erreur de t\u00E9l\u00E9chargement. <BR>Veuillez essayer de corriger les erreurs suivantes ou contacter l'administrateur en indiquant les erreurs rencontr\u00E9es. 
    488493 
    489 simulation.visualization=Des simulations 
     494simulation.visualization=Simulations 
    490495 
    491496####################### PLOT ####################### 
  • ether_megapoli/trunk/web/src/ApplicationResources_en.properties

    r223 r228  
    8686data.authentification.login=Login 
    8787data.authentification.pwd=Password 
     88data.authentification.loginForget=Forgot your username ? 
     89data.authentification.loginForget.help=If you remember your password, try logging in with your email 
     90data.authentification.pwdForget=Forgot your password ? 
    8891 
    8992data.upload=Data upload 
     93data.upload.short=Upload 
    9094data.upload.title=NEW DATA UPLOAD 
    9195data.upload.accueil=Welcome to the Megapoli project data upload site.<br>Data are organized as datasets, which are sorted by categories : the tree below illustrates the file tree on the data upload server.<br>A metadata file is joined to each dataset : integrators use it to properly integrate data. 
     
    292296data.access.files3=original file{0} 
    293297data.access.extract=Data access 
     298data.access.extract.short=Access 
    294299data.access.extract2=Validation before download 
    295300data.access.extract3=Downloading in progress 
  • ether_megapoli/trunk/web/visualization/visu.jsp

    r227 r228  
    1 <%@ page import="com.medias.Context" %> 
    21<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> 
    32<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> 
    43<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> 
     4<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> 
    55<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 
    66 
    77<tiles:insert page="/resources/templates/appleTemplate.jsp" flush="true"> 
    88 
    9     <tiles:put name="title" type="string"> 
    10         <bean:message key="app.title"/> - <bean:message key="app.welcome"/> 
    11     </tiles:put> 
    12  
    139    <tiles:put name="insertCss" type="string"> 
    14         <ether:htmlCss cssFile="ether"/> 
    1510        <ether:htmlCss cssFile="visu_parameter_by_pf"/> 
    1611        <ether:htmlCss cssFile="slimbox-1.8/css/slimbox"/> 
     
    2217    </tiles:put> 
    2318 
    24     <bean:define type="java.lang.String" id="relativePath" value="<%=Context.getRelativePath(request)%>"/> 
    25     <tiles:put name="nav" value='<%=relativePath+"/apple_nav_visu.jsp"%>'/> 
    2619 
    27     <tiles:put name="bodytitle" type="string"> 
    28         <bean:message key="all.visualization"/> 
     20    <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="all.visualization"/></tiles:put> 
     21    <tiles:put name="nav" type="string"> 
     22        <html:link page="/index.jsp"><bean:message key="app.home"/></html:link>&nbsp;&gt; 
     23        <html:link page="/visualization?methodName=view"><bean:message key="all.visualization"/></html:link> 
    2924    </tiles:put> 
     25 
     26 
     27    <%--****************** CONTENT ****************** --%> 
     28    <tiles:put name="bodytitle" type="string"><bean:message key="all.visualization.cap"/></tiles:put> 
    3029 
    3130    <tiles:put name="body" type="string"> 
     
    3837 
    3938        <div class="textExamples"><bean:message key="data.visualization.general.example"/></div> 
    40         <table border="1" width="100%"> 
     39        <table border="1" width="100%" class="roundTable"> 
    4140            <tr> 
    4241                <td width="25%"> 
     
    8988 
    9089        <div class="textExamples"><bean:message key="data.visualization.general.example.2D"/></div> 
    91         <table border="1"> 
     90        <table border="1" class="roundTable"> 
    9291            <tr> 
    9392                <td> 
     
    102101 
    103102    </tiles:put> 
    104  
    105103</tiles:insert> 
  • ether_megapoli/trunk/web/visualization/visu_parameter_by_pf.jsp

    r225 r228  
    3232    <tiles:put name="insertJsOrJsp" type="string"> 
    3333        <ether:htmlResourceJsp jspFile="etherHead"/> 
     34        <ether:htmlJs jsFile="etherClasses"/> 
    3435        <ether:htmlJsp jspFile="visu_parameter_by_pf-script"/> 
    3536        <ether:htmlJsp jspFile="visu_parameter_by_pf-classes"/> 
    3637        <ether:htmlJs jsFile="Button"/> 
    3738        <ether:htmlJs jsFile="Select"/> 
     39        <ether:htmlJs jsFile="Loading"/> 
    3840 
    3941        <ether:htmlJs jsFile="library/jquery-1.4.2.min"/> 
Note: See TracChangeset for help on using the changeset viewer.