Indefero

Indefero Commit Details


Date:2008-11-25 14:59:57 (16 years 4 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:82ed55f1a03bd621e32110fb6ef6f74e3ae644cd
Parents: b528bf356c8821e673da618855ec0f3e88d8da02
Message:Fixed issue 55, improvements for the wiki.

Changes:

File differences

src/IDF/Views/Wiki.php
228228
229229
230230
231
232
233
234
231235
232236
233237
......
241245
242246
243247
244
248
249
245250
246251
247252
                throw new Pluf_HTTP_Error404($request);
            }
        }
        $ptags = self::getWikiTags($prj);
        $dtag = array_pop($ptags); // The last tag is the deprecated tag.
        $tags = $page->get_tags_list();
        $dep = Pluf_Model_InArray($dtag, $tags);
        $title = $page->title;
        $revision = $page->get_current_revision();
        $db = $page->getDbConnection();
                                                     'oldrev' => $oldrev,
                                                     'rev' => $revision,
                                                     'revs' => $revs,
                                                     'tags' => $page->get_tags_list(),
                                                     'tags' => $tags,
                                                     'deprecated' => $dep,
                                                     ),
                                               $request);
    }
src/IDF/templates/idf/wiki/view.html
11
22
33
4
54
5
6
7
8
9
10
11
612
713
814
{extends "idf/wiki/base.html"}
{block extraheader}{if $oldrev}<meta name="ROBOTS" content="NOINDEX" />{/if}{/block}
{block docclass}yui-t3{assign $inView=true}{/block}
{block body}
{block body}
{if $deprecated}{* deprecated page *}
<div class="deprecated-page">
<p>{blocktrans}<strong>Attention!</strong> This page is marked as deprecated,
use it as reference only if you are sure you need these specific information.{/blocktrans}</p>
</div>
{/if}
{if $oldrev}
{assign $submitter = $oldrev.get_submitter()}{aurl 'url', 'IDF_Views_Wiki::view', array($project.shortname, $page.title)}
<div class="old-rev">
www/media/idf/css/style.css
599599
600600
601601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
602616
603617
604618
  -webkit-border-radius: 5px;
}
div.deprecated-page {
  padding: 1em 1em 0.1em 3em;
  margin-bottom: 1em;
  background: url("../img/warning-large.png");
  background-repeat: no-repeat;
  background-position: 1em 1em;
  font-size: 120%;
  background-color: #bbe394;
  width: 40%;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.delp {
  float: right;
  position: relative;

Archive Download the corresponding diff file

Page rendered in 0.22663s using 14 queries.