변경사항 (가장 최근의 "소소한 수정"부터)
(다른 변경사항 없음)
-3,7 +3,7 |
* 딱히 이유가 있는 것은 아니고, Alt+X 를 누른후 Shift+Tab 을 한 번만 눌러서 "이 페이지를 수정" 링크로 이동할 수 있도록 하기 위함이다. :-) |
* <nowiki>GetEditGuide</nowiki> 함수 뒷부분의 if 구문들의 순서를 바꾸고, 중간에 <nowiki><br></nowiki> 을 출력하는 라인을 삽입한다 |
: |
{{{perl |
{{{#!vim perl |
sub GetEditGuide { |
... |
# if (&UserCanEdit($id, 0)) { 여기서부터 |
페이지 정보 출력 양식 변경
- 각 페이지 아래에 있는 변경내역보기, 수정하기 등의 링크들의 순서를 바꿨다.
- 딱히 이유가 있는 것은 아니고, Alt+X 를 누른후 Shift+Tab 을 한 번만 눌러서 "이 페이지를 수정" 링크로 이동할 수 있도록 하기 위함이다. :-)
- GetEditGuide 함수 뒷부분의 if 구문들의 순서를 바꾸고, 중간에 <br> 을 출력하는 라인을 삽입한다
-
sub GetEditGuide {
...
if ($Section{'revision'} > 0) {
$result .= '<br>';
if ($rev eq '') {
$result .= T('Last edited');
} else {
$result .= T('Edited');
}
$result .= ' ' . &TimeToText($Section{ts});
}
if ($UseDiff) {
$result .= ' ' . &ScriptLinkDiff(4, $id, T('(diff)'), $rev);
}
$result .= '<br>';
$result .= &GetHistoryLink($id, T('History'));
if ($rev ne '') {
$result .= ' | ';
$result .= &GetPageLinkText($id, T('View current revision'));
}
$result .= ' | ';
if (&UserCanEdit($id, 0)) {
if ($rev ne '') {
$result .= &GetOldPageLink('edit', $id, $rev,
Ts('Edit revision %s of this page', $rev));
} else {
$result .= &GetEditLink($id, T('Edit text of this page'));
}
} else {
$result .= T('This page is read-only');
}
$result .= "</div>";
return $result;
}
위키위키분류