Dotclear

Changeset 3:cf375f1e7b0f for admin/js


Ignore:
Timestamp:
04/27/11 09:06:30 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
userprefs
Message:

Ported Franck & Kozlika updates for user prefs, dedicated branch

Location:
admin/js
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_blog_theme.js

    r0 r3  
    4646               } 
    4747               if (submit_r.length > 0 && $('input:radio',info).attr('id') != 'theme_default') { 
    48                     var remove = $('<a href="#" class="button">' + dotclear.msg.remove_this_theme + '</a>'); 
     48                    var remove = $('<a href="#" class="button delete">' + dotclear.msg.remove_this_theme + '</a>'); 
    4949                    remove.click(function() { 
    5050                         var t_name = $(this).parents('#theme-box').find('div.theme-info h3:first').text(); 
  • admin/js/_index.js

    r0 r3  
    1111           
    1212          if ($('input[name=save-publish]',f).length > 0) { 
    13                var btn = $('<input type="submit" class="submit" value="' + $('input[name=save-publish]',f).val() + '" tabindex="3" />'); 
     13               var btn = $('<input type="submit" value="' + $('input[name=save-publish]',f).val() + '" tabindex="3" />'); 
    1414               $('input[name=save-publish]',f).remove(); 
    1515               $('input[name=save]',f).after(btn).after(' '); 
  • admin/js/common.js

    r0 r3  
    196196     sizeBox(); 
    197197      
    198      var img = $('<img src="images/help.png" alt="'+dotclear.msg.help+'" title="'+dotclear.msg.help+'" id="help-button" />'); 
     198     var img = $('<span id="help-button">'+dotclear.msg.help+'</span>'); 
    199199     var select = $(); 
    200200     img.click(function() { return toggle(); }); 
     
    339339          $.extend({cookie:'dc_plugins_menu'},menu_settings) 
    340340     ); 
     341     $('#favorites-menu h3:first').toggleWithLegend($('#favorites-menu ul:first'), 
     342          $.extend({cookie:'dc_favorites_menu'},menu_settings) 
     343     ); 
    341344      
    342345     $('#help').helpViewer(); 
  • admin/js/jquery/jquery.candyUpload.js

    r0 r3  
    449449           
    450450          createControls: function() { 
    451                this.ctrl.btn_browse = $('<a href="#">&nbsp;</a>').click(function() { 
    452                     return false; 
    453                }); 
    454                 
    455                this.ctrl.btn_cancel = $('<a href="#">' + this.locales.cancel + '</a>').click(function() { 
    456                     return false; 
    457                }); 
    458                 
    459                this.ctrl.btn_clean = $('<a href="#">' + this.locales.clean + '</a>').click(function() { 
    460                     return false; 
    461                }); 
    462                 
    463                this.ctrl.btn_upload = $('<a href="#">' + this.locales.upload + '</a>').click(function() { 
     451               this.ctrl.btn_browse = $('<a href="#" class="button">&nbsp;</a>').click(function() { 
     452                    return false; 
     453               }); 
     454                
     455               this.ctrl.btn_cancel = $('<a href="#" class="button">' + this.locales.cancel + '</a>').click(function() { 
     456                    return false; 
     457               }); 
     458                
     459               this.ctrl.btn_clean = $('<a href="#" class="button">' + this.locales.clean + '</a>').click(function() { 
     460                    return false; 
     461               }); 
     462                
     463               this.ctrl.btn_upload = $('<a href="#" class="button">' + this.locales.upload + '</a>').click(function() { 
    464464                    return false; 
    465465               }); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map