Ticket #5775: 5775.patch

File 5775.patch, 2.8 KB (added by Tobiasz Cudnik, 14 years ago)
  • _source/skins/kama/dialog.css

     
    786786        display: none;
    787787}
    788788
     789.cke_skin_kama .cke_dialog_body label.cke_required
     790{
     791        font-weight: bold;
     792}
     793
    789794.cke_skin_kama .cke_hc .cke_dialog_body .cke_label
    790795{
    791796        display: inline;
  • _source/skins/v2/dialog.css

     
    718718        display: none;
    719719}
    720720
     721.cke_skin_v2 .cke_dialog_body label.cke_required
     722{
     723        font-weight: bold;
     724}
     725
    721726.cke_skin_v2 .cke_hc .cke_dialog_body .cke_label
    722727{
    723728        display: inline;
  • _source/skins/office2003/dialog.css

     
    716716        display: none;
    717717}
    718718
     719.cke_skin_office2003 .cke_dialog_body label.cke_required
     720{
     721        font-weight: bold;
     722}
     723
    719724.cke_skin_office2003 .cke_hc .cke_dialog_body .cke_label
    720725{
    721726        display: inline;
  • _source/plugins/dialogui/plugin.js

     
    1 /*
     1/*
    22Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
     
    152152                                /** @ignore */
    153153                                var innerHTML = function()
    154154                                {
    155                                         var html = [];
     155                                        var html = [],
     156                                                requiredClass = elementDefinition.required ? ' cke_required' : '' ;
    156157                                        if ( elementDefinition.labelLayout != 'horizontal' )
    157                                                 html.push( '<label class="cke_dialog_ui_labeled_label" ',
     158                                                html.push( '<label class="cke_dialog_ui_labeled_label' + requiredClass + '" ',
    158159                                                                ' id="'+  _.labelId + '"',
    159160                                                                ' for="' + _.inputId + '"',
    160161                                                                ' style="' + elementDefinition.labelStyle + '">',
     162                                                                ( requiredClass ? '*' : '' ),
    161163                                                                elementDefinition.label,
    162164                                                                '</label>',
    163165                                                                '<div class="cke_dialog_ui_labeled_content" role="presentation">',
     
    173175                                                        [
    174176                                                                {
    175177                                                                        type : 'html',
    176                                                                         html : '<label class="cke_dialog_ui_labeled_label"' +
     178                                                                        html : '<label class="cke_dialog_ui_labeled_label' + requiredClass + '"' +
    177179                                                                                ' id="' + _.labelId + '"' +
    178180                                                                                ' for="' + _.inputId + '"' +
    179181                                                                                ' style="' + elementDefinition.labelStyle + '">' +
     182                                                                                ( requiredClass ? '*' : '' )+
    180183                                                                                   CKEDITOR.tools.htmlEncode( elementDefinition.label ) +
    181184                                                                                '</span>'
    182185                                                                },
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy