phpslash-commit Mailing List for phpSlash (Page 64)
Brought to you by:
joestewart,
nhruby
This list is closed, nobody may subscribe to it.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(59) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(52) |
Feb
(77) |
Mar
(118) |
Apr
(76) |
May
(106) |
Jun
(145) |
Jul
(9) |
Aug
(15) |
Sep
(78) |
Oct
(83) |
Nov
(105) |
Dec
(51) |
2003 |
Jan
(105) |
Feb
(100) |
Mar
(111) |
Apr
(149) |
May
(95) |
Jun
(56) |
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(22) |
Nov
(117) |
Dec
(6) |
2004 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(25) |
May
|
Jun
(11) |
Jul
(26) |
Aug
(85) |
Sep
(119) |
Oct
(312) |
Nov
(271) |
Dec
(5) |
2005 |
Jan
(6) |
Feb
|
Mar
|
Apr
(12) |
May
(7) |
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Joe S. <joe...@us...> - 2003-01-23 02:48:05
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale In directory sc8-pr-cvs1:/tmp/cvs-serv30216/phpslash-ft/class/locale Modified Files: en.php3 Log Message: Admin messages should be available for translation now. Index: en.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/en.php3,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** en.php3 22 Jan 2003 19:57:52 -0000 1.13 --- en.php3 23 Jan 2003 02:48:02 -0000 1.14 *************** *** 127,131 **** "%s Poll" => "%s Poll", ! // pollBooth.php3 // search.php3 "Searching %s" => --- 127,131 ---- "%s Poll" => "%s Poll", ! // search.php3 "Searching %s" => *************** *** 221,227 **** --- 221,251 ---- // mailinglistAdmin.php3 // pollAdmin.php3 + "Deleting poll" => + "Deleting poll", + // sectionAdmin.php3 // storyAdmin.php // submissionAdmin.php3 + " record deleted" => + " record deleted", + + "This would work SO much better if you actually selected something to delete!" => + "This would work SO much better if you actually selected something to delete!", + + "Submission Saved" => + "Submission Saved", + + "Submission Preview" => + "Submission Preview", + + "Edit Submission" => + "Edit Submission", + + "Current Submissions" => + "Current Submissions", + + "When you don't see the submission, it means there aren't any." => + "When you don't see the submission, it means there aren't any.", + // topicAdmin.php3 // variableAdmin.php3 *************** *** 657,660 **** --- 681,747 ---- // Poll.class + "Create A New Poll" => + "Create A New Poll", + + "No Question ID" => + "No Question ID", + + "There was a weird number of affected rows when setting the 'current' field to 1: " => + "There was a weird number of affected rows when setting the 'current' field to 1: ", + + "Either there were no current polls, or more then one? Affected Rows is: " => + "Either there were no current polls, or more then one? Affected Rows is: ", + + "No ID to edit" => + "No ID to edit", + + "Couldn't find your question (%s) in the DB" => + "Couldn't find your question (%s) in the DB", + + "Edit An Existing Poll" => + "Edit An Existing Poll", + + "Silly admin! You need to have a question before you can have a poll." => + "Silly admin! You need to have a question before you can have a poll.", + + "You need to have at least 2 possible answers, otherwise it wouldn't be a very effective poll, would it?" => + "You need to have at least 2 possible answers, otherwise it wouldn't be a very effective poll, would it?", + + "Choice %s, %s (%s), was updated" => + "Choice %s, %s (%s), was updated", + + "Choice %s, %s (%s), was inserted" => + "Choice %s, %s (%s), was inserted", + + "You can't delete the current poll. Please make another poll current, then delete this one" => + "You can't delete the current poll. Please make another poll current, then delete this one", + + "No question_id in Poll::deletePoll" => + "No question_id in Poll::deletePoll", + + "Choice %s was ignored." => + "Choice %s was ignored.", + + "There was an error in setting %s as the current poll:" => + "There was an error in setting %s as the current poll:", + + "I couldn't find your Poll, " => + "I couldn't find your Poll, ", + + "Sorry, I couldn't find your poll when trying to update." => + "Sorry, I couldn't find your poll when trying to update.", + + "There was an error deleting your poll answers" => + "There was an error deleting your poll answers", + + "There was an error deleting your poll question" => + "There was an error deleting your poll question", + + "There was an error removing the votes" => + "There was an error removing the votes", + + "Poll %s was deleted" => + "Poll %s was deleted", + "Your vote has been registered" => "Your vote has been registered", *************** *** 665,673 **** "Your vote hasn't been registered because you (or someone from your computer) has already voted.", // Section.class "Section %s(%s) deleted" => "Section %s(%s) deleted", ! // Story.class "More" => --- 752,777 ---- "Your vote hasn't been registered because you (or someone from your computer) has already voted.", + "No Poll Found: " => + "No Poll Found: ", // Section.class "Section %s(%s) deleted" => "Section %s(%s) deleted", ! ! "Change Existing Sections" => ! "Change Existing Sections", ! ! "There is no section_name in Section.class::saveSection" => ! "There is no section_name in Section.class::saveSection", ! ! "There is no description in Section.class::saveSection" => ! "There is no description in Section.class::saveSection", ! ! "New Section" => ! "New Section", ! ! "Edit Section" => ! "Edit Section", ! // Story.class "More" => *************** *** 692,700 **** --- 796,908 ---- "Comments?", + // Story_admin.class + "The storyid is: " => + "The storyid is: ", + + "You deleted %s comments" => + "You deleted %s comments", + + "removed %s section pointer(s)" => + "removed %s section pointer(s)", + + "removed %s topic pointer(s)" => + "removed %s topic pointer(s)", + + "removed the story" => + "removed the story", + + "All Authors" => + "All Authors", + + "All Topics" => + "All Topics", + + "All Sections" => + "All Sections", + + // Story_base.class + "There is no story_id in Story.class::saveStory" => + "There is no story_id in Story.class::saveStory", + + "You need to select at least one topic in Story.class::saveStory" => + "You need to select at least one topic in Story.class::saveStory", + + "You need to select at least one section in Story.class::saveStory" => + "You need to select at least one section in Story.class::saveStory", + + "There is no title in Story.class::saveStory" => + "There is no title in Story.class::saveStory", + + "There is no intro_text in Story.class::saveStory" => + "There is no intro_text in Story.class::saveStory", + + "There is no author_id in Story.class::saveStory" => + "There is no author_id in Story.class::saveStory", + + "Topic bar could not be reorganized" => + "Topic bar could not be reorganized", + // Submission.class "Anonymous Coward" => "Anonymous Coward", + "No Submission Found: %s" => + "No Submission Found: %s", + + "You need to select at least one topic in Submission.class::saveSubmission" => + "You need to select at least one topic in Submission.class::saveSubmission", + + "You need to select at least one section in Submission.class::saveSubmission" => + "You need to select at least one section in Submission.class::saveSubmission", + + "There is no subject in Submission.class::saveSubmission" => + "There is no subject in Submission.class::saveSubmission", + + "There is no story in Submission.class::saveSubmission" => + "There is no story in Submission.class::saveSubmission", + + "Can't find Submission_id ('%s') in psl_submission!" => + "Can't find Submission_id ('%s') in psl_submission!", + + "Submission by " => + "Submission by ", + // Topic.class + "Change existing Topics" => + "Change existing Topics", + + "There is no topic_name in Topic.class::saveTopic" => + "There is no topic_name in Topic.class::saveTopic", + + "There is no image in Topic.class::saveTopic" => + "There is no image in Topic.class::saveTopic", + + "There is no alt_text in Topic.class::saveTopic" => + "There is no alt_text in Topic.class::saveTopic", + + "Sorry, ths story is assigned to this topic:" => + "Sorry, ths story is assigned to this topic:", + + "Sorry, this submission is assigned to this topic:" => + "Sorry, this submission is assigned to this topic:", + + "Topic deleted" => + "Topic deleted", + + "Add a new Topic" => + "Add a new Topic", + + "Edit Topic" => + "Edit Topic", + + "Display Topic Images" => + "Display Topic Images", + + "[Display all possible topic images]" => + "[Display all possible topic images]", + + "Display Topic Images" => + "Display Topic Images", + // TopicBar.class // Variable.class |
From: Joe S. <joe...@us...> - 2003-01-23 02:48:05
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv30216/phpslash-ft/public_html Modified Files: submission.php3 Log Message: Admin messages should be available for translation now. Index: submission.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/submission.php3,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** submission.php3 10 Jan 2003 18:36:08 -0000 1.18 --- submission.php3 23 Jan 2003 02:48:02 -0000 1.19 *************** *** 53,62 **** logwrite("Story Submission", "$REMOTE_ADDR submitted a story"); $content .= pslgetText('Thanks for this submission. We have it and will set our fearless editorial staff upon it right this second.') . "<br>\n"; ! // send email for new submission. if ($_PSL[submitnotify]) { ! $ary['tpl'] = "emailNotifySubmission"; $ary['vars'] = $HTTP_POST_VARS; ! $success = emailNotify($ary); ! } } else { $content .= "<FONT COLOR=RED>".pslgetText("Something broke, I'm not sure what though??")."</FONT>\n"; --- 53,62 ---- logwrite("Story Submission", "$REMOTE_ADDR submitted a story"); $content .= pslgetText('Thanks for this submission. We have it and will set our fearless editorial staff upon it right this second.') . "<br>\n"; ! // send email for new submission. if ($_PSL[submitnotify]) { ! $ary['tpl'] = "emailNotifySubmission"; $ary['vars'] = $HTTP_POST_VARS; ! $success = emailNotify($ary); ! } } else { $content .= "<FONT COLOR=RED>".pslgetText("Something broke, I'm not sure what though??")."</FONT>\n"; |
From: Joe S. <joe...@us...> - 2003-01-23 02:48:05
|
Update of /cvsroot/phpslash/phpslash-ft In directory sc8-pr-cvs1:/tmp/cvs-serv30216/phpslash-ft Modified Files: CHANGES Log Message: Admin messages should be available for translation now. Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.667 retrieving revision 1.668 diff -C2 -d -r1.667 -r1.668 *** CHANGES 22 Jan 2003 19:57:51 -0000 1.667 --- CHANGES 23 Jan 2003 02:48:02 -0000 1.668 *************** *** 13,16 **** --- 13,24 ---- 9 - Removal of something (kill -9 :) + 2003-January-22 8:30PM CST Joe Stewart <joe...@us...> + [W] - en.php3, Topic.class, Submission.class, Story_admin.class, + Story_base.class, Story.class, Section.class, Poll.class, + MailingList.class, submission.php3, submissionAdmin.php3, + sectionAdmin.php3, pollAdmin.php3 - Admin messages should be available + for translation now. + slash-all.sql - Added Submission Queue block. + 2003-January-22 1:30PM CST Joe Stewart <joe...@us...> [W] - en.php3, Infolog.class - Translated Infolog Admin messages. |
From: Joe S. <joe...@us...> - 2003-01-22 19:57:55
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv2983/phpslash-ft/class Modified Files: Infolog.class Log Message: tranlated Infolog Admin messages Index: Infolog.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Infolog.class,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Infolog.class 20 Dec 2002 22:17:29 -0000 1.8 --- Infolog.class 22 Jan 2003 19:57:52 -0000 1.9 *************** *** 59,65 **** function deleteAllLogs() { ! $this->message .= 'Deleting all log entries....'; $this->db->query("DELETE FROM psl_infolog"); ! $this->message .= "Done!<br>\n"; return true; } --- 59,65 ---- function deleteAllLogs() { ! $this->message .= pslgetText('Deleting all log entries....'); $this->db->query("DELETE FROM psl_infolog"); ! $this->message .= pslgetText("Done!")."<br>\n"; return true; } *************** *** 76,82 **** function deleteLogByID($id) { while( list( $key, $val) = each( $id )) { ! $this->message .= "Deleting log entry $val..."; $this->db->query("DELETE FROM psl_infolog WHERE id='$val'"); ! $this->message .= "Done!<br>\n"; } logwrite("Infolog Record Delete", $id); --- 76,82 ---- function deleteLogByID($id) { while( list( $key, $val) = each( $id )) { ! $this->message .= pslgetText("Deleting log entry ")."$val..."; $this->db->query("DELETE FROM psl_infolog WHERE id='$val'"); ! $this->message .= pslgetText("Done!")."<br>\n"; } logwrite("Infolog Record Delete", $id); |
From: Joe S. <joe...@us...> - 2003-01-22 19:57:55
|
Update of /cvsroot/phpslash/phpslash-ft In directory sc8-pr-cvs1:/tmp/cvs-serv2983/phpslash-ft Modified Files: CHANGES Log Message: tranlated Infolog Admin messages Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.666 retrieving revision 1.667 diff -C2 -d -r1.666 -r1.667 *** CHANGES 22 Jan 2003 19:51:10 -0000 1.666 --- CHANGES 22 Jan 2003 19:57:51 -0000 1.667 *************** *** 14,17 **** --- 14,20 ---- 2003-January-22 1:30PM CST Joe Stewart <joe...@us...> + [W] - en.php3, Infolog.class - Translated Infolog Admin messages. + + 2003-January-22 1:30PM CST Joe Stewart <joe...@us...> [W] - en.php3, Glossary.class, glossaryAdmin.php3 - Translated Glossary Admin messages. |
From: Joe S. <joe...@us...> - 2003-01-22 19:57:55
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale In directory sc8-pr-cvs1:/tmp/cvs-serv2983/phpslash-ft/class/locale Modified Files: en.php3 Log Message: tranlated Infolog Admin messages Index: en.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/en.php3,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** en.php3 22 Jan 2003 19:51:12 -0000 1.12 --- en.php3 22 Jan 2003 19:57:52 -0000 1.13 *************** *** 587,590 **** --- 587,599 ---- // Infolog.class + "Deleting all log entries...." => + "Deleting all log entries....", + + "Done!" => + "Done!", + + "Deleting log entry " => + "Deleting log entry ", + // Mailinglist.class "Email Headline Updates" => |
From: Joe S. <joe...@us...> - 2003-01-22 19:51:15
|
Update of /cvsroot/phpslash/phpslash-ft In directory sc8-pr-cvs1:/tmp/cvs-serv31486/phpslash-ft Modified Files: CHANGES Log Message: tranlated Glossary Admin messages Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.665 retrieving revision 1.666 diff -C2 -d -r1.665 -r1.666 *** CHANGES 22 Jan 2003 19:12:29 -0000 1.665 --- CHANGES 22 Jan 2003 19:51:10 -0000 1.666 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2003-January-22 1:30PM CST Joe Stewart <joe...@us...> + [W] - en.php3, Glossary.class, glossaryAdmin.php3 - Translated Glossary Admin + messages. + 2003-January-22 1:00PM CST Joe Stewart <joe...@us...> [W] - functions.inc, lib.resources.php, slashDb.class, tz.class, phpslash.sgml - renamed "error" function to pslError. |
From: Joe S. <joe...@us...> - 2003-01-22 19:51:15
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory sc8-pr-cvs1:/tmp/cvs-serv31486/phpslash-ft/public_html/admin Modified Files: glossaryAdmin.php3 Log Message: tranlated Glossary Admin messages Index: glossaryAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/glossaryAdmin.php3,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** glossaryAdmin.php3 20 Dec 2002 22:17:32 -0000 1.7 --- glossaryAdmin.php3 22 Jan 2003 19:51:12 -0000 1.8 *************** *** 70,76 **** if ($glossary->saveGlossary($ary)) { ! $content .= "<em>$glossary_term[$key]</em> has been updated<BR>\n"; } else { ! $content .= "<em>$glossary_term[$key]</em> has <strong>not</strong> been updated<BR>\n"; } --- 70,76 ---- if ($glossary->saveGlossary($ary)) { ! $content .= "<em>$glossary_term[$key]</em> ".pslgetText("has been updated")."<BR>\n"; } else { ! $content .= "<em>$glossary_term[$key]</em> ".pslgetText("has not been updated")."<BR>\n"; } |
From: Joe S. <joe...@us...> - 2003-01-22 19:51:15
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale In directory sc8-pr-cvs1:/tmp/cvs-serv31486/phpslash-ft/class/locale Modified Files: en.php3 Log Message: tranlated Glossary Admin messages Index: en.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/en.php3,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** en.php3 22 Jan 2003 18:55:38 -0000 1.11 --- en.php3 22 Jan 2003 19:51:12 -0000 1.12 *************** *** 212,215 **** --- 212,221 ---- // glossaryAdmin.php3 + "has been updated" => + "has been updated", + + "has not been updated" => + "has not been updated", + // infologAdmin.php3 // mailinglistAdmin.php3 *************** *** 509,513 **** "Add a new Term" => "Add a new Term", ! // Group.class "There is no group_name in Group.class::saveGroup" => --- 515,531 ---- "Add a new Term" => "Add a new Term", ! ! "Glossary Edit" => ! "Glossary Edit", ! ! "There is no term in Glossary.class::saveGlossary" => ! "There is no term in Glossary.class::saveGlossary", ! ! "There is no def in Glossary.class::saveGlossary" => ! "There is no def in Glossary.class::saveGlossary", ! ! "Add a new Term" => ! "Add a new Term", ! // Group.class "There is no group_name in Group.class::saveGroup" => *************** *** 736,742 **** "Comment Administration" => "Comment Administration", - - "Glossary Administration" => - "Glossary Administration", "Poll Administration" => --- 754,757 ---- |
From: Joe S. <joe...@us...> - 2003-01-22 19:13:04
|
Update of /cvsroot/phpslash/phpslash-ft In directory sc8-pr-cvs1:/tmp/cvs-serv3066/phpslash-ft Modified Files: CHANGES Log Message: error function is now pslError Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.664 retrieving revision 1.665 diff -C2 -d -r1.664 -r1.665 *** CHANGES 22 Jan 2003 18:48:17 -0000 1.664 --- CHANGES 22 Jan 2003 19:12:29 -0000 1.665 *************** *** 13,29 **** 9 - Removal of something (kill -9 :) ! 2003-January-21 12:30PM CST Joe Stewart <joe...@us...> [W] - en.php3, Group.class - renamed duplicate getName and getId functions. Translated Group Admin messages. ! 2003-January-21 11:30AM CST Joe Stewart <joe...@us...> [W] - en.php3, Comment.class, comment.php3, commentAdmin.php3 - Comment messages translated. ! 2003-January-21 11:30AM CST Joe Stewart <joe...@us...> [W] - en.php3, blockAdmin.php3, Block.class, Block_i.class, Block_admin.class - Block messages translated. ! 2003-January-21 10:00AM CST Joe Stewart <joe...@us...> [B] - config-dist.php3, config.php3 - correct inclusion of auth4.inc and page4.inc for correct php4 session usage. --- 13,32 ---- 9 - Removal of something (kill -9 :) ! 2003-January-22 1:00PM CST Joe Stewart <joe...@us...> ! [W] - functions.inc, lib.resources.php, slashDb.class, tz.class, phpslash.sgml - renamed "error" function to pslError. ! ! 2003-January-22 12:30PM CST Joe Stewart <joe...@us...> [W] - en.php3, Group.class - renamed duplicate getName and getId functions. Translated Group Admin messages. ! 2003-January-22 11:30AM CST Joe Stewart <joe...@us...> [W] - en.php3, Comment.class, comment.php3, commentAdmin.php3 - Comment messages translated. ! 2003-January-22 11:30AM CST Joe Stewart <joe...@us...> [W] - en.php3, blockAdmin.php3, Block.class, Block_i.class, Block_admin.class - Block messages translated. ! 2003-January-22 10:00AM CST Joe Stewart <joe...@us...> [B] - config-dist.php3, config.php3 - correct inclusion of auth4.inc and page4.inc for correct php4 session usage. |
From: Joe S. <joe...@us...> - 2003-01-22 19:12:39
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv3066/phpslash-ft/class Modified Files: functions.inc lib.resources.php slashDB.class tz.class Log Message: error function is now pslError Index: functions.inc =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/functions.inc,v retrieving revision 1.123 retrieving revision 1.124 diff -C2 -d -r1.123 -r1.124 *** functions.inc 14 Jan 2003 18:20:56 -0000 1.123 --- functions.inc 22 Jan 2003 19:12:31 -0000 1.124 *************** *** 49,53 **** Parameters : $msg -> The message you want to return to someone ****************************************************************************/ ! function error ($msg) { echo getMessage( $msg, "error"); --- 49,53 ---- Parameters : $msg -> The message you want to return to someone ****************************************************************************/ ! function pslError($msg) { echo getMessage( $msg, "error"); *************** *** 1018,1022 **** $filename = sprintf('%s/%s.%s.php3',$_PSL['localedir'],$locale,$category); if (!is_readable($filename)) { ! error("psl_getLocalinfo: file either nonexistent or not readable: $filename"); } else { --- 1018,1022 ---- $filename = sprintf('%s/%s.%s.php3',$_PSL['localedir'],$locale,$category); if (!is_readable($filename)) { ! pslError("psl_getLocalinfo: file either nonexistent or not readable: $filename"); } else { Index: lib.resources.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/lib.resources.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lib.resources.php 19 Dec 2002 12:27:56 -0000 1.3 --- lib.resources.php 22 Jan 2003 19:12:32 -0000 1.4 *************** *** 91,95 **** } /* end if class_exists($class) */ else { ! error("No such class: $class"); return false; } --- 91,95 ---- } /* end if class_exists($class) */ else { ! pslError("No such class: $class"); return false; } *************** *** 319,323 **** $success = true; if (!is_valid_urn($urn)) { ! error("Resource $urn is not known."); $success = false; } --- 319,323 ---- $success = true; if (!is_valid_urn($urn)) { ! pslError("Resource $urn is not known."); $success = false; } *************** *** 333,337 **** if (!in_array($req,$includedFiles)) { if (!include_once($req)) { ! error("Include failed: $req."); $success = false; } --- 333,337 ---- if (!in_array($req,$includedFiles)) { if (!include_once($req)) { ! pslError("Include failed: $req."); $success = false; } *************** *** 463,465 **** } ! ?> \ No newline at end of file --- 463,465 ---- } ! ?> Index: slashDB.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/slashDB.class,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** slashDB.class 21 Nov 2002 18:59:06 -0000 1.6 --- slashDB.class 22 Jan 2003 19:12:32 -0000 1.7 *************** *** 53,58 **** die("Session halted."); } else { ! error(sprintf("Database error: MySQL Error (%s). Please contact the webmaster and report the exact error message.", $this->Errno)); ! die("Session halted."); } } --- 53,58 ---- die("Session halted."); } else { ! pslError(sprintf("Database error: MySQL Error (%s). Please contact the webmaster and report the exact error message.", $this->Errno)); ! die("Session halted."); } } Index: tz.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/tz.class,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tz.class 20 Dec 2002 22:17:30 -0000 1.3 --- tz.class 22 Jan 2003 19:12:33 -0000 1.4 *************** *** 346,350 **** $old_name = $this->name; if (!$this->select($ary['region'])) { ! error($this->error); return false; } --- 346,350 ---- $old_name = $this->name; if (!$this->select($ary['region'])) { ! pslError($this->error); return false; } *************** *** 369,371 **** } ! ?> \ No newline at end of file --- 369,371 ---- } ! ?> |
From: Joe S. <joe...@us...> - 2003-01-22 19:12:38
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html In directory sc8-pr-cvs1:/tmp/cvs-serv3066/phpslash-ft/doc/html Modified Files: phpslash.sgml Log Message: error function is now pslError Index: phpslash.sgml =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/phpslash.sgml,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** phpslash.sgml 9 Jan 2003 17:32:54 -0000 1.65 --- phpslash.sgml 22 Jan 2003 19:12:34 -0000 1.66 *************** *** 1941,1945 **** doOtherFunction($foo, "bar"); } else { ! error("You *are* stupid! Don't do that"); } } --- 1941,1945 ---- doOtherFunction($foo, "bar"); } else { ! pslError("You *are* stupid! Don't do that"); } } |
From: Joe S. <joe...@us...> - 2003-01-22 18:55:45
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale In directory sc8-pr-cvs1:/tmp/cvs-serv23567/phpslash-ft/class/locale Modified Files: en.php3 Log Message: duplicate getName and getId function names Index: en.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/en.php3,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** en.php3 22 Jan 2003 18:23:53 -0000 1.10 --- en.php3 22 Jan 2003 18:55:38 -0000 1.11 *************** *** 509,513 **** "Add a new Term" => "Add a new Term", ! // Infolog.class // Mailinglist.class --- 509,571 ---- "Add a new Term" => "Add a new Term", ! ! // Group.class ! "There is no group_name in Group.class::saveGroup" => ! "There is no group_name in Group.class::saveGroup", ! ! "There is no description in Group.class::saveGroup" => ! "There is no description in Group.class::saveGroup", ! ! "Group information updated" => ! "Group information updated", ! ! "Group information saved" => ! "Group information saved", ! ! "No section chosen." => ! "No section chosen.", ! ! "Sorry, this group is assigned to author " => ! "Sorry, this group is assigned to author ", ! ! "Sorry, this group is assigned to group" => ! "Sorry, this group is assigned to group", ! ! " Group not deleted" => ! " Group not deleted", ! ! "Group deleted" => ! "Group deleted", ! ! "There is no permission_name in Permission.class::savePermission" => ! "There is no permission_name in Permission.class::savePermission", ! ! "There is no description in Permission.class::savePermission" => ! "There is no description in Permission.class::savePermission", ! ! "Permission information updated" => ! "Permission information updated", ! ! "Permission information saved" => ! "Permission information saved", ! ! "Sorry, this permission is assigned to group " => ! "Sorry, this permission is assigned to group ", ! ! " Permission not deleted" => ! " Permission not deleted", ! ! "Permission deleted" => ! "Permission deleted", ! ! "All Sections" => ! "All Sections", ! ! "[Edit]" => ! "[Edit]", ! ! "[Delete]" => ! "[Delete]", ! // Infolog.class // Mailinglist.class |
From: Joe S. <joe...@us...> - 2003-01-22 18:48:23
|
Update of /cvsroot/phpslash/phpslash-ft In directory sc8-pr-cvs1:/tmp/cvs-serv16418/phpslash-ft Modified Files: CHANGES Log Message: duplicate getName and getId function names Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.663 retrieving revision 1.664 diff -C2 -d -r1.663 -r1.664 *** CHANGES 22 Jan 2003 18:24:23 -0000 1.663 --- CHANGES 22 Jan 2003 18:48:17 -0000 1.664 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2003-January-21 12:30PM CST Joe Stewart <joe...@us...> + [W] - en.php3, Group.class - renamed duplicate getName and getId functions. + Translated Group Admin messages. + 2003-January-21 11:30AM CST Joe Stewart <joe...@us...> [W] - en.php3, Comment.class, comment.php3, commentAdmin.php3 - Comment |
From: Joe S. <joe...@us...> - 2003-01-22 18:48:22
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv16418/phpslash-ft/class Modified Files: Group.class Log Message: duplicate getName and getId function names Index: Group.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Group.class,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Group.class 20 Dec 2002 22:17:29 -0000 1.5 --- Group.class 22 Jan 2003 18:48:18 -0000 1.6 *************** *** 43,47 **** $this->permission_templ->debug = 0; $this->permission_templ->set_file(array( ! 'listpermission' => "permissionList.tpl", 'newpermission' => "permissionNew.tpl" --- 43,47 ---- $this->permission_templ->debug = 0; $this->permission_templ->set_file(array( ! 'listpermission' => "permissionList.tpl", 'newpermission' => "permissionNew.tpl" *************** *** 159,163 **** group_description = '$ary[description]' WHERE group_id = '$ary[group_id]'"; ! $this->message = "Group information updated"; } else { --- 159,163 ---- group_description = '$ary[description]' WHERE group_id = '$ary[group_id]'"; ! $this->message = "Group information updated"; } else { *************** *** 171,175 **** '$ary[group_name]', '$ary[description]')"; ! $this->message = "Group information saved"; } --- 171,175 ---- '$ary[group_name]', '$ary[description]')"; ! $this->message = "Group information saved"; } *************** *** 212,218 **** } else { // groups of groups need choose no perms. ! // $this->message = "No permission chosen."; ! // $status = false; ! // return $status; } --- 212,218 ---- } else { // groups of groups need choose no perms. ! // $this->message = "No permission chosen."; ! // $status = false; ! // return $status; } *************** *** 276,280 **** $name = $this->db->Record["author_name"]; $author_id = $this->db->Record["author_id"]; ! $this->message = "Sorry, this group is assigned to author ".$name."(".$author_id.")"; } --- 276,280 ---- $name = $this->db->Record["author_name"]; $author_id = $this->db->Record["author_id"]; ! $this->message = pslgetText("Sorry, this group is assigned to author ").$name."(".$author_id.")"; } *************** *** 292,296 **** $group_id = $this->db->Record["group_id"]; $group_name = $this->db->Record["group_name"]; ! $this->message = "Sorry, this group is assigned to group ".$group_name."(".$group_id.")"; } --- 292,296 ---- $group_id = $this->db->Record["group_id"]; $group_name = $this->db->Record["group_name"]; ! $this->message = pslgetText("Sorry, this group is assigned to group ").$group_name."(".$group_id.")"; } *************** *** 593,605 **** /** ! * getName - return name assign to id * ! * when given a group id, getName returns the name * * @param integer id * @access public ! * return author_name */ ! function getName($id) { if (!$id) { return false; --- 593,605 ---- /** ! * getGroupName - return name assign to id * ! * when given a group id, getGroupName returns the name * * @param integer id * @access public ! * return group_name */ ! function getGroupName($id) { if (!$id) { return false; *************** *** 615,621 **** /** ! * getId - return id assign to name * ! * when given a name, getId returns the id * * @param string name --- 615,621 ---- /** ! * getGroupId - return id assign to name * ! * when given a name, getGroupId returns the id * * @param string name *************** *** 623,627 **** * return group_id */ ! function getId($name) { if (!$name) { return false; --- 623,627 ---- * return group_id */ ! function getGroupId($name) { if (!$name) { return false; *************** *** 694,702 **** $permission_id = $this->db->Record['permission_id']; if ($this->perm->have_perm("permissionAdmin")) { ! $admin = "<A HREF=\"" . $this->psl['phpself'] . "?submit=editperm" . $this->psl['amp'] . "permission_id=$permission_id\">[Edit]</A>"; ! $admin .= " <A HREF=\"" . $this->psl['phpself'] . "?submit=deleteperm" . $this->psl['amp'] . "permission_id=$permission_id\">[Delete]</A>"; } else { ! $admin = " <A HREF=\"" . $this->psl['phpself'] . "?submit=deleteperm" . $this->psl['amp'] . "permission_id=$permission_id\">[Delete]</A>"; } $this->permission_templ->set_var(array( --- 694,702 ---- $permission_id = $this->db->Record['permission_id']; if ($this->perm->have_perm("permissionAdmin")) { ! $admin = "<A HREF=\"" . $this->psl['phpself'] . "?submit=editperm" . $this->psl['amp'] . "permission_id=$permission_id\">".pslgetText("[Edit]")."</A>"; ! $admin .= " <A HREF=\"" . $this->psl['phpself'] . "?submit=deleteperm" . $this->psl['amp'] . "permission_id=$permission_id\">".pslgetText("[Delete]")."</A>"; } else { ! $admin = " <A HREF=\"" . $this->psl['phpself'] . "?submit=deleteperm" . $this->psl['amp'] . "permission_id=$permission_id\">".pslgetText("[Delete]")."</A>"; } $this->permission_templ->set_var(array( *************** *** 704,708 **** 'PERMISSION_ID' => $permission_id, 'PERMISSION_DESCRIPTION' => $this->db->Record['permission_description'], ! 'ACTION_URL' => $this->psl['phpself'], 'ADMIN' => $admin )); --- 704,708 ---- 'PERMISSION_ID' => $permission_id, 'PERMISSION_DESCRIPTION' => $this->db->Record['permission_description'], ! 'ACTION_URL' => $this->psl['phpself'], 'ADMIN' => $admin )); *************** *** 756,760 **** permission_description = '$ary[description]' WHERE permission_id = '$ary[permission_id]'"; ! $this->message = "Permission information updated"; } else { --- 756,760 ---- permission_description = '$ary[description]' WHERE permission_id = '$ary[permission_id]'"; ! $this->message = "Permission information updated"; } else { *************** *** 768,772 **** '$ary[permission_name]', '$ary[description]')"; ! $this->message = "Permission information saved"; } --- 768,772 ---- '$ary[permission_name]', '$ary[description]')"; ! $this->message = "Permission information saved"; } *************** *** 812,816 **** $group_id = $this->db->Record["group_id"]; $group_name = $this->db->Record["group_name"]; ! $this->message = "Sorry, this permission is assigned to group ".$group_name."(".$group_id.")"; } --- 812,816 ---- $group_id = $this->db->Record["group_id"]; $group_name = $this->db->Record["group_name"]; ! $this->message = pslgetText("Sorry, this permission is assigned to group ").$group_name."(".$group_id.")"; } *************** *** 851,863 **** } else { ! $q = "SELECT permission_id, permission_name, permission_description ! FROM psl_permission WHERE permission_id = '$ary[permission_id]'"; $this->db->query($q); $this->db->next_record(); $this->permission_templ->set_var(array( ! 'TITLEBAR' => getTitlebar("100%","Edit Permission"), 'PERMISSION_ID' => $this->db->Record["permission_id"], 'PERMISSION_NAME' => $this->db->Record["permission_name"], --- 851,863 ---- } else { ! $q = "SELECT permission_id, permission_name, permission_description ! FROM psl_permission WHERE permission_id = '$ary[permission_id]'"; $this->db->query($q); $this->db->next_record(); $this->permission_templ->set_var(array( ! 'TITLEBAR' => getTitlebar("100%","Edit Permission"), 'PERMISSION_ID' => $this->db->Record["permission_id"], 'PERMISSION_NAME' => $this->db->Record["permission_name"], *************** *** 874,886 **** /** ! * getName - return name assign to id * ! * when given a permission id, getName returns the name * * @param integer id * @access public ! * return author_name */ ! function getName($id) { if (!$id) { return false; --- 874,886 ---- /** ! * getPermName - return name assign to id * ! * when given a permission id, getPermName returns the name * * @param integer id * @access public ! * return permission_name */ ! function getPermName($id) { if (!$id) { return false; *************** *** 896,902 **** /** ! * getId - return id assign to name * ! * when given a name, getId returns the id * * @param string name --- 896,902 ---- /** ! * getPermId - return id assign to name * ! * when given a name, getPermId returns the id * * @param string name *************** *** 904,908 **** * return permission_id */ ! function getId($name) { if (!$name) { return false; --- 904,908 ---- * return permission_id */ ! function getPermId($name) { if (!$name) { return false; |
From: Joe S. <joe...@us...> - 2003-01-22 18:24:27
|
Update of /cvsroot/phpslash/phpslash-ft In directory sc8-pr-cvs1:/tmp/cvs-serv24280/phpslash-ft Modified Files: CHANGES Log Message: Comment messages translated Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.662 retrieving revision 1.663 diff -C2 -d -r1.662 -r1.663 *** CHANGES 22 Jan 2003 17:28:41 -0000 1.662 --- CHANGES 22 Jan 2003 18:24:23 -0000 1.663 *************** *** 14,17 **** --- 14,21 ---- 2003-January-21 11:30AM CST Joe Stewart <joe...@us...> + [W] - en.php3, Comment.class, comment.php3, commentAdmin.php3 - Comment + messages translated. + + 2003-January-21 11:30AM CST Joe Stewart <joe...@us...> [W] - en.php3, blockAdmin.php3, Block.class, Block_i.class, Block_admin.class - Block messages translated. |
From: Joe S. <joe...@us...> - 2003-01-22 18:24:00
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory sc8-pr-cvs1:/tmp/cvs-serv23684/phpslash-ft/public_html/admin Modified Files: commentAdmin.php3 Log Message: Comment messages translated Index: commentAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/commentAdmin.php3,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** commentAdmin.php3 20 Dec 2002 22:17:32 -0000 1.16 --- commentAdmin.php3 22 Jan 2003 18:23:54 -0000 1.17 *************** *** 43,47 **** case "delete": if ($cmt->delete($HTTP_GET_VARS['comment_id'], $HTTP_GET_VARS['story_id'])) { ! $content .= "The comment was deleted<br>\n"; // expire cache for this story_id --- 43,47 ---- case "delete": if ($cmt->delete($HTTP_GET_VARS['comment_id'], $HTTP_GET_VARS['story_id'])) { ! $content .= pslgetText("The comment was deleted")."<br>\n"; // expire cache for this story_id *************** *** 60,73 **** $bulkdel_ary = $HTTP_POST_VARS['bulkdel_ary']; if (count($bulkdel_ary) == 0) { ! $content .= "You didn't select any items to delete!"; } else { for ($i = 0 ; $i < count($bulkdel_ary) ; $i++) { if ($cmt->delete($bulkdel_ary[$i], $HTTP_POST_VARS['story_id'])) { ! $content .= "Comment #" . $bulkdel_ary[$i] . " has been deleted\n"; // expire cache for this story_id jpcache_gc('string', "-story_id-" . $HTTP_POST_VARS['story_id'], "100"); } else { ! $content .= "There was an ERROR <em>deleting</em> comment #" . $bulkdel_ary[$i] . "\n"; } } --- 60,73 ---- $bulkdel_ary = $HTTP_POST_VARS['bulkdel_ary']; if (count($bulkdel_ary) == 0) { ! $content .= getMessage("You didn't select any items to delete!"); } else { for ($i = 0 ; $i < count($bulkdel_ary) ; $i++) { if ($cmt->delete($bulkdel_ary[$i], $HTTP_POST_VARS['story_id'])) { ! $content .= sprintf(pslgetText("Comment # %s has been deleted."), $bulkdel_ary[$i])."\n"; // expire cache for this story_id jpcache_gc('string', "-story_id-" . $HTTP_POST_VARS['story_id'], "100"); } else { ! $content .= pslgetText("There was an ERROR deleting comment #") . $bulkdel_ary[$i] . "\n"; } } *************** *** 78,84 **** $content .= getTitlebar("100%", "Mark Comment Pending"); if ($cmt->markPending($HTTP_GET_VARS['comment_id'], $HTTP_GET_VARS['story_id'])) { ! $content .= getMessage(sprintf("Marked comment # %s as pending", $HTTP_GET_VARS['comment_id'])); } else { ! $content .= getError(sprintf("There was an ERROR <em>marking</em> comment # %s as <em>pending</em>.", $HTTP_GET_VARS['comment_id'])); } break; --- 78,84 ---- $content .= getTitlebar("100%", "Mark Comment Pending"); if ($cmt->markPending($HTTP_GET_VARS['comment_id'], $HTTP_GET_VARS['story_id'])) { ! $content .= getMessage(sprintf(pslgetText("Marked comment # %s as pending"), $HTTP_GET_VARS['comment_id'])); } else { ! $content .= getError(sprintf(pslgetText("There was an ERROR marking comment # %s as pending."), $HTTP_GET_VARS['comment_id'])); } break; *************** *** 86,92 **** $content .= getTitlebar("100%","Unmark Pending Comment"); if ($cmt->unmarkPending($HTTP_GET_VARS['comment_id'], $HTTP_GET_VARS['story_id'])) { ! $content .= getMessage(sprintf("Unmarked pending comment %s", $HTTP_GET_VARS['comment_id'])); } else { ! $content .= getError("There was an ERROR <em>unmarking</em> the comment as <em>pending</em>."); } break; --- 86,92 ---- $content .= getTitlebar("100%","Unmark Pending Comment"); if ($cmt->unmarkPending($HTTP_GET_VARS['comment_id'], $HTTP_GET_VARS['story_id'])) { ! $content .= getMessage(sprintf(pslgetText("Unmarked pending comment %s"), $HTTP_GET_VARS['comment_id'])); } else { ! $content .= getError("There was an ERROR unmarking the comment as pending."); } break; *************** *** 146,153 **** default: $content .= getTitlebar("100%", "Error! No Action"); ! $content .= "This is how the Comment Administration works. You tell the \$action variable what you want to do, and then I go about ! doing it. You're getting this message because I didn't find ! an \$action variable that I could use. This is what \$action ! is right now: '$action'\n"; } --- 146,150 ---- default: $content .= getTitlebar("100%", "Error! No Action"); ! $content .= "This is how the Comment Administration works. You tell the \$action variable what you want to do, and then I go about doing it. You're getting this message because I didn't find an \$action variable that I could use. This is what \$action is right now: '$action'\n"; } |
From: Joe S. <joe...@us...> - 2003-01-22 18:23:59
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv23684/phpslash-ft/public_html Modified Files: comment.php3 Log Message: Comment messages translated Index: comment.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/comment.php3,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** comment.php3 20 Dec 2002 22:17:31 -0000 1.27 --- comment.php3 22 Jan 2003 18:23:54 -0000 1.28 *************** *** 51,55 **** $content .= "<BR>Click <A HREF=\"" . $return_link . "\">here</A> to go back<BR>\n"; if ($ary['parent_id']) { ! $content .= "<A HREF=\"" . $_PSL[rooturl] . "/comment.php3?submit=view&story_id=$ary[story_id]&comment_id=$ary[parent_id]&mode=flat\">View Parent Comment</A>\n"; } --- 51,55 ---- $content .= "<BR>Click <A HREF=\"" . $return_link . "\">here</A> to go back<BR>\n"; if ($ary['parent_id']) { ! $content .= "<A HREF=\"" . $_PSL[rooturl] . "/comment.php3?submit=view&story_id=$ary[story_id]&comment_id=$ary[parent_id]&mode=flat\">".pslgetText("View Parent Comment")."</A>\n"; } |
From: Joe S. <joe...@us...> - 2003-01-22 18:23:57
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv23684/phpslash-ft/class Modified Files: Comment.class Log Message: Comment messages translated Index: Comment.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Comment.class,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** Comment.class 20 Dec 2002 22:17:29 -0000 1.40 --- Comment.class 22 Jan 2003 18:23:53 -0000 1.41 *************** *** 354,358 **** break; default: ! error("Comment::getAllComments: I'm confused with the mode variable: '$this->mode'"); } --- 354,358 ---- break; default: ! $allcomments = sprintf(pslgetText("Comment::getAllComments: I'm confused with the mode variable: '%s'"), $this->mode); } |
From: Joe S. <joe...@us...> - 2003-01-22 18:23:56
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale In directory sc8-pr-cvs1:/tmp/cvs-serv23684/phpslash-ft/class/locale Modified Files: en.php3 Log Message: Comment messages translated Index: en.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/en.php3,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** en.php3 22 Jan 2003 17:28:41 -0000 1.9 --- en.php3 22 Jan 2003 18:23:53 -0000 1.10 *************** *** 27,32 **** "You didn't supply a good submit value", ! // commentShow.php3 ! // commentSubmit.php3 // config.php3 --- 27,42 ---- "You didn't supply a good submit value", ! "View Parent Comment" => ! "View Parent Comment", ! ! "Submitted Comment" => ! "Submitted Comment", ! ! "Login required to post comments" => ! "Login required to post comments", ! ! "Comment Error!" => ! "Comment Error!", ! // config.php3 *************** *** 157,165 **** "The Block has been Deleted" => "The Block has been Deleted", - - - // commentAdmin.php3 // glossaryAdmin.php3 // infologAdmin.php3 --- 167,214 ---- "The Block has been Deleted" => "The Block has been Deleted", // commentAdmin.php3 + "The comment was deleted" => + "The comment was deleted", + + "You didn't select any items to delete!" => + "You didn't select any items to delete!", + + "Comment # %s has been deleted." => + "Comment # %s has been deleted.", + + "There was an ERROR deleting comment #" => + "There was an ERROR deleting comment #", + + "Mark Comment Pending" => + "Mark Comment Pending", + + "Marked comment # %s as pending" => + "Marked comment # %s as pending", + + "There was an ERROR marking comment # %s as pending." => + "There was an ERROR marking comment # %s as pending.", + + "Unmark Pending Comment" => + "Unmark Pending Comment", + + "Unmarked pending comment %s" => + "Unmarked pending comment %s", + + "There was an ERROR unmarking the comment as pending." => + "There was an ERROR unmarking the comment as pending.", + + "The comment was moved up one level." => + "The comment was moved up one level.", + + "The comment was moved to the top." => + "The comment was moved to the top.", + + "Edit Comment" => + "Edit Comment", + + "Error! No Action" => + "Error! No Action", + // glossaryAdmin.php3 // infologAdmin.php3 *************** *** 348,351 **** --- 397,509 ---- "Show Pending", + "Comment::getAllComments: I'm confused with the mode variable: '%s'" => + "Comment::getAllComments: I'm confused with the mode variable: '%s'", + + "Anonymous Poster" => + "Anonymous Poster", + + "Comment::update - comment_text is blank" => + "Comment::update - comment_text is blank", + + "Comment saved" => + "Comment saved", + + "Comment::update --ERROR-- " => + "Comment::update --ERROR-- ", + + "Comment::update - Adding the comment failed" => + "Comment::update - Adding the comment failed", + + "Comment::update - You don't have any permissions to update a comment" => + "Comment::update - You don't have any permissions to update a comment", + + "Comment::update - the update was good, but nothing changed" => + "Comment::update - the update was good, but nothing changed", + + "Comment::update - the update query failed" => + "Comment::update - the update query failed", + + "Comment::update - can't update comment because I'm missing some data" => + "Comment::update - can't update comment because I'm missing some data", + + "Comment updated" => + "Comment updated", + + "Comment::deleteOne --ERROR-- " => + "Comment::deleteOne --ERROR-- ", + + "Comment::deleteOne - the query for all the children of the comment you're about to delete failed" => + "Comment::deleteOne - the query for all the children of the comment you're about to delete failed", + + "Comment::deleteOne --ERROR-- " => + "Comment::deleteOne --ERROR-- ", + + "Comment::deleteOne - the delete was good, but nothing changed" => + "Comment::deleteOne - the delete was good, but nothing changed", + + "Comment::deleteOne - The delete comment query failed" => + "Comment::deleteOne - The delete comment query failed", + + "Comment::delete - there is no comment_id" => + "Comment::delete - there is no comment_id", + + "Comment::delete - there is no story_id" => + "Comment::delete - there is no story_id", + + "Comment::reparentUp - invalid comment_id or story_id" => + "Comment::reparentUp - invalid comment_id or story_id", + + "Comment::reparentUp - the query to get the parent_id failed" => + "Comment::reparentUp - the query to get the parent_id failed", + + "Comment::reparentUp - the query to get the parent_id returned zero results" => + "Comment::reparentUp - the query to get the parent_id returned zero results", + + "Comment::reparentUp - the comment is already at the root" => + "Comment::reparentUp - the comment is already at the root", + + "Comment::reparentUp - the query to get the NEW parent_id failed" => + "Comment::reparentUp - the query to get the NEW parent_id failed", + + "Comment::reparentUp - the query to get the NEW parent_id returned zero results" => + "Comment::reparentUp - the query to get the NEW parent_id returned zero results", + + "Comment::reparentUp - the update was good, but nothing changed" => + "Comment::reparentUp - the update was good, but nothing changed", + + "Comment::reparentUp - the update failed" => + "Comment::reparentUp - the update failed", + + "Comment::reparentTop - either no comment_id, or no story_id" => + "Comment::reparentTop - either no comment_id, or no story_id", + + "Comment::reparentTop - the query was good, there was just nothing updated" => + "Comment::reparentTop - the query was good, there was just nothing updated", + + "Comment::reparentTop - the query was good, there was just nothing updated" => + "Comment::reparentTop - the query was good, there was just nothing updated", + + "Comment::reparentTop - the query failed" => + "Comment::reparentTop - the query failed", + + "Listing Pending Comments" => + "Listing Pending Comments", + + "Sorry. No Pending Comments" => + "Sorry. No Pending Comments", + + "Comment::decrementCommentCount - The Query Failed" => + "Comment::decrementCommentCount - The Query Failed", + + "Comment::decrementCommentCount - No story_id" => + "Comment::decrementCommentCount - No story_id", + + "Comment::incrementCommentCount - The Query Failed" => + "Comment::incrementCommentCount - The Query Failed", + + "(commentEdit Function): you're trying to update a comment but I couldn't find it?" => + "(commentEdit Function): you're trying to update a comment but I couldn't find it?", + + // Glossary.class "Add a new Term" => |
From: Joe S. <joe...@us...> - 2003-01-22 17:28:46
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv5344/phpslash-ft/class Modified Files: Block.class Block_i.class Block_admin.class Log Message: Block messages translated Index: Block.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Block.class,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Block.class 11 Dec 2002 19:39:53 -0000 1.23 --- Block.class 22 Jan 2003 17:28:42 -0000 1.24 *************** *** 12,16 **** /* Var's to be constructed in constructor */ ! var $db, $block_info, $parser, $parsedData, $parser_arr, $block_ary, $_PSL, $perm; /** --- 12,16 ---- /* Var's to be constructed in constructor */ ! var $db, $block_info, $parser, $parsedData, $parser_arr, $block_ary, $_PSL, $perm, $message; /** *************** *** 85,93 **** $this->db->query("INSERT INTO psl_block_type (id, name) VALUES ('$id','$type')"); if ($this->db->affected_rows != 1) { ! $this->message = "Block Type: $type added with an id of: $id"; ! return true; } else { ! $this->message = "Error entering $type!"; ! return false; } } --- 85,93 ---- $this->db->query("INSERT INTO psl_block_type (id, name) VALUES ('$id','$type')"); if ($this->db->affected_rows != 1) { ! $this->message = sprintf(pslgetText("Block Type: %s added with an id of: %s"), $type, $id); ! return true; } else { ! $this->message = sprintf(pslgetText("Error entering %s!"), $type); ! return false; } } *************** *** 124,129 **** $go_ahead = false; $title = $this->db->Record["title"]; ! $this->message = "Sorry, this block_type($type_name) is assigned to this block:"; ! $this->message .= "<font color=\"red\">'$title'</font><br />\n"; } --- 124,128 ---- $go_ahead = false; $title = $this->db->Record["title"]; ! $this->message = sprintf(pslgetText("Sorry, this block_type(%s) is assigned to this block: %s"), $type_name, $title); } *************** *** 135,139 **** WHERE name = '$type_name'"; $this->db->query($q); ! $this->message = "<i>Block Type $type_name deleted</i>"; return true; --- 134,138 ---- WHERE name = '$type_name'"; $this->db->query($q); ! $this->message = sprintf(pslgetText("Block Type %s deleted"), $type_name); return true; *************** *** 173,179 **** if ($this->db->nf() > 1) { ! $this->error_block("Multiple blocks exsist with id: $id. Stoping."); } elseif ($this->db->nf() < 1) { ! $this->error_block("Block: $id does not exist. Stopping."); } else { --- 172,180 ---- if ($this->db->nf() > 1) { ! $this->message = sprintf(pslgetText("Multiple blocks exist with id: %s. Stopping."), $id); ! return false; } elseif ($this->db->nf() < 1) { ! $this->message = sprintf(pslgetText("Block: %s does not exist. Stopping."), $id); ! return false; } else { *************** *** 194,197 **** --- 195,199 ---- "block_options" => unserialize($this->db->f("block_options")) ); + return true; } *************** *** 224,228 **** $serial_opts=addslashes(serialize($block_options_ary)); ! debug("Block::putBlock", "Adding slashes to block"); while ( list($key, $val) = each($block_array) ) { --- 226,230 ---- $serial_opts=addslashes(serialize($block_options_ary)); ! // debug("Block::putBlock", "Adding slashes to block"); while ( list($key, $val) = each($block_array) ) { *************** *** 232,236 **** if ($block_array["block_id"] != "") { ! $this->message = "Updating Block " . $block_array["block_id"] . "<br>\n"; $section_del = "DELETE FROM psl_section_block_lut --- 234,238 ---- if ($block_array["block_id"] != "") { ! $this->message = sprintf(pslgetText("Updating Block %s. "), $block_array["block_id"]); $section_del = "DELETE FROM psl_section_block_lut *************** *** 239,243 **** // echo "<H3>SECTION_DEL: $section_del</H3>\n"; $this->db->query($section_del); ! $timestamp = time(); $query = "UPDATE psl_block --- 241,245 ---- // echo "<H3>SECTION_DEL: $section_del</H3>\n"; $this->db->query($section_del); ! $timestamp = time(); $query = "UPDATE psl_block *************** *** 260,265 **** } else { ! $this->message = "Creating new block from submitted info.<br>\n"; ! $timestamp = time(); $block_array["block_id"] = generateID("psl_block_seq"); $query = "INSERT INTO psl_block --- 262,267 ---- } else { ! $this->message = pslgetText("Creating new block from submitted info."); ! $timestamp = time(); $block_array["block_id"] = generateID("psl_block_seq"); $query = "INSERT INTO psl_block *************** *** 283,292 **** '$serial_opts') "; ! $this->message .= "Adding the block to the db...<br>\n"; $this->db->query($query); } ! if(is_array($section_id_ary) ) { while ( list( $key, $val ) = each( $section_id_ary ) ) { $lut_id = generateID("psl_section_block_lut_seq"); --- 285,294 ---- '$serial_opts') "; ! $this->message .= pslgetText("Adding the block to the db..."); $this->db->query($query); } ! if(is_array($section_id_ary) ) { while ( list( $key, $val ) = each( $section_id_ary ) ) { $lut_id = generateID("psl_section_block_lut_seq"); *************** *** 300,309 **** # echo "<H3>LUT_INSERT: $lut_insert</H3>\n"; $this->db->query($lut_insert); ! } } else { ! $this->message .= "No section chosen. Block will not be displayed on site till a section is chosen for block: <i>$block_array[block_title]</i><br>\n"; } ! $this->message .= "Checking db...<br>\n"; if ($this->db->affected_rows() == 1) { // $this->message .= "Here's a preview...<br>\n"; --- 302,311 ---- # echo "<H3>LUT_INSERT: $lut_insert</H3>\n"; $this->db->query($lut_insert); ! } } else { ! $this->message .= sprintf(pslgetText("No section chosen. Block will not be displayed on site till a section is chosen for block: %s"), $block_array[block_title]); } ! $this->message .= pslgetText("Checking db..."); if ($this->db->affected_rows() == 1) { // $this->message .= "Here's a preview...<br>\n"; *************** *** 313,322 **** $this->message .= $this->doBlock($block_array["block_id"]); } else { ! $this->message .= "Error adding block. Query returned multiple results.<br>"; return false; } } else { ! $this->message = "Block::putBlock() received data not in an array.<br>\n"; ! return false; } return $this->message; --- 315,324 ---- $this->message .= $this->doBlock($block_array["block_id"]); } else { ! $this->message .= pslgetText("Error adding block. Query returned multiple results."); return false; } } else { ! $this->message = pslgetText("Block::putBlock() received data not in an array."); ! return false; } return $this->message; *************** *** 423,441 **** $parserName = "Block_render_" . $mytype; $parserFile = $parserName . ".class"; ! debug("Block::getParser::parserName",$parserName); static $parser_arr; if( empty($parser_arr[$mytype])) { ! ! /* ! if( @file_exists($this->psl['classdir'] .'/'. $parserFile)) { ! include($this->psl['classdir'] .'/'. $parserFile); ! $parser_arr[$mytype] = new $parserName; ! } else { ! $parser_arr[$mytype] = false; ! } ! */ ! $parser_arr[$mytype] = pslNew($parserName); } $this->parser = $parser_arr[$mytype]; --- 425,434 ---- $parserName = "Block_render_" . $mytype; $parserFile = $parserName . ".class"; ! // debug("Block::getParser::parserName",$parserName); static $parser_arr; if( empty($parser_arr[$mytype])) { ! $parser_arr[$mytype] = pslNew($parserName); } $this->parser = $parser_arr[$mytype]; *************** *** 499,503 **** WHERE id = '$id'"; } ! debug("Block::storeParsed::Update query:", $query); $this->db->query($query); if ($this->db->affected_rows() != 1) { --- 492,496 ---- WHERE id = '$id'"; } ! // debug("Block::storeParsed::Update query:", $query); $this->db->query($query); if ($this->db->affected_rows() != 1) { Index: Block_i.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_i.class,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Block_i.class 20 Dec 2002 22:17:29 -0000 1.24 --- Block_i.class 22 Jan 2003 17:28:42 -0000 1.25 *************** *** 93,101 **** function getBlocks($ary, $column="") { ! debug("Block_i.class::getBlocks::ary", $ary); if ( $this->argv_ary != $ary) { $this->argv_ary = $ary; ! $block_ary = $this->extractBlocks( $ary); } --- 93,101 ---- function getBlocks($ary, $column="") { ! // debug("Block_i.class::getBlocks::ary", $ary); if ( $this->argv_ary != $ary) { $this->argv_ary = $ary; ! $block_ary = $this->extractBlocks( $ary); } *************** *** 103,111 **** for ($i=0; $i < count($this->block_ary); $i++) { ! if( empty($this->block_ary[$i]['block_options']['perms'])) { $output .= $this->parseBlock($this->block_ary[$i], $column); ! } elseif ($this->perm->have_perm($this->block_ary[$i]['block_options']['perms'])) { ! $output .= $this->parseBlock($this->block_ary[$i], $column); ! } } --- 103,111 ---- for ($i=0; $i < count($this->block_ary); $i++) { ! if( empty($this->block_ary[$i]['block_options']['perms'])) { $output .= $this->parseBlock($this->block_ary[$i], $column); ! } elseif ($this->perm->have_perm($this->block_ary[$i]['block_options']['perms'])) { ! $output .= $this->parseBlock($this->block_ary[$i], $column); ! } } *************** *** 150,188 **** } ! $var_ary = ""; if (is_array($ary['block_options'])) { ! // remove column from array ! unset($ary["block_options"]["column"]); ! while( list( $key, $val) = @each( $ary["block_options"] )) { switch($key) { ! case "width": ! // pass width to getFancyBox $width = $ary["block_options"]["width"]; ! // remove width from array ! $ary["block_options"]["width"] = ''; ! break; ! case "box_type": ! // pass box_type to getFancyBox ! $box_type = $ary["block_options"]["box_type"]; ! // remove box_type from array ! $ary["block_options"]["box_type"] = ''; ! break; ! case "perms": ! // remove perms from array ! $ary["block_options"]["perms"] = ''; ! break; ! case "cache_data": ! // remove cache_data from array ! $ary["block_options"]["cache_data"] = ''; ! break; ! default: ! // pluggable user defined function if (!empty($this->psl['block_options_udf'])) { $ary = $this->psl['block_options_udf']($key, $value, $ary); --- 150,188 ---- } ! $var_ary = ""; if (is_array($ary['block_options'])) { ! // remove column from array ! unset($ary["block_options"]["column"]); ! while( list( $key, $val) = @each( $ary["block_options"] )) { switch($key) { ! case "width": ! // pass width to getFancyBox $width = $ary["block_options"]["width"]; ! // remove width from array ! $ary["block_options"]["width"] = ''; ! break; ! case "box_type": ! // pass box_type to getFancyBox ! $box_type = $ary["block_options"]["box_type"]; ! // remove box_type from array ! $ary["block_options"]["box_type"] = ''; ! break; ! case "perms": ! // remove perms from array ! $ary["block_options"]["perms"] = ''; ! break; ! case "cache_data": ! // remove cache_data from array ! $ary["block_options"]["cache_data"] = ''; ! break; ! default: ! // pluggable user defined function if (!empty($this->psl['block_options_udf'])) { $ary = $this->psl['block_options_udf']($key, $value, $ary); *************** *** 190,203 **** // let the fancybox template parse any block options left over. $var_ary = array(strtoupper($key) => $ary['block_options'][$key]); ! $ary['block_options'][$key] = ''; // what is left over? // debug("block_options[$key]", $val); break; ! } ! } } ! debug("Block_i.class::parseBlock::ary", $ary); return getFancyBox($width, $temptitle, $ary["cache_data"],$link, $box_type, $var_ary); --- 190,203 ---- // let the fancybox template parse any block options left over. $var_ary = array(strtoupper($key) => $ary['block_options'][$key]); ! $ary['block_options'][$key] = ''; // what is left over? // debug("block_options[$key]", $val); break; ! } ! } } ! // debug("Block_i.class::parseBlock::ary", $ary); return getFancyBox($width, $temptitle, $ary["cache_data"],$link, $box_type, $var_ary); Index: Block_admin.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_admin.class,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Block_admin.class 20 Dec 2002 22:17:29 -0000 1.6 --- Block_admin.class 22 Jan 2003 17:28:42 -0000 1.7 *************** *** 238,242 **** $this->templ->set_var(array( ! 'TITLEBAR' => getTitlebar("100%", "Update the Current Blocks"), 'MODIFYURL' => $modifyurl, 'DELURL' => $delurl, --- 238,242 ---- $this->templ->set_var(array( ! 'TITLEBAR' => getTitlebar("100%", pslgetText("Update the Current Blocks")), 'MODIFYURL' => $modifyurl, 'DELURL' => $delurl, *************** *** 248,256 **** )); if ($i%2 == 0) { ! $this->templ->parse("rows","row","true"); ! } else { $this->templ->parse("rows","row2","true"); ! } ! $i++; } --- 248,256 ---- )); if ($i%2 == 0) { ! $this->templ->parse("rows","row","true"); ! } else { $this->templ->parse("rows","row2","true"); ! } ! $i++; } *************** *** 276,285 **** )); ! $output = getTitlebar("100%","Manage Block Types"); if( $option == "all") { $fulldirlist = dir($this->psl['classdir']); ! $i=1; while( $eachfile = $fulldirlist->read()) { $each = $this->psl['classdir'] . "/" . $eachfile; --- 276,285 ---- )); ! $output = getTitlebar("100%",pslgetText("Manage Block Types")); if( $option == "all") { $fulldirlist = dir($this->psl['classdir']); ! $i=1; while( $eachfile = $fulldirlist->read()) { $each = $this->psl['classdir'] . "/" . $eachfile; *************** *** 288,294 **** $eachtype = str_replace("Block_render_", "", $eachfile); ! $eachtype = str_replace(".class", "", $eachtype); ! $avail_ary[$eachtype] = $i; ! $i++; } } --- 288,294 ---- $eachtype = str_replace("Block_render_", "", $eachfile); ! $eachtype = str_replace(".class", "", $eachtype); ! $avail_ary[$eachtype] = $i; ! $i++; } } *************** *** 296,314 **** $current_types = $this->getTypes(); ! $this->templ->set_block("listblocktypes", "removerow", "removerows"); while( list($key, $val) = each($current_types) ) { ! $current_type = $val; $this->templ->set_var(array( REMOVENAME => $current_type, ! REMOVEURL => $this->psl['phpself'] ."?option=delete". $this->psl['amp'] ."name=". $current_type ! )); $this->templ->parse("removerows","removerow",true); ! if( isset($avail_ary[$current_type])) { unset($avail_ary[$current_type]); ! } ! } $this->templ->set_block("listblocktypes","addrow","rows"); while( list($key, $val) = each($avail_ary) ) { --- 296,314 ---- $current_types = $this->getTypes(); ! $this->templ->set_block("listblocktypes", "removerow", "removerows"); while( list($key, $val) = each($current_types) ) { ! $current_type = $val; $this->templ->set_var(array( REMOVENAME => $current_type, ! REMOVEURL => $this->psl['phpself'] ."?option=delete". $this->psl['amp'] ."name=". $current_type ! )); $this->templ->parse("removerows","removerow",true); ! if( isset($avail_ary[$current_type])) { unset($avail_ary[$current_type]); ! } ! } $this->templ->set_block("listblocktypes","addrow","rows"); while( list($key, $val) = each($avail_ary) ) { *************** *** 316,321 **** $this->templ->set_var(array( 'ADDNAME' => $key, ! 'ADDURL' => $this->psl[phpself] ."?option=add". $this->psl[amp] ."name=". $key ! )); $this->templ->parse("rows","addrow",true); --- 316,321 ---- $this->templ->set_var(array( 'ADDNAME' => $key, ! 'ADDURL' => $this->psl[phpself] ."?option=add". $this->psl[amp] ."name=". $key ! )); $this->templ->parse("rows","addrow",true); *************** *** 326,335 **** } elseif ($option == "add") { $this->putType($name); ! $this->listBlockTypes("all"); } elseif ($option == "delete") { $this->deleteType($name); ! $this->listBlockTypes("all"); } else { ! $output .= "<A HREF=" . $this->psl['phpself'] . "?submit=display" . $this->psl['amp'] . "option=all>[Add or Remove Block Types]</A>"; } return $output; --- 326,335 ---- } elseif ($option == "add") { $this->putType($name); ! $this->listBlockTypes("all"); } elseif ($option == "delete") { $this->deleteType($name); ! $this->listBlockTypes("all"); } else { ! $output .= "<A HREF=" . $this->psl['phpself'] . "?submit=display" . $this->psl['amp'] . "option=all>".pslgetText("[Add or Remove Block Types]")."</A>"; } return $output; |
From: Joe S. <joe...@us...> - 2003-01-22 17:28:45
|
Update of /cvsroot/phpslash/phpslash-ft In directory sc8-pr-cvs1:/tmp/cvs-serv5344/phpslash-ft Modified Files: CHANGES Log Message: Block messages translated Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.661 retrieving revision 1.662 diff -C2 -d -r1.661 -r1.662 *** CHANGES 22 Jan 2003 16:15:18 -0000 1.661 --- CHANGES 22 Jan 2003 17:28:41 -0000 1.662 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2003-January-21 11:30AM CST Joe Stewart <joe...@us...> + [W] - en.php3, blockAdmin.php3, Block.class, Block_i.class, Block_admin.class - + Block messages translated. + 2003-January-21 10:00AM CST Joe Stewart <joe...@us...> [B] - config-dist.php3, config.php3 - correct inclusion of auth4.inc and |
From: Joe S. <joe...@us...> - 2003-01-22 17:28:45
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale In directory sc8-pr-cvs1:/tmp/cvs-serv5344/phpslash-ft/class/locale Modified Files: en.php3 Log Message: Block messages translated Index: en.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/en.php3,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** en.php3 14 Jan 2003 18:21:12 -0000 1.8 --- en.php3 22 Jan 2003 17:28:41 -0000 1.9 *************** *** 154,158 **** "Author Administration", ! // blockadmin.php3 // commentAdmin.php3 // glossaryAdmin.php3 --- 154,164 ---- "Author Administration", ! // blockAdmin.php3 ! "The Block has been Deleted" => ! "The Block has been Deleted", ! ! ! ! // commentAdmin.php3 // glossaryAdmin.php3 *************** *** 228,231 **** --- 234,286 ---- // Block.class + "Block Type: %s added with an id of: %s" => + "Block Type: %s added with an id of: %s", + + "Error entering %s!" => + "Error entering %s!", + + "Sorry, this block_type(%s) is assigned to this block: %s" => + "Sorry, this block_type(%s) is assigned to this block: %s", + + "Block Type %s deleted" => + "Block Type %s deleted", + + "Multiple blocks exist with id: %s. Stopping." => + "Multiple blocks exist with id: %s. Stopping.", + + "Block: %s does not exist. Stopping." => + "Block: %s does not exist. Stopping.", + + "Updating Block %s. " => + "Updating Block %s. ", + + "Creating new block from submitted info." => + "Creating new block from submitted info.", + + "Adding the block to the db..." => + "Adding the block to the db...", + + "No section chosen. Block will not be displayed on site till a section is chosen for block: %s" => + "No section chosen. Block will not be displayed on site till a section is chosen for block: %s", + + "Checking db..." => + "Checking db...", + + "Error adding block. Query returned multiple results." => + "Error adding block. Query returned multiple results.", + + "Block::putBlock() received data not in an array." => + "Block::putBlock() received data not in an array.", + + // Block_admin.class + "Update the Current Blocks" => + "Update the Current Blocks", + + "Manage Block Types" => + "Manage Block Types", + + "[Add or Remove Block Types]" => + "[Add or Remove Block Types]", + // Block_i.class // Block_render_cal.class |
From: Joe S. <joe...@us...> - 2003-01-22 17:28:45
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory sc8-pr-cvs1:/tmp/cvs-serv5344/phpslash-ft/public_html/admin Modified Files: blockAdmin.php3 Log Message: Block messages translated Index: blockAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/blockAdmin.php3,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** blockAdmin.php3 20 Dec 2002 22:17:32 -0000 1.14 --- blockAdmin.php3 22 Jan 2003 17:28:42 -0000 1.15 *************** *** 41,45 **** if ($perm->have_perm("blockDelete")) { if ($block->delBlock($HTTP_GET_VARS['id'])) { ! $content .= "The Block has been Deleted<BR>\n"; } } --- 41,45 ---- if ($perm->have_perm("blockDelete")) { if ($block->delBlock($HTTP_GET_VARS['id'])) { ! $content .= pslgetText("The Block has been Deleted"); } } |
From: Joe S. <joe...@us...> - 2003-01-22 16:15:23
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv2840/phpslash-ft/public_html Modified Files: config-dist.php3 config.php3 Log Message: auth4 and page4 Index: config-dist.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config-dist.php3,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** config-dist.php3 11 Jan 2003 04:48:50 -0000 1.29 --- config-dist.php3 22 Jan 2003 16:15:19 -0000 1.30 *************** *** 184,188 **** addClassRequirement('session',$_PHPLIB['libdir'] .'session4.inc'); addLibraryRequirement('phplib',classURN('session')); ! addClassRequirement('auth',$_PHPLIB['libdir'] .'auth.inc'); addLibraryRequirement('phplib',classURN('auth')); addClassRequirement('perm',$_PHPLIB['libdir'] .'perm.inc'); --- 184,189 ---- addClassRequirement('session',$_PHPLIB['libdir'] .'session4.inc'); addLibraryRequirement('phplib',classURN('session')); ! // addClassRequirement('auth',$_PHPLIB['libdir'] .'auth.inc'); ! addClassRequirement('auth',$_PHPLIB['libdir'] .'auth4.inc'); addLibraryRequirement('phplib',classURN('auth')); addClassRequirement('perm',$_PHPLIB['libdir'] .'perm.inc'); *************** *** 190,194 **** addClassRequirement('template',$_PHPLIB['libdir'] .'template.inc'); addLibraryRequirement('phplib',classURN('template')); ! addLibraryRequirement('phplib',$_PHPLIB['libdir'] . 'page.inc'); loadLibrary('phplib'); --- 191,196 ---- addClassRequirement('template',$_PHPLIB['libdir'] .'template.inc'); addLibraryRequirement('phplib',classURN('template')); ! // addLibraryRequirement('phplib',$_PHPLIB['libdir'] . 'page.inc'); ! addLibraryRequirement('phplib',$_PHPLIB['libdir'] . 'page4.inc'); loadLibrary('phplib'); Index: config.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v retrieving revision 1.176 retrieving revision 1.177 diff -C2 -d -r1.176 -r1.177 *** config.php3 10 Jan 2003 19:50:25 -0000 1.176 --- config.php3 22 Jan 2003 16:15:19 -0000 1.177 *************** *** 162,166 **** addClassRequirement('session',$_PHPLIB['libdir'] .'session.inc'); addLibraryRequirement('phplib',classURN('session')); ! addClassRequirement('auth',$_PHPLIB['libdir'] .'auth.inc'); addLibraryRequirement('phplib',classURN('auth')); addClassRequirement('perm',$_PHPLIB['libdir'] .'perm.inc'); --- 162,167 ---- addClassRequirement('session',$_PHPLIB['libdir'] .'session.inc'); addLibraryRequirement('phplib',classURN('session')); ! // addClassRequirement('auth',$_PHPLIB['libdir'] .'auth.inc'); ! addClassRequirement('auth',$_PHPLIB['libdir'] .'auth4.inc'); addLibraryRequirement('phplib',classURN('auth')); addClassRequirement('perm',$_PHPLIB['libdir'] .'perm.inc'); *************** *** 168,172 **** addClassRequirement('template',$_PHPLIB['libdir'] .'template.inc'); addLibraryRequirement('phplib',classURN('template')); ! addLibraryRequirement('phplib',$_PHPLIB['libdir'] . 'page.inc'); loadLibrary('phplib'); --- 169,174 ---- addClassRequirement('template',$_PHPLIB['libdir'] .'template.inc'); addLibraryRequirement('phplib',classURN('template')); ! // addLibraryRequirement('phplib',$_PHPLIB['libdir'] . 'page.inc'); ! addLibraryRequirement('phplib',$_PHPLIB['libdir'] . 'page4.inc'); loadLibrary('phplib'); |