当前位置: 首页>>代码示例>>PHP>>正文


PHP SendPress_Option::get方法代码示例

本文整理汇总了PHP中SendPress_Option::get方法的典型用法代码示例。如果您正苦于以下问题:PHP SendPress_Option::get方法的具体用法?PHP SendPress_Option::get怎么用?PHP SendPress_Option::get使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SendPress_Option的用法示例。


在下文中一共展示了SendPress_Option::get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: prerender

 function prerender()
 {
     $ip = $_SERVER['REMOTE_ADDR'];
     //print_r($info);
     $info = $this->data();
     if (isset($info->id)) {
         $lists = SendPress_Data::get_list_ids_for_subscriber($info->id);
         //$lists = explode(',',$info->listids);
         foreach ($lists as $list) {
             $status = SendPress_Data::get_subscriber_list_status($list->listID, $info->id);
             if ($status->statusid == 1) {
                 SendPress_Data::update_subscriber_status($list->listID, $info->id, '2');
             }
         }
         SPNL()->db("Subscribers_Tracker")->open($info->report, $info->id, 4);
     }
     if (SendPress_Option::get('confirm-page') == 'custom') {
         $page = SendPress_Option::get('confirm-page-id');
         if ($page != false) {
             $plink = get_permalink($page);
             if ($plink != "") {
                 wp_safe_redirect(esc_url_raw($plink));
                 exit;
             }
         }
     }
 }
开发者ID:richardsweeney,项目名称:sendpress,代码行数:27,代码来源:class-sendpress-public-view-confirm.php

示例2: send_email

 function send_email($to, $subject, $html, $text, $istest = false, $sid, $list_id, $report_id)
 {
     //$user = SendPress_Option::get( 'mandrilluser' );
     //$pass = SendPress_Option::get( 'mandrillpass' );
     $from_email = SendPress_Option::get('fromemail');
     //$hdr = new SendPress_SendGrid_SMTP_API();
     $m = SendPress_Option::get_sender('sendpress');
     //$hdr->addFilterSetting('dkim', 'domain', SendPress_Manager::get_domain_from_email($from_email) );
     //$phpmailer->AddCustomHeader(sprintf( 'X-SMTPAPI: %s', $hdr->asJSON() ) );
     $info = array("X-SP-METHOD" => "WPED.co", "X-SP-LIST" => $list_id, "X-SP-REPORT" => $report_id, "X-SP-SUBSCRIBER" => $sid, "X-SP-DOMAIN" => home_url());
     $url = 'https://gateway.wped.co/send/';
     //$url = 'http://spnl.dev/';
     $verify_ssl = true;
     if (isset($m['verifyssl']) && $m['verifyssl'] == 'donotverify') {
         $verify_ssl = false;
         $url = 'http://api.wped.co/send';
     }
     $message = array('to' => array(array('email' => $to)), 'subject' => $subject, 'html' => $html, 'text' => $text, 'from_email' => $from_email, 'from_name' => SendPress_Option::get('fromname'), 'headers' => $info, 'inline_css' => true, 'subaccount' => $m['sendpress-key'], 'metadata' => array('sender' => 'SPNL', 'return' => home_url()));
     $response = wp_remote_post($url, array('method' => 'POST', 'timeout' => 45, 'redirection' => 5, 'httpversion' => '1.0', 'blocking' => true, 'headers' => array('Content-Type' => 'application/json'), 'body' => json_encode($message), 'sslverify' => $verify_ssl, 'cookies' => array()));
     if (is_wp_error($response)) {
         $error_message = $response->get_error_message();
         SPNL()->log->add('WPED Sending', $error_message, 0, 'sending');
         return false;
     } else {
         return true;
     }
     return false;
 }
开发者ID:richardsweeney,项目名称:sendpress,代码行数:28,代码来源:class-sendpress-sender-spnl.php

示例3: prerender

 function prerender()
 {
     $ip = $_SERVER['REMOTE_ADDR'];
     //print_r($info);
     $info = $this->data();
     if (isset($info->listids)) {
         $lists = explode(',', $info->listids);
         foreach ($lists as $list_id) {
             if ($list_id > 0) {
                 $status = SendPress_Data::get_subscriber_list_status($list_id, $info->id);
                 if (!isset($status) || $status->status != '2') {
                     SendPress_Data::update_subscriber_status($list_id, $info->id, '2');
                 }
             }
         }
     }
     if (SendPress_Option::get('confirm-page') == 'custom') {
         $page = SendPress_Option::get('confirm-page-id');
         if ($page != false) {
             $plink = get_permalink($page);
             if ($plink != "") {
                 wp_safe_redirect(esc_url_raw($plink));
                 exit;
             }
         }
     }
 }
开发者ID:radscheit,项目名称:unicorn,代码行数:27,代码来源:class-sendpress-public-view-confirm.php

示例4: external

 static function external($template_id, $email_id, $subscriber_id, $example)
 {
     $canspam = SendPress_Option::get('canspam');
     if ($canspam != '' && $canspam != false) {
         return nl2br($canspam);
     }
     return '';
 }
开发者ID:richardsweeney,项目名称:sendpress,代码行数:8,代码来源:class-sendpress-tag-canspam.php

示例5: html

    function html($sp)
    {
        ?>
  <?php 
        if (SendPress_Option::get('import_error', false) == true) {
            ?>
	<div class="alert alert-danger">
  <?php 
            _e('We had a problem saving your upload', 'sendpress');
            ?>
.
  </div>
  <?php 
        }
        ?>
  <div id="taskbar" class="lists-dashboard rounded group"> 
	<h2><?php 
        _e('Import CSV to ', 'sendpress');
        echo get_the_title($_GET['listID']);
        ?>
</h2>
	</div>
<div class="boxer">
	<div class="boxer-inner">
	<!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
	<form method="post" enctype="multipart/form-data" accept-charset="utf-8" >
		<!-- For plugins, we also need to ensure that the form posts back to our current page -->
	    <input type="hidden" name="listID" value="<?php 
        echo SPNL()->validate->int($_GET['listID']);
        ?>
" />
	   	<table>
	   	<tr>
    <td class="left_label"> <?php 
        echo $label;
        ?>
    </td>
    <td>
        <input type="file" name="uploadfiles[]" id="uploadfiles" size="35" class="uploadfiles" />
        <input class="button-primary" type="submit" name="uploadfile" id="uploadfile_btn" value="Upload"  />
     
    </td>
  </tr> 
 	</table>
   
<?php 
        SendPress_Option::set('import_error', false);
        SendPress_Data::nonce_field();
        ?>
	   </form>
</div>
</div>
<?php 
    }
开发者ID:pmatheus,项目名称:participacao-sitebase,代码行数:54,代码来源:class-sendpress-view-subscribers-csvimport.php

示例6: module_deactivate_sendpress_pro

 function module_deactivate_sendpress_pro()
 {
     $path = $_POST['plugin_path'];
     $pro_options = SendPress_Option::get('pro_plugins');
     if (!preg_match('/sendpress-pro.php/i', $path)) {
         if (preg_match('/sendpress-pro/i', $path)) {
             //make sure the plugin loads from sendpress pro
             $pro_options[$path] = false;
             SendPress_Option::set('pro_plugins', $pro_options);
         }
     } else {
         deactivate_plugins($path);
     }
 }
开发者ID:pmatheus,项目名称:participacao-sitebase,代码行数:14,代码来源:class-sendpress-view-pro.php

示例7: sendpress

 function sendpress($phpmailer)
 {
     // Set the mailer type as per config above, this overrides the already called isMail method
     $phpmailer->Mailer = 'smtp';
     // We are sending SMTP mail
     $phpmailer->IsSMTP();
     // Set the other options
     $phpmailer->Host = 'smtp.sendgrid.net';
     $phpmailer->Port = 25;
     // If we're using smtp auth, set the username & password
     $phpmailer->SMTPAuth = TRUE;
     $phpmailer->Username = SendPress_Option::get('sp_user');
     $phpmailer->Password = SendPress_Option::get('sp_pass');
     return $phpmailer;
 }
开发者ID:radscheit,项目名称:unicorn,代码行数:15,代码来源:class-sendpress-sender.php

示例8: send_mail_cron

 static function send_mail_cron()
 {
     //@ini_set('max_execution_time',0);
     global $wpdb;
     $count = SendPress_Option::get('emails-per-hour');
     $count = SendPress_Option::get('wpcron-per-call', 25);
     $email_count = 0;
     $attempts = 0;
     if (SendPress_Manager::limit_reached($count)) {
         return;
     }
     SendPress_Email_Cache::build_cache();
     for ($i = 0; $i < $count; $i++) {
         $email = SendPress_Data::get_single_email_from_queue();
         if ($email != null) {
             $attempts++;
             SendPress_Data::queue_email_process($email->id);
             $result = SendPress_Manager::send_email_from_queue($email);
             $email_count++;
             if ($result) {
                 if ($result === true) {
                     $wpdb->update(SendPress_Data::queue_table(), array('success' => 1, 'inprocess' => 3), array('id' => $email->id));
                     //( $sid, $rid, $lid=null, $uid=null, $ip=null, $device_type=null, $device=null, $type='confirm' )
                     //$wpdb->update( SendPress_Data::queue_table() , array('success'=>1,'inprocess'=>3 ) , array('id'=> $email->id ));
                     //$wpdb->insert(SendPress_Data::subscriber_tracker_table() , array('subscriberID'=>$email->subscriberID,'emailID'=>$email->emailID,'sent_at' => get_gmt_from_date( date('Y-m-d H:i:s') )) );
                     SPNL()->db("Subscribers_Tracker")->add(array('subscriber_id' => intval($email->subscriberID), 'email_id' => intval($email->emailID)));
                     SendPress_Data::add_subscriber_event($email->subscriberID, $email->emailID, $email->listID, null, null, null, null, 'send');
                 } else {
                     $wpdb->update(SendPress_Data::queue_table(), array('success' => 2, 'inprocess' => 3), array('id' => $email->id));
                     SendPress_Data::add_subscriber_event($email->subscriberID, $email->emailID, $email->listID, null, null, null, null, 'bounce');
                     SendPress_Data::bounce_subscriber_by_id($email->subscriberID);
                 }
                 //$wpdb->insert( $this->subscriber_open_table(),  $senddata);
                 $count++;
                 //SendPress_Data::update_report_sent_count( $email->emailID );
             } else {
                 $wpdb->update(SendPress_Data::queue_table(), array('attempts' => $email->attempts + 1, 'inprocess' => 0, 'last_attempt' => date('Y-m-d H:i:s')), array('id' => $email->id));
             }
         } else {
             //We ran out of emails to process.
             break;
         }
         set_time_limit(30);
     }
     return;
 }
开发者ID:richardsweeney,项目名称:sendpress,代码行数:46,代码来源:class-sendpress-queue.php

示例9: external

 static function external($template_id, $email_id, $subscriber_id, $e)
 {
     //maybe saved link?
     $link_data = array("id" => $subscriber_id, "view" => 'manage');
     $code = SendPress_Data::encrypt($link_data);
     $link = SendPress_Manager::public_url($code);
     if (SendPress_Option::get('manage-page') == 'custom') {
         $page = SendPress_Option::get('manage-page-id');
         if ($page != false) {
             $plink = get_permalink($page);
             if ($plink != "") {
                 $link = $plink . '?spms=' . $code;
             }
         }
     }
     return $link;
 }
开发者ID:radscheit,项目名称:unicorn,代码行数:17,代码来源:class-sendpress-tag-manage-subscriptions.php

示例10: pn_select

 function pn_select($sub_id, $listid)
 {
     $pro_list = SendPress_Option::get('pro_notification_lists');
     if (isset($pro_list['post_notifications']['id']) && $listid == $pro_list['post_notifications']['id']) {
         $current = SendPress_Data::get_subscriber_meta($sub_id, 'post_notifications', $listid);
         $info = SendPress_Data::get_post_notification_types();
         echo '<select name="' . $listid . '-pn">';
         echo "<option cls value='-1' >No Status</option>";
         foreach ($info as $key => $value) {
             $cls = '';
             if ($current == $key) {
                 $cls = " selected='selected' ";
             }
             echo "<option {$cls} value='" . $key . "'>" . $value . "</option>";
         }
         echo '</select> ';
     }
 }
开发者ID:pmatheus,项目名称:participacao-sitebase,代码行数:18,代码来源:class-sendpress-view-subscribers-subscriber.php

示例11: auto_cron

 function auto_cron()
 {
     // make sure we're in wp-cron.php
     if (false !== strpos($_SERVER['REQUEST_URI'], '/wp-cron.php')) {
         // make sure a secret string is provided in the ur
         if (isset($_GET['action']) && $_GET['action'] == 'sendpress') {
             $time_start = microtime(true);
             $count = SendPress_Data::emails_in_queue();
             $bg = 0;
             if ($count > 0) {
                 SendPress_Queue::send_mail();
                 $count = SendPress_Data::emails_in_queue();
             } else {
                 SPNL()->log->prune_logs();
                 SendPress_Data::clean_queue_table();
                 //SendPress_Logging::prune_logs();
                 $bg = 1;
             }
             $attempted_count = SendPress_Option::get('autocron-per-call', 25);
             $pro = 0;
             if (defined('SENDPRESS_PRO_VERSION')) {
                 $pro = SENDPRESS_PRO_VERSION;
             }
             $stuck = SendPress_Data::emails_stuck_in_queue();
             $limit = SendPress_Manager::limit_reached();
             $emails_per_day = SendPress_Option::get('emails-per-day');
             $emails_per_hour = SendPress_Option::get('emails-per-hour');
             $hourly_emails = SendPress_Data::emails_sent_in_queue("hour");
             $emails_so_far = SendPress_Data::emails_sent_in_queue("day");
             $limits = array('autocron' => $attempted_count, 'dl' => $emails_per_day, 'hl' => $emails_per_hour, 'ds' => $emails_so_far, 'hs' => $hourly_emails);
             $time_end = microtime(true);
             $time = $time_end - $time_start;
             echo json_encode(array("background" => $bg, "queue" => $count, "stuck" => $stuck, "version" => SENDPRESS_VERSION, "pro" => $pro, "limit" => $limit, 'info' => $limits, 'time' => number_format($time, 3)));
             die;
         }
     }
 }
开发者ID:radscheit,项目名称:unicorn,代码行数:37,代码来源:class-sendpress-cron.php

示例12: enqueue

 /**
  * Enqueue styles and scripts needed for the pointers.
  */
 function enqueue()
 {
     if (!current_user_can('manage_options')) {
         return;
     }
     SendPress_Option::set('allow_tracking', '');
     $track = SendPress_Option::get('allow_tracking');
     $tour = false;
     //SendPress_Option::get( 'intro_tour' );
     if (($track == false || $track == '') && !isset($_GET['allow_tracking'])) {
         wp_enqueue_style('wp-pointer');
         wp_enqueue_script('jquery-ui');
         wp_enqueue_script('wp-pointer');
         wp_enqueue_script('utils');
         add_action('admin_print_footer_scripts', array($this, 'tracking_request'));
     } else {
         if ($tour == 'false' || $tour == false) {
             /*
             add_action( 'admin_print_footer_scripts', array( $this, 'intro_tour' ) );
             add_action( 'admin_head', array( $this, 'admin_head' ) );
             */
         }
     }
 }
开发者ID:richardsweeney,项目名称:sendpress,代码行数:27,代码来源:class-sendpress-tour.php

示例13: html

    function html($sp)
    {
        SendPress_Tracking::event('Queue Tab');
        if (isset($_GET['cron'])) {
            $sp->fetch_mail_from_queue();
        }
        //Create an instance of our package class...
        $testListTable = new SendPress_Queue_Table();
        //Fetch, prepare, sort, and filter our data...
        $testListTable->prepare_items();
        SendPress_Option::set('no_cron_send', 'false');
        //$sp->fetch_mail_from_queue();
        $sp->cron_start();
        //echo $sp->get_key(). "<br>";
        $open_info = array("id" => 13, "report" => 10, "view" => "open");
        /*
        		$x = $sp->encrypt_data($open_info);
        
        	echo $x."<br>";
        	$x = $sp->decrypt_data($x);
        
        	print_r($x);
        		echo "<br>";
        
        	$d = $_GET['t'];
        	$x = $sp->decrypt_data($d);
        
        	print_r($x->id);
        		echo "<br>";
        	
        	
        	//echo wp_get_schedule('sendpress_cron_action_run');
        	//
        	$time_delay =  SendPress_Option::get('time-delay');
        	echo $time_delay;
        	echo date('l jS \of F Y H:i:s A',$time_delay );
        	echo "<br>";
        	$time = date('H:i:s');
        
        echo $time;//11:09
        	$time = date('H:i:s', $time_delay);
        
        echo $time;//11:09
        */
        $autocron = SendPress_Option::get('autocron', 'no');
        if ($autocron == 'yes') {
            $api_info = json_decode(SendPress_Cron::get_info());
            if (isset($api_info->active) && $api_info->active === 0) {
                echo "<p class='alert alert-danger'><strong>Oh no!</strong> It looks like AutoCron disconnected itself. To get max send speed please re-enable it <a href='" . SendPress_Admin::link('Settings_Account') . "'>here</a>.</p>";
                delete_transient('sendpress_autocron_cache');
                SendPress_Option::set('autocron', 'no');
            } else {
                if (isset($api_info->lastcheck)) {
                    echo "<p class='alert alert-success'><strong>Looking good!</strong> Autocron is running and last checked your site at:&nbsp;" . $api_info->lastcheck . " UTC</p>";
                }
            }
        } else {
            echo "<p class='alert alert-info'><strong>Howdy.</strong> It looks like AutoCron was not enabled or it disconnected itself. To get max send speed please re-enable it <a href='" . SendPress_Admin::link('Settings_Account') . "'>here</a>.</p>";
        }
        ?>

<br>
	<div id="taskbar" class="lists-dashboard rounded group"> 

	<div id="button-area">  
	<?php 
        $pause_sending = SendPress_Option::get('pause-sending', 'no');
        $txt = __('Pause Sending', 'sendpress');
        //Stop Sending for now
        if ($pause_sending == 'yes') {
            $txt = __('Resume Sending', 'sendpress');
        }
        ?>
	<div class="btn-group">
	<a class="btn btn-large btn-default " href="<?php 
        echo SendPress_Admin::link('Queue');
        ?>
&action=pause-queue" ><i class="icon-repeat icon-white "></i> <?php 
        echo $txt;
        ?>
</a>

	<a id="send-now" class="btn btn-primary btn-large " data-toggle="modal" href="#sendpress-sending"   ><i class="icon-white icon-refresh"></i> <?php 
        _e('Send Emails Now', 'sendpress');
        ?>
</a>
	</div>
	</div>
	<?php 
        $emails_per_day = SendPress_Option::get('emails-per-day');
        if ($emails_per_day == 0) {
            $emails_per_day = __('Unlimited', 'sendpress');
        }
        $emails_per_hour = SendPress_Option::get('emails-per-hour');
        $hourly_emails = SendPress_Data::emails_sent_in_queue("hour");
        $emails_so_far = SendPress_Data::emails_sent_in_queue("day");
        //print_r(SendPress_Data::emails_stuck_in_queue());
        ?>

		
//.........这里部分代码省略.........
开发者ID:pedro-mendonca,项目名称:sendpress,代码行数:101,代码来源:class-sendpress-view-queue.php

示例14: html

    function html($sp)
    {
        global $sendpress_sender_factory;
        $senders = $sendpress_sender_factory->get_all_senders();
        ksort($senders);
        $method = SendPress_Option::get('sendmethod');
        $fe = __('From Email', 'sendpress');
        $fn = __('From Name', 'sendpress');
        ?>
<!--
<div style="float:right;" >
  <a href="" class="btn btn-large btn-default" ><i class="icon-remove"></i> <?php 
        _e('Cancel', 'sendpress');
        ?>
</a> <a href="#" id="save-update" class="btn btn-primary btn-large"><i class="icon-white icon-ok"></i> <?php 
        _e('Save', 'sendpress');
        ?>
</a>
</div>
-->


<form method="post" id="post">
	<br class="clear">
	<br class="clear">
	<div class="sp-row">
		<div class="sp-50 sp-first">
			<?php 
        $this->panel_start('<span class="glyphicon glyphicon-user"></span> ' . __('Sending Email', 'sendpress'));
        ?>
			<div class="form-group">
				<label for="fromname"><?php 
        _e('From Name', 'sendpress');
        ?>
</label>
				<input name="fromname" tabindex=1 type="text" id="fromname" value="<?php 
        echo SendPress_Option::get('fromname');
        ?>
" class="form-control">
			</div>
			<div class="form-group">
				<label for="fromemail"><?php 
        _e('From Email', 'sendpress');
        ?>
</label>
				<input name="fromemail" tabindex=2 type="text" id="fromemail" value="<?php 
        echo SendPress_Option::get('fromemail');
        ?>
" class="form-control">
			</div>

			<?php 
        $this->panel_end();
        ?>
		</div >
		<div class="sp-50">
			<?php 
        $this->panel_start('<span class="glyphicon glyphicon-inbox"></span> ' . __('Test Email', 'sendpress'));
        ?>

			<div class="form-group">
				<label for="testemail"><?php 
        _e('Where to send Test Email', 'sendpress');
        ?>
</label>
				<input name="testemail" type="text" id="test-email-main" value="<?php 
        echo SendPress_Option::get('testemail');
        ?>
" class="form-control"/>
			</div>
			<div class="sp-row">
				<div class="sp-50 sp-first">
					<button class="btn btn-primary btn-block" value="test" name="test" type="submit"><?php 
        _e('Send Test!', 'sendpress');
        ?>
</button>
				</div>
				<div class="sp-50">
					<button class="btn btn-danger btn-block" data-toggle="modal" data-target="#debugModal" type="button"><?php 
        _e('Debug Info', 'sendpress');
        ?>
</button>
				</div>
			</div>
			<div class="sp-row">
				<br>
				<div class="panel-group" id="accordion">
					<div class="panel panel-default">
						<div class="panel-heading">
							<h4 class="panel-title">
								<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
									<?php 
        _e('Click to View Last Error', 'sendpress');
        ?>
								</a>
							</h4>
						</div>
						<div id="collapseOne" class="panel-collapse collapse">
							<div class="panel-body">

//.........这里部分代码省略.........
开发者ID:anirut,项目名称:sendpress,代码行数:101,代码来源:class-sendpress-view-settings-account.php

示例15: help_debug

    function help_debug()
    {
        global $wp_version, $wpdb;
        $browser = new SendPress_Browser();
        echo "<b>WordPress Version</b>: " . $wp_version . "<br>";
        echo "<b>SendPress Version</b>: " . SENDPRESS_VERSION . "<br>";
        if (defined('SENDPRESS_PRO_VERSION')) {
            echo "<b>SendPress Pro Version</b>: " . SENDPRESS_VERSION . "<br>";
        }
        echo '<b>PHP Version</b>: ' . phpversion() . '<br>';
        $mem = (int) ini_get('memory_limit');
        $used = function_exists('memory_get_usage') ? round(memory_get_usage() / 1024 / 1024, 2) : 0;
        if (!empty($mem) && !empty($used)) {
            $prec = round($used / $mem * 100, 0);
        }
        echo '<b>PHP Memory Limit</b>: ' . $mem . __(' MByte') . '<br>';
        echo '<b>PHP Memory Used</b>: ' . $used . __(' MByte') . '<br>';
        echo '<b>MySQL Version</b>: ' . $wpdb->db_version() . '<br><br>';
        echo '<b>Send Setup</b>: ' . SendPress_Option::get('sendmethod') . '<br><br>';
        SendPress_DB_Tables::check_setup();
        /*
        		echo "<b>Ports:</b><br>";
        	  	$server  = "smtp.sendgrid.net";
        	  	$port   = "25";
        	  	$port2   = "465";
        	  	$port3   = "587";
        	  	$timeout = "1";
        
        	  if ($server and $port and $timeout) {
        	    $port25 =  @fsockopen("$server", $port, $errno, $errstr, $timeout);
        	    $port465 =  @fsockopen("$server", $port2, $errno, $errstr, $timeout);
        	    $port587 =  @fsockopen("$server", $port3, $errno, $errstr, $timeout);
        	  }	
        	  echo "Port 25: ";
        	  if(!$port25){
        	  	 _e('blocked','sendpress');
        	  } else {
        	  	_e('open','sendpress');
        	  }
        	   echo "<br>Port 465: ";
        	  if(!$port465){
        	  	 _e('blocked','sendpress');
        	  } else {
        	  	_e('open','sendpress');
        	  }
        	   echo "<br>Port 587: ";
        	  if(!$port587){
        	  	 _e('blocked','sendpress');
        	  } else {
        	  	_e('open','sendpress');
        	  }  */
        ?>
<br><br>

	  	<b>Support Info:</b>
	  	<textarea readonly="readonly" class="sendpress-sysinfo"  name="sendpress-sysinfo" title="<?php 
        _e('To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'sendpress');
        ?>
"><?php 
        echo esc_html($this->display());
        ?>
</textarea>



	  <?php 
    }
开发者ID:richardsweeney,项目名称:sendpress,代码行数:67,代码来源:class-sendpress-view-help.php


注:本文中的SendPress_Option::get方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。