Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpMyEdit/extensions/phpMyEdit-messages.class.php between version 1.4 and 1.5

version 1.4, 2003/03/17 19:29:44 version 1.5, 2003/03/31 18:25:39
Line 6 
Line 6 
    Done.     Done.
    -- Nepto [16/3/2003] */     -- Nepto [16/3/2003] */
   
 /* $Platon: phpMyEdit/extensions/phpMyEdit-messages.class.php,v 1.3 2003/03/16 04:25:50 nepto Exp $ */  /* $Platon: phpMyEdit/extensions/phpMyEdit-messages.class.php,v 1.4 2003/03/17 19:29:44 nepto Exp $ */
   
 require_once dirname(__FILE__).'/../phpMyEdit.class.php';  require_once dirname(__FILE__).'/../phpMyEdit.class.php';
   
Line 151  class phpMyEdit_messages extends phpMyEd
Line 151  class phpMyEdit_messages extends phpMyEd
                         // TODO: do resolving                          // TODO: do resolving
                         echo '<td><small>';                          echo '<td><small>';
                         // this shoud be global IP-adress-deliminator                          // this shoud be global IP-adress-deliminator
                         $ar_ip = preg_split('|([ ]*[ \\/,;]+[ ]*)|', $ar[$i]['ip'], -1, PREG_SPLIT_DELIM_CAPTURE);                          $output = false;
                           $ar_ip  = preg_split('|([ ]*[ \\/,;]+[ ]*)|', $ar[$i]['ip'], -1, PREG_SPLIT_DELIM_CAPTURE);
                         foreach ($ar_ip as $ip) {                          foreach ($ar_ip as $ip) {
                                   if (strlen($output) > 0) {
                                           $output = true;
                                   }
                                 if (preg_match('/^(\d{1,3}\.){3}\d{1,3}$/', $ip)) {                                  if (preg_match('/^(\d{1,3}\.){3}\d{1,3}$/', $ip)) {
                                         echo '<a target=_blank href="http://'.$ip.'">';                                          echo '<a target=_blank href="http://'.$ip.'">';
                                         echo '<small>'.$ip.'</small></a>';                                          echo '<small>'.$ip.'</small></a>';
Line 160  class phpMyEdit_messages extends phpMyEd
Line 164  class phpMyEdit_messages extends phpMyEd
                                         echo $ip;                                          echo $ip;
                                 }                                  }
                         }                          }
                           if (! $output) {
                                   echo '&nbsp;';
                           }
                         echo '</small></td></tr>' . "\n";                          echo '</small></td></tr>' . "\n";
                         if ($parent) {                          if ($parent) {
                                 $ar_out = array_merge($ar_out, $this->message_process(                                  $ar_out = array_merge($ar_out, $this->message_process(

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top