Changeset 4458
- Timestamp:
- 10/23/06 20:44:47 (2 years ago)
- Files:
-
- trunk/src/net.nemein.wiki/config/manifest.inc (modified) (1 diff)
- trunk/src/net.nemein.wiki/static/wiki.css (modified) (1 diff)
- trunk/src/net.nemein.wiki/wikipage.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/net.nemein.wiki/config/manifest.inc
r4447 r4458 1 1 'name' => 'net.nemein.wiki', 2 2 'purecode' => false, 3 'version' => '2. 1.1',3 'version' => '2.2.0', 4 4 'state' => 'stable', 5 5 'privileges' => Array(), trunk/src/net.nemein.wiki/static/wiki.css
r4447 r4458 8 8 { 9 9 border-bottom: dashed 1px #c0c0c0; 10 } 11 div.net_nemein_wiki_wikipage a.edit img 12 { 13 border: none; 10 14 } 11 15 trunk/src/net.nemein.wiki/wikipage.php
r4447 r4458 350 350 if (!$photo) 351 351 { 352 return "<span class=\"missing_photo\" title=\"{$parts[1]}\">{$fulltext}</span>{$after}"; 352 // Fallback for the conversion script 353 // FIXME: Remove this when the conversion script is able to fix the link tags 354 $qb = org_routamc_photostream_photo_dba::new_query_builder(); 355 $qb->add_constraint('parameter.domain', '=', 'org.routamc.photostream'); 356 $qb->add_constraint('parameter.name', '=', 'net.siriux.photos:guid'); 357 $qb->add_constraint('parameter.value', '=', $parts[1]); 358 $photos = $qb->execute(); 359 if (count($photos) == 0) 360 { 361 return "<span class=\"missing_photo\" title=\"{$parts[1]}\">{$fulltext}</span>{$after}"; 362 } 363 else 364 { 365 $photo = $photos[0]; 366 } 353 367 } 354 368
