Changeset 2448019
- Timestamp:
- 12/30/2020 02:34:27 PM (5 years ago)
- Location:
- realbig-media/trunk
- Files:
-
- 6 edited
-
adminPage.php (modified) (1 diff)
-
asyncBlockInserting.js (modified) (4 diffs)
-
readyAdGather.js (modified) (2 diffs)
-
realbigForWP.php (modified) (2 diffs)
-
synchronising.php (modified) (3 diffs)
-
textEditing.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
realbig-media/trunk/adminPage.php
r2425485 r2448019 168 168 <div name="rezultDiv" style="font-size: 16px"><?php echo $GLOBALS['tokenStatusMessage'] ?></div> 169 169 <?php endif; ?> 170 <?php if (!empty($checkDirName)&&strpos($checkDirName,'realbigForWP')!==false): ?>170 <?php /* if (!empty($checkDirName)&&strpos($checkDirName,'realbigForWP')!==false): ?> 171 171 <?php submit_button('Rename', 'folderRename', 'folderRename') ?> 172 <?php endif; ?>172 <?php endif; /**/ ?> 173 173 <?php if (!empty($devMode)): ?> 174 174 <?php if (!empty($rb_rssFeedUrls)): ?> -
realbig-media/trunk/asyncBlockInserting.js
r2425485 r2448019 156 156 let ccRepeat = false; 157 157 158 let gatheredBlocks = document.querySelectorAll('.percentPointerClass .content_rb ');158 let gatheredBlocks = document.querySelectorAll('.percentPointerClass .content_rb, .percentPointerClass .cnt32_rl_bg_str'); 159 159 160 160 if (gatheredBlocks&&gatheredBlocks.length > 0) { … … 236 236 for (i = 0; i < blocksInContainer.length; i++) { 237 237 currentBlock = blocksInContainer[i]; 238 currentBlockId = currentBlock.querySelector('.content_rb ').getAttribute('data-id');238 currentBlockId = currentBlock.querySelector('.content_rb, .cnt32_rl_bg_str').getAttribute('data-id'); 239 239 currentContainer = null; 240 240 for (j = 0; j < usedBlockSettingArray.length; i++) { … … 300 300 if (!emptyValues) { 301 301 htmlToAdd = '#content_rb_'+blockNumber+' > * {\n' + 302 ' margin: '+marginString+';\n' + 303 '}\n' + 304 '#cnt_rb_'+blockNumber+' > * {\n' + 302 305 ' margin: '+marginString+';\n' + 303 306 '}\n'; … … 1228 1231 1229 1232 function cachePlacing(alert_type, errorInfo=null) { 1230 let adBlocks = document.querySelectorAll('.percentPointerClass .content_rb ');1231 let curAdBlock;1232 letokStates = ['done','refresh-wait','no-block','fetched'];1233 let adBlocks = document.querySelectorAll('.percentPointerClass .content_rb, .percentPointerClass .cnt32_rl_bg_str'), 1234 curAdBlock, 1235 okStates = ['done','refresh-wait','no-block','fetched']; 1233 1236 /* let adId = -1; */ 1234 1237 let blockStatus = null; -
realbig-media/trunk/readyAdGather.js
r2328500 r2448019 18 18 let blocks = {}; 19 19 let counter1 = 0; 20 let gatheredBlocks = document.getElementsByClassName('content_rb ');20 let gatheredBlocks = document.getElementsByClassName('content_rb cnt32_rl_bg_str'); 21 21 let checker = 0; 22 22 let adContent = ''; … … 50 50 51 51 function timeBeforeGathering() { 52 let gatheredBlocks = document.getElementsByClassName('content_rb ');52 let gatheredBlocks = document.getElementsByClassName('content_rb cnt32_rl_bg_str'); 53 53 let okStates = ['done','refresh-wait','no-block','fetched']; 54 54 let curState = ''; -
realbig-media/trunk/realbigForWP.php
r2425485 r2448019 6 6 Plugin name: Realbig Media 7 7 Description: Плагин для монетизации от RealBig.media 8 Version: 0.3. 68 Version: 0.3.7 9 9 Author: Realbig Team 10 10 Author URI: https://realbig.media … … 655 655 $GLOBALS['realbigForWP_version'] = $pluginData['Version']; 656 656 } else { 657 $GLOBALS['realbigForWP_version'] = '0.3. 6';657 $GLOBALS['realbigForWP_version'] = '0.3.7'; 658 658 } 659 659 } -
realbig-media/trunk/synchronising.php
r2425485 r2448019 18 18 $menuItemList = RFWP_getMenuList(); 19 19 $permalinkStatus = RFWP_checkPermalink(); 20 $pluginVersion = RFWP_plugin_version(); 20 21 $unsuccessfullAjaxSyncAttempt = 0; 21 22 … … 56 57 'getMenuList' => json_encode($menuItemList), 57 58 'otherInfo' => $otherInfo, 59 'pluginVersion' => $pluginVersion 58 60 ] 59 61 ]; … … 821 823 } 822 824 } 825 if (!function_exists('RFWP_plugin_version')) { 826 function RFWP_plugin_version() { 827 $plugin_version = null; 828 $plugin_data = get_plugin_data(dirname(__FILE__).'/realbigForWP.php'); 829 if (!empty($plugin_data)&&!empty($plugin_data['Version'])) { 830 $plugin_version = $plugin_data['Version']; 831 } 832 833 return $plugin_version; 834 } 835 } 823 836 if (!function_exists('RFWP_createAndFillLocalRotator')) { 824 837 function RFWP_createAndFillLocalRotator($rotatorFileInfo) { -
realbig-media/trunk/textEditing.php
r2425485 r2448019 1523 1523 $excIdClass .= ';'; 1524 1524 } 1525 $excIdClass .= ".percentPointerClass;.content_rb;. addedInserting;#toc_container;table;blockquote";1525 $excIdClass .= ".percentPointerClass;.content_rb;.cnt32_rl_bg_str;.addedInserting;#toc_container;table;blockquote"; 1526 1526 if (!empty($excIdClass)) { 1527 1527 $excIdClass = explode(';', $excIdClass);
Note: See TracChangeset
for help on using the changeset viewer.