logo       


CVS: phpwiki/lib/plugin PageDump.php,1.7,1.8: msg#00233

Subject: CVS: phpwiki/lib/plugin PageDump.php,1.7,1.8
Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25199/lib/plugin

Modified Files:
        PageDump.php 
Log Message:
ViewSource link, better actionpage usage

Index: PageDump.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/PageDump.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -2 -b -p -d -r1.7 -r1.8
--- PageDump.php        4 May 2004 17:21:06 -0000       1.7
+++ PageDump.php        25 May 2004 12:43:29 -0000      1.8
@@ -113,14 +113,16 @@ extends WikiPlugin
 
         // fixme: what about when not using VIRTUAL_PATH?
-        $dlcvs = Button(array('page' => $page,
+        $dlcvs = Button(array(//'page' => $page,
+                              'action' => $this->getName(),
                               'format'=> 'forcvs',
                               'download'=> true),
                         _("Download for CVS"),
-                        $this->getName(), //fixme: $request->getPostUrl??
+                        WikiURL($page),
                         'wikiadmin');
-        $dl = Button(array('page' => $page,
+        $dl = Button(array(//'page' => $page,
+                           'action' => $this->getName(),
                            'download'=> true),
                      _("Download for backup"),
-                     $this->getName(), //fixme: $request->getPostUrl??
+                     WikiURL($page),
                      'wikiadmin');
 
@@ -129,15 +131,17 @@ extends WikiPlugin
         if ($format == 'forcvs') {
             $desc = _("(formatted for PhpWiki developers, not for backing 
up)");
-            $altpreviewbutton = Button(array('page' => $page),
+            $altpreviewbutton = Button(array(//'page' => $page, 
+                                             'action' => $this->getName()),
                                        _("Preview as backup format"),
-                                       $this->getName(), //fixme: 
$request->getPostUrl??
+                                       WikiURL($page),
                                        'wikiadmin');
         }
         else {
             $desc = _("(formatted for backing up)");
-            $altpreviewbutton = Button(array('page' => $page,
+            $altpreviewbutton = Button(array(//'page' => $page,
+                                             'action' => $this->getName(),
                                              'format'=> 'forcvs'),
                                        _("Preview as developer format"),
-                                       $this->getName(), //fixme: 
$request->getPostUrl??
+                                       WikiURL($page),
                                        'wikiadmin');
         }
@@ -190,5 +194,5 @@ _("PhpWiki developers should manually in
         // represented as a text message.
         $this->MessageId = implode('', explode('.', PHPWIKI_VERSION))
-            . "-" . $m2[0] . (string)date("T")
+            . "-" . $m2[0] . date("O")
             //. "-". rawurlencode(WIKI_NAME.":" . $request->getURLtoSelf())
             . "-". rawurlencode(WIKI_NAME.":" . $this->pagename)
@@ -252,4 +256,7 @@ _("PhpWiki developers should manually in
 
 // $Log$
+// Revision 1.8  2004/05/25 12:43:29  rurban
+// ViewSource link, better actionpage usage
+//
 // Revision 1.7  2004/05/04 17:21:06  rurban
 // revert previous patch



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe