Show
Ignore:
Timestamp:
05/17/07 16:25:43 (5 years ago)
Author:
fproulx
Message:

2007-05-17 François Proulx <francois.proulx@…>

  • WARNING: This has not been fully tested. Full testing to be completed on 2006-05-18 but I'm pretty confident that it works pretty well.
  • Added automatic resize on Avatars
  • Added FavoriteHotspots? content (mostly used for Profiles)
  • Added new features to Content and File
  • Fixed URL regexp bug in HyperlinkUtils?
  • Updated French translations
  • Updates profiles template
  • TODO: Add getNewUI et processNewUI to FavoriteHotspots? to simplify input
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Content/Picture/Picture.php

    r1194 r1226  
    126126        return $this->configEnableHyperlink = $enabled; 
    127127    } 
     128 
    128129    /** 
    129130     * Set the maximum width an image can take in the page 
     
    139140    public function setMaxDisplayHeight($height) { 
    140141        $this->maxDisplayHeight = $height; 
     142    } 
     143 
     144    public function getMaxDisplayWidth() { 
     145        return $this->maxDisplayWidth; 
     146    } 
     147 
     148    public function getMaxDisplayHeight() { 
     149        return $this->maxDisplayHeight; 
    141150    } 
    142151 
     
    283292        // Show File admin UI + display the picture 
    284293        $html .= "<li class='admin_element_item_container'>\n"; 
     294        $html .= _("Preview").":"; 
    285295        $html .= $this->getUserUI(); 
    286296        $html .= "</li>\n";