You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(43) |
Nov
(73) |
Dec
(10) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(34) |
Feb
(110) |
Mar
(24) |
Apr
(44) |
May
(37) |
Jun
(22) |
Jul
(20) |
Aug
(28) |
Sep
(50) |
Oct
(11) |
Nov
(132) |
Dec
(595) |
2002 |
Jan
(1099) |
Feb
(579) |
Mar
(63) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(125) |
Sep
(101) |
Oct
(25) |
Nov
(34) |
Dec
(47) |
2003 |
Jan
(82) |
Feb
(182) |
Mar
(71) |
Apr
(3) |
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
(14) |
Oct
(6) |
Nov
(124) |
Dec
(68) |
2004 |
Jan
(64) |
Feb
(191) |
Mar
(199) |
Apr
(298) |
May
(252) |
Jun
(426) |
Jul
(134) |
Aug
(13) |
Sep
(96) |
Oct
(75) |
Nov
(232) |
Dec
(171) |
2005 |
Jan
(205) |
Feb
(165) |
Mar
(8) |
Apr
(74) |
May
(21) |
Jun
(19) |
Jul
(37) |
Aug
(69) |
Sep
(141) |
Oct
(118) |
Nov
(31) |
Dec
(7) |
2006 |
Jan
(5) |
Feb
(10) |
Mar
(35) |
Apr
(24) |
May
(34) |
Jun
(29) |
Jul
(5) |
Aug
(38) |
Sep
(30) |
Oct
(37) |
Nov
(30) |
Dec
(86) |
2007 |
Jan
(414) |
Feb
(40) |
Mar
(18) |
Apr
(10) |
May
(66) |
Jun
(60) |
Jul
(105) |
Aug
(55) |
Sep
(64) |
Oct
(7) |
Nov
(11) |
Dec
(5) |
2008 |
Jan
(26) |
Feb
(28) |
Mar
(79) |
Apr
(34) |
May
(61) |
Jun
(24) |
Jul
(29) |
Aug
(160) |
Sep
(62) |
Oct
(70) |
Nov
(32) |
Dec
(14) |
2009 |
Jan
(140) |
Feb
(135) |
Mar
(153) |
Apr
(53) |
May
(24) |
Jun
(138) |
Jul
(90) |
Aug
(46) |
Sep
(72) |
Oct
(84) |
Nov
(32) |
Dec
(4) |
2010 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(55) |
May
(89) |
Jun
(131) |
Jul
(41) |
Aug
(38) |
Sep
(42) |
Oct
(11) |
Nov
(27) |
Dec
(54) |
2011 |
Jan
(127) |
Feb
(16) |
Mar
(71) |
Apr
(52) |
May
(32) |
Jun
(31) |
Jul
(4) |
Aug
|
Sep
(45) |
Oct
(26) |
Nov
(36) |
Dec
(10) |
2012 |
Jan
(23) |
Feb
(6) |
Mar
(13) |
Apr
(18) |
May
(1) |
Jun
(4) |
Jul
(3) |
Aug
(12) |
Sep
(57) |
Oct
(96) |
Nov
(163) |
Dec
(124) |
2013 |
Jan
(11) |
Feb
(17) |
Mar
(7) |
Apr
(48) |
May
(15) |
Jun
(29) |
Jul
(12) |
Aug
|
Sep
(9) |
Oct
|
Nov
|
Dec
(3) |
2014 |
Jan
(4) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(8) |
Jun
(90) |
Jul
(104) |
Aug
(12) |
Sep
(81) |
Oct
(139) |
Nov
(111) |
Dec
(64) |
2015 |
Jan
(46) |
Feb
(74) |
Mar
(56) |
Apr
(61) |
May
(3) |
Jun
(7) |
Jul
(11) |
Aug
(5) |
Sep
(15) |
Oct
(1) |
Nov
(1) |
Dec
(15) |
2016 |
Jan
(25) |
Feb
(33) |
Mar
(24) |
Apr
(4) |
May
(24) |
Jun
(3) |
Jul
(75) |
Aug
|
Sep
(2) |
Oct
(38) |
Nov
(4) |
Dec
(18) |
2017 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(14) |
Jun
|
Jul
(5) |
Aug
(9) |
Sep
|
Oct
(23) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(9) |
Apr
(60) |
May
(1) |
Jun
|
Jul
(13) |
Aug
|
Sep
(11) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(15) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(47) |
2021 |
Jan
(24) |
Feb
(33) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(64) |
Jul
(71) |
Aug
(114) |
Sep
(82) |
Oct
(32) |
Nov
(76) |
Dec
(86) |
2022 |
Jan
(162) |
Feb
(41) |
Mar
(11) |
Apr
(9) |
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(7) |
2023 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(25) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
2024 |
Jan
(7) |
Feb
(3) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
(90) |
Mar
(19) |
Apr
|
May
(6) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
(9) |
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
Revision: 11025 http://sourceforge.net/p/phpwiki/code/11025 Author: vargenau Date: 2022年04月19日 14:53:46 +0000 (2022年4月19日) Log Message: ----------- Whitespace, braces Modified Paths: -------------- trunk/themes/Crao/templates/htmldump.tmpl trunk/themes/Portland/templates/viewsource.tmpl trunk/themes/Sidebar/templates/dump-footer.tmpl trunk/themes/Sidebar/templates/top.tmpl trunk/themes/Wordpress/templates/viewsource.tmpl trunk/themes/blog/templates/browse-footer.tmpl trunk/themes/blog/templates/calendar.tmpl trunk/themes/blog/templates/sidebar.tmpl trunk/themes/default/templates/addcomment.tmpl trunk/themes/default/templates/comment.tmpl trunk/themes/default/templates/htmldump.tmpl trunk/themes/default/templates/login.tmpl trunk/themes/default/templates/online.tmpl trunk/themes/default/templates/pagelink.tmpl trunk/themes/default/templates/userprefs.tmpl trunk/themes/default/templates/wikiblog.tmpl trunk/themes/default/templates/wikiforum.tmpl trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/Crao/templates/htmldump.tmpl =================================================================== --- trunk/themes/Crao/templates/htmldump.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/Crao/templates/htmldump.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -25,10 +25,11 @@ <?php echo $WikiTheme->getCSS() ?> <?php // avoid redundant bookmark title for custom home page - if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) + if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) { $pagetitle = ""; - else + } else { $pagetitle = " - ". AsString($TITLE); + } ?> <title><?php echo WIKI_NAME.$pagetitle?></title> </head> Modified: trunk/themes/Portland/templates/viewsource.tmpl =================================================================== --- trunk/themes/Portland/templates/viewsource.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/Portland/templates/viewsource.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -6,6 +6,6 @@ ><?php echo $PAGE_SOURCE ?> </textarea> <hr /> -<a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>"> +<a href="<?php echo WikiURL($page, array('action'=>_("PageHistory")))?>"> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> <br /> Modified: trunk/themes/Sidebar/templates/dump-footer.tmpl =================================================================== --- trunk/themes/Sidebar/templates/dump-footer.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/Sidebar/templates/dump-footer.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -1,5 +1,7 @@ <?php - if (empty($revision)) $revision = $page->getCurrentRevision(); + if (empty($revision)) { + $revision = $page->getCurrentRevision(); + } ?> <hr class="printer" /> <div class="clear-floats"></div> Modified: trunk/themes/Sidebar/templates/top.tmpl =================================================================== --- trunk/themes/Sidebar/templates/top.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/Sidebar/templates/top.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -1,15 +1,17 @@ <?php $pagename = $page->getName(); $isActionPage = isActionPage($pagename); -if (ENABLE_PAGE_PUBLIC) +if (ENABLE_PAGE_PUBLIC) { $public = $page->get('public'); -else +} else { $public = false; +} if (ENABLE_RATEIT && !empty($user) && $user->isAuthenticated() - && $page->exists() && !$isActionPage && !$WikiTheme->DUMP_MODE) + && $page->exists() && !$isActionPage && !$WikiTheme->DUMP_MODE) { $rating = 1; -else +} else { $rating = 0; +} ?> <?php // Page title ?> <a id="contentTop"></a> Modified: trunk/themes/Wordpress/templates/viewsource.tmpl =================================================================== --- trunk/themes/Wordpress/templates/viewsource.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/Wordpress/templates/viewsource.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -7,7 +7,7 @@ ><?php echo $PAGE_SOURCE ?> </textarea> <hr /> -<a href="<?php echo WikiURL($page,array('action'=>_("PageHistory")))?>"> +<a href="<?php echo WikiURL($page, array('action'=>_("PageHistory")))?>"> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> <br /> </div> Modified: trunk/themes/blog/templates/browse-footer.tmpl =================================================================== --- trunk/themes/blog/templates/browse-footer.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/blog/templates/browse-footer.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -1,6 +1,6 @@ <footer role="contentinfo"> <p class="editdate"> -<?php if( $page->getName() != _("HomePage")) { ?> +<?php if ($page->getName() != _("HomePage")) { ?> <?php echo $WikiTheme->getOwnerMessage($page) ?> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?> <?php echo $WikiTheme->getAuthorMessage($revision) ?><br /> <?php } ?> This site is powered by <a href="https://sourceforge.net/projects/phpwiki/">PhpWiki</a>. Page design based on Kubrick,<br />adapted by <a href="https://the.taoofmac.com">Rui Carmo</a> from an original design by <a href="https://binarybonsai.com">Michael Heilemann</a>.</p> Modified: trunk/themes/blog/templates/calendar.tmpl =================================================================== --- trunk/themes/blog/templates/calendar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/blog/templates/calendar.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -7,7 +7,7 @@ var d = calendar.date.getDate(); // integer, 1..31 m = m < 10 ? "0" + m : m; d = d < 10 ? "0" + d : d; - window.location = "' . WikiURL($WikiTheme->calendarBase(),0,1) . '/' . '" + y + "-" + m + "-" + d; + window.location = "' . WikiURL($WikiTheme->calendarBase(), 0, 1) . '/' . '" + y + "-" + m + "-" + d; } }; Calendar.setup({flat : "calendar", flatCallback : dateChanged, setDateStatusFunc : dateStatusFunc, weekNumbers : false})') ?> Modified: trunk/themes/blog/templates/sidebar.tmpl =================================================================== --- trunk/themes/blog/templates/sidebar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/blog/templates/sidebar.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -22,8 +22,9 @@ $box = new RelatedLinksBox(); $body = $box->body; -if ($body->asString() != "") +if ($body->asString() != "") { printXml($box->format()); +} $box = new PluginSidebarBox("RecentChanges"); printXml($box->format()); Modified: trunk/themes/default/templates/addcomment.tmpl =================================================================== --- trunk/themes/default/templates/addcomment.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/addcomment.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -1,5 +1,5 @@ <?php - $request->setArg('action',false); + $request->setArg('action', false); ?> <div class="wikicomment wikicomment-form"> <?php if (!$WikiTheme->DUMP_MODE) { ?> Modified: trunk/themes/default/templates/comment.tmpl =================================================================== --- trunk/themes/default/templates/comment.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/comment.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -5,8 +5,9 @@ if ($user->isAdmin() or $user->getId() == $COMMENT_CREATOR) { $buttons = HTML::small(array('class' => 'floatleft'), Button('edit', false, $page)); - if ($user->isAdmin()) + if ($user->isAdmin()) { $buttons->pushContent($SEP, Button('remove', _("Remove Comment"), $page)); + } } // This is a hack, but since we only have a fake PageRevision, Modified: trunk/themes/default/templates/htmldump.tmpl =================================================================== --- trunk/themes/default/templates/htmldump.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/htmldump.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -37,10 +37,11 @@ <?php echo $WikiTheme->getCSS() ?> <?php // avoid redundant bookmark title for custom home page - if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) + if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) { $pagetitle = ""; - else + } else { $pagetitle = " - ". AsString($TITLE); + } ?> <title><?php echo WIKI_NAME.$pagetitle?></title> </head> Modified: trunk/themes/default/templates/login.tmpl =================================================================== --- trunk/themes/default/templates/login.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/login.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -7,9 +7,9 @@ <?php $dbh = $request->getDbh(); if (ISREADONLY) { - echo asXML(HTML::p(array('class' => 'warning_msg'), _("System is locked as read-only for maintenance"))); + echo asXML(HTML::p(array('class' => 'warning_msg'), _("System is locked as read-only for maintenance"))); } elseif ($dbh->readonly) { - echo asXML(HTML::p(array('class' => 'warning_msg'), _("Database is locked as read-only for maintenance"))); + echo asXML(HTML::p(array('class' => 'warning_msg'), _("Database is locked as read-only for maintenance"))); } if (DEBUG & _DEBUG_LOGIN) { Modified: trunk/themes/default/templates/online.tmpl =================================================================== --- trunk/themes/default/templates/online.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/online.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -4,22 +4,23 @@ // We have two modes: 1. a simple "summary" block, and // 2. "detail" with a table of online users, date and current actions $header = _("Who is Online"); -if ($MAX_ONLINE_TIME and $MAX_ONLINE_NUM) - $MAX_ONLINE_TIME = $WikiTheme->formatDateTime($MAX_ONLINE_TIME); +if ($MAX_ONLINE_TIME and $MAX_ONLINE_NUM) { + $MAX_ONLINE_TIME = $WikiTheme->formatDateTime($MAX_ONLINE_TIME); +} ?> <?php if ($mode == 'summary') { if ($allow_detail) { - $url = WikiURL($pagename,array("mode"=>"detail")); - $header = HTML::a(array('href'=>$url,'title'=>_("Switch to detailed list")),_("Who is Online")); + $url = WikiURL($pagename, array("mode"=>"detail")); + $header = HTML::a(array('href'=>$url,'title'=>_("Switch to detailed list")), _("Who is Online")); } ?> <table class="forumline fullwidth"> <tr><td class="cat" colspan="2"><?php echo $header ?></td></tr> <tr><td class="row1" rowspan="3"><?php echo $ONLINE_ICON ?></td> - <td class="row1 gensmall"><?php echo fmt("Our users created a total of %d pages.",$NUM_PAGES) ?><br /> - <?php echo fmt("We have a total of %d registered users.",$NUM_USERS) ?><br /> - <?php echo $NEWEST_USER ? fmt("The newest registered user is %s.",$NEWEST_USER) : ''?> + <td class="row1 gensmall"><?php echo fmt("Our users created a total of %d pages.", $NUM_PAGES) ?><br /> + <?php echo fmt("We have a total of %d registered users.", $NUM_USERS) ?><br /> + <?php echo $NEWEST_USER ? fmt("The newest registered user is %s.", $NEWEST_USER) : ''?> </td></tr> <?php if ($SESSDATA_BOOL) { ?> <tr><td class="row1 gensmall"> @@ -30,11 +31,14 @@ <?php $s=''; foreach ($REGISTERED as $user) { - $link = WikiLink($user['name']); - $s .= $link->asXML() . ", "; + $link = WikiLink($user['name']); + $s .= $link->asXML() . ", "; } - if (!count($REGISTERED)) echo(htmlentities(_("None"))); - else echo(substr($s,0,-2)); + if (!count($REGISTERED)) { + echo(htmlentities(_("None"))); + } else { + echo(substr($s, 0, -2)); + } ?> <?php if (!empty($ADMINS) and $dispose_admin) { ?> <br /> @@ -42,7 +46,7 @@ <?php } ?> </td></tr> <tr><td class="row1 gensmall"> - <?php echo fmt("This data is based on users active over the past %s.",$SESSION_TIME) ?><br /> + <?php echo fmt("This data is based on users active over the past %s.", $SESSION_TIME) ?><br /> </td></tr> <?php } else { ?> <tr><td class="row1 gensmall"><br /> @@ -53,8 +57,8 @@ <?php } ?> <?php if ($mode == 'detail') { - $url = WikiURL($pagename,array("mode"=>"summary")); - $header = HTML::a(array('href'=>$url,'title'=>_("Switch to summary")),_("Who is Online")); + $url = WikiURL($pagename, array("mode"=>"summary")); + $header = HTML::a(array('href'=>$url,'title'=>_("Switch to summary")), _("Who is Online")); ?> <table class="forumline fullwidth"> <tr><td class="cat" colspan="3"><?php echo $header ?></td></tr> Modified: trunk/themes/default/templates/pagelink.tmpl =================================================================== --- trunk/themes/default/templates/pagelink.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/pagelink.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -7,8 +7,8 @@ * More ideas: FIRST, LAST, ... */ if ($WikiTheme->DUMP_MODE) { - $PREV = false; - $NEXT = false; + $PREV = false; + $NEXT = false; } ?> <tr><td style="width:100%" colspan="<?php echo $COLS ?>"><table class="fullwidth wikipaging"><tr class="wikipaging"> Modified: trunk/themes/default/templates/userprefs.tmpl =================================================================== --- trunk/themes/default/templates/userprefs.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/userprefs.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -1,5 +1,7 @@ <?php -if (empty($errmsg)) $errmsg = ''; +if (empty($errmsg)) { + $errmsg = ''; +} $plugin = $request->getArg('pagename'); $time = time(); @@ -7,8 +9,9 @@ $pref = $request->_prefs; $num = $request->getArg('num'); -if (!$pref) return; - +if (!$pref) { + return; +} $offset = $pref->get('timeOffset'); $serverTime = $time - $offset * 3600; $timeOffsetInput = HTML::input(array('type' => "text", @@ -49,12 +52,12 @@ 'value' => '1', 'checked' => (bool) $pref->get('doubleClickEdit'))); if (!function_exists('selectedOption')) { - function selectedOption ($value, $label = false) { - return HTML::option(array('value' => $value,'selected'=>"selected"), ($label ? $label : $value) . "\n"); - } - function unselectedOption ($value, $label = false) { - return HTML::option(array('value' => $value), ($label ? $label : $value) . "\n"); - } + function selectedOption($value, $label = false) { + return HTML::option(array('value' => $value,'selected'=>"selected"), ($label ? $label : $value) . "\n"); + } + function unselectedOption($value, $label = false) { + return HTML::option(array('value' => $value), ($label ? $label : $value) . "\n"); + } } $SelectThemes = ''; $SelectLanguages = ''; @@ -62,9 +65,9 @@ $SelectOptions = HTML(); if (!empty($available_themes) and is_array($available_themes)) { if (!$pref->get('theme') or $pref->get('theme') == THEME) { - $SelectOptions->pushContent(selectedOption("",_("<system theme>"))); + $SelectOptions->pushContent(selectedOption("", _("<system theme>"))); } else { - $SelectOptions->pushContent(unselectedOption("",_("<system theme>"))); + $SelectOptions->pushContent(unselectedOption("", _("<system theme>"))); } foreach ($available_themes as $theme) { if ($theme == $pref->get('theme') and $theme != THEME) { @@ -80,9 +83,9 @@ $SelectOptions = HTML(); if (!empty($available_languages) and is_array($available_languages)) { if (!$pref->get('lang') or $pref->get('lang') == DEFAULT_LANGUAGE) { - $SelectOptions->pushContent(selectedOption("",_("<system language>"))); + $SelectOptions->pushContent(selectedOption("", _("<system language>"))); } else { - $SelectOptions->pushContent(unselectedOption("",_("<system language>"))); + $SelectOptions->pushContent(unselectedOption("", _("<system language>"))); } foreach ($available_languages as $lang) { if ($lang == $pref->get('lang') and $lang != DEFAULT_LANGUAGE) { Modified: trunk/themes/default/templates/wikiblog.tmpl =================================================================== --- trunk/themes/default/templates/wikiblog.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/wikiblog.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -1,7 +1,9 @@ <?php $CDATE = $WikiTheme->formatDateTime($BLOG_CTIME); $buttons = $modified = ''; -if (empty($SEP)) $SEP = ' - '; +if (empty($SEP)) { + $SEP = ' - '; +} if ($user->isAdmin() or $user->getId() == $BLOG_CREATOR) { $buttons = HTML::small(array('class' => 'floatleft'), Modified: trunk/themes/default/templates/wikiforum.tmpl =================================================================== --- trunk/themes/default/templates/wikiforum.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/default/templates/wikiforum.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -24,7 +24,7 @@ <td class="align-left"><?php echo WikiLink($FORUM_CREATOR, 'if_known')?></td> <td> <table class="wikiforum wikiforum-message"> - <tr><td class="align-left"><?php echo fmt("Posted: %s",$CDATE)?></td> + <tr><td class="align-left"><?php echo fmt("Posted: %s", $CDATE)?></td> <td class="align-right"><?php echo _("Reply")?></td></tr> <tr><td><?php echo $CONTENT ?></td></tr> </table> Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2022年04月19日 14:53:46 UTC (rev 11025) @@ -1,19 +1,23 @@ <?php // Todo: Move the logic and code to the plugin // This is very experimental and the read-only part an ugly hack so far. -foreach (explode(',','errmsg,isForm') as $var) { - if (empty($$var)) $$var = false; +foreach (explode(',', 'errmsg,isForm') as $var) { + if (empty($$var)) { + $$var = false; + } } $plugin = $request->getArg('pagename'); $time = time(); -$user =& $request->getUser(); -$pref =& $request->_prefs; +$user = $request->getUser(); +$pref = $request->_prefs; -if (!$pref) return; +if (!$pref) { + return; +} $offset = $pref->get('timeOffset'); $serverTime = $time - $offset * 3600; -if ($isForm) +if ($isForm) { $timeOffsetInput = HTML::input(array('type' => "text", 'id' => 'timeOffsetInput', 'size' => 6, @@ -21,8 +25,9 @@ 'name' => "pref[timeOffset]", 'class' => "numeric", 'value' => $offset)); -else +} else { $timeOffsetInput = $pref->get('timeOffset'); +} $OwnModificationsCB = HTML::input(array('type' => 'checkbox', 'id' => 'ownModifications', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11024 http://sourceforge.net/p/phpwiki/code/11024 Author: vargenau Date: 2022年04月19日 14:43:35 +0000 (2022年4月19日) Log Message: ----------- Whitespace, braces Modified Paths: -------------- trunk/themes/Crao/templates/actionbar.tmpl trunk/themes/MonoBook/templates/actionbar.tmpl trunk/themes/Portland/templates/actionbar.tmpl trunk/themes/Sidebar/templates/actionbar.tmpl trunk/themes/Wordpress/templates/actionbar.tmpl trunk/themes/blog/templates/actionbar.tmpl trunk/themes/fusionforge/templates/actionbar.tmpl trunk/themes/shamino_com/templates/actionbar.tmpl Modified: trunk/themes/Crao/templates/actionbar.tmpl =================================================================== --- trunk/themes/Crao/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/Crao/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -16,7 +16,7 @@ <?php echo $SEP?><?php echo Button('chown') ?> <?php echo $SEP?><?php echo Button('setacl') ?> <?php }} ?> -<?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?> +<?php if ($user->isAdmin() or mayAccessPage('remove', $page->getName())) { ?> <?php echo $SEP?><?php echo Button('remove') ?> <?php } ?> <?php echo $SEP?><?php echo Button(__("PageHistory"), _("Page History")) ?> Modified: trunk/themes/MonoBook/templates/actionbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/MonoBook/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -24,7 +24,7 @@ <?php } ?> <?php } else { $talk = new WikiPageName($pagename); ?> - <?php echo ActionButton(array(),$isActionPage ? _("Action Page") : _("Article"), $talk->getParent(), array('title' => "View the page")) ?> + <?php echo ActionButton(array(), $isActionPage ? _("Action Page") : _("Article"), $talk->getParent(), array('title' => "View the page")) ?> <?php echo ActionButton(array(), _("Discussion"), $talk->getName(), array('class'=>$isBrowse ? "selected" : "")) ?> <?php } ?> <?php if (($isAdmin or mayAccessPage('edit', $pagename)) and $revision) { ?> @@ -67,7 +67,7 @@ <?php echo ActionButton('setacl') ?> <?php }} ?> <?php if (!empty($revision) and ($isAdmin or mayAccessPage('remove', $pagename))) { ?> - <?php echo ActionButton('revert',_("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?> + <?php echo ActionButton('revert', _("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?> <?php echo ActionButton('remove') ?> <?php } ?> <?php } ?> Modified: trunk/themes/Portland/templates/actionbar.tmpl =================================================================== --- trunk/themes/Portland/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/Portland/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -16,7 +16,7 @@ ?> <?php echo $EditB ?> <?php echo $SEP?> -<a href="<?php echo WikiURL($revision,array('action'=>'diff'))?>"><?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> +<a href="<?php echo WikiURL($revision, array('action'=>'diff'))?>"><?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> <?php echo $SEP?> <?php echo Button(__("PageHistory"), _("Page History")) ?> <?php echo $SEP?> Modified: trunk/themes/Sidebar/templates/actionbar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/Sidebar/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -48,7 +48,7 @@ <?php if (!empty($revision) and ($isAdmin or mayAccessPage('remove', $pagename))) { ?> <?php echo ActionButton('remove') ?> <?php echo ActionButton('purge') ?> - <?php echo ActionButton('revert',_("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?> + <?php echo ActionButton('revert', _("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?> <?php } ?> <?php if ($isAdmin or $mayChange) { ?> <?php echo ActionButton($page->get('locked') ? 'unlock' : 'lock') ?> Modified: trunk/themes/Wordpress/templates/actionbar.tmpl =================================================================== --- trunk/themes/Wordpress/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/Wordpress/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -62,7 +62,7 @@ <li><?php echo _("Information") ?> <ul> <li> - <a href="<?php echo WikiURL($revision,array('action'=>'diff')) ?>"> + <a href="<?php echo WikiURL($revision, array('action'=>'diff')) ?>"> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a> </li> <li> Modified: trunk/themes/blog/templates/actionbar.tmpl =================================================================== --- trunk/themes/blog/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/blog/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -2,7 +2,7 @@ <tr class="baseline"> <td> <div class="actionbuttons"> - <?php echo WikiLink(HOME_PAGE, "known",_("Home")) ?> + <?php echo WikiLink(HOME_PAGE, "known", _("Home")) ?> <?php echo $SEP?><?php echo WikiLink(__("About")) ?> <?php echo $SEP?><?php echo WikiLink(__("BlogArchives"), '', _("Archives")) ?> <?php echo $SEP?><?php echo WikiLink(__("PhotoAlbum")) ?> @@ -11,10 +11,11 @@ <?php echo $SEP?><?php echo Button(__("PageInfo"), _("Info")) ?> <?php if ($user->isAuthenticated()) { - if (mayAccessPage('edit', $page->getName())) + if (mayAccessPage('edit', $page->getName())) { $EditB = Button("edit", _("Edit"), false, array('id'=>'btn-edit')); - else + } else { $EditB = Button("viewsource", _("View Source")); + } ?> <?php echo $SEP?><?php echo $EditB ?> <?php } ?> Modified: trunk/themes/fusionforge/templates/actionbar.tmpl =================================================================== --- trunk/themes/fusionforge/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/fusionforge/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -43,13 +43,13 @@ <li class="bold"> <?php if (! $dbh->isWikiPage($page->getName())) { ?> <?php echo Button("edit", _("Create Page")) ?> - <?php } else if ($revision && (($revision->isCurrent()) || ($revision->hasDefaultContents()))) { ?> + <?php } elseif ($revision && (($revision->isCurrent()) || ($revision->hasDefaultContents()))) { ?> <?php echo Button("edit", _("Edit")) ?> <?php } else { ?> <?php echo Button("edit", _("Edit Old Version")) ?> <?php } ?> </li> - <?php } else if ($dbh->isWikiPage($page->getName())) { ?> + <?php } elseif ($dbh->isWikiPage($page->getName())) { ?> <li><?php echo Button("viewsource", _("View Source")) ?></li> <?php } ?> @@ -62,7 +62,7 @@ <?php } ?> <?php if ($revision && $curuserprefs->get('revertMenuItem')) { ?> - <li><?php echo Button('revert',_("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?></li> + <li><?php echo Button('revert', _("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?></li> <?php } ?> <li><?php echo Button(__("PageInfo"), _("Page Info")) ?></li> Modified: trunk/themes/shamino_com/templates/actionbar.tmpl =================================================================== --- trunk/themes/shamino_com/templates/actionbar.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) +++ trunk/themes/shamino_com/templates/actionbar.tmpl 2022年04月19日 14:43:35 UTC (rev 11024) @@ -1,10 +1,12 @@ <nav role="navigation" aria-label="<?php echo _("Actions Menu") ?>"> <?php -if (empty($revision)) $revision = $page->getCurrentRevision(false); +if (empty($revision)) { + $revision = $page->getCurrentRevision(false); +} ?> -<?php echo Button(array('action'=>__('PageInfo')), _("Page Info"),$page->getName()) ?> +<?php echo Button(array('action'=>__('PageInfo')), _("Page Info"), $page->getName()) ?> <?php echo $SEP?><?php echo Button("edit", ($revision->isCurrent() || $revision->hasDefaultContents()) ? _("Edit") : _("Edit Old Version")) ?> -<?php if ($user->isAdmin() or mayAccessPage('change',$page->getName())) { ?> +<?php if ($user->isAdmin() or mayAccessPage('change', $page->getName())) { ?> <?php echo $SEP?><?php echo Button($page->get('locked') ? 'unlock' : 'lock') ?> <?php if (ENABLE_PAGEPERM) { ?> <?php echo $SEP?><?php echo Button('chown') ?> @@ -11,7 +13,7 @@ <?php echo $SEP?><?php echo Button('setacl') ?> <?php } ?> <?php } ?> -<?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?> +<?php if ($user->isAdmin() or mayAccessPage('remove', $page->getName())) { ?> <?php echo $SEP?><?php echo Button('remove') ?> <?php } ?> <?php if (!empty($user) && $user->isAdmin()) { ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11023 http://sourceforge.net/p/phpwiki/code/11023 Author: vargenau Date: 2022年04月19日 14:38:46 +0000 (2022年4月19日) Log Message: ----------- Whitespace, braces Modified Paths: -------------- trunk/themes/MonoBook/templates/info.tmpl trunk/themes/default/templates/info.tmpl trunk/themes/smaller/templates/info.tmpl Modified: trunk/themes/MonoBook/templates/info.tmpl =================================================================== --- trunk/themes/MonoBook/templates/info.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) +++ trunk/themes/MonoBook/templates/info.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) @@ -1,5 +1,7 @@ <?php -if (empty($revision)) $revision = $page->getCurrentRevision(false); +if (empty($revision)) { + $revision = $page->getCurrentRevision(false); +} $modified = $WikiTheme->formatDateTime($revision->get('mtime')); $author = $revision->get('author'); @@ -7,8 +9,9 @@ $dbi = $request->getDbh(); $author = $revision->get('author'); $authorLink = $author; -if (preg_match("/^$WikiNameRegexp\$/", $author) && $dbi->isWikiPage($author)) +if (preg_match("/^$WikiNameRegexp\$/", $author) && $dbi->isWikiPage($author)) { $authorLink = WikiLink($author); +} $authorId = $revision->get('author_id'); $version = $revision->getVersion(); @@ -23,18 +26,19 @@ /* better way to do this? */ $bytes = strlen($revision->_data['%content']); -if ($bytes < 1024 ) +if ($bytes < 1024) { $size = fmt("%s bytes", $bytes); -else { +} else { $kb = round($bytes / 1024, 1); $size = fmt("%s KiB (%s bytes)", $kb, $bytes); } // Count words preg_match_all('/\\w+\\W*/', $revision->_data['%content'], $whitespacematches); -if (1 == ($c = count_all($whitespacematches))) - $wordcount = fmt("1 word"); -else - $wordcount = fmt("%s words", $c); +if (1 == ($c = count_all($whitespacematches))) { + $wordcount = fmt("1 word"); +} else { + $wordcount = fmt("%s words", $c); +} $summary = HTML::textarea(array('name' => 'summary', @@ -47,7 +51,6 @@ $revision->get('summary')); if ($is_current = $revision->isCurrent()) { - $LOCKED_CB = HTML::input(array('type' => 'checkbox', 'name' => 'edit[locked]', 'id' => 'locked', @@ -65,7 +68,6 @@ $label['date'] = _("Last Modified") . _(":"); $label['author'] = _("Last Author") . _(":"); $label['summary'] = _("Last Summary") . _(":"); - } else { $label['date'] = _("Saved on") . _(":"); $label['author'] = _("Author") . _(":"); @@ -172,8 +174,8 @@ <?php echo $SEP?><?php echo Button(__("PageHistory"), _("Page History")) ?> <?php echo $SEP?><?php echo Button(__("AuthorHistory"), _("Author History")) ?> <?php echo $SEP?><?php echo Button("Diff") ?> - <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'minor'),_("Diff previous Revision"),$page->getName()) ?> - <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?> + <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'minor'), _("Diff previous Revision"), $page->getName()) ?> + <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'author'), _("Diff previous Author"), $page->getName()) ?> <?php if (DEBUG || $user->isAdmin()) { ?> <?php // Buttons really only for debugging ?> <?php echo $SEP?><?php echo Button(__("DebugBackendInfo"), _("Debug Backend Info")) ?> Modified: trunk/themes/default/templates/info.tmpl =================================================================== --- trunk/themes/default/templates/info.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) +++ trunk/themes/default/templates/info.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) @@ -1,12 +1,15 @@ <?php -if (empty($revision)) $revision = $page->getCurrentRevision(false); +if (empty($revision)) { + $revision = $page->getCurrentRevision(false); +} $modified = $WikiTheme->formatDateTime($revision->get('mtime')); $dbi = $request->getDbh(); $author = $revision->get('author'); $authorLink = $author; -if ($dbi->isWikiPage($author)) +if ($dbi->isWikiPage($author)) { $authorLink = WikiLink($author); +} $authorId = $revision->get('author_id'); $version = $revision->getVersion(); @@ -24,16 +27,16 @@ $size = ByteFormatter($bytes, /* $longformat = */true); // Count words preg_match_all('/\\w+\\W*/', $revision->_data['%content'], $whitespacematches); -if (1 == ($c = count_all($whitespacematches))) - $wordcount = fmt("1 word"); -else - $wordcount = fmt("%s words", $c); +if (1 == ($c = count_all($whitespacematches))) { + $wordcount = fmt("1 word"); +} else { + $wordcount = fmt("%s words", $c); +} $summary = $revision->get('summary'); if ($is_current = $revision->isCurrent()) { - $LOCKED_CB = HTML::input(array('type' => 'checkbox', 'name' => 'edit[locked]', 'id' => 'locked', @@ -51,7 +54,6 @@ $label['date'] = _("Last Modified") . _(":"); $label['author'] = _("Last Author") . _(":"); $label['summary'] = _("Last Summary") . _(":"); - } else { $label['date'] = _("Saved on") . _(":"); $label['author'] = _("Author") . _(":"); Modified: trunk/themes/smaller/templates/info.tmpl =================================================================== --- trunk/themes/smaller/templates/info.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) +++ trunk/themes/smaller/templates/info.tmpl 2022年04月19日 14:38:46 UTC (rev 11023) @@ -5,8 +5,8 @@ <?php echo $SEP?><?php echo Button(__("PageHistory"), _("Page History")) ?> <?php echo $SEP?><?php echo Button(__("AuthorHistory"), _("Author History")) ?> <?php echo $SEP?><?php echo Button("Diff") ?> - <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'minor'),_("Diff previous Revision"),$page->getName()) ?> - <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?> + <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'minor'), _("Diff previous Revision"), $page->getName()) ?> + <?php echo $SEP?><?php echo Button(array('action'=>'diff','previous' => 'author'), _("Diff previous Author"), $page->getName()) ?> <?php echo $SEP?><?php echo Button(__("PageDump"), _("Page Dump")) ?> <?php if (DEBUG || $user->isAdmin()) { ?> <?php // Buttons really only for debugging ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11022 http://sourceforge.net/p/phpwiki/code/11022 Author: vargenau Date: 2022年04月19日 14:36:33 +0000 (2022年4月19日) Log Message: ----------- Whitespace, braces Modified Paths: -------------- trunk/themes/Crao/templates/signin.tmpl trunk/themes/MonoBook/templates/signin.tmpl trunk/themes/Sidebar/templates/signin.tmpl trunk/themes/Wordpress/templates/signin.tmpl trunk/themes/default/templates/signin.tmpl trunk/themes/shamino_com/templates/signin.tmpl trunk/themes/smaller/templates/signin.tmpl Modified: trunk/themes/Crao/templates/signin.tmpl =================================================================== --- trunk/themes/Crao/templates/signin.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) +++ trunk/themes/Crao/templates/signin.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) @@ -1,8 +1,9 @@ <?php -if (empty($FORMNAME)) +if (empty($FORMNAME)) { $FORMNAME = 'signin'; -else +} else { $NOFORM = true; +} ?> <?php if (empty($NOFORM)) { ?> <form method="post" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8" name="<?php echo $FORMNAME?>"> Modified: trunk/themes/MonoBook/templates/signin.tmpl =================================================================== --- trunk/themes/MonoBook/templates/signin.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) +++ trunk/themes/MonoBook/templates/signin.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) @@ -5,10 +5,10 @@ <ul> <?php if ($user->isAuthenticated()) { ?> <li id="pt-userpage"><?php echo WikiLink($id, 'auto') ?></li> - <li><?php echo WikiLink($id . "/Discussion", 'auto' , _("My Discussion")) ?></li> + <li><?php echo WikiLink($id . "/Discussion", 'auto', _("My Discussion")) ?></li> <li><?php echo WikiLink(__("UserPreferences"), "", _("My Preferences")) ?></li> <li><?php echo WikiLink(__("MyRecentChanges"), "", _("My Changes")) ?></li> - <li><?php echo HTML::a(array('href'=>'?'.urlencode('auth[logout]').'=1'),$sp,_("Logout"),$sp) ?></li> + <li><?php echo HTML::a(array('href'=>'?'.urlencode('auth[logout]').'=1'), $sp, _("Logout"), $sp) ?></li> <?php } else { if ($id) { ?> <li id="pt-userpage"><?php echo WikiLink($id, 'auto') ?></li> Modified: trunk/themes/Sidebar/templates/signin.tmpl =================================================================== --- trunk/themes/Sidebar/templates/signin.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) +++ trunk/themes/Sidebar/templates/signin.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) @@ -3,10 +3,10 @@ <ul> <?php if ($user->isAuthenticated()) { $sp = HTML::raw(" "); $id = $user->getAuthenticatedId(); ?> - <li id="pt-mypages"><?php echo WikiLink(__("RecentChangesMyPages"), 'auto', HTML($sp,"MyPages",$sp)) ?></li> - <li id="pt-mychanges"><?php echo WikiLink(__("MyRecentChanges"), 'auto', HTML($sp,"MyChanges",$sp)) ?></li> + <li id="pt-mypages"><?php echo WikiLink(__("RecentChangesMyPages"), 'auto', HTML($sp, "MyPages", $sp)) ?></li> + <li id="pt-mychanges"><?php echo WikiLink(__("MyRecentChanges"), 'auto', HTML($sp, "MyChanges", $sp)) ?></li> <li id="pt-userpage"><?php echo WikiLink($id, 'auto') ?></li> - <li id="pt-logout"><?php echo HTML::a(array('href'=>'?'.urlencode('auth[logout]').'=1'), $sp,_("Logout"),$sp) ?></li> + <li id="pt-logout"><?php echo HTML::a(array('href'=>'?'.urlencode('auth[logout]').'=1'), $sp, _("Logout"), $sp) ?></li> <?php } elseif (ALLOW_ANON_USER) { $sp = HTML::raw(" "); $id = $user->getAuthenticatedId(); if ($id) { ?> Modified: trunk/themes/Wordpress/templates/signin.tmpl =================================================================== --- trunk/themes/Wordpress/templates/signin.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) +++ trunk/themes/Wordpress/templates/signin.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) @@ -1,8 +1,9 @@ <?php -if (empty($FORMNAME)) +if (empty($FORMNAME)) { $FORMNAME = 'signin'; -else +} else { $NOFORM = true; +} ?> <?php if (empty($NOFORM)) { ?> <li> Modified: trunk/themes/default/templates/signin.tmpl =================================================================== --- trunk/themes/default/templates/signin.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) +++ trunk/themes/default/templates/signin.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) @@ -1,8 +1,9 @@ <?php -if (empty($FORMNAME)) +if (empty($FORMNAME)) { $FORMNAME = 'signin'; -else +} else { $NOFORM = true; +} ?> <?php if (empty($NOFORM)) { ?> <form method="post" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8" name="<?php echo $FORMNAME?>"> @@ -27,23 +28,23 @@ <?php echo Button("submit:auth[logout]", _("Sign Out"), 'wikiaction') ?> </noscript> <?php } else { - $SignInInput = HTML::input(array('type' => 'text', - 'name' => "auth[userid]", - 'size' => 12, - 'maxlength' => 256, - 'onchange' => "SignIn(this.form,false);")); - $SignInInput->addTooltip(_("Enter your UserId to sign in")); - $userid = $user->getId(); - if ($user->isSignedIn()) { - echo sprintf(_("You are signed but not authenticated as %s. "), - asXML(HTML::a(array( - 'href'=>'#', - 'title' => sprintf(_("Click to authenticate as %s"),$userid), - 'onclick'=>'SignIn(document.forms["'.$FORMNAME.'"],"'.$userid.'");'), + $SignInInput = HTML::input(array('type' => 'text', + 'name' => "auth[userid]", + 'size' => 12, + 'maxlength' => 256, + 'onchange' => "SignIn(this.form,false);")); + $SignInInput->addTooltip(_("Enter your UserId to sign in")); + $userid = $user->getId(); + if ($user->isSignedIn()) { + echo sprintf(_("You are signed but not authenticated as %s. "), + asXML(HTML::a(array( + 'href'=>'#', + 'title' => sprintf(_("Click to authenticate as %s"),$userid), + 'onclick'=>'SignIn(document.forms["'.$FORMNAME.'"],"'.$userid.'");'), $userid))); - } - $editing_policy = (defined('EDITING_POLICY') and $request->_dbi->isWikiPage(EDITING_POLICY)); - $SignInJS = JavaScript(' + } + $editing_policy = (defined('EDITING_POLICY') and $request->_dbi->isWikiPage(EDITING_POLICY)); + $SignInJS = JavaScript(' function SignIn(form,userid) { if (userid) { form.elements["auth[userid]"].value = userid; Modified: trunk/themes/shamino_com/templates/signin.tmpl =================================================================== --- trunk/themes/shamino_com/templates/signin.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) +++ trunk/themes/shamino_com/templates/signin.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) @@ -1,8 +1,9 @@ <?php -if (empty($FORMNAME)) +if (empty($FORMNAME)) { $FORMNAME = 'signin'; -else +} else { $NOFORM = true; +} ?> <?php if (empty($NOFORM)) { ?> <form method="post" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8" name="<?php echo $FORMNAME?>"> Modified: trunk/themes/smaller/templates/signin.tmpl =================================================================== --- trunk/themes/smaller/templates/signin.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) +++ trunk/themes/smaller/templates/signin.tmpl 2022年04月19日 14:36:33 UTC (rev 11022) @@ -1,8 +1,9 @@ <?php -if (empty($FORMNAME)) +if (empty($FORMNAME)) { $FORMNAME = 'signin'; -else +} else { $NOFORM = true; +} ?> <?php if (empty($NOFORM)) { ?> <form style="display:inline" method="post" action="<?php echo $request->getPostURL() ?>" accept-charset="UTF-8" name="<?php echo $FORMNAME?>"> @@ -25,17 +26,17 @@ <?php echo Button("submit:auth[logout]", _("Sign Out"), 'wikiaction') ?> </noscript> <?php } else { - $SignInInput = HTML::input(array('type' => 'text', - 'name' => "auth[userid]", - 'size' => 12, - 'maxlength' => 256, - 'onchange' => "SignIn(this.form,false);")); - if ($user->isSignedIn()) { - $SignInInput->setAttr('value', $user->getId()); - } - $SignInInput->addTooltip(_("Enter your UserId to sign in")); - $editing_policy = (defined('EDITING_POLICY') and $request->_dbi->isWikiPage(EDITING_POLICY)); - $SignInJS = JavaScript(' + $SignInInput = HTML::input(array('type' => 'text', + 'name' => "auth[userid]", + 'size' => 12, + 'maxlength' => 256, + 'onchange' => "SignIn(this.form,false);")); + if ($user->isSignedIn()) { + $SignInInput->setAttr('value', $user->getId()); + } + $SignInInput->addTooltip(_("Enter your UserId to sign in")); + $editing_policy = (defined('EDITING_POLICY') and $request->_dbi->isWikiPage(EDITING_POLICY)); + $SignInJS = JavaScript(' function SignIn(form,userid) { if (userid) { form.elements["auth[userid]"].value = userid; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11021 http://sourceforge.net/p/phpwiki/code/11021 Author: vargenau Date: 2022年04月19日 14:28:00 +0000 (2022年4月19日) Log Message: ----------- Whitespace Modified Paths: -------------- trunk/themes/Crao/templates/body.tmpl trunk/themes/MonoBook/templates/body.tmpl trunk/themes/Portland/templates/body.tmpl trunk/themes/Sidebar/templates/body.tmpl trunk/themes/Wordpress/templates/body.tmpl trunk/themes/blog/templates/body.tmpl trunk/themes/default/templates/body.tmpl trunk/themes/fusionforge/templates/body.tmpl trunk/themes/wikilens/templates/body.tmpl Modified: trunk/themes/Crao/templates/body.tmpl =================================================================== --- trunk/themes/Crao/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/Crao/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -15,16 +15,16 @@ <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> Modified: trunk/themes/MonoBook/templates/body.tmpl =================================================================== --- trunk/themes/MonoBook/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/MonoBook/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -9,16 +9,16 @@ <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> Modified: trunk/themes/Portland/templates/body.tmpl =================================================================== --- trunk/themes/Portland/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/Portland/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -10,16 +10,16 @@ <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> Modified: trunk/themes/Sidebar/templates/body.tmpl =================================================================== --- trunk/themes/Sidebar/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/Sidebar/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -7,16 +7,16 @@ <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> Modified: trunk/themes/Wordpress/templates/body.tmpl =================================================================== --- trunk/themes/Wordpress/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/Wordpress/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -6,16 +6,16 @@ <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> Modified: trunk/themes/blog/templates/body.tmpl =================================================================== --- trunk/themes/blog/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/blog/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -7,16 +7,16 @@ <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> Modified: trunk/themes/default/templates/body.tmpl =================================================================== --- trunk/themes/default/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/default/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -8,16 +8,16 @@ <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> Modified: trunk/themes/fusionforge/templates/body.tmpl =================================================================== --- trunk/themes/fusionforge/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/fusionforge/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -9,10 +9,11 @@ <?php } ?> <div id="content"> <?php -if (ENABLE_RATEIT && $page->exists()) - $rating = 1; -else +if (ENABLE_RATEIT && $page->exists()) { + $rating = 1; + } else { $rating = 0; +} ?> <a id="contentTop"></a> <h1> Modified: trunk/themes/wikilens/templates/body.tmpl =================================================================== --- trunk/themes/wikilens/templates/body.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) +++ trunk/themes/wikilens/templates/body.tmpl 2022年04月19日 14:28:00 UTC (rev 11021) @@ -23,24 +23,24 @@ <main role="main"> <h1><?php echo $HEADER ?> <?php if (!empty($user) && $user->isSignedIn()) { - $loader = new WikiPluginLoader(); - printXML(HTML::raw(" ")); - $dbi = $request->getDbh(); // Needed in PHP 8 - printXML($loader->expandPI("<"."?plugin RateIt ?".">", $request, $dbi->_markup)); - } ?> </h1> + $loader = new WikiPluginLoader(); + printXML(HTML::raw(" ")); + $dbi = $request->getDbh(); // Needed in PHP 8 + printXML($loader->expandPI("<"."?plugin RateIt ?".">", $request, $dbi->_markup)); +} ?> </h1> <?php $action = $request->getArg('action'); if ($page->exists()) { - if (empty($revision)) { - $revision = $page->getCurrentRevision(false); - } - if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> + if (empty($revision)) { + $revision = $page->getCurrentRevision(false); + } + if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?> <p class="warning_msg"><strong><?php echo _("Note:") ?></strong> <?php echo _("This page has been locked and cannot be edited.") ?> </p> <?php } - if (($action != 'edit') && ($action != 'revert') + if (($action != 'edit') && ($action != 'revert') && $revision and !$revision->isCurrent()) { if ($revision->hasDefaultContents()) { ?> <p class="error"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11020 http://sourceforge.net/p/phpwiki/code/11020 Author: vargenau Date: 2022年04月19日 14:23:13 +0000 (2022年4月19日) Log Message: ----------- Whitespace, braces Modified Paths: -------------- trunk/themes/default/templates/head.tmpl trunk/themes/wikilens/templates/head.tmpl Modified: trunk/themes/default/templates/head.tmpl =================================================================== --- trunk/themes/default/templates/head.tmpl 2022年04月19日 14:18:34 UTC (rev 11019) +++ trunk/themes/default/templates/head.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) @@ -27,12 +27,12 @@ $args = $request->getArgs(); $action = empty($args['action']) ? 'browse' : $args['action']; if (!($action == "viewsource")) { - $alternatelinkTitle = fmt("%s: %s", _("View Source"), $page->getName()); - $alternatelinkUrl = WikiURL($revision, array('action' => 'viewsource')); + $alternatelinkTitle = fmt("%s: %s", _("View Source"), $page->getName()); + $alternatelinkUrl = WikiURL($revision, array('action' => 'viewsource')); } if (!($action == "browse")) { - $alternatelinkTitle = $page->getName(); - $alternatelinkUrl = WikiURL($revision, array('action' => 'browse')); + $alternatelinkTitle = $page->getName(); + $alternatelinkUrl = WikiURL($revision, array('action' => 'browse')); } ?> <link rel="alternate" title="<?php echo $alternatelinkTitle ?>" href="<?php echo $alternatelinkUrl ?>" /> <?php } @@ -50,7 +50,7 @@ <?php if (!$user->isSignedIn()) { /* For users not signed in */ ?> <?php } ?> -<link rel="alternate" type="application/x-wiki" title="Edit this page!" href="<?php echo WikiURL($page,array('action'=>'edit')) ?>" /> +<link rel="alternate" type="application/x-wiki" title="Edit this page!" href="<?php echo WikiURL($page, array('action'=>'edit')) ?>" /> <?php if ($user->isAdmin()) { /* Only for the Administrator */ ?> <?php } ?> @@ -73,10 +73,11 @@ <?php echo $WikiTheme->getCSS() ?> <?php // avoid redundant bookmark title for custom home page - if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) + if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) { $pagetitle = ""; - else + } else { $pagetitle = " - ". AsString($TITLE); + } ?> <title><?php echo WIKI_NAME.$pagetitle ?></title> <?php if (ENABLE_OPEN_GRAPH) { ?> Modified: trunk/themes/wikilens/templates/head.tmpl =================================================================== --- trunk/themes/wikilens/templates/head.tmpl 2022年04月19日 14:18:34 UTC (rev 11019) +++ trunk/themes/wikilens/templates/head.tmpl 2022年04月19日 14:23:13 UTC (rev 11020) @@ -27,12 +27,12 @@ $args = $request->getArgs(); $action = empty($args['action']) ? 'browse' : $args['action']; if (!($action == "viewsource")) { - $alternatelinkTitle = fmt("%s: %s", _("View Source"), $page->getName()); - $alternatelinkUrl = WikiURL($revision, array('action' => 'viewsource')); + $alternatelinkTitle = fmt("%s: %s", _("View Source"), $page->getName()); + $alternatelinkUrl = WikiURL($revision, array('action' => 'viewsource')); } if (!($action == "browse")) { - $alternatelinkTitle = $page->getName(); - $alternatelinkUrl = WikiURL($revision, array('action' => 'browse')); + $alternatelinkTitle = $page->getName(); + $alternatelinkUrl = WikiURL($revision, array('action' => 'browse')); } ?> <link rel="alternate" title="<?php echo $alternatelinkTitle ?>" href="<?php echo $alternatelinkUrl ?>" /> <?php } @@ -50,7 +50,7 @@ <?php if (!$user->isSignedIn()) { /* For users not signed in */ ?> <?php } ?> -<link rel="alternate" type="application/x-wiki" title="Edit this page!" href="<?php echo WikiURL($page,array('action'=>'edit')) ?>" /> +<link rel="alternate" type="application/x-wiki" title="Edit this page!" href="<?php echo WikiURL($page, array('action'=>'edit')) ?>" /> <?php if ($user->isAdmin()) { /* Only for the Administrator */ ?> <?php } ?> @@ -73,10 +73,11 @@ <?php echo $WikiTheme->getCSS() ?> <?php // avoid redundant bookmark title for custom home page - if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) + if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) { $pagetitle = ""; - else + } else { $pagetitle = " - ". AsString($TITLE); + } ?> <title><?php echo WIKI_NAME.$pagetitle ?></title> <?php if (ENABLE_OPEN_GRAPH) { ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11019 http://sourceforge.net/p/phpwiki/code/11019 Author: vargenau Date: 2022年04月19日 14:18:34 +0000 (2022年4月19日) Log Message: ----------- Whitespace Modified Paths: -------------- trunk/themes/MonoBook/templates/navbar.tmpl trunk/themes/blog/templates/navbar.tmpl trunk/themes/default/templates/navbar.tmpl trunk/themes/wikilens/templates/navbar.tmpl Modified: trunk/themes/MonoBook/templates/navbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/navbar.tmpl 2022年04月19日 14:15:16 UTC (rev 11018) +++ trunk/themes/MonoBook/templates/navbar.tmpl 2022年04月19日 14:18:34 UTC (rev 11019) @@ -14,9 +14,9 @@ <li><?php $link = WikiLink(__("RecentChanges"), "", _("Recent Changes")); $link->addTooltip(_("The list of recent changes in the wiki.")); ?><?php echo $link ?></li> <li><?php echo WikiLink(__("RecentComments"), "", _("Recent Comments")) ?></li> <li><?php echo WikiLink(__("RecentNewPages"), "", _("Recent New Pages")) ?></li> - <li><?php echo Button(array('action'=>__("LikePages")),_("Like Pages"), $page->getName()) ?></li> + <li><?php echo Button(array('action'=>__("LikePages")), _("Like Pages"), $page->getName()) ?></li> <li><?php echo WikiLink(__("RandomPage"), "", _("Random Page")) ?></li> - <li><?php echo WikiLink(__("Help"),"", _("Help")) ?></li> + <li><?php echo WikiLink(__("Help"), "", _("Help")) ?></li> </ul> </div> </div> Modified: trunk/themes/blog/templates/navbar.tmpl =================================================================== --- trunk/themes/blog/templates/navbar.tmpl 2022年04月19日 14:15:16 UTC (rev 11018) +++ trunk/themes/blog/templates/navbar.tmpl 2022年04月19日 14:18:34 UTC (rev 11019) @@ -7,7 +7,7 @@ <div class="box-data"> <ul> <?php if (!empty($revision)) { ?> -<li><?php echo WikiLink(__("BackLinks"), "button",_("Back Links")) ?></li> +<li><?php echo WikiLink(__("BackLinks"), "button", _("Back Links")) ?></li> <?php } ?> <?php if (!empty($user) && $user->isAdmin()) { ?> <li><?php echo WikiLink(__("PhpWikiAdministration"), "button", _("Administration")) ?></li> Modified: trunk/themes/default/templates/navbar.tmpl =================================================================== --- trunk/themes/default/templates/navbar.tmpl 2022年04月19日 14:15:16 UTC (rev 11018) +++ trunk/themes/default/templates/navbar.tmpl 2022年04月19日 14:18:34 UTC (rev 11019) @@ -7,7 +7,7 @@ <?php echo $SEP?><?php echo WikiLink(new WikiPagename('Talk:'.$page->getName(), $page->getName()), 'button', _("Discussion")) ?> <?php } else { ?> - <?php echo $SEP?><?php echo Button(array(),_("Article"), $page->getName()) ?> + <?php echo $SEP?><?php echo Button(array(), _("Article"), $page->getName()) ?> <?php } ?> <?php echo $SEP?> <?php } ?> @@ -16,8 +16,8 @@ array('SEARCH_BEFORE' => HTML::button(_("FindPage")))) ?> <?php if (!empty($revision)) { ?> -<?php echo $SEP?><?php echo $WikiTheme->makeLinkButton($revision,_("LikePages"), __("LikePages")) ?> -<?php echo $SEP?><?php echo $WikiTheme->makeLinkButton($revision,_("BackLinks"), __("BackLinks")) ?> +<?php echo $SEP?><?php echo $WikiTheme->makeLinkButton($revision, _("LikePages"), __("LikePages")) ?> +<?php echo $SEP?><?php echo $WikiTheme->makeLinkButton($revision, _("BackLinks"), __("BackLinks")) ?> <?php } ?> <?php if (!empty($user) && $user->isSignedIn()) { ?> <?php echo $SEP?> @@ -44,7 +44,7 @@ $p = $links->next(); $s = $p->_pagename; while ($p = $links->next()) { $s .= ', ' . $p->_pagename; } - echo asXML(HTML::strong("PageLinks: "),$s ? HTML::em($s) : HTML::em('<none>')); + echo asXML(HTML::strong("PageLinks: "), $s ? HTML::em($s) : HTML::em('<none>')); } } ?> </nav> Modified: trunk/themes/wikilens/templates/navbar.tmpl =================================================================== --- trunk/themes/wikilens/templates/navbar.tmpl 2022年04月19日 14:15:16 UTC (rev 11018) +++ trunk/themes/wikilens/templates/navbar.tmpl 2022年04月19日 14:18:34 UTC (rev 11019) @@ -36,7 +36,7 @@ $p = $links->next(); $s = $p->_pagename; while ($p = $links->next()) { $s .= ', ' . $p->_pagename; } - echo asXML(HTML::strong("PageLinks: "),$s ? HTML::em($s) : HTML::em('<none>')); + echo asXML(HTML::strong("PageLinks: "), $s ? HTML::em($s) : HTML::em('<none>')); } } ?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11018 http://sourceforge.net/p/phpwiki/code/11018 Author: vargenau Date: 2022年04月19日 14:15:16 +0000 (2022年4月19日) Log Message: ----------- Whitespace Modified Paths: -------------- trunk/themes/fusionforge/templates/ratings.tmpl trunk/themes/wikilens/templates/ratings.tmpl Modified: trunk/themes/fusionforge/templates/ratings.tmpl =================================================================== --- trunk/themes/fusionforge/templates/ratings.tmpl 2022年04月19日 13:41:30 UTC (rev 11017) +++ trunk/themes/fusionforge/templates/ratings.tmpl 2022年04月19日 14:15:16 UTC (rev 11018) @@ -1,5 +1,5 @@ <?php if (!$WikiTheme->DUMP_MODE) { - $loader = new WikiPluginLoader(); - $dbi = $request->getDbh(); // Needed in PHP 8 - printXML($loader->expandPI("<"."?plugin RateIt show=top imgPrefix=BStar ?".">", $request, $dbi->_markup)); + $loader = new WikiPluginLoader(); + $dbi = $request->getDbh(); // Needed in PHP 8 + printXML($loader->expandPI("<"."?plugin RateIt show=top imgPrefix=BStar ?".">", $request, $dbi->_markup)); } ?> Modified: trunk/themes/wikilens/templates/ratings.tmpl =================================================================== --- trunk/themes/wikilens/templates/ratings.tmpl 2022年04月19日 13:41:30 UTC (rev 11017) +++ trunk/themes/wikilens/templates/ratings.tmpl 2022年04月19日 14:15:16 UTC (rev 11018) @@ -1,5 +1,5 @@ <?php if (!$WikiTheme->DUMP_MODE) { - $loader = new WikiPluginLoader(); - $dbi = $request->getDbh(); // Needed in PHP 8 - printXML($loader->expandPI("<"."?plugin RateIt show=top imgPrefix=BStar ?".">", $request, $dbi->_markup)); + $loader = new WikiPluginLoader(); + $dbi = $request->getDbh(); // Needed in PHP 8 + printXML($loader->expandPI("<"."?plugin RateIt show=top imgPrefix=BStar ?".">", $request, $dbi->_markup)); } ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 11017 http://sourceforge.net/p/phpwiki/code/11017 Author: vargenau Date: 2022年04月19日 13:41:30 +0000 (2022年4月19日) Log Message: ----------- Add PhpWiki version in PhpWikiManual Modified Paths: -------------- trunk/pgsrc/PhpWikiManual Modified: trunk/pgsrc/PhpWikiManual =================================================================== --- trunk/pgsrc/PhpWikiManual 2022年03月29日 17:41:10 UTC (rev 11016) +++ trunk/pgsrc/PhpWikiManual 2022年04月19日 13:41:30 UTC (rev 11017) @@ -1,4 +1,4 @@ -Date: 2020年12月28日 19:46:14 +0000 +Date: 2022年4月19日 15:40:30 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.1) Content-Type: application/x-phpwiki; pagename=PhpWikiManual; @@ -6,6 +6,8 @@ charset=UTF-8 Content-Transfer-Encoding: binary +This is the user manual for ~PhpWiki 1.6.2. + <<IncludePage page="Help/PhpWiki">> <<IncludePage page="Help/WikiWikiWeb">> <<IncludePage page="Help/Steve Wainstead">> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.