function __tinypass_mlite_display(TPPaySettings $ps) { $prodId = stripslashes(esc_attr($ps->getPaywallIDProd())); $sandId = stripslashes(esc_attr($ps->getPaywallIDSand())); ?> <div class="tp-section"> <div class="desc">Sign up or login to <a href="http://dashboard.tinypass.com" target="_blank">Tinypass Dashboard</a> to create a new paywall.<br> A Paywall ID number will be generated for you. Copy it to your clipboard </div> <br> <br> <div class="info"> <div class="heading">Enter your Paywall ID</div> <div class="desc">Create a paywall on the <a href="http://dashboard.tinypass.com" target="_blank">Tinypass Dashboard</a> and paste the ID number here.</div> <br> <div class="desc">If you're just testing, create a paywall on the <a href="http://sandbox.tinypass.com" target="_blank">Tinypass Dashboard</a> and paste the ID number here.</div> </div> <div class="body"> <div class="postbox"> <h3><?php _e('Paywall ID'); ?> </h3> <div class="inside"> <div class="tp-simple-table"> <input name="tinypass[mlite_pwid_prod]" size="20" value="<?php echo esc_attr($prodId); ?> " > </div> </div> </div> <div class="postbox"> <h3><?php _e('Sandbox Paywall ID'); ?> </h3> <div class="inside"> <div class="tp-simple-table"> <input name="tinypass[mlite_pwid_sand]" size="20" value="<?php echo esc_attr($sandId); ?> " > </div> </div> </div> </div> <div class="clear"></div> </div> <?php }