Changeset 5915 for freepbx

Show
Ignore:
Timestamp:
07/05/08 09:58:02 (5 months ago)
Author:
p_lindheimer
Message:

#2881: changed filter to bold formats like: 2.4.0rc1.0, 2.4.0beta2.4, 2.4.0alpha1.0, 2.3.0RC1.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/page.modules.php

    r5914 r5915  
    808808                                // 
    809809                                $changelog = nl2br($modules[$name]['changelog']); 
    810                                 $changelog = preg_replace('/(\d+(\.\d+)+):/', '<strong>$0</strong>', $changelog); 
    811                                 $changelog = preg_replace('/\*(\d+(\.\d+)+)\*/', '<strong>$1:</strong>', $changelog); 
     810                                $changelog = preg_replace('/(\d+(\.\d+|\.\d+beta\d+|\.\d+alpha\d+|\.\d+rc\d+|\.\d+RC\d+)+):/', '<strong>$0</strong>', $changelog); 
     811                                $changelog = preg_replace('/\*(\d+(\.\d+|\.\d+beta\d+|\.\d+alpha\d+|\.\d+rc\d+|\.\d+RC\d+)+)\*/', '<strong>$1:</strong>', $changelog); 
    812812 
    813813                                // convert '#xxx', 'ticket xxx', 'bug xxx' to ticket links and rxxx to changeset links in trac 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads