Diff for /FreeBSD/tinderbox/webui/module/modulePortFailureReasons.php between versions 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2007/11/02 20:55:00 version 1.1.1.1.2.1, 2007/11/13 07:36:19
Line 24 Line 24
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF  # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.  # SUCH DAMAGE.
 #  #
   # $Paefchen$
 # $MCom: portstools/tinderbox/webui/module/modulePortFailureReasons.php,v 1.4 2005/12/26 22:45:56 marcus Exp $  # $MCom: portstools/tinderbox/webui/module/modulePortFailureReasons.php,v 1.4 2005/12/26 22:45:56 marcus Exp $
 #  #
   
 require_once 'module/module.php';  
   
 class modulePortFailureReasons extends module {  class modulePortFailureReasons extends module {
   
        function modulePortFailureReasons() {        public function display_failure_reasons( $reason_tag ) {
                $this->module(); 
        } 
   
         function display_failure_reasons( $reason_tag ) {  
   
                 foreach( $this->TinderboxDS->getAllPortFailReasons() as $reason ) {                  foreach( $this->TinderboxDS->getAllPortFailReasons() as $reason ) {
                         $port_fail_reasons[$reason->getTag()]['tag']   = htmlentities($reason->getTag());                          $port_fail_reasons[$reason->getTag()]['tag']   = htmlentities($reason->getTag());
                         $port_fail_reasons[$reason->getTag()]['descr'] = $reason->getDescr();                          $port_fail_reasons[$reason->getTag()]['descr'] = $reason->getDescr();
Line 49  class modulePortFailureReasons extends module { Line 44  class modulePortFailureReasons extends module {
   
                 return $this->template_parse( 'list_failure_reasons.tpl' );                  return $this->template_parse( 'list_failure_reasons.tpl' );
         }          }
   
   
 }  }
   
 ?>  ?>

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1