<br/> <textarea rows="5" cols="80" name="mobilize[banners][description]"><?php echo htmlentities(utf8_decode($option['banners']['description'])); ?> </textarea> </label> </p> <label> <?php _e('Subir banner:', 'mobilize'); ?> <input type="file" name="banner[]" /> </label><br/> <?php if ($banner_url = Mobilize::getBannerURL(125)) { ?> <img src="<?php echo $banner_url; ?> " style="max-width:780px;"/> <?php } ?> </div> </div> </li> <li> <div id="mobilize-adesive" class="section"> <!--<div class="mobilize-clear"><a href="#" title="mover"><img width="15" src="<?php
/** * [mobilize_template_banners description] * @return [type] [description] */ function mobilize_template_banners() { if (Mobilize::isActive('banners') && Mobilize::getBannerURL(250) != '') { $options = Mobilize::getOption(); $smartView = new smartView(INC_MOBILIZE . '/views/banners.php'); $smartView->padding = isset($options['general']['espacamento_lateral']) ? $options['general']['espacamento_lateral'] : ''; $smartView->bannerTitle = __('Banners', 'mobilize'); $smartView->bannerDescription = $options['banners']['description']; $smartView->bannerCode250 = htmlentities('<a href="' . get_bloginfo('url') . '/mobilize"><img src="' . Mobilize::getBannerURL(250) . '" /></a>'); $smartView->bannerCode200 = htmlentities('<a href="' . get_bloginfo('url') . '/mobilize"><img src="' . Mobilize::getBannerURL(200) . '" /></a>'); $smartView->bannerCode125 = htmlentities('<a href="' . get_bloginfo('url') . '/mobilize"><img src="' . Mobilize::getBannerURL(125) . '" /></a>'); $smartView->bannerURL250 = Mobilize::getBannerURL(250); $smartView->bannerURL200 = Mobilize::getBannerURL(200); $smartView->bannerURL125 = Mobilize::getBannerURL(125); $smartView->bannerPermaLink = get_permalink(); return $smartView->display(); } }