SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

Revision: 6212
 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6212&view=rev
Author: vargenau
Date: 2008年08月26日 16:51:42 +0000 (2008年8月26日)
Log Message:
-----------
Valid XHTML code
Modified Paths:
--------------
 trunk/themes/MonoBook/templates/info.tmpl
Modified: trunk/themes/MonoBook/templates/info.tmpl
===================================================================
--- trunk/themes/MonoBook/templates/info.tmpl	2008年08月26日 16:45:07 UTC (rev 6211)
+++ trunk/themes/MonoBook/templates/info.tmpl	2008年08月26日 16:51:42 UTC (rev 6212)
@@ -46,8 +46,8 @@
 $summary = HTML::textarea(array('name' => 'summary',
 'class' => 'summary',
 /* use fixed dimensions? */
- 'rows' => $request->getPref('editHeight')/4,
- 'cols' => $request->getPref('editWidth')/2,
+ 'rows' => intval($request->getPref('editHeight')/4),
+ 'cols' => intval($request->getPref('editWidth')/2),
 'readonly' => 'readonly',
 ),
 $revision->get('summary'));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 6737
 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6737&view=rev
Author: vargenau
Date: 2009年03月29日 17:04:04 +0000 (2009年3月29日)
Log Message:
-----------
Add ACL
Modified Paths:
--------------
 trunk/themes/MonoBook/templates/info.tmpl
Modified: trunk/themes/MonoBook/templates/info.tmpl
===================================================================
--- trunk/themes/MonoBook/templates/info.tmpl	2009年03月28日 03:07:56 UTC (rev 6736)
+++ trunk/themes/MonoBook/templates/info.tmpl	2009年03月29日 17:04:04 UTC (rev 6737)
@@ -80,6 +80,16 @@
 
 $tableSummary = fmt("Statistics about %s.", $page->getName());
 
+$perm_tree = pagePermissions($page->getName());
+list($type, $perm) = pagePermissionsAcl($perm_tree[0], $perm_tree);
+if ($type == 'inherited') {
+ $type = sprintf(_("page permission inherited from %s"), $perm_tree[1][0]);
+} elseif ($type == 'page') {
+ $type = _("individual page permission");
+} elseif ($type == 'default') {
+ $type = _("default page permission");
+}
+
 ?>
 
 <!-- FIXME: move table formatting to css -->
@@ -131,6 +141,14 @@
 <td align="right"><?= $LOCKED_CB ?></td>
 <td class="pageinfo"><?=_("Locked")?></td>
 </tr>
+ <tr>
+ <td align="right" class="pageinfo">ACL type</td>
+ <td><?= $type ?></td>
+ </tr>
+ <tr>
+ <td align="right" valign="top" class="pageinfo">ACL</td>
+ <td><?= $perm->asAclGroupLines() ?></td>
+ </tr>
 <?php } ?>
 
 <?php // determine page type
@@ -181,38 +199,4 @@
 
 <!-- End debugging buttons -->
 <?php } ?>
- </div>
-
-<?php
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-// $Log: not supported by cvs2svn $
-// Revision 1.3 2005年08月28日 11:04:08 rurban
-// fix Article link, reorder Discussion before admin actions, use default SEP in info, custom Sep in actionbar
-//
-// Revision 1.2 2004年06月14日 11:26:49 rurban
-// renamed global $Theme to $WikiTheme (gforge nameclash)
-//
-// Revision 1.1 2004年06月11日 09:01:51 rurban
-// new MonoBook theme (copied from mediawiki)
-//
-// Revision 1.2 2004年05月18日 14:47:21 rurban
-// Simplified strings for easier translation
-//
-// Revision 1.1 2004年03月01日 09:38:01 rurban
-// Theme with less buttons and shorter descriptions:
-// More behind "Info"
-//
-// Revision 1.15 2003年12月11日 19:38:29 carstenklapp
-// Internal change: Fix PHP Warning: Call-time pass-by-reference has been deprecated
-//
-// Revision 1.14 2003年11月29日 20:13:38 carstenklapp
-// Internal change: Refactored ByteFormatter code into a new function in
-// stdlib (now used by PageList too).
-//
-// Revision 1.13 2003年02月21日 04:24:48 dairiki
-// Fix <td> </td> nesting. (Was generating invalid HTML.)
-//
-// Revision 1.12 2003年01月11日 22:54:28 carstenklapp
-// Added Page type field displayed for special pages.
-//
-?>
+</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8120
 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8120&view=rev
Author: vargenau
Date: 2011年09月23日 16:46:34 +0000 (2011年9月23日)
Log Message:
-----------
Use CSS
Modified Paths:
--------------
 trunk/themes/MonoBook/templates/info.tmpl
Modified: trunk/themes/MonoBook/templates/info.tmpl
===================================================================
--- trunk/themes/MonoBook/templates/info.tmpl	2011年09月23日 16:38:01 UTC (rev 8119)
+++ trunk/themes/MonoBook/templates/info.tmpl	2011年09月23日 16:46:34 UTC (rev 8120)
@@ -61,11 +61,10 @@
 'checked' => $page->get('locked')));
 
 // Not sure if I want to keep this... --Carsten
- if ($user->isadmin()) {
+ if ($user->isAdmin()) {
 $lockunlock = $page->get('locked') ? 'unlock' : 'lock';
 $clickcheckbUrl = WikiURL($revision, array('action' => $lockunlock));
 $clickcheckb = "location.href='$clickcheckbUrl'";
-
 $LOCKED_CB->setAttr('onclick', $clickcheckb);
 }
 
@@ -74,7 +73,7 @@
 $label['summary'] = _("Last Summary") . _(":");
 
 } else {
- $label['date'] = _("Saved on:") . _(":");
+ $label['date'] = _("Saved on") . _(":");
 $label['author'] = _("Author") . _(":");
 $label['summary'] = _("Summary") . _(":");
 }
@@ -90,64 +89,61 @@
 } elseif ($type == 'default') {
 $type = _("default page permission");
 }
-
 ?>
 
-<!-- FIXME: move table formatting to css -->
-<table summary="<?php echo $tableSummary ?>" class="pageinfo"
- border="0" cellspacing="0" cellpadding="3">
+<table summary="<?php echo $tableSummary ?>" class="pageinfo">
 
 <?php if (!$is_current) { ?>
 <tr>
- <td align="right" class="pageinfo"><?php echo _("Supplanted on") . _(":") ?></td>
+ <td class="align-right pageinfo"><?php echo _("Supplanted on") . _(":") ?></td>
 <td><?php echo $WikiTheme->formatDateTime($revision->get('_supplanted')) ?></td>
 </tr>
 <?php } ?>
 
 <tr>
- <td align="right" nowrap="nowrap" class="pageinfo"><?php echo $label['date'] ?></td>
+ <td class="align-right nowrap pageinfo"><?php echo $label['date'] ?></td>
 <td><?php echo $modifed ?><?php echo $minor_flag ?></td>
 </tr>
 <tr>
- <td align="right" class="pageinfo"><?php echo $label['author'] ?></td>
+ <td class="align-right pageinfo"><?php echo $label['author'] ?></td>
 <td><?php echo $authorLink ?>
 <?php if (! ($author == $authorId)) { ?>
 <span class="pageinfo-authorid">(<?php echo $authorId ?>)</span>
 <?php } ?></td>
 </tr>
 <tr>
- <td align="right" class="pageinfo"><?php echo _("Page Version") . _(":") ?></td>
+ <td class="align-right pageinfo"><?php echo _("Page Version") . _(":") ?></td>
 <td><?php echo $version ?></td>
 </tr>
 <tr>
- <td align="right" class="pageinfo"><?php echo _("Markup") . _(":") ?></td>
+ <td class="align-right pageinfo"><?php echo _("Markup") . _(":") ?></td>
 <td><?php echo $markupVersion ?></td>
 </tr>
 <tr>
- <td align="right" class="pageinfo"><?php echo _("Size") . _(":") ?></td>
+ <td class="align-right pageinfo"><?php echo _("Size") . _(":") ?></td>
 <td><?php echo $wordcount ?>, <?php echo $size ?></td>
 </tr>
 <?php if ($is_current) { ?>
 <tr>
- <td align="right" class="pageinfo"><?php echo _("Hits") . _(":") ?></td>
+ <td class="align-right pageinfo"><?php echo _("Hits") . _(":") ?></td>
 <td><?php echo $hits ?></td>
 </tr>
 <?php } ?>
 <tr>
- <td align="right" valign="top" class="pageinfo"><?php echo $label['summary'] ?></td>
+ <td class="align-right nowrap top pageinfo"><?php echo $label['summary'] ?></td>
 <td><?php echo $summary ?></td>
 </tr>
 <?php if ($is_current) { ?>
 <tr>
- <td align="right"><?php echo $LOCKED_CB ?></td>
+ <td class="align-right"><?php echo $LOCKED_CB ?></td>
 <td class="pageinfo"><?php echo _("Locked")?></td>
 </tr>
 <tr>
- <td align="right" class="pageinfo">ACL type</td>
+ <td class="align-right pageinfo"><?php echo _("ACL type") . _(":") ?></td>
 <td><?php echo $type ?></td>
 </tr>
 <tr>
- <td align="right" valign="top" class="pageinfo">ACL</td>
+ <td class="align-right top pageinfo"><?php echo _("ACL") . _(":") ?></td>
 <td><?php echo $perm->asAclLines() ?></td>
 </tr>
 <?php } ?>
@@ -174,8 +170,8 @@
 
 <?php if (!empty($pagetype)) { $pagetype = implode(", ", $pagetype); ?>
 <tr>
- <td align="right" class="pageinfo"><?php echo _("Page Type") . _(":") ?></td>
- <td align="left"><?php echo $pagetype?></td>
+ <td class="align-right pageinfo"><?php echo _("Page Type") . _(":") ?></td>
+ <td><?php echo $pagetype?></td>
 </tr>
 <?php } ?>
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8153
 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8153&view=rev
Author: vargenau
Date: 2011年10月03日 12:27:54 +0000 (2011年10月03日)
Log Message:
-----------
Home Page
Modified Paths:
--------------
 trunk/themes/MonoBook/templates/info.tmpl
Modified: trunk/themes/MonoBook/templates/info.tmpl
===================================================================
--- trunk/themes/MonoBook/templates/info.tmpl	2011年10月03日 12:26:30 UTC (rev 8152)
+++ trunk/themes/MonoBook/templates/info.tmpl	2011年10月03日 12:27:54 UTC (rev 8153)
@@ -150,7 +150,7 @@
 
 <?php // determine page type
 if (HOME_PAGE == $page->getName()) {
- $pagetype []= sprintf('%s %s', WIKI_NAME, _("home page"));
+ $pagetype []= sprintf('%s %s', WIKI_NAME, _("Home Page"));
 }
 if (0 && $page->isUserPage($include_empty=true)) {
 $pagetype []= _("User page");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10859
 http://sourceforge.net/p/phpwiki/code/10859
Author: vargenau
Date: 2022年01月06日 17:29:02 +0000 (2022年1月06日)
Log Message:
-----------
themes/MonoBook/templates/info.tmpl: get pagetype
Modified Paths:
--------------
 trunk/themes/MonoBook/templates/info.tmpl
Modified: trunk/themes/MonoBook/templates/info.tmpl
===================================================================
--- trunk/themes/MonoBook/templates/info.tmpl	2022年01月06日 17:28:01 UTC (rev 10858)
+++ trunk/themes/MonoBook/templates/info.tmpl	2022年01月06日 17:29:02 UTC (rev 10859)
@@ -142,7 +142,7 @@
 if (HOME_PAGE == $page->getName()) {
 $pagetype []= sprintf('%s %s', WIKI_NAME, _("Home Page"));
 }
-if (0 && $page->isUserPage($include_empty=true)) {
+if ($page->isUserPage($include_empty=true)) {
 $pagetype []= _("User page");
 }
 if (isActionPage($page->getName())) {
@@ -151,10 +151,10 @@
 if ($page->get('pagetype') == 'wikiblog') {
 $pagetype []= _("Blog page");
 }
-if ($page->getName() == _("InterWikiMap")) {
+if ($page->getName() == __("InterWikiMap")) {
 $pagetype []= _("InterWikiMap");
 }
-if (0 and isSubPage($page->getName())) {
+if (isSubPage($page->getName())) {
 $pagetype []= _("Subpage");
 } ?>
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /