Lines Matching refs:if
60 if(fck_Lang[js_code] && fck_Lang[js_code] != "") {
74 if(!wiki_id) return;
97 if(status=="success") {
99 if(str.match(/^\s*__EMPTY__\s*$/)) {
157 if(typeValue == 'internal') {
161 else if(typeValue == 'media') {
165 if ( typeValue == 'url' )
169 if ( !uploadInitiallyHidden )
175 if ( !uploadInitiallyHidden )
183 if ( !element )
187 if ( partIds[i] == typeValue + 'Options' )
225 if ( ( javascriptMatch = href.match( javascriptProtocolRegex ) ) )
227 if ( emailProtection == 'encode' )
238 else if ( emailProtection )
242 if ( funcName == compiledProtectionFunction.name )
266 if ( !retval.type )
269 if ( ( anchorMatch = href.match( anchorRegex ) ) )
276 else if ( ( emailMatch = href.match( emailRegex ) ) )
287 …else if((urlMatch = href.match(oRegex.media_internal)) || (urlMatch = href.match(oRegex.media_rewr…
295 …else if( (urlMatch = href.match( oRegex.internal_link )) || (urlMatch = href.match( internalLinkRe…
308 else if(urlMatch = href.match(oRegex.samba)) {
316 else if(urlMatch = href.match(oRegex.samba_unsaved)) {
323 else if( urlMatch = href.match(oRegex.interwiki) || class_name.match(/interwiki/) ) {
325 if(urlMatch && urlMatch[2]) {
336 if(match && match[1]) {
339 if(index) {
340 if(!str) {
349 if(index) {
362 else if ( href && ( urlMatch = href.match( urlRegex ) ) )
374 if ( element )
389 if(!text) return;
402 if(title && oDokuWiki_FCKEditorInstance.useheading == 'y') {
411 if(!text) return;
425 if(!confirm(msg))break;
431 if ( data[page] )
447 if ( !data[page] )
476 if ( emailProtection && emailProtection != 'encode' )
541 if (fbUrl.indexOf('fckeditor') === -1) {
585 if ( data.type )
620 if ( data.url )
625 if ( !data.url )
649 if ( protocol )
654 else if ( urlOnChangeTestOther.test( url ) )
661 if ( this.allowOnChange ) // Dont't call on dialog load.
668 if ( dialog.getContentElement( 'info', 'linkType' ) &&
672 if ( this.getDialog().fakeObj ) // Edit Anchor.
681 if ( data.url )
688 // IE will not trigger the onChange event if the mouse has been used
692 if ( !data.url )
703 if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
730 if(data) {
731 … if (data.url && data.url.selected ) {
773 if(data) {
774 … if (data.url && data.url.selected ) {
782 if ( !data.url )
799 if ( data.url )
804 if ( !data.url )
844 if(data) {
845 if (data.url && data.url.selected ) {
872 … if (data.url && data.url.selected) {
895 if ( !dialog.getContentElement( 'info', 'linkType' ) ||
904 if ( data.email )
908 if ( linkType && linkType.getValue() == 'email' )
913 if ( !data.email )
925 if ( data.email )
930 if ( !data.email )
944 if ( data.email )
949 if ( !data.email )
958 if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
1011 if ( data.hash )
1035 if ( data.qstring )
1096 // Fill in all the relevant fields if there's already one link selected.
1097 if ( ( element = plugin.getSelectedLink( editor ) ) && element.hasAttribute( 'href' ) )
1130 if(document.getElementById(fckgMediaInputId).value) {
1139 if( mf[1].match(ImagesAllowed)) {
1148 if(mf) data.adv[ 'advCSSClasses'] += " mf_" + mf[2];
1157 if(!data.url.url) {
1159 if(!data.url.url.match(/^:\w+/)) {
1163 if(!data.url.url.match(regex)) {
1170 if(!data.url.url.match(/\w/)) {
1176 if(oDokuWiki_FCKEditorInstance.useheading == 'y') {
1186 if(ilinkstyle == 'page' && oDokuWiki_FCKEditorInstance.useheading == 'n') {
1190 else { //if(!tested) {
1195 if(data.hash) { data.url.url += '#' +data.hash; }
1196 if(data.qstring) { data.url.url += '&' +data.qstring; }
1203 if(typeof editor.config.selectedIwikiIndex == "number") {
1209 if( ckg_iwikiClass) {
1215 if(data.url.selection) data.url.selection = 'oIWIKIo'+data.url.selection+'cIWIKIc';
1216 if(iwiki_pattern) {
1217 if(iwiki_pattern.match(/\{.*?\}/) ){
1239 if(!data.url.url) {
1242 if(!data.url.url) {
1274 if ( emailProtection == 'encode' )
1306 if ( data.adv )
1311 if ( value )
1321 if ( data.adv[ 'advName' ] )
1328 if(!other_media) {
1344 if ( !this._.selectedElement )
1347 // Create element if current selection is collapsed.
1350 if ( ranges.length == 1 && ranges[0].collapsed )
1364 if(navigator.userAgent.match(/(Trident|MSIE)/) || !text) {
1367 if(!hasSelectedText && (data.type == 'media' || data.type == 'internal')) {
1368 if(internal_text) {
1375 if(attr.match(/href/i))continue;
1393 if(other_media) {
1400 if ( data.adv && data.adv.advName && CKEDITOR.plugins.link.synAnchorSelector )
1404 if ( href == textView || data.type == 'email' && textView.indexOf( '@' ) != -1 )
1411 if(internal_text){
1414 else if(iwiki_text && iwiki_text != data.adv.advTitle) {
1423 if(text) {
1425 if(media_text) {
1428 else if(internal_text) {
1431 else if(text && iwiki_text) {
1434 else if(url_text) {
1437 else if(text && data.adv.advTitle) {
1452 if(!ckgeditIwikiData) return;
1483 if(!ar[i].match(/\w/)) continue;
1484 if(ar[i].match(/\#|http|https|ftp|news|m-files/)) {
1516 // Inital focus on 'url' field if link is of type URL.
1521 if ( linkType && linkType.getValue() == 'url' )
1555 if(doku_linkwiz.$wiz)
1586 if(JSINFO.namespace){
1600 if(e.keyCode == 37 || e.keyCode == 39){ //left/right
1603 if(e.keyCode == 27){ //Escape
1609 if(e.keyCode == 38){ //Up
1615 if(e.keyCode == 40){ //Down
1621 if(e.keyCode == 13){ //Enter
1622 if(doku_linkwiz.selected > -1){
1624 if($obj.length > 0){
1627 }else if(doku_linkwiz.$entry.val()){
1663 if(num < 0){
1669 if ($obj.length === 0) {
1683 if (childPos < 0) {
1684 //if childPos is above viewable area (that's why it goes negative)
1686 } else if(yDiff > 0) {
1687 // if difference between childs top and parents viewable area is
1696 * deselect a result if any is selected
1699 if(doku_linkwiz.selected > -1){
1710 if(!jQuery(this).is('a')) {
1724 if(a.title == '' || a.title.substr(a.title.length-1) == ':'){
1727 if (jQuery(a.nextSibling).is('span')) {
1744 if(!link) {
1751 if(title && oDokuWiki_FCKEditorInstance.useheading == 'y') {
1756 if(ltype == 'page') {
1775 if(doku_linkwiz.timer !== null){
1825 if(doku_linkwiz.$wiz.css('display') == 'none'){