Changeset 1123785
- Timestamp:
- 03/30/2015 05:32:24 PM (11 years ago)
- Location:
- yournewsapp/trunk
- Files:
-
- 2 edited
-
nh_ynaa_plugin.php (modified) (9 diffs)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yournewsapp/trunk/nh_ynaa_plugin.php
r1089322 r1123785 2 2 /* 3 3 Plugin Name: Blappsta Plugin 4 Version: 0.8.4. 34 Version: 0.8.4.4 5 5 6 6 Plugin URI: http://wordpress.org/plugins/yournewsapp/ … … 21 21 //Temp fix folder problem 22 22 global $nh_ynaa_version; 23 $nh_ynaa_version = "0.8.4. 3";23 $nh_ynaa_version = "0.8.4.4"; 24 24 global $nh_ynaa_db_version; 25 25 $nh_ynaa_db_version=1.2; … … 1390 1390 <option value="ru" <?php if($this->general_settings[$field['field']]=='ru') echo ' selected'; ?>><?php _e('Russian', 'nh-ynaa'); ?></option> 1391 1391 <option value="es" <?php if($this->general_settings[$field['field']]=='es') echo ' selected'; ?>><?php _e('Spanish', 'nh-ynaa'); ?></option> 1392 <option value=" es" <?php if($this->general_settings[$field['field']]=='ro') echo ' selected'; ?>><?php _e('Romanian', 'nh-ynaa'); ?></option>1392 <option value="ro" <?php if($this->general_settings[$field['field']]=='ro') echo ' selected'; ?>><?php _e('Romanian', 'nh-ynaa'); ?></option> 1393 1393 </select> 1394 1394 <?php … … 3180 3180 if($lim) $limit = $lim; 3181 3181 else $limit=999; 3182 3182 3183 } 3183 3184 else {$cid = $_GET[$this->requesvar['id']]; … … 3189 3190 $limit = 999; 3190 3191 } 3192 } 3193 3194 if($_GET[$this->requesvar['offset']]) { 3195 $offset=$_GET[$this->requesvar['offset']]; 3196 } 3197 else { 3198 $offset = 0; 3191 3199 } 3192 3200 … … 3236 3244 } 3237 3245 3238 $args = array('posts_per_page' => -1, 'category__in' => array($cid), 'orderby' => $orderby , 'order' => $order);3246 $args = array('posts_per_page' => $limit, 'offset'=>$offset, 'category__in' => array($cid), 'orderby' => $orderby , 'order' => $order); 3239 3247 $posts_array = get_posts( $args ); 3240 3248 //$args = array('posts_per_page' => -1, 'category__in' => array($cid), 'orderby' => $orderby , 'order' => $order); … … 3623 3631 } 3624 3632 iframe { 3625 width:100% !important;3633 /*width:100% !important; */ 3626 3634 } 3627 3635 img { … … 3629 3637 height: auto; 3630 3638 } 3639 3640 .nh-elastic-video { 3641 position: relative; 3642 padding-bottom: 55%; 3643 padding-top: 15px; 3644 height: 0; 3645 overflow: hidden; 3646 } 3647 .nh-elastic-video iframe { 3648 position: absolute; 3649 top: 0; 3650 left: 0; 3651 width: 100%; 3652 height: 100%; 3653 } 3654 3655 3631 3656 3632 3657 '; … … 4597 4622 4598 4623 4599 //iframe tag src replace // with http:// 4624 4625 $divElements = $dom->getElementsByTagName("div"); 4626 foreach ($divElements as $divElement) { 4627 if($divElement->hasAttribute('style'))$divElement->removeAttribute('style'); 4628 } 4629 4630 //iframe tag src replace // with http:// 4600 4631 $iframeElements = $dom->getElementsByTagName("iframe"); 4601 4632 foreach ($iframeElements as $iframeElement) { 4602 $src = $iframeElement->getAttribute('src'); 4633 $clone = $iframeElement->cloneNode(false); 4634 $newEdiv = $dom->createElement('div'); 4635 $newEdiv->setAttribute('class', 'nh-elastic-video'); 4636 $newEdiv->appendChild ($clone); 4637 $iframeElement->parentNode->replaceChild($newEdiv,$iframeElement); 4603 4638 /*if(substr($src,0,2)=='//'){ 4604 4639 $iframeElement->setAttribute('src','http:'.$src); 4605 4640 }*/ 4606 4641 } 4607 4608 $divElements = $dom->getElementsByTagName("div"); 4609 foreach ($divElements as $divElement) { 4610 if($divElement->hasAttribute('style'))$divElement->removeAttribute('style'); 4611 } 4642 4612 4643 4613 4644 -
yournewsapp/trunk/readme.txt
r1089322 r1123785 1 1 === Blappsta - your FREE native WordPress based mobile app for iPhone and Android === 2 2 Contributors: nebelhorn 3 Tags: • App, application, abmob, adsense, app generator, blappsta, blappsta plugin, blappsta mobile, blappsta wordpress plugin, blappsta mobile wordpress plugin, smartphone, tablet, social, facebook, twitter, post, posts, comments, widget, Android, android app, app for android, wordpress android app, android tablet, android smartphone, android, android blog app, samsung, htc, google, Ios, ios app, app for ios, apple, iphone, iphone app, ipad app, wordpress ios app, wordpress iphone app, wordpress ipad app, wordpress apple app, mobile, mobile app, mobile app for wordpress, mobile app plugin, mobile plugin, mobile site, mobile website, mobile theme, mobile web, create mobile app, build mobile app, build wordpress app, app for wordpress, build blog app, blog app, app for blog, build blog app, create blog app, mobile app converter, native app, native blog app, native wordpress app, native app plugin, native wordpress app plugin, native, native smartphone app, native ios app, native android app, native mobile app, push, push notification, intelligent push notification, wordpress app plugin, wordpress app, wordpress, wordpress plugin, wordpress app builder, wordpress app maker, wordpress native app plugin, website to mobile app, wordpress blog app, wordpress website app, wordpress mobile, wordpress mobile app 4 3 5 Donate link: 4 6 Tags: 5 7 Requires at least: 3.0 6 Tested up to: 4. 07 Stable tag: 0.8.4. 38 Tested up to: 4.1.1 9 Stable tag: 0.8.4.4 8 10 License: GPLv2 or later 9 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 16 18 17 19 = Turn your blog into a free native app = 18 Don’t fall for the typical HTML web apps with poor usability. And don't spend money for a native app in iOS (iPhone) and Android. 19 Build your individual app using your favorite colors and your own logo in only a few minutes. Instantly test it using our Blappsta Preview app from the [Apple App Store](https://itunes.apple.com/us/app/blappsta-preview/id912390326?mt=8) or [Google Play™ Store](https://play.google.com/store/apps/details?id=com.blappsta.blappstaappcheck). If you like it, go to [www.blappsta.com](https://www.blappsta.com/sign-up) and we will take care of pushing the app into the stores. 20 Check out our [website](https://www.blappsta.com) for more information about Blappsta. 20 **Don’t fall for the typical HTML web apps with poor usability. And don't spend money for a native app in iOS (iPhone) and Android. Build your individual app using your favorite colors and your own logo in only a few minutes. Install our Blappsta plugin for free and design your app the way you want it to look. Instantly test it using our Blappsta Preview app from the [Apple App Store](https://itunes.apple.com/us/app/blappsta-preview/id912390326?mt=8) or [Google Play™ Store](https://play.google.com/store/apps/details?id=com.blappsta.blappstaappcheck). You can test it as long as you want. If you like it, go to [http://www.blappsta.com](https://www.blappsta.com) and we will take care of publishing the app to the stores. Check out our website for more information about Blappsta and our affordable pricing plans.** 21 21 22 22 = Increase the number of readers of your blog with Push Notification = … … 54 54 55 55 = How it works = 56 57 [youtube https://www.youtube.com/embed/Ng6xlcZr7Uw] 58 56 59 1. Install and activate the plugin. 57 60 2. To get a preview on what the app would look like, download and install our Blappsta Preview App from the [Apple App Store](https://itunes.apple.com/us/app/blappsta-preview/id912390326?mt=8) or [Google Play Store](https://play.google.com/store/apps/details?id=com.blappsta.blappstaappcheck). … … 78 81 79 82 == Change Log == 83 = 0.8.4.4 = 84 - Fixed: iframe video size problem 85 80 86 = 0.8.4.3 = 81 87 - Fixed: problem with Push URL … … 358 364 359 365 == Upgrade Notice == 366 = 0.8.4.4 = 367 - Fixed: iframe video size problem 368 360 369 = 0.8.4.3 = 361 370 - Fixed: problem with Push URL
Note: See TracChangeset
for help on using the changeset viewer.