{combine_script id='jquery.ui' require='jquery' path='themes/default/js/ui/minified/jquery.ui.core.min.js'} {combine_script id='jquery.ui.sortable' require='jquery' path='themes/default/js/ui/minified/jquery.ui.sortable.min.js'} {combine_script id='jquery.cluetip' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} {combine_script id='jquery.vtip' require='jquery' path=$CR_PATH|@cat:'admin/template/vtip.js'} {combine_css path=$CR_PATH|@cat:'admin/template/style.css'} {include file='include/autosize.inc.tpl'} {footer_script require='jquery'} // AJOUTE UN CHAMP DE RESULTAT function CreateResultField(j, new_contest){ldelim} // Si il n'y a aucun résultats on efface le message if(new_contest) jQuery('#categoryUl').html(''); // Ajoute à la fin de la liste une nouvelle ligne de résultat vide jQuery('
  • ').appendTo('#categoryUl'); // Contenu de la ligne jQuery('#result_'+ j).html(' '+ '

    '+ ' '+ '{'CR_image_no'|@translate} '+ ' '+ ' '+ ' '+ ' '+ ' '+ '{'CR_author'|@translate} : '+ ' '+ '

    '+ '

    {'CR_rank'|@translate} :

    '); // Remplace le lien de création jQuery('#AddLink').html(''); // Réinitiliase les fonctions jQuery jQuery('.catPos').hide(); jQuery('.drag_button').show(); jQuery('.categoryLi').css('cursor', 'move'); jQuery('textarea').autogrow(); jQuery('textarea').css('overflow-y', 'hidden'); vtip(); } // MET A JOUR LA PREVISUALISATION DE L'IMAGE function UpdatePreview(image_id, input){ldelim} $.get("{$CR_PATH}admin/get_tn.php", {ldelim}image_id: input.value}, function success(data){ldelim} document.getElementById('preview-'+image_id).innerHTML = ''+ ''+ ''; vtip(); } ); } {literal} jQuery().ready(function(){ // Drag-and-Drop jQuery('.catPos').hide(); jQuery('.drag_button').show(); jQuery('.categoryLi').css('cursor', 'move'); jQuery('.categoryUl').sortable({ axis: 'y', opacity: 0.8 }); jQuery('#categoryOrdering').submit(function(){ ar = jQuery('.categoryUl').sortable('toArray'); for(i=0; i .cluetip:after {ldelim} content:url('{$themeconf.admin_icon_dir}/help.png'); } {/html_head}

    {$CR_VERSION}

    {'CR_results_tab'|@translate|cat:' : '|cat:$NAME}