Changeset 6360 for extensions/charlies_content/charlies_config.tpl
- Timestamp:
- May 25, 2010, 10:54:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/charlies_content/charlies_config.tpl
r6220 r6360 3 3 </div> 4 4 5 <form method="post" action="" class="Charlies properties ">5 <form method="post" action="" class="Charlies properties{if !empty($themeconf.name)} {$themeconf.name}{/if}{if !empty($themeconf.id)} {$themeconf.id}{/if}"> 6 6 7 7 {if $page == 'templates'} … … 39 39 40 40 {if $page == 'options'} 41 <script type="text/javascript">42 jQuery().ready(function(){ldelim}43 $('#theAdminPage .titrePage h2').addClass('ct').fadeOut(10).fadeIn(2400);44 });45 </script>46 41 <fieldset> 47 42 <legend>{'Charlies players configuration'|@translate}</legend> … … 301 296 {literal} 302 297 <script type="text/javascript"> 303 $(document).ready(function(){304 $("#main-options").tabs();298 jQuery(document).ready(function(){ 299 jQuery("#main-options").tabs(); 305 300 }); 306 301 </script> … … 386 381 {literal} 387 382 <script type="text/javascript"> 388 $(document).ready(function() {383 jQuery(document).ready(function() { 389 384 var f = $.farbtastic('#picker'); 390 385 var p = $('#picker').css('opacity', 1); 391 386 var selected; 392 $('.colorwell')387 jQuery('.colorwell') 393 388 .each(function () { f.linkTo(this); $(this).css('opacity', 0.50); }) 394 389 .focus(function() { 395 390 if (selected) { 396 $(selected).css('opacity', 0.90).removeClass('colorwell-selected');391 jQuery(selected).css('opacity', 0.90).removeClass('colorwell-selected'); 397 392 } 398 393 f.linkTo(this); 399 394 p.css('opacity', 1); 400 $(selected = this).css('opacity', 1).addClass('colorwell-selected');395 jQuery(selected = this).css('opacity', 1).addClass('colorwell-selected'); 401 396 }); 402 397 }); 403 $('#theAdminPage .titrePage h2').addClass('ct2').fadeOut(10).fadeIn(1800);404 398 </script> 405 399 {/literal} … … 435 429 436 430 <script type="text/javascript"> 437 $(document).ready(function() {ldelim} 438 $(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400); 439 $(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400); 440 }); 431 jQuery(document).ready(function() {ldelim} 432 jQuery(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400); 433 jQuery(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400); 434 jQuery('#theAdminPage #the_page').addClass('{$themeconf.name}'); 435 {if $page == 'options'} 436 jQuery('#theAdminPage #the_page h2').addClass('cl2'); 437 {/if}{if $page == 'colors'} 438 jQuery('#theAdminPage #the_page.clear h2').addClass('cl3'); 439 {/if}{if $page == 'curtain'} 440 jQuery('#theAdminPage #the_page.roma h2').addClass('cl2'); 441 {/if}}); 442 jQuery('#theAdminPage #the_page h2').fadeIn(1800); 441 443 </script> 442 444 … … 451 453 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 452 454 {known_script id="jquery.ui.tabs" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.tabs.packed.js"} 453 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}454 {known_script id="jquery.ui.tabs" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.tabs.packed.js"}
Note: See TracChangeset
for help on using the changeset viewer.