Skip to content

Commit

Permalink
Ship first, test later
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanCoding committed Mar 12, 2020
1 parent 406ad5d commit ca97330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tls_icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ public function message_headers($p)
$pos = strrpos($data, $needle);
$data = substr_replace($data, "", $pos, strlen($needle));

$this->icon_img .= '<img class="lock_icon" src="plugins/roundcube_tls_icon/lock.svg" title="'. htmlentities($data) .'" />';
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/lock.svg" title="'. htmlentities($data) .'" />';
} else if(preg_match_all('/\([a-zA-Z]*, from userid [0-9]*\)/im', $Received, $items, PREG_PATTERN_ORDER)){
$this->icon_img .= '<img class="lock_icon" src="plugins/roundcube_tls_icon/blue_lock.svg" title="Mail was internal"';
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/blue_lock.svg" title="Mail was internal"';
}
else {
$this->icon_img .= '<img class="lock_icon" src="plugins/roundcube_tls_icon/unlock.svg" title="Message received over an unencrypted connection!"';
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/unlock.svg" title="Message received over an unencrypted connection!"';
}
}

Expand Down

0 comments on commit ca97330

Please sign in to comment.