[geeklog-cvs] geeklog: Removed incomplete PDF generator (never enabled in any ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 7 09:42:08 EST 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/10166ae7b222
changeset: 6819:10166ae7b222
user:      Dirk Haun <dirk at haun-online.de>
date:      Sat Mar 07 15:33:28 2009 +0100
description:
Removed incomplete PDF generator (never enabled in any shipped version)

diffstat:

24 files changed, 25 insertions(+), 674 deletions(-)
language/english.php                                        |   22 
language/english_utf-8.php                                  |   22 
language/german.php                                         |   27 -
language/german_formal.php                                  |   27 -
language/german_formal_utf-8.php                            |   27 -
language/german_utf-8.php                                   |   27 -
pdfs/README.txt                                             |    8 
public_html/admin/install/config-install.php                |    1 
public_html/article.php                                     |    8 
public_html/docs/changes.html                               |    2 
public_html/docs/config.html                                |    6 
public_html/docs/history                                    |    1 
public_html/layout/professional/archivestorytext.thtml      |    1 
public_html/layout/professional/featuredstorytext.thtml     |    1 
public_html/layout/professional/pdfgenerator/pdf.thtml      |   10 
public_html/layout/professional/pdfgenerator/pdf_form.thtml |   14 
public_html/layout/professional/storytext.thtml             |    1 
public_html/lib-common.php                                  |   15 
public_html/pdfgenerator.php                                |  296 -----------
sql/updates/mssql_1.5.2_to_1.6.0.php                        |    5 
sql/updates/mysql_1.5.2_to_1.6.0.php                        |    5 
system/build/buildpackage.php                               |    3 
system/classes/conversion.class.php                         |  152 -----
system/lib-story.php                                        |   18 

diffs (truncated from 1064 to 300 lines):

diff -r c6b33dac067e -r 10166ae7b222 language/english.php
--- a/language/english.php	Sat Mar 07 15:11:33 2009 +0100
+++ b/language/english.php	Sat Mar 07 15:33:28 2009 +0100
@@ -152,7 +152,7 @@
     108 => 'Clear Cache',
     109 => 'Report abuse',
     110 => 'Report this post to the site admin',
-    111 => 'View PDF Version',
+    111 => '',
     112 => 'Registered Users',
     113 => 'Documentation',
     114 => 'Trackbacks',
@@ -557,7 +557,7 @@
     2 => 'Mail Story to a Friend',
     3 => 'Printable Story Format',
     4 => 'Story Options',
-    5 => 'PDF Story Format',
+    5 => '',
     6 => "Subscribe to '%s'"
 );
 
@@ -1344,23 +1344,6 @@
     4 => 'New User'
 );
 
-$LANG_PDF = array(
-    1 => 'The PDF feature has been disabled',
-    2 => 'The document provided was not rendered. The document was received but could not be processed.  Please make sure to submit only html formatted documents that have been written to the xHTML standard. Please note that overly complex html documents may not render correctly or at all. The document resulting from your attempt was 0 bytes in length, and has been deleted. If you\'re sure that your document should render fine, please re-submit it.',
-    3 => 'Unknown error during PDF generation',
-    4 => 'No page data was given or you want to use the ad-hoc PDF generation tool below.  If you think you are getting this page in error then please contact the system administrator.  Otherwise, you may use the form below to generate PDF\'s in an ad-hoc fashion.',
-    5 => 'Loading your document.',
-    6 => 'Please wait while your document is loaded.',
-    7 => 'You may right click the button below and choose \'save target...\' or \'save link location...\' to save a copy of your document.',
-    8 => 'The path given in the configuration file to the HTMLDoc binary is invalid or this system cannot execute it.  Please contact the site administrator if this problem persists.',
-    9 => 'PDF Generator',
-    10 => 'This is the Ad-hoc PDF Generation tool. It will attempt to convert any URL you give into a PDF.  Please note that some web pages will not render properly with this feature.  This is a limitation of the HTMLDoc PDF generation tool and such errors should not be reported to the administrators of this site',
-    11 => 'URL',
-    12 => 'Generate PDF!',
-    13 => 'The PHP configuration on this server does not allow URLs to be used with the fopen() command.  The system administrator must edit the php.ini file and set allow_url_fopen to On',
-    14 => 'The PDF you requested either does not exist or you tried to illegally access a file.'
-);
-
 ###############################################################################
 # trackback
 
@@ -1689,7 +1672,6 @@
     'cookiedomain' => "Cookie Domain",
     'cookiesecure' => "Cookie Secure",
     'lastlogin' => "Record Last Login?",
-    'pdf_enabled' => "PDF Enabled?",
     'num_search_results' => "Number of Search Results",
     'loginrequired' => "Login Required?",
     'submitloginrequired' => "Submit Login Required?",
diff -r c6b33dac067e -r 10166ae7b222 language/english_utf-8.php
--- a/language/english_utf-8.php	Sat Mar 07 15:11:33 2009 +0100
+++ b/language/english_utf-8.php	Sat Mar 07 15:33:28 2009 +0100
@@ -152,7 +152,7 @@
     108 => 'Clear Cache',
     109 => 'Report abuse',
     110 => 'Report this post to the site admin',
-    111 => 'View PDF Version',
+    111 => '',
     112 => 'Registered Users',
     113 => 'Documentation',
     114 => 'Trackbacks',
@@ -557,7 +557,7 @@
     2 => 'Mail Story to a Friend',
     3 => 'Printable Story Format',
     4 => 'Story Options',
-    5 => 'PDF Story Format',
+    5 => '',
     6 => "Subscribe to '%s'"
 );
 
@@ -1344,23 +1344,6 @@
     4 => 'New User'
 );
 
-$LANG_PDF = array(
-    1 => 'The PDF feature has been disabled',
-    2 => 'The document provided was not rendered. The document was received but could not be processed.  Please make sure to submit only html formatted documents that have been written to the xHTML standard. Please note that overly complex html documents may not render correctly or at all. The document resulting from your attempt was 0 bytes in length, and has been deleted. If you\'re sure that your document should render fine, please re-submit it.',
-    3 => 'Unknown error during PDF generation',
-    4 => 'No page data was given or you want to use the ad-hoc PDF generation tool below.  If you think you are getting this page in error then please contact the system administrator.  Otherwise, you may use the form below to generate PDF\'s in an ad-hoc fashion.',
-    5 => 'Loading your document.',
-    6 => 'Please wait while your document is loaded.',
-    7 => 'You may right click the button below and choose \'save target...\' or \'save link location...\' to save a copy of your document.',
-    8 => 'The path given in the configuration file to the HTMLDoc binary is invalid or this system cannot execute it.  Please contact the site administrator if this problem persists.',
-    9 => 'PDF Generator',
-    10 => 'This is the Ad-hoc PDF Generation tool. It will attempt to convert any URL you give into a PDF.  Please note that some web pages will not render properly with this feature.  This is a limitation of the HTMLDoc PDF generation tool and such errors should not be reported to the administrators of this site',
-    11 => 'URL',
-    12 => 'Generate PDF!',
-    13 => 'The PHP configuration on this server does not allow URLs to be used with the fopen() command.  The system administrator must edit the php.ini file and set allow_url_fopen to On',
-    14 => 'The PDF you requested either does not exist or you tried to illegally access a file.'
-);
-
 ###############################################################################
 # trackback
 
@@ -1689,7 +1672,6 @@
     'cookiedomain' => "Cookie Domain",
     'cookiesecure' => "Cookie Secure",
     'lastlogin' => "Record Last Login?",
-    'pdf_enabled' => "PDF Enabled?",
     'num_search_results' => "Number of Search Results",
     'loginrequired' => "Login Required?",
     'submitloginrequired' => "Submit Login Required?",
diff -r c6b33dac067e -r 10166ae7b222 language/german.php
--- a/language/german.php	Sat Mar 07 15:11:33 2009 +0100
+++ b/language/german.php	Sat Mar 07 15:33:28 2009 +0100
@@ -155,7 +155,7 @@
     108 => 'Cache löschen',
     109 => 'Beitrag melden',
     110 => 'Site-Admin auf diesen Beitrag hinweisen',
-    111 => 'Als PDF anzeigen',
+    111 => '',
     112 => 'Registrierte User',
     113 => 'Dokumentation',
     114 => 'TRACKBACKS',
@@ -560,7 +560,7 @@
     2 => 'An einen Freund schicken',
     3 => 'Druckfähige Version',
     4 => 'Optionen',
-    5 => 'Als PDF',
+    5 => '',
     6 => 'Feed \'%s\' abonnieren'
 );
 
@@ -1341,26 +1341,6 @@
 );
 
 ###############################################################################
-# pdfgenerator.php
-
-$LANG_PDF = array(
-    1 => 'The PDF feature has been disabled',
-    2 => 'The document provided was not rendered. The document was received but could not be processed.  Please make sure to submit only html formatted documents that have been written to the xHTML standard. Please note that overly complex html documents may not render correctly or at all.The document resulting from your attempt was 0 bytes in length, and has been deleted. If you\'re sure that your document should render fine, please re-submit it.',
-    3 => 'Unknown error during PDF generation',
-    4 => "No page data was given or you want to use the ad-hoc PDF generation tool below.  If you think you are getting this page\n          in error then please contact the system administrator.  Otherwise, you may use the form below to generate PDF's in an ad-hoc fashion.",
-    5 => 'Loading your document.',
-    6 => 'Please wait while your document is loaded.',
-    7 => 'You may right click the button below and choose \'save target...\' or \'save link location...\' to save a copy of your document.',
-    8 => "The path given in the configuration file to the HTMLDoc binary is invalid or this system cannot execute it.  Please contact the site administrator if this problem\n          persists.",
-    9 => 'PDF Generator',
-    10 => "This is the Ad-hoc PDF Generation tool. It will attempt to convert any URL you give into a PDF.  Please note that some web pages will not render properly with this feature.  This\n           is a limitation of the HTMLDoc PDF generation tool and such errors should not be reported to the administrators of this site",
-    11 => 'URL',
-    12 => 'Generate PDF!',
-    13 => 'The PHP configuration on this server does not allow URLs to be used with the fopen() command.  The system administrator must edit the php.ini file and set allow_url_fopen to On',
-    14 => 'The PDF you requested either does not exist or you tried to illegally access a file.'
-);
-
-###############################################################################
 # trackback.php
 
 $LANG_TRB = array(
@@ -1694,7 +1674,6 @@
     'cookiedomain' => 'Cookie Domain',
     'cookiesecure' => 'Cookie Secure',
     'lastlogin' => 'Letzten Login aufzeichnen?',
-    'pdf_enabled' => 'PDF einschalten?',
     'num_search_results' => 'Anzahl Suchergebnisse',
     'loginrequired' => 'Anmelden generell nötig?',
     'submitloginrequired' => 'Anmelden für Beiträge?',
@@ -1908,4 +1887,4 @@
     20 => array('Exact Phrase' => 'phrase', 'All of The Words' => 'all', 'Any of The Words' => 'any')
 );
 
-?>
\ No newline at end of file
+?>
diff -r c6b33dac067e -r 10166ae7b222 language/german_formal.php
--- a/language/german_formal.php	Sat Mar 07 15:11:33 2009 +0100
+++ b/language/german_formal.php	Sat Mar 07 15:33:28 2009 +0100
@@ -156,7 +156,7 @@
     108 => 'Cache löschen',
     109 => 'Beitrag melden',
     110 => 'Site-Admin auf diesen Beitrag hinweisen',
-    111 => 'Als PDF anzeigen',
+    111 => '',
     112 => 'Registrierte User',
     113 => 'Dokumentation',
     114 => 'TRACKBACKS',
@@ -561,7 +561,7 @@
     2 => 'An einen Freund schicken',
     3 => 'Druckfähige Version',
     4 => 'Optionen',
-    5 => 'Als PDF',
+    5 => '',
     6 => 'Feed \'%s\' abonnieren'
 );
 
@@ -1342,26 +1342,6 @@
 );
 
 ###############################################################################
-# pdfgenerator.php
-
-$LANG_PDF = array(
-    1 => 'The PDF feature has been disabled',
-    2 => 'The document provided was not rendered. The document was received but could not be processed.  Please make sure to submit only html formatted documents that have been written to the xHTML standard. Please note that overly complex html documents may not render correctly or at all.The document resulting from your attempt was 0 bytes in length, and has been deleted. If you\'re sure that your document should render fine, please re-submit it.',
-    3 => 'Unknown error during PDF generation',
-    4 => "No page data was given or you want to use the ad-hoc PDF generation tool below.  If you think you are getting this page\n          in error then please contact the system administrator.  Otherwise, you may use the form below to generate PDF's in an ad-hoc fashion.",
-    5 => 'Loading your document.',
-    6 => 'Please wait while your document is loaded.',
-    7 => 'You may right click the button below and choose \'save target...\' or \'save link location...\' to save a copy of your document.',
-    8 => "The path given in the configuration file to the HTMLDoc binary is invalid or this system cannot execute it.  Please contact the site administrator if this problem\n          persists.",
-    9 => 'PDF Generator',
-    10 => "This is the Ad-hoc PDF Generation tool. It will attempt to convert any URL you give into a PDF.  Please note that some web pages will not render properly with this feature.  This\n           is a limitation of the HTMLDoc PDF generation tool and such errors should not be reported to the administrators of this site",
-    11 => 'URL',
-    12 => 'Generate PDF!',
-    13 => 'The PHP configuration on this server does not allow URLs to be used with the fopen() command.  The system administrator must edit the php.ini file and set allow_url_fopen to On',
-    14 => 'The PDF you requested either does not exist or you tried to illegally access a file.'
-);
-
-###############################################################################
 # trackback.php
 
 $LANG_TRB = array(
@@ -1695,7 +1675,6 @@
     'cookiedomain' => 'Cookie Domain',
     'cookiesecure' => 'Cookie Secure',
     'lastlogin' => 'Letzten Login aufzeichnen?',
-    'pdf_enabled' => 'PDF einschalten?',
     'num_search_results' => 'Anzahl Suchergebnisse',
     'loginrequired' => 'Anmelden generell nötig?',
     'submitloginrequired' => 'Anmelden für Beiträge?',
@@ -1909,4 +1888,4 @@
     20 => array('Exact Phrase' => 'phrase', 'All of The Words' => 'all', 'Any of The Words' => 'any')
 );
 
-?>
\ No newline at end of file
+?>
diff -r c6b33dac067e -r 10166ae7b222 language/german_formal_utf-8.php
--- a/language/german_formal_utf-8.php	Sat Mar 07 15:11:33 2009 +0100
+++ b/language/german_formal_utf-8.php	Sat Mar 07 15:33:28 2009 +0100
@@ -156,7 +156,7 @@
     108 => 'Cache löschen',
     109 => 'Beitrag melden',
     110 => 'Site-Admin auf diesen Beitrag hinweisen',
-    111 => 'Als PDF anzeigen',
+    111 => '',
     112 => 'Registrierte User',
     113 => 'Dokumentation',
     114 => 'TRACKBACKS',
@@ -561,7 +561,7 @@
     2 => 'An einen Freund schicken',
     3 => 'Druckfähige Version',
     4 => 'Optionen',
-    5 => 'Als PDF',
+    5 => '',
     6 => 'Feed \'%s\' abonnieren'
 );
 
@@ -1342,26 +1342,6 @@
 );
 
 ###############################################################################
-# pdfgenerator.php
-
-$LANG_PDF = array(
-    1 => 'The PDF feature has been disabled',
-    2 => 'The document provided was not rendered. The document was received but could not be processed.  Please make sure to submit only html formatted documents that have been written to the xHTML standard. Please note that overly complex html documents may not render correctly or at all.The document resulting from your attempt was 0 bytes in length, and has been deleted. If you\'re sure that your document should render fine, please re-submit it.',
-    3 => 'Unknown error during PDF generation',
-    4 => "No page data was given or you want to use the ad-hoc PDF generation tool below.  If you think you are getting this page\n          in error then please contact the system administrator.  Otherwise, you may use the form below to generate PDF's in an ad-hoc fashion.",
-    5 => 'Loading your document.',
-    6 => 'Please wait while your document is loaded.',
-    7 => 'You may right click the button below and choose \'save target...\' or \'save link location...\' to save a copy of your document.',
-    8 => "The path given in the configuration file to the HTMLDoc binary is invalid or this system cannot execute it.  Please contact the site administrator if this problem\n          persists.",
-    9 => 'PDF Generator',
-    10 => "This is the Ad-hoc PDF Generation tool. It will attempt to convert any URL you give into a PDF.  Please note that some web pages will not render properly with this feature.  This\n           is a limitation of the HTMLDoc PDF generation tool and such errors should not be reported to the administrators of this site",
-    11 => 'URL',
-    12 => 'Generate PDF!',
-    13 => 'The PHP configuration on this server does not allow URLs to be used with the fopen() command.  The system administrator must edit the php.ini file and set allow_url_fopen to On',
-    14 => 'The PDF you requested either does not exist or you tried to illegally access a file.'
-);
-
-###############################################################################
 # trackback.php
 
 $LANG_TRB = array(
@@ -1695,7 +1675,6 @@
     'cookiedomain' => 'Cookie Domain',
     'cookiesecure' => 'Cookie Secure',
     'lastlogin' => 'Letzten Login aufzeichnen?',
-    'pdf_enabled' => 'PDF einschalten?',
     'num_search_results' => 'Anzahl Suchergebnisse',
     'loginrequired' => 'Anmelden generell nötig?',
     'submitloginrequired' => 'Anmelden für Beiträge?',
@@ -1909,4 +1888,4 @@
     20 => array('Exact Phrase' => 'phrase', 'All of The Words' => 'all', 'Any of The Words' => 'any')
 );
 
-?>
\ No newline at end of file
+?>
diff -r c6b33dac067e -r 10166ae7b222 language/german_utf-8.php
--- a/language/german_utf-8.php	Sat Mar 07 15:11:33 2009 +0100
+++ b/language/german_utf-8.php	Sat Mar 07 15:33:28 2009 +0100
@@ -155,7 +155,7 @@
     108 => 'Cache löschen',



More information about the geeklog-cvs mailing list