[geeklog-cvs] geeklog: A feeble attempt to update the age-old help texts

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Nov 15 05:22:10 EST 2009


changeset 7473:e6207655d9cc
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e6207655d9cc
user: Dirk Haun <dirk at haun-online.de>
date: Sun Nov 15 10:58:30 2009 +0100
description:
A feeble attempt to update the age-old help texts

diffstat:

 public_html/admin/moderation.php          |   16 ++--
 public_html/docs/history                  |    2 +
 public_html/help/advancedsearch.html      |  107 +++++++++++---------------
 public_html/help/cccommentsubmission.html |   62 +++++++++++++++
 public_html/help/ccdraftsubmission.html   |   48 ++++++++++++
 public_html/help/cceventsubmission.html   |   68 +++++++---------
 public_html/help/cclinksubmission.html    |   68 +++++++---------
 public_html/help/ccstorysubmission.html   |   70 +++++++---------
 public_html/help/ccusersubmission.html    |   51 ++++++++++++
 public_html/help/submitevent.html         |   96 +++++++++++------------
 public_html/help/submitlink.html          |   73 +++++++----------
 public_html/help/submitstory.html         |  110 ++++++++++-----------------
 12 files changed, 421 insertions(+), 350 deletions(-)

diffs (truncated from 1033 to 300 lines):

diff -r 41371043edf2 -r e6207655d9cc public_html/admin/moderation.php
--- a/public_html/admin/moderation.php	Sat Nov 14 23:09:35 2009 +0100
+++ b/public_html/admin/moderation.php	Sun Nov 15 10:58:30 2009 +0100
@@ -189,7 +189,7 @@
     if ($_CONF['sort_admin']) {
         uksort ($items, 'strcasecmp');
     }
-     // logout is always the last entry
+    // logout is always the last entry
     $item = render_cc_item ($admin_templates,
                     $_CONF['site_url'] . '/users.php?mode=logout',
                     $_CONF['layout_url'] . '/images/icons/logout.' . $_IMAGE_TYPE,
@@ -262,7 +262,7 @@
 {
     global $_CONF, $_TABLES, $LANG29, $LANG_ADMIN;
 
-    require_once( $_CONF['path_system'] . 'lib-admin.php' );
+    require_once $_CONF['path_system'] . 'lib-admin.php';
 
     $retval = '';
     $isplugin = false;
@@ -282,7 +282,7 @@
                 $isplugin = true;
             }
         }
-    } elseif ( $type == 'story') { // story submission
+    } elseif ($type == 'story') { // story submission
         $sql = "SELECT sid AS id,title,date,tid FROM {$_TABLES['storysubmission']}" . COM_getTopicSQL ('WHERE') . " ORDER BY date ASC";
         $H =  array($LANG29[10], $LANG29[14], $LANG29[15]);
         $section_title = $LANG29[35];
@@ -293,7 +293,7 @@
               . "ORDER BY cid ASC";
         $H = array($LANG29[10], $LANG29[36], $LANG29[14]);
         $section_title = $LANG29[41];
-        $section_help = 'ccstorysubmission.html'; // FIXME
+        $section_help = 'cccommentsubmission.html';
     }
 
     // run SQL but this time ignore any errors
@@ -381,7 +381,7 @@
 {
     global $_CONF, $_TABLES, $LANG29, $LANG_ADMIN;
 
-    require_once ($_CONF['path_system'] . 'lib-admin.php');
+    require_once $_CONF['path_system'] . 'lib-admin.php';
 
     $retval = '';
     $sql = "SELECT uid as id,username,fullname,email FROM {$_TABLES['users']} WHERE status = 2";
@@ -407,7 +407,7 @@
 
     $text_arr = array('has_menu'  => false,
                       'title'     => $LANG29[40],
-                      'help_url'  => '',
+                      'help_url'  => 'ccusersubmission.html',
                       'no_data'   => $LANG29[39],
                       'form_url'  => "{$_CONF['site_admin_url']}/moderation.php"
     );
@@ -447,7 +447,7 @@
 {
     global $_CONF, $_TABLES, $LANG24, $LANG29, $LANG_ADMIN;
 
-    require_once( $_CONF['path_system'] . 'lib-admin.php' );
+    require_once $_CONF['path_system'] . 'lib-admin.php';
 
     $retval = '';
 
@@ -475,7 +475,7 @@
 
     $text_arr = array('has_menu'  => false,
                       'title'     => $LANG29[35] . ' (' . $LANG24[34] . ')',
-                      'help_url'  => '',
+                      'help_url'  => 'ccdraftsubmission.html',
                       'no_data'   => $LANG29[39],
                       'form_url'  => "{$_CONF['site_admin_url']}/moderation.php");
 
diff -r 41371043edf2 -r e6207655d9cc public_html/docs/history
--- a/public_html/docs/history	Sat Nov 14 23:09:35 2009 +0100
+++ b/public_html/docs/history	Sun Nov 15 10:58:30 2009 +0100
@@ -3,6 +3,8 @@
 Nov ??, 2009 (1.6.1)
 ------------
 Changes since 1.6.1rc1:
+- Updated the age-old help texts and added help files for comment and user
+  submissions as well as the draft stories list [Dirk]
 - The success message at the end of the install recommended setting
   db-config.php and siteconfig.php to 755. These files don't need to be
   executable, so recommend 644 instead (bug #0001036) [Dirk]
diff -r 41371043edf2 -r e6207655d9cc public_html/help/advancedsearch.html
--- a/public_html/help/advancedsearch.html	Sat Nov 14 23:09:35 2009 +0100
+++ b/public_html/help/advancedsearch.html	Sun Nov 15 10:58:30 2009 +0100
@@ -1,89 +1,72 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html lang="en">
 <head>
   <title>Advanced Search</title>
-  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <link rel="stylesheet" type="text/css" href="../docs/docstyle.css" title="Dev Stylesheet">
 </head>
 
 <body>
 <h1>Advanced Search</h1>
 
-<p>Advanced search will allow you to query the entire database of stories
-and comments to find what your looking for.  When conducting a query,
-at least one field must be selected. The query fields are:</p>
+<p>Advanced search will allow you to query the entire database of stories and
+comments to find what your looking for. When conducting a query, at least one
+field must be selected. The query fields are:</p>
 
 <table border="1" width="100%">
-<tr bgcolor="#000000">
-<td><font color="#FFFFFF">Field</font></td>
-
-<td>
-<center><font color="#FFFFFF">Required</font></center>
-</td>
-
-<td><font color="#FFFFFF">Description</font></td>
+<tr>
+    <th style="width:8%">Field</th>
+    <th>Required</th>
+    <th>Description</th>
 </tr>
 
 <tr>
-<td>Key Words</td>
-
-<td>
-<center>No</center>
-</td>
-
-<td>These are the key words you wish to search for, an example would be
-"Free" or "Fun" (without the quotes)<br>
-From the drop-down menu, you can select if search results should contain the
-exact phrase (exactly as you entered it), all of the words, or any of the words.</td>
+    <td>Key Words</td>
+    <td style="text-align:center;">No</td>
+    <td>These are the key words you wish to search for, an example would be
+        "Free" or "Fun" (without the quotes).<br>
+        From the drop-down menu, you can select if search results should contain        the exact phrase (exactly as you entered it), all of the words, or any
+        of the words.</td>
 </tr>
-
 <tr>
-<td>Date</td>
-
-<td>
-<center>No</center>
-</td>
-
-<td>Date range to search on.  Enter the start date and end date for
-your search</td>
+    <td>Titles Only</td>
+    <td style="text-align:center;">No</td>
+    <td>Check this box if you only want to search item titles</td>
 </tr>
-
 <tr>
-<td>Topic</td>
-
-<td>
-<center>No</center>
-</td>
-
-<td>Select the topic you wish to search on from the drop down list</td>
+    <td>Date</td>
+    <td style="text-align:center;">No</td>
+    <td>Date range to search on. Enter the start date and end date for your
+        search</td>
 </tr>
-
 <tr>
-<td>Type</td>
-
-<td>
-<center>No</center>
-</td>
-
-<td>Select the type of the search.  Your options are "All", which searches
-through all the searchable content of the site, or you can restrict your
-search to only one of "Stories", "Comments" as well as one
-of the installed plugins (e.g. "Static Pages").</td>
+    <td>Topic</td>
+    <td style="text-align:center;">No</td>
+    <td>Select the topic you wish to search on from the drop-down list</td>
 </tr>
-
 <tr>
-<td>Author</td>
-
-<td>
-<center>No</center>
-</td>
-
-<td>Select the author you wish to search on</td>
+    <td>Type</td>
+    <td style="text-align:center;">No</td>
+    <td>Select the type of the search. Your options are "All", which searches
+        through all the searchable content of the site, or you can restrict your
+        search to only one of "Stories", "Comments" as well as one
+        of the installed plugins (e.g. "Static Pages").</td>
+</tr>
+<tr>
+    <td>Authors</td>
+    <td style="text-align:center;">No</td>
+    <td>Select the author you wish to search on</td>
+</tr>
+<tr>
+    <td>Results</td>
+    <td style="text-align:center;">No</td>
+    <td>Select the number of search results you want to see per page</td>
 </tr>
 </table>
 
-<p><hr width="100%">
+<div class="footer">
+    <a href="http://wiki.geeklog.net/">The Geeklog Documentation Project</a><br>
+    All trademarks and copyrights on this page are owned by their respective owners. Geeklog is copyleft.
+</div>
 
-<p>Geeklog <a href="http://www.geeklog.net">http://www.geeklog.net</a>
-<br>Last Updated: August 2, 2003
 </body>
 </html>
diff -r 41371043edf2 -r e6207655d9cc public_html/help/cccommentsubmission.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/public_html/help/cccommentsubmission.html	Sun Nov 15 10:58:30 2009 +0100
@@ -0,0 +1,62 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+  <title>Comment Submissions</title>
+  <link rel="stylesheet" type="text/css" href="../docs/docstyle.css" title="Dev Stylesheet">
+</head>
+
+<body>
+<h1>Comment Submissions</h1>
+
+<p>This is the command and control quick moderation area for comments. In this
+area you can edit, delete or approve comments. Select any combination of deletes
+or approves and click the submit button.</p>
+
+<table border="1" width="100%">
+<tr>
+    <th style="width:8%">Field</th>
+    <th>Description</th>
+</tr>
+<tr>
+    <td>Edit</td>
+    <td>Click this to edit the comment. Note that saving an edited comment
+        submission will approve it</td>
+</tr>
+<tr>
+    <td>Title</td>
+    <td>Title of the comment</td>
+</tr>
+<tr>
+    <td>Parent or Comment</td>
+    <td>Depending on the type of comment, this will either contain the comment's
+        text or a link to the parent object for which the comment was
+        submitted</td>
+</tr>
+<tr>
+    <td>Date</td>
+    <td>Date the comment was submitted</td>
+</tr>
+<tr>
+    <td>Delete / Approve</td>
+    <td>Radio buttons to select for delete or approval of the story
+        submission</td>
+</tr>
+<tr>
+    <td>User Name</td>
+    <td>Name of the user who submitted the comment. For registered users, this
+        will contain a link to their profile page
+</tr>
+<tr>
+    <td>Auto-publish Comments?</td>
+    <td>Check this box to allow any further comments by this user to be
+        published without moderation. Only available for registered users</td>
+</tr>
+</table>
+
+<div class="footer">
+    <a href="http://wiki.geeklog.net/">The Geeklog Documentation Project</a><br>
+    All trademarks and copyrights on this page are owned by their respective owners. Geeklog is copyleft.
+</div>
+
+</body>
+</html>
diff -r 41371043edf2 -r e6207655d9cc public_html/help/ccdraftsubmission.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/public_html/help/ccdraftsubmission.html	Sun Nov 15 10:58:30 2009 +0100
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+  <title>Draft Story Submissions</title>
+  <link rel="stylesheet" type="text/css" href="../docs/docstyle.css" title="Dev Stylesheet">



More information about the geeklog-cvs mailing list