logo       


CVS: phpwiki/lib/plugin WikiBlog.php,1.21,1.22: msg#00075

Subject: CVS: phpwiki/lib/plugin WikiBlog.php,1.21,1.22
Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19228/plugin

Modified Files:
        WikiBlog.php 
Log Message:
Blogs => Blog

Index: WikiBlog.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/WikiBlog.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -2 -b -p -d -r1.21 -r1.22
--- WikiBlog.php        14 Dec 2004 21:35:15 -0000      1.21
+++ WikiBlog.php        15 Dec 2004 15:33:18 -0000      1.22
@@ -116,5 +116,5 @@ extends WikiPlugin
     function run($dbi, $argstr, &$request, $basepage) {
         $args = $this->getArgs($argstr, $request);
-        // allow empty pagenames for ADMIN_USER style blogs: "Blogs/day"
+        // allow empty pagenames for ADMIN_USER style blogs: "Blog/day"
         //if (!$args['pagename'])
         //    return $this->error(_("No pagename specified"));
@@ -153,5 +153,5 @@ extends WikiPlugin
         $parent = $blog['pagename'];
         if (empty($parent)) {
-            $prefix = "";   // allow empty parent for default "Blogs/day"
+            $prefix = "";   // allow empty parent for default "Blog/day"
             $parent = HOME_PAGE;
         } else {
@@ -204,5 +204,5 @@ extends WikiPlugin
             //   Rootname/Blog/2003-01-11/14:03:02+00:00
             // This gives us natural chronological order when sorted
-            // alphabetically.
+            // alphabetically. "Rootname/" is optional.
 
             $time = Iso8601DateTime();
@@ -215,5 +215,5 @@ extends WikiPlugin
 
             // Check intermediate pages. If not existing they should 
RedirectTo the parent page.
-            // Maybe add the BlogArchives plugin instead for new interim 
subpage.
+            // Maybe add the BlogArchives plugin instead for the new interim 
subpage.
             $redirected = $prefix . $pagename;
             if (!$dbi->isWikiPage($redirected)) {
@@ -311,9 +311,9 @@ extends WikiPlugin
     function _blogPrefix($type='wikiblog') {
         if ($type == 'wikiblog')
-            $name = _("Blogs");
+            $name = "Blog";
         elseif ($type == 'comment')
-            $name = _("Comments");
+            $name = "Comment";
         elseif ($type == 'wikiforum')
-            $name = _("Messages");
+            $name = "Message"; // FIXME: we use the first 12 chars of the 
summary
         return $name;
     }
@@ -360,4 +360,7 @@ extends WikiPlugin
 
 // $Log$
+// Revision 1.22  2004/12/15 15:33:18  rurban
+// Blogs => Blog
+//
 // Revision 1.21  2004/12/14 21:35:15  rurban
 // support new BLOG_EMPTY_DEFAULT_PREFIX



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/


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