Changeset 580
- Timestamp:
- 04/26/05 14:33:25 (8 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 4 modified
-
ChangeLog (modified) (1 diff)
-
wifidog/classes/Content.php (modified) (1 diff)
-
wifidog/classes/Content/FlickrPhotostream.php (modified) (2 diffs)
-
wifidog/local_content/default/stylesheet.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/ChangeLog
r579 r580 1 2005-04-26 François Proulx <francois.proulx@gmail.com> 2 * stylesheet rework 1 3 2005-04-26 François Proulx <francois.proulx@gmail.com> 2 4 * Fixed wrong location for change password link -
trunk/wifidog-auth/wifidog/classes/Content.php
r578 r580 412 412 } 413 413 414 $html .= "<table><tr>\n"; 414 415 if (!empty ($this->content_row['description'])) 415 416 { 417 $html .= "<td>\n"; 416 418 $html .= "<div class='user_ui_description'>\n"; 417 419 $title = self :: getObject($this->content_row['description']); 418 420 $html .= $title->getUserUI(); 419 421 $html .= "</div>\n"; 422 $html .= "</td>\n"; 420 423 } 421 424 422 $html .= $subclass_user_interface; 425 $html .= "<td>\n$subclass_user_interface</td>\n"; 426 $html .= "</tr></table>\n"; 423 427 424 428 if(!empty ($this->content_row['project_info']) || !empty ($this->content_row['sponsor_info'])) 425 { 426 $html .= "< div class='user_ui_footer'>";429 { 430 $html .= "<table class='user_ui_footer'><tr>\n"; 427 431 if (!empty ($this->content_row['project_info'])) 428 432 { 429 $html .= "< div class='user_ui_projet_info'>\n";433 $html .= "<td><div class='user_ui_projet_info'>\n"; 430 434 $html .= _("Project information:"); 431 435 $project_info = self :: getObject($this->content_row['project_info']); 432 436 $html .= $project_info->getUserUI(); 433 $html .= "</div> \n";437 $html .= "</div></td>\n"; 434 438 } 435 439 436 440 if (!empty ($this->content_row['sponsor_info'])) 437 441 { 438 $html .= "< div class='user_ui_sponsor_info'>\n";442 $html .= "<td><div class='user_ui_sponsor_info'>\n"; 439 443 $html .= _("Project sponsor:"); 440 444 $sponsor_info = self :: getObject($this->content_row['sponsor_info']); 441 445 $html .= $sponsor_info->getUserUI(); 442 $html .= "</div> \n";446 $html .= "</div></td>\n"; 443 447 } 444 $html .= "</ div>";448 $html .= "</tr></table>\n"; 445 449 } 446 450 -
trunk/wifidog-auth/wifidog/classes/Content/FlickrPhotostream.php
r578 r580 609 609 { 610 610 $html .= '<div class="flickr_title"><h3>'.$photo->getTitle().'</h3></div>'."\n"; 611 $size = $this->getPreferredSize();612 if (empty ($size))613 $size = null;614 $html .= '<div class="flickr_photo"><a href="'.$photo->buildUrl().'"><img src="'.$photo->buildImgUrl($size).'"></a></div>'."\n";615 611 } 616 612 } 613 $size = $this->getPreferredSize(); 614 if (empty ($size)) 615 $size = null; 616 $html .= '<div class="flickr_photo"><a href="'.$photo->buildUrl().'"><img src="'.$photo->buildImgUrl($size).'"></a></div>'."\n"; 617 617 618 if ($this->shouldDisplayTags()) 618 619 { … … 638 639 $html .= '<div class="flickr_description">'.$description.'</div>'."\n"; 639 640 } 640 $author = new Phlickr_User($this->getFlickrApi(), $photo->getOwnerId()); 641 $html .= '<div class="flickr_description"><a href="'.$author->buildUrl().'">'.$author->getName().'</a></div>'."\n"; 641 642 $author = new Phlickr_User($this->getFlickrApi(), $photo->getOwnerId()); 643 $html .= '<div class="flickr_description"><a href="'.$author->buildUrl().'">'.$author->getName().'</a></div>'."\n"; 642 644 $html .= '</div>'."\n"; 643 645 } -
trunk/wifidog-auth/wifidog/local_content/default/stylesheet.css
r578 r580 214 214 } 215 215 .user_ui_title { 216 padding: 5px; 217 margin-bottom: 5px; 218 background-color: rgb(213, 219, 225); 216 font-size: medium; 217 font-weight: bold; 218 color: white; 219 padding: 5px; 220 /* background-color: rgb(213, 219, 225);*/ 221 background-color: #9d9d9d; 219 222 } 220 223 .user_ui_authors { 221 224 padding: 5px; 222 margin-bottom: 5px;223 background-color: rgb(2 13, 219, 225);225 font-weight: bold; 226 background-color: rgb(235, 235, 235); 224 227 } 225 228 .user_ui_description { 226 float: left;227 width: 33%;228 229 margin: 0; 229 230 margin-right: 5px; 230 231 padding: 5px; 232 text-align: justify; 231 233 background-color: rgb(235, 235, 235); 232 234 } 233 235 .user_ui_footer { 234 /* clear: both;*/ 235 padding: 5px; 236 margin-top: 5px; 237 background-color: rgb(213, 219, 225); 236 padding: 5px; 237 background-color: #9d9d9d; 238 238 } 239 239 .user_ui_picture { 240 240 height: 250px; 241 241 } 242 .user_ui_projet_info {} 243 .user_ui_sponsor_info {} 242 .user_ui_projet_info { 243 color: white; 244 } 245 .user_ui_sponsor_info { 246 color: white; 247 } 244 248 245 249 .list_ui_container { … … 284 288 } 285 289 .flickr_title { 290 color: white; 286 291 visibility: hidden; 287 292 width: 200px; 288 293 background: #696969; 294 } 295 .flickr_title a { 296 color: white; 289 297 } 290 298 .flickr_title h3 {
