phpcms-plugins-cvs Mailing List for phpCMS-plugins (Page 7)
Brought to you by:
mjahn
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(40) |
Jun
(38) |
Jul
(36) |
Aug
(46) |
Sep
(13) |
Oct
(1) |
Nov
|
Dec
(57) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(2) |
Feb
(19) |
Mar
|
Apr
(43) |
May
(119) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Martin J. <mj...@us...> - 2005-04-07 14:09:12
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/pluginmanager In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15012/modules/pluginmanager Added Files: module_pluginmanager_de.lng plugins.ini class.module_pluginmanager.php module_pluginmanager_en.lng Log Message: Commit as backup during development --- NEW FILE: module_pluginmanager_en.lng --- PHPCMS_1 = "phpCMS — Configuration" PHPCMS_2 = "phpCMS — Cache" PHPCMS_3 = "phpCMS — HTTP-Indexer!" PHPCMS_4 = "<h2>Welcome to phpCMS!</h2> <p>Thank you for installing phpCMS</p> <p> This is the phpCMS User Interface (GUI).<br /> After loggin in you can adjust your site’s basic settings. Have a look at the configuration. <br /> <br /> As a reminder: your log-in passwort is the one you set in the file named default.php! Should you ever forget your password you may change it there at any time. <br /> <br /> Have fun with phpCMS!</p>" PHPCMS_INDEXER_1 = "General information" PHPCMS_INDEXER_2 = "Name of the profile" PHPCMS_INDEXER_3 = "Path where we could store the indexfiles" PHPCMS_INDEXER_4 = "Compress indexfiles with GZip" PHPCMS_INDEXER_5 = "Buffer size in byte" PHPCMS_INDEXER_6 = "Spider options" PHPCMS_INDEXER_7 = "Take care of robots.txt file" PHPCMS_INDEXER_8 = "Take care of the robots-meta-tag" PHPCMS_INDEXER_9 = "Exclude all URLs that contain" PHPCMS_INDEXER_10 = "Include all URLs that contain " PHPCMS_INDEXER_11 = "Do not index files with following extensions" PHPCMS_INDEXER_12 = "Indexer options" PHPCMS_INDEXER_13 = "List of URIs we have to index" PHPCMS_INDEXER_14 = "Minimal word length" PHPCMS_INDEXER_15 = "Path to the stopword-file" PHPCMS_INDEXER_16 = "Use content of meta description tag as description" PHPCMS_INDEXER_17 = "Length of the descriptive text" PHPCMS_INDEXER_18 = "Change URLs" PHPCMS_INDEXER_19 = "Search with the following expression …" PHPCMS_INDEXER_20 = "… and replace it with the following text" PHPCMS_INDEXER_21 = "Select profile" PHPCMS_INDEXER_22 = "Create a new index for this profile" PHPCMS_INDEXER_23 = "Edit the settings of this profile" PHPCMS_INDEXER_24 = "Delete this profile" PHPCMS_INDEXER_25 = "Test the index with a searchform" PHPCMS_INDEXER_26 = "Test index" PHPCMS_INDEXER_27 = "Show the most important 10,20 50 words of the index" PHPCMS_INDEXER_28 = "Show wordlist" PHPCMS_INDEXER_29 = "Please create an index first" PHPCMS_INDEXER_30 = "No current index available" PHPCMS_IDNEXER_31 = "Save profile" PHPCMS_INDEXER_32 = "Save settings" PHPCMS_CACHE_1 = "Filename" PHPCMS_CACHE_2 = "Last changes" PHPCMS_CACHE_3 = "Filesize" PHPCMS_CACHE_4 = "Delete the cached document" PHPCMS_CACHE_5 = "View the document" PHPCMS_CACHE_6 = " files" PHPCMS_CONFIG_1 = "Save phpCMS settings" PHPCMS_CONFIG_2 = "Save settings" PHPCMS_CONFIG_3 = "Errors" PHPCMS_CONFIG_4 = "Files & directories" PHPCMS_CONFIG_5 = "Page extension to be parsed" PHPCMS_CONFIG_6 = "<b>Extension of content files to be parsed by phpCMS</b><br /> Each file has an extension. HTML-files usually end with <em>.html</em> or <em>.htm</em>.<br /> This setting tells phpCMS what extension files have that it should look out for and parse.<br /> In addition the web server has to be configured so as to send files with this extension to the parser (e.g. via a .htaccess file).<br /> <br /> Default configuration is <em>.htm</em>.<br /> Regular HTML-files might be given the extension <em>.html</em> and phpCMS-files the extension <em>.htm</em>. But even <em>.htm</em>-files that do not contain phpCMS fields would be passed through unchanged." PHPCMS_CONFIG_7 = "Name of default page" PHPCMS_CONFIG_8 = "<b>Page to display when directory is requested</b><br /> When a client sends a request that does not specify a page name phpCMS will try to display this page.<br /> <br /> Example: If your default page is set to <em>index</em> and your page extension is <em>.htm</em>, then a request for http://server.com/docs/ would return http://server.com/docs/index.htm, if it exists." PHPCMS_CONFIG_9 = "Extension for templatefiles" PHPCMS_CONFIG_10 = "<b>File extension of template files</b><br /> The file extension used for templates can of course also be chosen freely.<br /> But the parser must know it..." PHPCMS_CONFIG_11 = "Global projectfile" PHPCMS_CONFIG_12 = "<b>Optional: project file valid for entire project</b><br /> Here a global project-file can be defined that is used if a requested content-file contains phpCMS fields but no project-file or an invalid project-file is defined there." PHPCMS_CONFIG_13 = "Global home-directory for all projects" PHPCMS_CONFIG_14 = "<b>Optional: home directory valid for entire project</b><br /> Here a global home-directory can be defined that is used if the project-file doesn't contain a value to set the home-directory." PHPCMS_CONFIG_15 = "Plugin directory" PHPCMS_CONFIG_16 = "<b>Directory that stores phpCMS plug-ins</b><br /> The directory containing the Plug-Ins for phpCMS. Throughout your project you may use <em>/parser/plugs</em> to access this directory. " PHPCMS_CONFIG_17 = "Parser" PHPCMS_CONFIG_18 = "Field delimiter start tag" PHPCMS_CONFIG_19 = "<b>Character signaling start of field</b><br /> With this character the start of a field in templates and content-files is marked.<br />" PHPCMS_CONFIG_20 = "Field delimiter end tag" PHPCMS_CONFIG_21 = "<b>Character signaling end of field</b><br /> With this character the end of a field in templates and content-files is marked." PHPCMS_CONFIG_22 = "Menu delimiter" PHPCMS_CONFIG_23 = "some description needed (1)" PHPCMS_CONFIG_24 = "Tag parameter delimiter" PHPCMS_CONFIG_25 = "some description needed (2)" PHPCMS_CONFIG_26 = "Use PAXPHP in your files" PHPCMS_CONFIG_27 = "<b>Parse embedded PHP code</b><br /> PAXPHP lets you use regular PHP code within content, and template files.<br /> So called DynaTags are an application of PAXPHP. DynaTags are user-defined tags that are substituted by a PHP expression marked up as PAXPHP." PHPCMS_CONFIG_28 = "Use PAX-tags" PHPCMS_CONFIG_29 = "<b>Execute hard coded PAX TAGS</b><br /> PAX TAGS are special functions that are hard coded within the PAX-Module.<br /> Available PAX TAGS are: PAXINC, PAXLASTMOD, PAXCOMBO, PAXCOMBOALL, PAXMENU, PAXHIGLIGHT and PAXRTF." PHPCMS_CONFIG_30 = "Use Mail2Crypt" PHPCMS_CONFIG_31 = "<b>Hide e-mail addresses from SPAM bots</b><br /> By using a tag like <!-- MAIL2CRYPT mail@domain.xyz --> e-mail addresses are scrambled on the fly to protect them from being harvested by SPAM bots. When turned off, addresses inside the tag are displayed as plain text. Mail2Crypt is configurable. See the manual for details. (Currently still under “PAX”)<br /> <br /> In phpCMS 1.2.0 and higher Mail2Crypt is fully integrated into the Parser and works independent of PAX." PHPCMS_CONFIG_32 = "Mail2Crypt javascript directory" PHPCMS_CONFIG_33 = "<b>Path to Mail2Crypt JS file</b><br /> Here you may specify the path to the directory that contains the Mail2Crypt JavaScript file. The file <em>js_mail2crypt.js</em> which is needed to display scrambled e-mail addresses in the browser is located in the document root by default." PHPCMS_CONFIG_34 = "Mail2Crypt image directory" PHPCMS_CONFIG_35 = "<b>Path to Mail2Crypt icon file</b><br /> Here you may specify the path to the directory that contains the Mail2Crypt icon files. The Mail2Crypt standard icons are located in <em>/parser/gif/</em> by default." PHPCMS_CONFIG_36 = "Use online editor" PHPCMS_CONFIG_37 = "some description needed (3)" PHPCMS_CONFIG_38 = "Cache & Proxy" PHPCMS_CONFIG_39 = "Use server cache" PHPCMS_CONFIG_40 = "<b>Allow storage and reuse of parsed pages on the server</b><br /> Pages and parts of pages that have already been parsed by phpCMS can be stored (cached) on the server for reuse. A page thus cached does not have to be re-parsed on subsequent requests. Through this technique phpCMS significantly reduces the server’s response time.<br /> <br /> When deactivating this feature the server cache needs to be cleaned (flushed) manually since pages still in the cache otherwise remain to be served to visitors." PHPCMS_CONFIG_41 = "Server cache directory" PHPCMS_CONFIG_42 = "<b>Directory where to put the on server-side cached files</b><br /> Note to Linux users: PHP needs to have write access to the cache directory. Should you not want to grant write access - e.g. for security reasons - the phpCMS cache feature can not be used." PHPCMS_CONFIG_43 = "Use client cache" PHPCMS_CONFIG_44 = "<b>Allow storage of pages in the browser</b><br /> Gives visitor’s browsers permission to store pages in their local cache. This setting takes effect for pages that are, or could be, cached server side. If this is not the case (e.g. because pages contain dynamic plug-ins) phpCMS deactivates this setting automatically." PHPCMS_CONFIG_45 = "Livetime of Proxy/Client cache in days" PHPCMS_CONFIG_46 = "<b>Amount of time pages may be stored by clients</b><br /> Specifies the amount of time clients are allowed to keep pages stored in local cache. After this time clients must send a request for a fresh copy of a page. This setting will be ignored if pages contain dynamic content, i.e. scripts or dynamic plug-ins." PHPCMS_CONFIG_47 = "Transport" PHPCMS_CONFIG_48 = "Use GZip compression" PHPCMS_CONFIG_49 = "<b>Compress pages before transmission</b><br /> Specifies whether G-Zip compression should be used to transmit pages if available. All of today’s major browsers can handle G-Zip compressed files.<br /> <br /> With this option switched on HTML files will be compressed in size by up to 70% before they are transmitted over the Internet. Pages thus transmitted load faster in your visitors’ browsers, and cause less traffic volume on your server!<br /> <br /> This feature can be used only if PHP runs with the <em>zlib</em> extension loaded. Please refer to the PHP documentation for further details..." PHPCMS_CONFIG_50 = "Use Stealthmode" PHPCMS_CONFIG_51 = "<b>Make URLs search engine friendly</b><br /> Use of this feature is recommended.<br /> In Stealth-Mode pages are accessed through “normal” looking URLs, i.e. without the “parser.php?file=” showing in the address bar. This makes sure that pages can be found and are indexed by search engines. Search engines often will not index pages whose URL contains a “?”!<br /> <br /> Stealth-Mode requires that you be able to use .htaccess files to configure your server. If you cannot use .htaccess files and cannot configure your server so that <em>.htm</em> files will be parsed by phpCMS, this feature must be deactivated. " PHPCMS_CONFIG_52 = "Use Secure-Stealthmode" PHPCMS_CONFIG_53 = "<b>Disallow access to secured directories</b><br /> Use of this feature is recommended.<br /> Secure Stealth-Mode blocks requests via “parser.php?file=filename.htm” to prevent unauthorized access to files located in directories secured through a .htaccess file." PHPCMS_CONFIG_54 = "Dont change links with this extension in non-stealthmode" PHPCMS_CONFIG_55 = "<b>File types not to be sent to the Parser</b><br /> Specifies extensions of files references to which, in Non-Stealth-Mode, should not be changed to <em>parser.php?file=</em>.<br /> <br /> In Non-Stealth-Mode HTML links are automatically converted so that requests are correctly sent to the Parser. Here you may specify those kinds of files links to which should remain unchanged." PHPCMS_CONFIG_56 = "Produce errors on empty tags" PHPCMS_CONFIG_57 = "<b>Handling of empty substitute tags</b><br /> With this option activated an error-message will be displayed should a tag be encountered that does not have its substitution string defined.<br /> When deactivated, such a tag will be substituted with an empty string, i.e. it will not produce any output in the parsed page." PHPCMS_CONFIG_58 = "Use debug-mode" PHPCMS_CONFIG_59 = "<b>Display error messages during development cycle</b> When Debug-Mode is activated phpCMS’s internal error messages will be displayed if a file cannot be found or some other error occurs.<br /> <br /> In Debug-Mode you may also use the phpCMS Debug-Tool. The Debug-Tool can be accessed by appending “?debug” to the URL of any content page." PHPCMS_CONFIG_60 = "Custom error page" PHPCMS_CONFIG_61 = "<b>Use of customized error pages</b><br /> When Debug-Mode is not activated, the Error-Page will be displayed should phpCMS encounter an internal error condition.<br />" PHPCMS_CONFIG_62 = "Custom 404 error page" PHPCMS_CONFIG_63 = "<b>Special treatment is given to “Error 404s”</b><br /> Since, from the server’s perspective, the file “parser.php” is the only one that is ever requested, the server cannot detect a missing content page and, consequently, cannot generate a 404 error message.<br /> The difference between the regular “Error-Page” and the 404-Error-Page is that the 404-Error-Page is not sent via HTTP redirect, but instead is send directly by and though the parser. This way the status of the browser address bar remains unchanged.<br /> <br /> In the event that no 404-Error-Page is specified or none exists, the regular Error-Page will be displayed." PHPCMS_CONFIG_64 = "P3P Statement (<b>http://w3c.org/P3P/</b>)" PHPCMS_CONFIG_65 = "Send P3P header" PHPCMS_CONFIG_66 = "<b>Send P3P statement with HTTP header</b><br /> P3P stands for “Platform for Privacy Preferences Project”. P3P offers a way to send machine readable privacy information to the browser. Some browsers base the acceptance of cookies on this information.<br /> <br /> A starting point for finding further information is <b>http://w3c.org/P3P/</b>..." PHPCMS_CONFIG_67 = "Global P3P policy header" PHPCMS_CONFIG_68 = "<b>Content of global P3P header</b><br /> Here you may enter the machine readable P3P compact policy." PHPCMS_CONFIG_69 = "P3P policy href" PHPCMS_CONFIG_70 = "<b>Directory of P3P Policy</b><br /> Directory that stores the comprehensive P3P privacy policy. Usually this is “/w3c/p3p.xml”." PHPCMS_CONFIG_71 = "I18N" PHPCMS_CONFIG_72 = "Use I18N" PHPCMS_CONFIG_73 = "some description needed (4)" PHPCMS_CONFIG_74 = "Default languages" PHPCMS_CONFIG_75 = "some description needed (5)" PHPCMS_CONFIG_76 = "Possible languages" PHPCMS_CONFIG_77 = "some description needed (6)" PHPCMS_CONFIG_78 = "I18N-mode" PHPCMS_CONFIG_79 = "some description needed (7)" PHPCMS_CONFIG_80 = " suffix (www.example.com/index.de.htm)" PHPCMS_CONFIG_81 = " dir (www.example.com/de/index.htm)" PHPCMS_CONFIG_82 = " var (www.example.com/index.htm?lang=de)" PHPCMS_CONFIG_83 = " host (www.example.de/index.htm or www.example.com/index.htm)" PHPCMS_CONFIG_84 = " session (www.example.com/index.htm?sid=1234 or cookie)" PHPCMS_CONFIG_85 = "Name of the URI-parameter" PHPCMS_CONFIG_86 = "some description needed (8)" PHPCMS_CONFIG_87 = "Statistics" PHPCMS_CONFIG_88 = "Use statistic logging" PHPCMS_CONFIG_89 = "<b>Activate phpCMS’s statistics feature</b><br /> This will activate phpCMS’s statistics function. When activated, phpCMS logs information about every request it handles which can then be viewed through the statistics module in the GUI." PHPCMS_CONFIG_90 = "Directory where to put statistic data" PHPCMS_CONFIG_91 = "<b>Statistics data directories</b><br /> Specifies directories for storing several statistics data. phpCMS needs write permission for these directories!" PHPCMS_CONFIG_92 = "Path to directory for current stats" PHPCMS_CONFIG_93 = "some description neeeded (9) " PHPCMS_CONFIG_94 = "Filename for the log-file" PHPCMS_CONFIG_95 = "<b>Name of the statistics log file</b><br /> Name of the log file that stores raw data on every page request." PHPCMS_CONFIG_96 = "Path to the directory for the backup" PHPCMS_CONFIG_97 = "How many referrer should be counted?" PHPCMS_CONFIG_98 = "some description needed (10)" PHPCMS_CONFIG_99 = "Ignore the following referrer" PHPCMS_CONFIG_100 = "some description needed (11)" PHPCMS_CONFIG_101 = "How many Ips should be counted?" PHPCMS_CONFIG_102 = "some description needed (12)" PHPCMS_CONFIG_103 = "Ignore the folowing IPs" PHPCMS_CONFIG_104 = "some description needed (13)" PHPCMS_CONFIG_105 = "How many URLs should be counted?" PHPCMS_CONFIG_106 = "some description needed (14)" PHPCMS_CONFIG_107 = "Activate referrer-logging" PHPCMS_CONFIG_108 = "<b>Log and display top and last referrer data</b><br /> Keeps a log of referrers that point to your site. This function works independently of the statistics module. To display a list of top and last referrers on your pages, you may use the plug-in <em>topref.php</em>, located in the plug-ins directory, which can be integrated as a plug-in, script or via PAX." PHPCMS_CONFIG_109 = "Directory where to put the referrer-file" PHPCMS_CONFIG_110 = "<b>Directory of referrer log file</b><br /> Directory that is used to store the referrer log file. phpCMS needs write permission for this directory!" PHPCMS_CONFIG_111 = "Name of the referrer-file" PHPCMS_CONFIG_112 = "<b>Name of referrer log file</b> Specifies the name of the log file that stores referrer data." PHPCMS_CONFIG_113 = "Time for the reload-lock" PHPCMS_CONFIG_114 = "<b>Duration of referrer reload lock</b><br /> Specifies the amount of time in seconds during which repeat page requests originating from the same client IP will be ignored. This prevents, to some extent, an unwanted “counting up” of top referrers." PHPCMS_CONFIG_115 = "Sitemap and TOC" PHPCMS_CONFIG_116 = "Activate search-module with contentfield" PHPCMS_CONFIG_117 = "some description needed (15)" PHPCMS_CONFIG_118 = "Name of the contentfield for search-module" PHPCMS_CONFIG_119 = "some description needed (16)" PHPCMS_CONFIG_120 = "Activate TOC-module with contentfield" PHPCMS_CONFIG_121 = "some description needed (17)" PHPCMS_CONFIG_122 = "Name of the contentfield for TOC-module" PHPCMS_CONFIG_123 = "some description needed (18)" PHPCMS_CONFIG_124 = "Expert settings" PHPCMS_CONFIG_125 = "Show expert settings" PHPCMS_CONFIG_126 = "some description needed (19)" PHPCMS_CONFIG_127 = "Display all PHP warnings and notices" PHPCMS_CONFIG_128 = "some description needed (20)" PHPCMS_CONFIG_129 = "Fix bug in PHP output-buffering" PHPCMS_CONFIG_130 = "some description needed (20)" PHPCMS_CONFIG_131 = "Domainname of the account" PHPCMS_CONFIG_132 = "some description needed (20)" PHPCMS_CONFIG_133 = "Auto" PHPCMS_CONFIG_134 = "Direct" PHPCMS_CONFIG_135 = "Apply domain-name manually" PHPCMS_CONFIG_136 = "Document-Root of the account" PHPCMS_CONFIG_137 = "some description needed (21)" PHPCMS_CONFIG_138 = "$script-path" PHPCMS_CONFIG_139 = "some description needed (22)" PHPCMS_CONFIG_140 = "Apply $script_path manually" PHPCMS_CONFIG_141 = "$script_name" PHPCMS_CONFIG_142 = "some description needed (22)" PHPCMS_CONFIG_143 = "Apply $script_name manually" PHPCMS_CONFIG_144 = "" PHPCMS_CONFIG_145 = "" PHPCMS_CONFIG_146 = "" [de] PHPCMS_1 = "phpCMS — Konfiguration" PHPCMS_2 = "phpCMS — Cache" PHPCMS_3 = "phpCMS — HTTP-Indexer!" PHPCMS_4 = "<h2>Willkommen bei phpCMS!</h2> <p>Vielen Dank, daà Sie phpCMS {$moduledata.version} installiert haben</p> <p> Sie befinden sich im phpCMS Administrationsbereich.<br /> After loggin in you can adjust your site’s basic settings. Have a look at the configuration. <br /> <br /> As a reminder: your log-in passwort is the one you set in the file named default.php! Should you ever forget your password you may change it there at any time. <br /> <br /> Have fun with phpCMS!</p>" PHPCMS_INDEXER_1 = "Allgemeine Informationen" PHPCMS_INDEXER_2 = "Name des Profils" PHPCMS_INDEXER_3 = "Verzeichnis für die Indexdateien" PHPCMS_INDEXER_4 = "Indexdateien mit GZip komprimieren" PHPCMS_INDEXER_5 = "PuffergröÃe in Byte" PHPCMS_INDEXER_6 = "Spider Optionen" PHPCMS_INDEXER_7 = "Beachte die robots.txt" PHPCMS_INDEXER_8 = "Beachte das robots-meta-tag" PHPCMS_INDEXER_9 = "Schließe URLs aus, die folgende Begriffe beinhalten" PHPCMS_INDEXER_10 = "Schließe URLs ein, die folgende Begriffe beinhalten" PHPCMS_INDEXER_11 = "Dateien mit diesen Endungen nicht indizieren" PHPCMS_INDEXER_12 = "Indexer Optionen" PHPCMS_INDEXER_13 = "Liste mit erlaubten Servern" PHPCMS_INDEXER_14 = "Minimale Länge der zu erfassenden Begriffe" PHPCMS_INDEXER_15 = "Pfad zur Stopwortdatei" PHPCMS_INDEXER_16 = "Benutze Inhalt des Metatags <em>description</em> zur Seitenbeschreibung" PHPCMS_INDEXER_17 = "Länge des beschreibenden Textes" PHPCMS_INDEXER_18 = "Ãndere URLs" PHPCMS_INDEXER_19 = "Suche nach …" PHPCMS_INDEXER_20 = "… und ersetze mit" PHPCMS_INDEXER_21 = "Profil auswählen" PHPCMS_INDEXER_22 = "Erstelle einen neuen Index für dieses Profile" PHPCMS_INDEXER_23 = "Editiere die Einstellungen dieses Profiles" PHPCMS_INDEXER_24 = "Lösche dieses Profil" PHPCMS_INDEXER_25 = "Suche testen" PHPCMS_INDEXER_26 = "Suche testen" PHPCMS_INDEXER_27 = "Zeige die am häufigsten aufgetretenen Worte in diesem Index" PHPCMS_INDEXER_28 = "Wortliste" PHPCMS_INDEXER_29 = "Bitte erstellen Sie zuerst einen neuen Index" PHPCMS_INDEXER_30 = "Kein aktueller Index verfügbar" PHPCMS_IDNEXER_31 = "Profil speichern" PHPCMS_INDEXER_32 = "einstellungen speichern" PHPCMS_CACHE_1 = "dateiname" PHPCMS_CACHE_2 = "Letzte Änderungen" PHPCMS_CACHE_3 = "Größe" PHPCMS_CACHE_4 = "Lösche das gecachte Dokument" PHPCMS_CACHE_5 = "Betrachte das Dokument" PHPCMS_CACHE_6 = " Datei(en)" PHPCMS_CONFIG_1 = "Save phpCMS settings" PHPCMS_CONFIG_2 = "Save settings" PHPCMS_CONFIG_3 = "Errors" PHPCMS_CONFIG_4 = "Files & directories" PHPCMS_CONFIG_5 = "Page extension to be parsed" PHPCMS_CONFIG_6 = "<b>Extension of content files to be parsed by phpCMS</b><br /> Each file has an extension. HTML-files usually end with <em>.html</em> or <em>.htm</em>.<br /> This setting tells phpCMS what extension files have that it should look out for and parse.<br /> In addition the web server has to be configured so as to send files with this extension to the parser (e.g. via a .htaccess file).<br /> <br /> Default configuration is <em>.htm</em>.<br /> Regular HTML-files might be given the extension <em>.html</em> and phpCMS-files the extension <em>.htm</em>. But even <em>.htm</em>-files that do not contain phpCMS fields would be passed through unchanged." PHPCMS_CONFIG_7 = "Name of default page" PHPCMS_CONFIG_8 = "<b>Page to display when directory is requested</b><br /> When a client sends a request that does not specify a page name phpCMS will try to display this page.<br /> <br /> Example: If your default page is set to <em>index</em> and your page extension is <em>.htm</em>, then a request for http://server.com/docs/ would return http://server.com/docs/index.htm, if it exists." PHPCMS_CONFIG_9 = "Extension for templatefiles" PHPCMS_CONFIG_10 = "<b>File extension of template files</b><br /> The file extension used for templates can of course also be chosen freely.<br /> But the parser must know it..." PHPCMS_CONFIG_11 = "Global projectfile" PHPCMS_CONFIG_12 = "<b>Optional: project file valid for entire project</b><br /> Here a global project-file can be defined that is used if a requested content-file contains phpCMS fields but no project-file or an invalid project-file is defined there." PHPCMS_CONFIG_13 = "Global home-directory for all projects" PHPCMS_CONFIG_14 = "<b>Optional: home directory valid for entire project</b><br /> Here a global home-directory can be defined that is used if the project-file doesn't contain a value to set the home-directory." PHPCMS_CONFIG_15 = "Plugin directory" PHPCMS_CONFIG_16 = "<b>Directory that stores phpCMS plug-ins</b><br /> The directory containing the Plug-Ins for phpCMS. Throughout your project you may use <em>/parser/plugs</em> to access this directory. " PHPCMS_CONFIG_17 = "Parser" PHPCMS_CONFIG_18 = "Field delimiter start tag" PHPCMS_CONFIG_19 = "<b>Character signaling start of field</b><br /> With this character the start of a field in templates and content-files is marked.<br />" PHPCMS_CONFIG_20 = "Field delimiter end tag" PHPCMS_CONFIG_21 = "<b>Character signaling end of field</b><br /> With this character the end of a field in templates and content-files is marked." PHPCMS_CONFIG_22 = "Menu delimiter" PHPCMS_CONFIG_23 = "some description needed (1)" PHPCMS_CONFIG_24 = "Tag parameter delimiter" PHPCMS_CONFIG_25 = "some description needed (2)" PHPCMS_CONFIG_26 = "Use PAXPHP in your files" PHPCMS_CONFIG_27 = "<b>Parse embedded PHP code</b><br /> PAXPHP lets you use regular PHP code within content, and template files.<br /> So called DynaTags are an application of PAXPHP. DynaTags are user-defined tags that are substituted by a PHP expression marked up as PAXPHP." PHPCMS_CONFIG_28 = "Use PAX-tags" PHPCMS_CONFIG_29 = "<b>Execute hard coded PAX TAGS</b><br /> PAX TAGS are special functions that are hard coded within the PAX-Module.<br /> Available PAX TAGS are: PAXINC, PAXLASTMOD, PAXCOMBO, PAXCOMBOALL, PAXMENU, PAXHIGLIGHT and PAXRTF." PHPCMS_CONFIG_30 = "Use Mail2Crypt" PHPCMS_CONFIG_31 = "<b>Hide e-mail addresses from SPAM bots</b><br /> By using a tag like <!-- MAIL2CRYPT mail@domain.xyz --> e-mail addresses are scrambled on the fly to protect them from being harvested by SPAM bots. When turned off, addresses inside the tag are displayed as plain text. Mail2Crypt is configurable. See the manual for details. (Currently still under “PAX”)<br /> <br /> In phpCMS 1.2.0 and higher Mail2Crypt is fully integrated into the Parser and works independent of PAX." PHPCMS_CONFIG_32 = "Mail2Crypt javascript directory" PHPCMS_CONFIG_33 = "<b>Path to Mail2Crypt JS file</b><br /> Here you may specify the path to the directory that contains the Mail2Crypt JavaScript file. The file <em>js_mail2crypt.js</em> which is needed to display scrambled e-mail addresses in the browser is located in the document root by default." PHPCMS_CONFIG_34 = "Mail2Crypt image directory" PHPCMS_CONFIG_35 = "<b>Path to Mail2Crypt icon file</b><br /> Here you may specify the path to the directory that contains the Mail2Crypt icon files. The Mail2Crypt standard icons are located in <em>/parser/gif/</em> by default." PHPCMS_CONFIG_36 = "Use online editor" PHPCMS_CONFIG_37 = "some description needed (3)" PHPCMS_CONFIG_38 = "Cache & Proxy" PHPCMS_CONFIG_39 = "Use server cache" PHPCMS_CONFIG_40 = "<b>Allow storage and reuse of parsed pages on the server</b><br /> Pages and parts of pages that have already been parsed by phpCMS can be stored (cached) on the server for reuse. A page thus cached does not have to be re-parsed on subsequent requests. Through this technique phpCMS significantly reduces the server’s response time.<br /> <br /> When deactivating this feature the server cache needs to be cleaned (flushed) manually since pages still in the cache otherwise remain to be served to visitors." PHPCMS_CONFIG_41 = "Server cache directory" PHPCMS_CONFIG_42 = "<b>Directory where to put the on server-side cached files</b><br /> Note to Linux users: PHP needs to have write access to the cache directory. Should you not want to grant write access - e.g. for security reasons - the phpCMS cache feature can not be used." PHPCMS_CONFIG_43 = "Use client cache" PHPCMS_CONFIG_44 = "<b>Allow storage of pages in the browser</b><br /> Gives visitor’s browsers permission to store pages in their local cache. This setting takes effect for pages that are, or could be, cached server side. If this is not the case (e.g. because pages contain dynamic plug-ins) phpCMS deactivates this setting automatically." PHPCMS_CONFIG_45 = "Livetime of Proxy/Client cache in days" PHPCMS_CONFIG_46 = "<b>Amount of time pages may be stored by clients</b><br /> Specifies the amount of time clients are allowed to keep pages stored in local cache. After this time clients must send a request for a fresh copy of a page. This setting will be ignored if pages contain dynamic content, i.e. scripts or dynamic plug-ins." PHPCMS_CONFIG_47 = "Transport" PHPCMS_CONFIG_48 = "Use GZip compression" PHPCMS_CONFIG_49 = "<b>Compress pages before transmission</b><br /> Specifies whether G-Zip compression should be used to transmit pages if available. All of today’s major browsers can handle G-Zip compressed files.<br /> <br /> With this option switched on HTML files will be compressed in size by up to 70% before they are transmitted over the Internet. Pages thus transmitted load faster in your visitors’ browsers, and cause less traffic volume on your server!<br /> <br /> This feature can be used only if PHP runs with the <em>zlib</em> extension loaded. Please refer to the PHP documentation for further details..." PHPCMS_CONFIG_50 = "Use Stealthmode" PHPCMS_CONFIG_51 = "<b>Make URLs search engine friendly</b><br /> Use of this feature is recommended.<br /> In Stealth-Mode pages are accessed through “normal” looking URLs, i.e. without the “parser.php?file=” showing in the address bar. This makes sure that pages can be found and are indexed by search engines. Search engines often will not index pages whose URL contains a “?”!<br /> <br /> Stealth-Mode requires that you be able to use .htaccess files to configure your server. If you cannot use .htaccess files and cannot configure your server so that <em>.htm</em> files will be parsed by phpCMS, this feature must be deactivated. " PHPCMS_CONFIG_52 = "Use Secure-Stealthmode" PHPCMS_CONFIG_53 = "<b>Disallow access to secured directories</b><br /> Use of this feature is recommended.<br /> Secure Stealth-Mode blocks requests via “parser.php?file=filename.htm” to prevent unauthorized access to files located in directories secured through a .htaccess file." PHPCMS_CONFIG_54 = "Dont change links with this extension in non-stealthmode" PHPCMS_CONFIG_55 = "<b>File types not to be sent to the Parser</b><br /> Specifies extensions of files references to which, in Non-Stealth-Mode, should not be changed to <em>parser.php?file=</em>.<br /> <br /> In Non-Stealth-Mode HTML links are automatically converted so that requests are correctly sent to the Parser. Here you may specify those kinds of files links to which should remain unchanged." PHPCMS_CONFIG_56 = "Produce errors on empty tags" PHPCMS_CONFIG_57 = "<b>Handling of empty substitute tags</b><br /> With this option activated an error-message will be displayed should a tag be encountered that does not have its substitution string defined.<br /> When deactivated, such a tag will be substituted with an empty string, i.e. it will not produce any output in the parsed page." PHPCMS_CONFIG_58 = "Use debug-mode" PHPCMS_CONFIG_59 = "<b>Display error messages during development cycle</b> When Debug-Mode is activated phpCMS’s internal error messages will be displayed if a file cannot be found or some other error occurs.<br /> <br /> In Debug-Mode you may also use the phpCMS Debug-Tool. The Debug-Tool can be accessed by appending “?debug” to the URL of any content page." PHPCMS_CONFIG_60 = "Custom error page" PHPCMS_CONFIG_61 = "<b>Use of customized error pages</b><br /> When Debug-Mode is not activated, the Error-Page will be displayed should phpCMS encounter an internal error condition.<br />" PHPCMS_CONFIG_62 = "Custom 404 error page" PHPCMS_CONFIG_63 = "<b>Special treatment is given to “Error 404s”</b><br /> Since, from the server’s perspective, the file “parser.php” is the only one that is ever requested, the server cannot detect a missing content page and, consequently, cannot generate a 404 error message.<br /> The difference between the regular “Error-Page” and the 404-Error-Page is that the 404-Error-Page is not sent via HTTP redirect, but instead is send directly by and though the parser. This way the status of the browser address bar remains unchanged.<br /> <br /> In the event that no 404-Error-Page is specified or none exists, the regular Error-Page will be displayed." PHPCMS_CONFIG_64 = "P3P Statement (<b>http://w3c.org/P3P/</b>)" PHPCMS_CONFIG_65 = "Send P3P header" PHPCMS_CONFIG_66 = "<b>Send P3P statement with HTTP header</b><br /> P3P stands for “Platform for Privacy Preferences Project”. P3P offers a way to send machine readable privacy information to the browser. Some browsers base the acceptance of cookies on this information.<br /> <br /> A starting point for finding further information is <b>http://w3c.org/P3P/</b>..." PHPCMS_CONFIG_67 = "Global P3P policy header" PHPCMS_CONFIG_68 = "<b>Content of global P3P header</b><br /> Here you may enter the machine readable P3P compact policy." PHPCMS_CONFIG_69 = "P3P policy href" PHPCMS_CONFIG_70 = "<b>Directory of P3P Policy</b><br /> Directory that stores the comprehensive P3P privacy policy. Usually this is “/w3c/p3p.xml”." PHPCMS_CONFIG_71 = "I18N" PHPCMS_CONFIG_72 = "Use I18N" PHPCMS_CONFIG_73 = "some description needed (4)" PHPCMS_CONFIG_74 = "Default languages" PHPCMS_CONFIG_75 = "some description needed (5)" PHPCMS_CONFIG_76 = "Possible languages" PHPCMS_CONFIG_77 = "some description needed (6)" PHPCMS_CONFIG_78 = "I18N-mode" PHPCMS_CONFIG_79 = "some description needed (7)" PHPCMS_CONFIG_80 = " suffix (www.example.com/index.de.htm)" PHPCMS_CONFIG_81 = " dir (www.example.com/de/index.htm)" PHPCMS_CONFIG_82 = " var (www.example.com/index.htm?lang=de)" PHPCMS_CONFIG_83 = " host (www.example.de/index.htm or www.example.com/index.htm)" PHPCMS_CONFIG_84 = " session (www.example.com/index.htm?sid=1234 or cookie)" PHPCMS_CONFIG_85 = "Name of the URI-parameter" PHPCMS_CONFIG_86 = "some description needed (8)" PHPCMS_CONFIG_87 = "Statistics" PHPCMS_CONFIG_88 = "Use statistic logging" PHPCMS_CONFIG_89 = "<b>Activate phpCMS’s statistics feature</b><br /> This will activate phpCMS’s statistics function. When activated, phpCMS logs information about every request it handles which can then be viewed through the statistics module in the GUI." PHPCMS_CONFIG_90 = "Directory where to put statistic data" PHPCMS_CONFIG_91 = "<b>Statistics data directories</b><br /> Specifies directories for storing several statistics data. phpCMS needs write permission for these directories!" PHPCMS_CONFIG_92 = "Path to directory for current stats" PHPCMS_CONFIG_93 = "some description neeeded (9) " PHPCMS_CONFIG_94 = "Filename for the log-file" PHPCMS_CONFIG_95 = "<b>Name of the statistics log file</b><br /> Name of the log file that stores raw data on every page request." PHPCMS_CONFIG_96 = "Path to the directory for the backup" PHPCMS_CONFIG_97 = "How many referrer should be counted?" PHPCMS_CONFIG_98 = "some description needed (10)" PHPCMS_CONFIG_99 = "Ignore the following referrer" PHPCMS_CONFIG_100 = "some description needed (11)" PHPCMS_CONFIG_101 = "How many Ips should be counted?" PHPCMS_CONFIG_102 = "some description needed (12)" PHPCMS_CONFIG_103 = "Ignore the folowing IPs" PHPCMS_CONFIG_104 = "some description needed (13)" PHPCMS_CONFIG_105 = "How many URLs should be counted?" PHPCMS_CONFIG_106 = "some description needed (14)" PHPCMS_CONFIG_107 = "Activate referrer-logging" PHPCMS_CONFIG_108 = "<b>Log and display top and last referrer data</b><br /> Keeps a log of referrers that point to your site. This function works independently of the statistics module. To display a list of top and last referrers on your pages, you may use the plug-in <em>topref.php</em>, located in the plug-ins directory, which can be integrated as a plug-in, script or via PAX." PHPCMS_CONFIG_109 = "Directory where to put the referrer-file" PHPCMS_CONFIG_110 = "<b>Directory of referrer log file</b><br /> Directory that is used to store the referrer log file. phpCMS needs write permission for this directory!" PHPCMS_CONFIG_111 = "Name of the referrer-file" PHPCMS_CONFIG_112 = "<b>Name of referrer log file</b> Specifies the name of the log file that stores referrer data." PHPCMS_CONFIG_113 = "Time for the reload-lock" PHPCMS_CONFIG_114 = "<b>Duration of referrer reload lock</b><br /> Specifies the amount of time in seconds during which repeat page requests originating from the same client IP will be ignored. This prevents, to some extent, an unwanted “counting up” of top referrers." PHPCMS_CONFIG_115 = "Sitemap and TOC" PHPCMS_CONFIG_116 = "Activate search-module with contentfield" PHPCMS_CONFIG_117 = "some description needed (15)" PHPCMS_CONFIG_118 = "Name of the contentfield for search-module" PHPCMS_CONFIG_119 = "some description needed (16)" PHPCMS_CONFIG_120 = "Activate TOC-module with contentfield" PHPCMS_CONFIG_121 = "some description needed (17)" PHPCMS_CONFIG_122 = "Name of the contentfield for TOC-module" PHPCMS_CONFIG_123 = "some description needed (18)" PHPCMS_CONFIG_124 = "Expert settings" PHPCMS_CONFIG_125 = "Show expert settings" PHPCMS_CONFIG_126 = "some description needed (19)" PHPCMS_CONFIG_127 = "Display all PHP warnings and notices" PHPCMS_CONFIG_128 = "some description needed (20)" PHPCMS_CONFIG_129 = "Fix bug in PHP output-buffering" PHPCMS_CONFIG_130 = "some description needed (20)" PHPCMS_CONFIG_131 = "Domainname of the account" PHPCMS_CONFIG_132 = "some description needed (20)" PHPCMS_CONFIG_133 = "Auto" PHPCMS_CONFIG_134 = "Direct" PHPCMS_CONFIG_135 = "Apply domain-name manually" PHPCMS_CONFIG_136 = "Document-Root of the account" PHPCMS_CONFIG_137 = "some description needed (21)" PHPCMS_CONFIG_138 = "$script-path" PHPCMS_CONFIG_139 = "some description needed (22)" PHPCMS_CONFIG_140 = "Apply $script_path manually" PHPCMS_CONFIG_141 = "$script_name" PHPCMS_CONFIG_142 = "some description needed (22)" PHPCMS_CONFIG_143 = "Apply $script_name manually" PHPCMS_CONFIG_144 = "" PHPCMS_CONFIG_145 = "" PHPCMS_CONFIG_146 = "" --- NEW FILE: class.module_pluginmanager.php --- <?php /** * Managment of the phpCMS-related administration part * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2004, Martin Jahn * @version $Id: class.module_pluginmanager.php,v 1.1 2005/04/07 14:09:04 mjahn Exp $ * @package admin4phpCMS * @subpackage module_pluginmanager */ /* * $Log: class.module_pluginmanager.php,v $ * Revision 1.1 2005/04/07 14:09:04 mjahn * Commit as backup during development * */ /** * * @package admin4phpCMS * @subpackage module_pluginmanager **/ class module_pluginmanager extends module { /** * * * @var array $_PLUGINS contains the information of the plugin.ini-file * @access private */ var $_PLUGINS = array (); /** * Initialization of the module * * The module registers its own events and connects his methods to some * actions */ function init() { // connect to actions $this->_registerAction('doParseParam', 'parseParam'); $this->_registerAction('doGetMenu', 'getMenu'); return true; } // function init () /** * Parse the URI-params * * @param array $actiondata $actiondata contains the URI-param-arrays **/ function parseParam(&$actiondata) { $this->display = (isset ($actiondata['request']['moduleid']) && $actiondata['request']['moduleid'] == 'pluginmanager'); if ($this->display) { $this->_registerAction('doProcess', 'process'); $this->_registerAction('doGetData', 'getData'); $this->_registerAction('doGetLanguage', 'getLanguageData'); $this->action = ''; if (isset ($actiondata['request']['action'])) { $this->action = $actiondata['request']['action']; } // load the pluginfile $this->_loadPlugins(); } $this->_callEvent('USER_GET_STATUS', $actiondata1); $this->_USER = $actiondata1; return true; } // function parseParam () function process(&$actiondata) { if (!$this->display) { return true; } foreach ($this->_PLUGINS as $id=>$plugin) { if (!is_array ($plugin)) { continue; } $pluginfile = $_SERVER ['DOCUMENT_ROOT'].'/'.$this->_PLUGINS ['plugindir'].'/'.$plugin ['dirname'].'/'.$plugin ['filename']; if (!file_exists ($pluginfile)) { continue; } include_once ($pluginfile); //echo 'initializing Plugin '.$id.'<br />'."\n"; $this->_PLUGINS [$id] ['_object_'] =& new $plugin ['class']; $this->_PLUGINS [$id] ['_object_']->{$plugin ['process']} (); } } // function process () /** * Get structure for menu * * @param array $actiondata $actiondata['_root'] must provide the id of the parental element **/ function getMenu(&$actiondata) { if (!$this->_USER['isLoggedIn']) { return true; } $data = array ('name'=>'Pluginmanager', 'module'=>'pluginmanager', 'action'=>''); $_data = array (); if ($this->display) { $data ['extra'] = 'class="current"'; $data1 = array ('name' => 'Manager', 'module' => 'pluginmanager', 'action' => 'manage'); if ($this->action == 'cache') { $data1 ['extra'] = 'class="current"'; } $_data [] = $data1; foreach ($this->_PLUGINS as $name=>$plugin) { if (!is_array ($plugin)) { continue; } $data1 = array ('name' => $plugin ['label'], 'module' => 'pluginmanager', 'action' => 'plugin-'.$name); if ($this->action == 'plugin-'.$name) { $data1['extra'] = 'class="current"'; } $_data [] = $data1; } $data ['_sub_'] = $_data; } $actiondata [$actiondata ['tag']] ['pluginmanager'] = array ($data); return true; } // function getMenu () /** * Get content of the module * * @param array $actiondata $actiondata['_root'] must provide the id of the parental element **/ function getData(&$actiondata) { if (!$this->_USER['isLoggedIn']) { //echo '-- not logged in<br />'."\n"; return true; } if (!$this->display) { return true; } $data = array ('action'=>$this->action, 'plugindir'=>$this->_PLUGINS ['plugindir']); $_data = array (); foreach ($this->_PLUGINS as $id=>$plugin) { if (!is_array ($plugin)) { continue; } if (!isset ($plugin ['_object_'])) { //echo '--'.$id."<br />\n"; continue; } $_data [$id] = $plugin ['_object_']->{$plugin ['getdata']} (); } $data ['plugins'] = $_data; $actiondata [$actiondata ['tag']] ['pluginmanager'] = $data; return true; } // function getData () function getLanguageData (&$actiondata) { $langAvailable = array ('de', 'en'); $data = $actiondata [$actiondata ['tag']]; foreach ($langAvailable as $lang) { if (!file_exists (dirname (__FILE__).'/module_pluginmanager_'.$lang.'.lng')) { continue; } if (isset ($data [$lang])) { $data [$lang] = array_merge ($data [$lang], parse_ini_file (dirname (__FILE__).'/module_pluginmanager_'.$lang.'.lng')); } else { $data [$lang] = parse_ini_file (dirname (__FILE__).'/module_pluginmanager_'.$lang.'.lng', true); } } foreach ($this->_PLUGINS as $id=>$plugin) { if (!is_array ($plugin)) { continue; } } $actiondata [$actiondata ['tag']] = $data; return true; } /** * load the datafile of this module * * Every plugin that has a module for admin4phpCMS gets his own part in this * file. the file is in INI-Format, the sectionnames are the ids of the * plugins and the sections contain the file, the class, the function-names * for process, menu, data and language. */ function _loadPlugins () { $this->_PLUGINS = array (); if (!file_exists (dirname (__FILE__).'/plugins.ini')) { return; } $this->_PLUGINS = parse_ini_file (dirname (__FILE__).'/plugins.ini', true); } } ?> --- NEW FILE: module_pluginmanager_de.lng --- PHPCMS_1 = "phpCMS — Konfiguration" PHPCMS_2 = "phpCMS — Cache" PHPCMS_3 = "phpCMS — HTTP-Indexer!" PHPCMS_4 = "<h2>Willkommen bei phpCMS!</h2> <p>Vielen Dank, daß Sie phpCMS installiert haben</p> <p> Sie befinden sich im phpCMS Administrationsbereich. </p> <p> Viel Spaß mit phpCMS!</p>" PHPCMS_INDEXER_1 = "Allgemeine Informationen" PHPCMS_INDEXER_2 = "Name des Profils" PHPCMS_INDEXER_3 = "Verzeichnis für die Indexdateien" PHPCMS_INDEXER_4 = "Indexdateien mit GZip komprimieren" PHPCMS_INDEXER_5 = "PuffergröÃe in Byte" PHPCMS_INDEXER_6 = "Spider Optionen" PHPCMS_INDEXER_7 = "Beachte die robots.txt" PHPCMS_INDEXER_8 = "Beachte das robots-meta-tag" PHPCMS_INDEXER_9 = "Schließe URLs aus, die folgende Begriffe beinhalten" PHPCMS_INDEXER_10 = "Schließe URLs ein, die folgende Begriffe beinhalten" PHPCMS_INDEXER_11 = "Dateien mit diesen Endungen nicht indizieren" PHPCMS_INDEXER_12 = "Indexer Optionen" PHPCMS_INDEXER_13 = "Liste mit erlaubten Servern" PHPCMS_INDEXER_14 = "Minimale Länge der zu erfassenden Begriffe" PHPCMS_INDEXER_15 = "Pfad zur Stopwortdatei" PHPCMS_INDEXER_16 = "Benutze Inhalt des Metatags <em>description</em> zur Seitenbeschreibung" PHPCMS_INDEXER_17 = "Länge des beschreibenden Textes" PHPCMS_INDEXER_18 = "Ändere URLs" PHPCMS_INDEXER_19 = "Suche nach …" PHPCMS_INDEXER_20 = "… und ersetze mit" PHPCMS_INDEXER_21 = "Profil auswählen" PHPCMS_INDEXER_22 = "Erstelle einen neuen Index für dieses Profile" PHPCMS_INDEXER_23 = "Editiere die Einstellungen dieses Profiles" PHPCMS_INDEXER_24 = "Lösche dieses Profil" PHPCMS_INDEXER_25 = "Suche testen" PHPCMS_INDEXER_26 = "Suche testen" PHPCMS_INDEXER_27 = "Zeige die am häufigsten aufgetretenen Worte in diesem Index" PHPCMS_INDEXER_28 = "Wortliste" PHPCMS_INDEXER_29 = "Bitte erstellen Sie zuerst einen neuen Index" PHPCMS_INDEXER_30 = "Kein aktueller Index verfügbar" PHPCMS_INDEXER_31 = "Profil speichern" PHPCMS_INDEXER_32 = "Einstellungen speichern" PHPCMS_CACHE_1 = "Dateiname" PHPCMS_CACHE_2 = "Letzte Änderungen" PHPCMS_CACHE_3 = "Größe" PHPCMS_CACHE_4 = "Lösche das gecachte Dokument" PHPCMS_CACHE_5 = "Betrachte das Dokument" PHPCMS_CACHE_6 = " Datei(en)" PHPCMS_CONFIG_1 = "Save phpCMS settings" PHPCMS_CONFIG_2 = "Save settings" PHPCMS_CONFIG_3 = "Errors" PHPCMS_CONFIG_4 = "Files & directories" PHPCMS_CONFIG_5 = "Page extension to be parsed" PHPCMS_CONFIG_6 = "<b>Extension of content files to be parsed by phpCMS</b><br /> Each file has an extension. HTML-files usually end with <em>.html</em> or <em>.htm</em>.<br /> This setting tells phpCMS what extension files have that it should look out for and parse.<br /> In addition the web server has to be configured so as to send files with this extension to the parser (e.g. via a .htaccess file).<br /> <br /> Default configuration is <em>.htm</em>.<br /> Regular HTML-files might be given the extension <em>.html</em> and phpCMS-files the extension <em>.htm</em>. But even <em>.htm</em>-files that do not contain phpCMS fields would be passed through unchanged." PHPCMS_CONFIG_7 = "Name of default page" PHPCMS_CONFIG_8 = "<b>Page to display when directory is requested</b><br /> When a client sends a request that does not specify a page name phpCMS will try to display this page.<br /> <br /> Example: If your default page is set to <em>index</em> and your page extension is <em>.htm</em>, then a request for http://server.com/docs/ would return http://server.com/docs/index.htm, if it exists." PHPCMS_CONFIG_9 = "Extension for templatefiles" PHPCMS_CONFIG_10 = "<b>File extension of template files</b><br /> The file extension used for templates can of course also be chosen freely.<br /> But the parser must know it…" PHPCMS_CONFIG_11 = "Global projectfile" PHPCMS_CONFIG_12 = "<b>Optional: project file valid for entire project</b><br /> Here a global project-file can be defined that is used if a requested content-file contains phpCMS fields but no project-file or an invalid project-file is defined there." PHPCMS_CONFIG_13 = "Global home-directory for all projects" PHPCMS_CONFIG_14 = "<b>Optional: home directory valid for entire project</b><br /> Here a global home-directory can be defined that is used if the project-file doesn't contain a value to set the home-directory." PHPCMS_CONFIG_15 = "Plugin directory" PHPCMS_CONFIG_16 = "<b>Directory that stores phpCMS plug-ins</b><br /> The directory containing the Plug-Ins for phpCMS. Throughout your project you may use <em>/parser/plugs</em> to access this directory. " PHPCMS_CONFIG_17 = "Parser" PHPCMS_CONFIG_18 = "Field delimiter start tag" PHPCMS_CONFIG_19 = "<b>Character signaling start of field</b><br /> With this character the start of a field in templates and content-files is marked.<br />" PHPCMS_CONFIG_20 = "Field delimiter end tag" PHPCMS_CONFIG_21 = "<b>Character signaling end of field</b><br /> With this character the end of a field in templates and content-files is marked." PHPCMS_CONFIG_22 = "Menu delimiter" PHPCMS_CONFIG_23 = "some description needed (1)" PHPCMS_CONFIG_24 = "Tag parameter delimiter" PHPCMS_CONFIG_25 = "some description needed (2)" PHPCMS_CONFIG_26 = "Use PAXPHP in your files" PHPCMS_CONFIG_27 = "<b>Parse embedded PHP code</b><br /> PAXPHP lets you use regular PHP code within content, and template files.<br /> So called DynaTags are an application of PAXPHP. DynaTags are user-defined tags that are substituted by a PHP expression marked up as PAXPHP." PHPCMS_CONFIG_28 = "Use PAX-tags" PHPCMS_CONFIG_29 = "<b>Execute hard coded PAX TAGS</b><br /> PAX TAGS are special functions that are hard coded within the PAX-Module.<br /> Available PAX TAGS are: PAXINC, PAXLASTMOD, PAXCOMBO, PAXCOMBOALL, PAXMENU, PAXHIGLIGHT and PAXRTF." PHPCMS_CONFIG_30 = "Use Mail2Crypt" PHPCMS_CONFIG_31 = "<b>Hide e-mail addresses from SPAM bots</b><br /> By using a tag like <!-- MAIL2CRYPT mail@domain.xyz --> e-mail addresses are scrambled on the fly to protect them from being harvested by SPAM bots. When turned off, addresses inside the tag are displayed as plain text. Mail2Crypt is configurable. See the manual for details. (Currently still under “PAX”)<br /> <br /> In phpCMS 1.2.0 and higher Mail2Crypt is fully integrated into the Parser and works independent of PAX." PHPCMS_CONFIG_32 = "Mail2Crypt javascript directory" PHPCMS_CONFIG_33 = "<b>Path to Mail2Crypt JS file</b><br /> Here you may specify the path to the directory that contains the Mail2Crypt JavaScript file. The file <em>js_mail2crypt.js</em> which is needed to display scrambled e-mail addresses in the browser is located in the document root by default." PHPCMS_CONFIG_34 = "Mail2Crypt image directory" PHPCMS_CONFIG_35 = "<b>Path to Mail2Crypt icon file</b><br /> Here you may specify the path to the directory that contains the Mail2Crypt icon files. The Mail2Crypt standard icons are located in <em>/parser/gif/</em> by default." PHPCMS_CONFIG_36 = "Use online editor" PHPCMS_CONFIG_37 = "some description needed (3)" PHPCMS_CONFIG_38 = "Cache & Proxy" PHPCMS_CONFIG_39 = "Use server cache" PHPCMS_CONFIG_40 = "<b>Allow storage and reuse of parsed pages on the server</b><br /> Pages and parts of pages that have already been parsed by phpCMS can be stored (cached) on the server for reuse. A page thus cached does not have to be re-parsed on subsequent requests. Through this technique phpCMS significantly reduces the server’s response time.<br /> <br /> When deactivating this feature the server cache needs to be cleaned (flushed) manually since pages still in the cache otherwise remain to be served to visitors." PHPCMS_CONFIG_41 = "Server cache directory" PHPCMS_CONFIG_42 = "<b>Directory where to put the on server-side cached files</b><br /> Note to Linux users: PHP needs to have write access to the cache directory. Should you not want to grant write access - e.g. for security reasons - the phpCMS cache feature can not be used." PHPCMS_CONFIG_43 = "Use client cache" PHPCMS_CONFIG_44 = "<b>Allow storage of pages in the browser</b><br /> Gives visitor’s browsers permission to store pages in their local cache. This setting takes effect for pages that are, or could be, cached server side. If this is not the case (e.g. because pages contain dynamic plug-ins) phpCMS deactivates this setting automatically." PHPCMS_CONFIG_45 = "Livetime of Proxy/Client cache in days" PHPCMS_CONFIG_46 = "<b>Amount of time pages may be stored by clients</b><br /> Specifies the amount of time clients are allowed to keep pages stored in local cache. After this time clients must send a request for a fresh copy of a page. This setting will be ignored if pages contain dynamic content, i.e. scripts or dynamic plug-ins." PHPCMS_CONFIG_47 = "Transport" PHPCMS_CONFIG_48 = "Use GZip compression" PHPCMS_CONFIG_49 = "<b>Compress pages before transmission</b><br /> Specifies whether G-Zip compression should be used to transmit pages if available. All of today’s major browsers can handle G-Zip compressed files.<br /> <br /> With this option switched on HTML files will be compressed in size by up to 70% before they are transmitted over the Internet. Pages thus transmitted load faster in your visitors’ browsers, and cause less traffic volume on your server!<br /> <br /> This feature can be used only if PHP runs with the <em>zlib</em> extension loaded. Please refer to the PHP documentation for further details…" PHPCMS_CONFIG_50 = "Use Stealthmode" PHPCMS_CONFIG_51 = "<b>Make URLs search engine friendly</b><br /> Use of this feature is recommended.<br /> In Stealth-Mode pages are accessed through “normal” looking URLs, i.e. without the “parser.php?file=” showing in the address bar. This makes sure that pages can be found and are indexed by search engines. Search engines often will not index pages whose URL contains a “?”!<br /> <br /> Stealth-Mode requires that you be able to use .htaccess files to configure your server. If you cannot use .htaccess files and cannot configure your server so that <em>.htm</em> files will be parsed by phpCMS, this feature must be deactivated. " PHPCMS_CONFIG_52 = "Use Secure-Stealthmode" PHPCMS_CONFIG_53 = "<b>Disallow access to secured directories</b><br /> Use of this feature is recommended.<br /> Secure Stealth-Mode blocks requests via “parser.php?file=filename.htm” to prevent unauthorized access to files located in directories secured through a .htaccess file." PHPCMS_CONFIG_54 = "Dont change links with this extension in non-stealthmode" PHPCMS_CONFIG_55 = "<b>File types not to be sent to the Parser</b><br /> Specifies extensions of files references to which, in Non-Stealth-Mode, should not be changed to <em>parser.php?file=</em>.<br /> <br /> In Non-Stealth-Mode HTML links are automatically converted so that requests are correctly sent to the Parser. Here you may specify those kinds of files links to which should remain unchanged." PHPCMS_CONFIG_56 = "Produce errors on empty tags" PHPCMS_CONFIG_57 = "<b>Handling of empty substitute tags</b><br /> With this option activated an error-message will be displayed should a tag be encountered that does not have its substitution string defined.<br /> When deactivated, such a tag will be substituted with an empty string, i.e. it will not produce any output in the parsed page." PHPCMS_CONFIG_58 = "Use debug-mode" PHPCMS_CONFIG_59 = "<b>Display error messages during development cycle</b> When Debug-Mode is activated phpCMS’s internal error messages will be displayed if a file cannot be found or some other error occurs.<br /> <br /> In Debug-Mode you may also use the phpCMS Debug-Tool. The Debug-Tool can be accessed by appending “?debug” to the URL of any content page." PHPCMS_CONFIG_60 = "Custom error page" PHPCMS_CONFIG_61 = "<b>Use of customized error pages</b><br /> When Debug-Mode is not activated, the Error-Page will be displayed should phpCMS encounter an internal error condition.<br />" PHPCMS_CONFIG_62 = "Custom 404 error page" PHPCMS_CONFIG_63 = "<b>Special treatment is given to “Error 404s”</b><br /> Since, from the server’s perspective, the file “parser.php” is the only one that is ever requested, the server cannot detect a missing content page and, consequently, cannot generate a 404 error message.<br /> The difference between the regular “Error-Page” and the 404-Error-Page is that the 404-Error-Page is not sent via HTTP redirect, but instead is send directly by and though the parser. This way the status of the browser address bar remains unchanged.<br /> <br /> In the event that no 404-Error-Page is specified or none exists, the regular Error-Page will be displayed." PHPCMS_CONFIG_64 = "P3P Statement (<b>http://w3c.org/P3P/</b>)" PHPCMS_CONFIG_65 = "Send P3P header" PHPCMS_CONFIG_66 = "<b>Send P3P statement with HTTP header</b><br /> P3P stands for “Platform for Privacy Preferences Project”. P3P offers a way to send machine readable privacy information to the browser. Some browsers base the acceptance of cookies on this information.<br /> <br /> A starting point for finding further information is <b>http://w3c.org/P3P/</b>…" PHPCMS_CONFIG_67 = "Global P3P policy header" PHPCMS_CONFIG_68 = "<b>Content of global P3P header</b><br /> Here you may enter the machine readable P3P compact policy." PHPCMS_CONFIG_69 = "P3P policy href" PHPCMS_CONFIG_70 = "<b>Directory of P3P Policy</b><br /> Directory that stores the comprehensive P3P privacy policy. Usually this is “/w3c/p3p.xml”." PHPCMS_CONFIG_71 = "I18N" PHPCMS_CONFIG_72 = "Use I18N" PHPCMS_CONFIG_73 = "some description needed (4)" PHPCMS_CONFIG_74 = "Default languages" PHPCMS_CONFIG_75 = "some description needed (5)" PHPCMS_CONFIG_76 = "Possible languages" PHPCMS_CONFIG_77 = "some description needed (6)" PHPCMS_CONFIG_78 = "I18N-mode" PHPCMS_CONFIG_79 = "some description needed (7)" PHPCMS_CONFIG_80 = " suffix (www.example.com/index.de.htm)" PHPCMS_CONFIG_81 = " dir (www.example.com/de/index.htm)" PHPCMS_CONFIG_82 = " var (www.example.com/index.htm?lang=de)" PHPCMS_CONFIG_83 = " host (www.example.de/index.htm or www.example.com/index.htm)" PHPCMS_CONFIG_84 = " session (www.example.com/index.htm?sid=1234 or cookie)" PHPCMS_CONFIG_85 = "Name of the URI-parameter" PHPCMS_CONFIG_86 = "some description needed (8)" PHPCMS_CONFIG_87 = "Statistics" PHPCMS_CONFIG_88 = "Use statistic logging" PHPCMS_CONFIG_89 = "<b>Activate phpCMS’s statistics feature</b><br /> This will activate phpCMS’s statistics function. When activated, phpCMS logs information about every request it handles which can then be viewed through the statistics module in the GUI." PHPCMS_CONFIG_90 = "Directory where to put statistic data" PHPCMS_CONFIG_91 = ... [truncated message content] |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:50
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/tools Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/tools added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:49
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/user/data Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/data added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:49
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/user/templates Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/templates added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:49
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/statistic/templates Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/templates added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:48
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/pluginmanager/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/pluginmanager/templates Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/pluginmanager/templates added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:48
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/img/indexer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/phpcms/img/indexer Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/img/indexer added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:48
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/statistic Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:48
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/phpcms-content Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:48
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/phpcms-content/templates Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content/templates added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:48
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/layout/templates Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/templates added to the repository |
From: Martin J. <mj...@us...> - 2005-04-07 14:03:48
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12391/modules/phpcms/templates Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates added to the repository |
From: Martin J. <mj...@us...> - 2005-02-24 00:05:08
|
Update of /cvsroot/phpcms-plugins/google2rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16447 Added Files: google2rss.dat GoogleSearch.wsdl google2rss.php .cvsignore Log Message: initial import --- NEW FILE: google2rss.dat --- --- NEW FILE: .cvsignore --- cache *project* api.html --- NEW FILE: GoogleSearch.wsdl --- <?xml version="1.0"?> <!-- WSDL description of the Google Web APIs. The Google Web APIs are in beta release. All interfaces are subject to change as we refine and extend our APIs. Please see the terms of use for more information. --> <!-- Revision 2002-08-16 --> <definitions name="GoogleSearch" targetNamespace="urn:GoogleSearch" xmlns:typens="urn:GoogleSearch" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"> <!-- Types for search - result elements, directory categories --> <types> <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:GoogleSearch"> <xsd:complexType name="GoogleSearchResult"> <xsd:all> <xsd:element name="documentFiltering" type="xsd:boolean"/> <xsd:element name="searchComments" type="xsd:string"/> <xsd:element name="estimatedTotalResultsCount" type="xsd:int"/> <xsd:element name="estimateIsExact" type="xsd:boolean"/> <xsd:element name="resultElements" type="typens:ResultElementArray"/> <xsd:element name="searchQuery" type="xsd:string"/> <xsd:element name="startIndex" type="xsd:int"/> <xsd:element name="endIndex" type="xsd:int"/> <xsd:element name="searchTips" type="xsd:string"/> <xsd:element name="directoryCategories" type="typens:DirectoryCategoryArray"/> <xsd:element name="searchTime" type="xsd:double"/> </xsd:all> </xsd:complexType> <xsd:complexType name="ResultElement"> <xsd:all> <xsd:element name="summary" type="xsd:string"/> <xsd:element name="URL" type="xsd:string"/> <xsd:element name="snippet" type="xsd:string"/> <xsd:element name="title" type="xsd:string"/> <xsd:element name="cachedSize" type="xsd:string"/> <xsd:element name="relatedInformationPresent" type="xsd:boolean"/> <xsd:element name="hostName" type="xsd:string"/> <xsd:element name="directoryCategory" type="typens:DirectoryCategory"/> <xsd:element name="directoryTitle" type="xsd:string"/> </xsd:all> </xsd:complexType> <xsd:complexType name="ResultElementArray"> <xsd:complexContent> <xsd:restriction base="soapenc:Array"> <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:ResultElement[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="DirectoryCategoryArray"> <xsd:complexContent> <xsd:restriction base="soapenc:Array"> <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:DirectoryCategory[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="DirectoryCategory"> <xsd:all> <xsd:element name="fullViewableName" type="xsd:string"/> <xsd:element name="specialEncoding" type="xsd:string"/> </xsd:all> </xsd:complexType> </xsd:schema> </types> <!-- Messages for Google Web APIs - cached page, search, spelling. --> <message name="doGetCachedPage"> <part name="key" type="xsd:string"/> <part name="url" type="xsd:string"/> </message> <message name="doGetCachedPageResponse"> <part name="return" type="xsd:base64Binary"/> </message> <message name="doSpellingSuggestion"> <part name="key" type="xsd:string"/> <part name="phrase" type="xsd:string"/> </message> <message name="doSpellingSuggestionResponse"> <part name="return" type="xsd:string"/> </message> <!-- note, ie and oe are ignored by server; all traffic is UTF-8. --> <message name="doGoogleSearch"> <part name="key" type="xsd:string"/> <part name="q" type="xsd:string"/> <part name="start" type="xsd:int"/> <part name="maxResults" type="xsd:int"/> <part name="filter" type="xsd:boolean"/> <part name="restrict" type="xsd:string"/> <part name="safeSearch" type="xsd:boolean"/> <part name="lr" type="xsd:string"/> <part name="ie" type="xsd:string"/> <part name="oe" type="xsd:string"/> </message> <message name="doGoogleSearchResponse"> <part name="return" type="typens:GoogleSearchResult"/> </message> <!-- Port for Google Web APIs, "GoogleSearch" --> <portType name="GoogleSearchPort"> <operation name="doGetCachedPage"> <input message="typens:doGetCachedPage"/> <output message="typens:doGetCachedPageResponse"/> </operation> <operation name="doSpellingSuggestion"> <input message="typens:doSpellingSuggestion"/> <output message="typens:doSpellingSuggestionResponse"/> </operation> <operation name="doGoogleSearch"> <input message="typens:doGoogleSearch"/> <output message="typens:doGoogleSearchResponse"/> </operation> </portType> <!-- Binding for Google Web APIs - RPC, SOAP over HTTP --> <binding name="GoogleSearchBinding" type="typens:GoogleSearchPort"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="doGetCachedPage"> <soap:operation soapAction="urn:GoogleSearchAction"/> <input> <soap:body use="encoded" namespace="urn:GoogleSearch" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output> <soap:body use="encoded" namespace="urn:GoogleSearch" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> </operation> <operation name="doSpellingSuggestion"> <soap:operation soapAction="urn:GoogleSearchAction"/> <input> <soap:body use="encoded" namespace="urn:GoogleSearch" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output> <soap:body use="encoded" namespace="urn:GoogleSearch" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> </operation> <operation name="doGoogleSearch"> <soap:operation soapAction="urn:GoogleSearchAction"/> <input> <soap:body use="encoded" namespace="urn:GoogleSearch" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output> <soap:body use="encoded" namespace="urn:GoogleSearch" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> </operation> </binding> <!-- Endpoint for Google Web APIs --> <service name="GoogleSearchService"> <port name="GoogleSearchPort" binding="typens:GoogleSearchBinding"> <soap:address location="http://api.google.com/search/beta2"/> </port> </service> </definitions> --- NEW FILE: google2rss.php --- <?php /** * google2rss * * This script is a user interface for the google-API. It presents and caches * search results with google and updates the results in a daily rhythm. The * results are available as RSS or ATOM-feed for syndication. * * Possible applications are for watching the position of your own site within * the results for some search terms. The service is available for all people and * identifies the feeds by the search terms. If there are more than 1000 API * calls a day, I may stretch the update cycle to two days or maybe three days. * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id: google2rss.php,v 1.1 2005/02/24 00:04:53 mjahn Exp $ * @package google2rss */ /* * $Log: google2rss.php,v $ * Revision 1.1 2005/02/24 00:04:53 mjahn * initial import * */ class google2rss { var $key = 'V2XjHP1QFHIMJ+bOfslwEZf2MwbzSinr'; var $TOCfile = 'google2rss.dat'; var $TOC = array (); var $showForm = false; var $_TOC_parsed = false; function __construct () { $this->logger =& Log::factory ('file', dirname (__FILE__).'/google2rss.log', 'Google2RSS', array ('filename'=>dirname (__FILE__).'/google2rss.log')); if (isset ($_GET ['id'])) { $id = ''; if (isset ($_GET ['id'])) { $id = strip_tags ($_GET ['id']); } $format = 'atom'; if (isset ($_GET ['format'])) { $format = strip_tags ($_GET ['format']); } $this->feed ($id, $format); return true; } if (isset ($_POST ['submit-show-feed']) && isset ($_POST ['showfeed'])) { $id = strip_tags ($_POST ['showfeed']); $this->showEntries (); $this->showFeed ($id, $this->_getCache ($id)); return true; } if (!isset ($_POST ['q']) || !isset ($_POST ['q'])) { if ($this->showForm) { $this->showForm (); } $this->showEntries (); return true; } if (!isset ($_POST ['q'])) { $_POST ['q'] = ''; } $this->q = strtolower ($_POST ['q']); if (!isset ($_POST ['lang'])) { $_POST ['lang'] = ''; } $this->lang = strip_tags ($_POST ['lang']); if (!isset ($_POST ['restrict'])) { $_POST ['restrict'] = ''; } $this->restrict = strip_tags ($_POST ['restrict']); if (trim ($this->q) != '') { $this->_cacheSearch (); } else { $this->showEntries (); } } function __destruct () { $this->logger->close (); } function feed ($id, $format = 'atom') { $this->logger->log(strtoupper ($format).' feed '.$id.' from '.$_SERVER ['REMOTE_ADDR'], PEAR_LOG_NOTICE); header ('Content-Type: application/xml'); readfile (dirname (__FILE__).'/cache/'.$id.'.'.$format); } function showForm () { echo '<form action="#" method="post"><fieldset>' . '<legend>Suchbegriffe überwachen</legend>' . '<label><span>Suchbegriff eingeben</span><input type="text" name="q" value="" /></label>' . '<label><span> <span class="hidden">Anfrage abschicken</span></span><input type="submit" name="submit-google-rss" value="Los" /></label>' . '<input type="radio" name="lang" value="lang_de" /> deutsch ' . '<input type="radio" name="lang" value="lang_en" /> englisch ' . '<input type="radio" name="lang" value="" checked="checked" /> egal ' . '</fieldset></form></body></html>'; } function showEntries () { if (!$this->_parseTOCFile ()) { return false; } echo '<form action="#" method="post"><fieldset>' . '<legend>Vorhandene Feeds</legend>' . '<label><span>Suchbegriffe</span><select name="showfeed" size="1">'; foreach ($this->TOC as $id=>$data) { echo '<option value="'.$id.'">'.htmlentities ($data ['q']).'</option>'."\n"; } echo '</select></label>' . '<label><span> <span class="hidden"></span></span><input type="submit" name="submit-show-feed" value="Suchergebnisse anzeigen" /></label>' . '</fieldset></form>'; return true; } function showFeed ($id, $data) { if (!$this->_parseTOCFile ()) { return false; } if (!isset ($this->TOC [$id])) { return false; } $this->logger->log('searchresults for '.$this->TOC [$id].' from '.$_SERVER ['REMOTE_ADDR'], PEAR_LOG_NOTICE); echo '<h3>Suchergebnisse für "'.$this->TOC [$id] ['q'].'"</h3>' . '<div class="e"><h4>Als Feed</h4>'. '<ul class="none">' . '<li><a href="/service/google2rss/'.$id.'.rss" title="RSS 2.0 Feed der Suchergebnisse">RSS-Feed</a></li>' . '<li><a href="/service/google2rss/'.$id.'.atom" title="ATOM 0.3 Feed der Suchergebnisse">ATOM-Feed</a></li>' . '</ul></div>'; echo '<dl>'; foreach ($data as $entry) { echo '<dt><a href="'.$entry['url'].'">'.strip_tags ($entry ['title']).'</a></dt><dd>'.strip_tags ($entry ['desc']).'</dd>'."\n"; } echo '</dl>'; } /** * @return boolean success-status of the parsing the TOCfile into an array */ function _parseTOCFile () { if ($this->_TOC_parsed) { return true; } if (!file_exists (dirname (__FILE__).'/'.$this->TOCfile)) { return false; } $data = file (dirname (__FILE__).'/'.$this->TOCfile); foreach ($data as $line) { $entry = explode (' ', trim ($line), 5); $this->TOC [$entry [0]] = array ('time'=>$entry [1], 'lang'=>$entry [2], 'restrict'=>$entry [3], 'q'=>$entry [4]); } $this->_TOC_parsed = true; return true; } /** * This function writes the tocfile * @return boolean success-status of writing the TOCfile */ function _writeTOCFile () { if (!$this->_TOC_parsed) { $this->_parseTOCFile (); } if (!is_array ($this->TOC)) { $this->TOC = array ($this->TOC); } $fh = fopen (dirname (__FILE__).'/'.$this->TOCfile, 'wb'); foreach ($this->TOC as $id=>$entry) { fwrite ($fh, $id.' '.$entry ['time'].' '.$entry ['lang'].' '.$entry ['restrict'].' '.$entry ['q']."\n"); } fclose ($fh); } /** * @param string id ID of the cacheentry (md5-hash of the searchterm) * @return array Content of the cached file */ function _getCache ($id) { // filename of the cached file $cachefile = dirname (__FILE__).'/cache/'.$id; // unserialize data from file $fh = fopen ($cachefile, 'rb'); return unserialize (join ('', file ($cachefile))); } /** * @param string id ID of the cacheentry (md5-hash of the searchterm) * @param array entry Content that should be cached * @return boolean success-status of writing the cachefile */ function _putCache ($id, $entry) { // filename of the cached file $cachefile = dirname (__FILE__).'/cache/'.$id; // serialize data into file $fh = fopen ($cachefile, 'wb'); fwrite ($fh, serialize ($entry)); fclose ($fh); // save RSS-Feed into file $fh = fopen ($cachefile.'.rss', 'wb'); fwrite ($fh, '<?xml version="1.0"?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel><title>Google: '.strip_tags (htmlentities ($this->q)).'</title> <link>http://new.martin-jahn.info/service/google2rss/index.de.htm</link> <description>Google Suchergebnisse für: '.strip_tags (htmlentities ($this->q)).'</description> <language>de-DE</language>'."\n"); foreach ($entry as $item) { fwrite ($fh, '<item>'."\n".'<title>'.strip_tags ($item ['title']).'</title>'."\n".'<link>'.htmlentities (strip_tags ($item ['url'])).'</link>'."\n".'<description>'.strip_tags ($item['desc']).'</description>'."\n".'</item>'."\n"); } fwrite ($fh, '</channel></rss>'); fclose ($fh); // save ATOM-Feed into file $fh = fopen ($cachefile.'.atom', 'wb'); fwrite ($fh, '<?xml version="1.0" encoding="utf-8" ?> <feed xmlns="http://purl.org/atom/ns#" version="0.3" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="de"> <title>Google2ATOM: '.strip_tags (htmlentities ($this->q)).'</title> <link rel="alternate" type="text/html" href="http://new.martin-jahn.info/service/google2rss/index.de.htm"/> <tagline type="text/plain" mode="escaped">Google Suchergebnisse für: '.strip_tags (htmlentities ($this->q)).'</tagline> <modified>'.date ('r', time ()).'</modified> <generator version="1.0" url="http://new.martin-jahn.info/service/google2rss/index.de.htm">Google2RSS</generator>'."\n"); $i = 1; foreach ($entry as $item) { fwrite ($fh, '<entry xml:lang="de">'."\n".'<title>'.strip_tags ($item ['title']).'</title>'."\n".'<link rel="alternate" type="text/html" href="'.htmlentities (strip_tags ($item ['url'])).'" />'."\n".'<issued>'.date ('r', time ()).'</issued>'."\n".'<modified>'.date ('r', time ()).'</modified>'."\n".'<id>'.$i.'</id>'."\n".'<summary>'.strip_tags ($item ['title']).'</summary>'."\n".'<content type="text/xml" mode="xml">'.strip_tags ($item['desc']).'</content>'."\n".'</entry>'."\n"); $i++; } fwrite ($fh, '</feed>'); fclose ($fh); } /** * This method looks for an already existing entry for the searchterm in the * cachefile. If there is none, it creates one, calls the Google-search-API * and stores the result in a cachefile */ function _cacheSearch () { if (!$this->_parseTOCFile ()) { return false; } $id = md5($this->q.$this->lang.$this->restrict); if (!isset ($this->TOC [$id])) { $this->TOC [$id] = array ('time'=>time (), 'lang'=>$this->lang, 'q'=>$this->q, 'restrict'=>$this->restrict); $result = $this->_callGoogle ($this->q); $data = array (); foreach ($result->resultElements as $entry) { $data [] = array ('url'=>$entry->URL, 'desc'=>$entry->snippet, 'title'=>$entry->title); } $this->_putCache ($id, $data); $this->_writeTOCFile (); } else { $data = $this->_getCache ($id); } $this->showFeed ($id, $data); } /** * This method is the central update-part of the script. It looks for old * cached searchterms and updates the results of the with a new Google- * search-API SOAP-call if necessary. */ function _updateSearch () { } /** * This method is the interface to the Google-search-API * * @param string searchterm The term you want to get the search- results for */ function _callGoogle ($searchterm) { $params = array ( 'key'=>$this->key, 'q'=>$searchterm, 'start'=>0, 'maxResults'=>10, 'filter'=>false, 'restrict'=>$this->restrict, 'safeSearch'=>false, 'lr'=>$this->lang, 'ie'=>'', 'oe'=>''); $client = new SoapClient (dirname (__FILE__).'/GoogleSearch.wsdl'); $results = $client->__call ('doGoogleSearch', $params); return ($results); } } include_once ('Log.php'); $do = new google2rss (); ?> |
From: Martin J. <mj...@us...> - 2005-02-24 00:03:32
|
Update of /cvsroot/phpcms-plugins/google2rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15958/google2rss Log Message: Directory /cvsroot/phpcms-plugins/google2rss added to the repository |
From: Martin J. <mj...@us...> - 2005-02-24 00:02:03
|
Update of /cvsroot/phpcms-plugins/linkcounter4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15184 Added Files: linkcounter.php .cvsignore Log Message: initial import --- NEW FILE: .cvsignore --- ?project* project.index --- NEW FILE: linkcounter.php --- <?php /** * linkCounter4phpCMS * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id: linkcounter.php,v 1.1 2005/02/24 00:01:52 mjahn Exp $ * @package linkCounter4phpCMS */ /* * $Log: linkcounter.php,v $ * Revision 1.1 2005/02/24 00:01:52 mjahn * initial import * */ $limiter = '::'; $datafile = $_SERVER ['DOCUMENT_ROOT'].'/cms/logs/linkcounter.log'; error_reporting (E_ALL - E_NOTICE); $data = parse_ini_file ($datafile, true); if (isset ($_GET ['url'])) { $url = urldecode (strip_tags ($_GET ['url'])); if (!strstr ($url, '://')) { $url = 'http://'.$url; } $temp = parse_url ($url); $url = $temp ['scheme'].'://'.$temp['host']; if ($temp ['port'] != '') { $url .= ':'.$temp ['port']; } if ($temp ['path'] != '') { $url .= $temp ['path']; } if ($temp ['query'] != '') { $url .= '?'.$temp [ 'query']; } // redirect to the url // increase the correspondending counter if (isset ($data [$url])) { $data [$url] = $data [$url] + 1; } else { $data [$url] = 1; } include_once ('Log.php'); $logger =& Log::factory ('file', dirname ($datafile).'/exit.log', 'Linkcounter', array ('filename'=>dirname ($datafile).'/exitrss.log')); $logger->log($url.' from '.$_SERVER ['REMOTE_ADDR'], PEAR_LOG_NOTICE); write_ini_file ($datafile, $data); header ('Location: '.$url, true); return; } elseif (isset ($_GET ['c_url'])) { // echo the counter of the given id } else { // plugin functionality $keys = get_object_vars ($PageContent); foreach ($keys as $id=>$value) { if (strtoupper ($id) !== $id) { continue; } if (substr ($id, 0, 15) === 'CONTENT_PLUGIN_' || substr ($id, 0, 4) === 'MENU' || substr ($id, 0, 7) === 'PROJECT' || substr ($id, 0, 6) === 'SCRIPT') { continue; } $text = trim (implode ($value)); if ($text == '') { continue; } echo $id."\n"; if (!preg_match_all ('°'.$limitwer.'([a-zA-Z0-9]+)'.$limiter.'°im', $text, $links)) { continue; } ob_start (); print_r ($links); $PageContent->{$id} = array (ob_get_contents ()); ob_end_clean(); } } function write_ini_file($path, $assoc_array) { foreach($assoc_array as $key => $item) { if(is_array($item)) { $content .= "\n[{$key}]\n"; foreach ($item as $key2 => $item2) { if(is_numeric($item2) || is_bool($item2)) $content .= "{$key2} = {$item2}\n"; else $content .= "{$key2} = \"{$item2}\"\n"; } } else { if(is_numeric($item) || is_bool($item)) $content .= "{$key} = {$item}\n"; else $content .= "{$key} = \"{$item}\"\n"; } } if(!$handle = fopen($path, 'w')) { return false; } if(!fwrite($handle, $content)) { return false; } fclose($handle); return true; } ?> |
From: Martin J. <mj...@us...> - 2005-02-23 23:59:54
|
Update of /cvsroot/phpcms-plugins/linkcounter4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14369/linkcounter4phpCMS Log Message: Directory /cvsroot/phpcms-plugins/linkcounter4phpCMS added to the repository |
From: Martin J. <mj...@us...> - 2005-02-23 23:57:37
|
Update of /cvsroot/phpcms-plugins/events4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13522 Modified Files: class.events4phpcms.php Log Message: added sorting of events with a timeline Index: class.events4phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/events4phpCMS/class.events4phpcms.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- class.events4phpcms.php 15 Feb 2005 12:13:24 -0000 1.1 +++ class.events4phpcms.php 23 Feb 2005 23:57:16 -0000 1.2 @@ -27,6 +27,9 @@ /* * $Log$ +* Revision 1.2 2005/02/23 23:57:16 mjahn +* added sorting of events with a timeline +* * Revision 1.1 2005/02/15 12:13:24 mjahn * initial import * @@ -67,10 +70,13 @@ } $ids = array_keys ($this->events); + sort ($ids); + for ($i = $start; $i < $start + $this->maxEntriesPerPage && $i < count ($this->events); $i++) { $id = $ids [$i]; $this->_showEvent ($id, $this->events [$id]); } + $this->_showNavigation ($start, $i, count ($this->events)); } /** @@ -211,5 +217,33 @@ } echo '</dl>'; } + + function _showNavigation ($start, $end, $max) { + echo '<h2> </h2>'; + echo '<ul class="horizontal center trenner">'; + if ($start > 0) { + // show prev-link in navigation + if ($start > $this->maxEntriesPerPage) { + $prev = $start - $this->maxEntriesPerPage; + } else { + $prev = 0; + } + echo '<li><a href="?start='.$prev.'">Vorherige Seite</a></li>'; + } else { + echo '<li>Vorherige Seite</li>'; + } + + echo '<li>Zeige Events '.$start.' bis '.$end.' von '.$max.'</li>'; + + if ($end < $max) { + // show next-link in navigation + $next = $end + 1; + echo '<li><a href="?start='.$next.'">Folgende Seite</a></li>'; + } else { + echo '<li>Folgende Seite</li>'; + } + + echo '</ul>'; + } } ?> \ No newline at end of file |
From: Martin J. <mj...@us...> - 2005-02-23 23:55:53
|
Update of /cvsroot/phpcms-plugins/navigation4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13028 Modified Files: navigation4phpcms.php Log Message: implemented simple lang2links Index: navigation4phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/navigation4phpCMS/navigation4phpcms.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- navigation4phpcms.php 3 Jan 2005 18:21:28 -0000 1.1 +++ navigation4phpcms.php 23 Feb 2005 23:55:42 -0000 1.2 @@ -27,6 +27,9 @@ /* * $Log$ +* Revision 1.2 2005/02/23 23:55:42 mjahn +* implemented simple lang2links +* * Revision 1.1 2005/01/03 18:21:28 mjahn * initial commit * @@ -55,7 +58,29 @@ 'menuId'=>'kreischa.info.photos'); var $I18N_MODE = 'SUFFIX'; + + /** + * template vars for lang2links + */ + var $lang2links_tpl = '<li> <a href="%link" lang="%lc">%lang</a> </li>'; + var $lang2links_tpl_current = '<li> %lang </li>'; + var $langs = array ( + 'da' => 'dansk', + 'de' => 'deutsch', + 'en' => 'english', + 'es' => 'español', + 'fi' => 'suomi', + 'fr' => 'française', + 'it' => 'italiano', + 'nl' => 'nederlands', + 'il' => 'hebrew', + 'ja' => 'japanese', + 'no' => 'norse', + 'se' => 'svenska', + 'pl' => 'polska', + 'pt' => 'portugese' + ); function breadcrumbs () { // breadcrumb link with/without selectbox for last entry @@ -139,7 +164,7 @@ continue; } - if (!preg_match_all ('°(<h([0-9])[^>]*>)(([^<]*)</h\\2>)°im', join ('', (array) $this->_PageContent->{$field}), $erg)) { + if (!preg_match_all ('�(<h([0-9])[^>]*>)(([^<]*)</h\\2>)�im', join ('', (array) $this->_PageContent->{$field}), $erg)) { continue; } @@ -182,7 +207,7 @@ } function langs2links ($useI18N = true) { - global $DEFAULTS; + global $DEFAULTS, $PHP; $out = ''; if ((!isset ($DEFAULTS->I18N) || strtoupper ($DEFAULTS->I18N) !== 'ON') && $useI18N) { @@ -190,35 +215,119 @@ return false; } - switch ($DEFAULTS->I18N_MODE) { - case 'SUFFIX': - $dir = $this->_CheckPage->path.substr ($this->_CheckPage->name, 0, strrpos ($this->_CheckPage->name, '/')); - $filename = substr ($this->_CheckPage->name, strrpos ($this->_CheckPage->name, '/'), 100); - $pre = substr ($filename, 0, strpos ($filename, $this->lang)); - $post = substr ($filename, strpos ($filename, $this->lang) + strlen ($this->lang), strlen ($filename)); - $lang_files = $this->_getDirContent ($_SERVER ['DOCUMENT_ROOT'].$dir, $pre, $post); - break; - case 'DIR': - break; - default:; - } + $ext = strrchr ($this->_CheckPage->name, '.'); + $temp = substr ($this->_CheckPage->name, 0, strrpos ($this->_CheckPage->name, '.')); + $base = substr ($temp, 0, strrpos ($temp, '.')); + $currentlang = strrchr ($temp, '.'); + $currentlang = substr ($currentlang, 1); + $thisdir = $DEFAULTS->DOCUMENT_ROOT.'/'.$this->_CheckPage->path.'/'; + $o = ''; + + foreach ($this->langs as $lc=>$lang) { + if (!file_exists ($thisdir.$base.'.'.$lc.$ext)) { + continue; + } + + if ($lc == $currentlang) { + $o .= str_replace (array ('%lang', '%lc', '%link'), array ($lang, $lc, $this->_CheckPage->path.'/'.$base.'.'.$lc.$ext), $this->lang2links_tpl_current); + } else { + $o .= str_replace (array ('%lang', '%lc', '%link'), array ($lang, $lc, $this->_CheckPage->path.'/'.$base.'.'.$lc.$ext), $this->lang2links_tpl); + } + } /* echo '<!--'; print_r ($lang_files); echo '-->'; */ - $this->_Tags [] = array ('<phpcms:langs2links />', $out); + $this->_Tags [] = array ('<phpcms:langs2links />', $o); return true; } + function logiclinks () { + + $parentClass = substr ($this->_actualClass, 0, strrpos ($this->_actualClass, '.')); + + $o = '<!--'.$parentClass.' = '.$this->_actualClass."-->\n"; + + $firstClass = ''; + $prevClass = ''; + $nextClass = ''; + $lastClass = ''; + + if ($parentClass != $this->_actualClass) { + + $temp = array_flip ($this->_MENU->menuKlasse); + + if (isset ($temp [$parentClass])) { + + $index = $temp [$parentClass]; + + $o .= '<!-- '.$index.'-->'."\n"; + + $temp = array_flip ($this->_MENU->menuFieldNames [$index]); + $classIndex = $temp ['CLASS']; + + $o .= '<!-- '.$classIndex.'-->'."\n"; + + $temp = count ($this->_MENU->menuFieldValues [$index]); + + $o .= '<!-- '.$temp.'-->'."\n"; + + if ($temp > 1) { + + for ($i = 0; $i < $temp; $i++) { + if ($this->_MENU->menuFieldValues [$index] [$i] [$classIndex] != $this->_actualClass) { + continue; + } + + break; + } + + if ($i > 0) { + $firstClass = $this->_MENU->menuFieldValues [$index] [0] [$classIndex]; + $prevClass = $this->_MENU->menuFieldValues [$index] [$i - 1] [$classIndex]; + } + + if ($i + 1 < $temp) { + $nextClass = $this->_MENU->menuFieldValues [$index] [$i + 1] [$classIndex]; + $lastClass = $this->_MENU->menuFieldValues [$index] [$temp - 1] [$classIndex]; + } + } + + if (!isset ($this->_quicklinks [$parentClass])) { + $parentClass = ''; + } + + } else { + $parentClass = ''; + } + + } else { + $parentClass = ''; + } + + $o = ''; + + foreach (array ('first'=>$firstClass, 'prev'=>$prevClass, 'next'=>$nextClass, 'last'=>$lastClass, 'parent'=>$parentClass) as $id=>$class) { + if (trim ($class) == '') { + continue; + } + + $o .= '<link rel="'.$id.'" href="'.$this->_quicklinks [$class] ['LINK'].'" title="'.$this->_quicklinks [$class] ['MNAME_'.$this->lang].'" />'."\n"; + } + + $this->_Tags [] = array ('<phpcms:logiclinks />', $o); + return true; + } + function run () { $this->_getProjectVars (); $this->_parseMenu (); $this->extmenuclass (); $this->breadcrumbs (); - //$this->headerListing (); + $this->logiclinks (); $this->langs2links (); return null; } @@ -236,6 +345,7 @@ $this->_CheckPage =& $CHECK_PAGE; $this->lang = $_GET ['lang']; $this->run (); + unset ($this->_PageContent, $this->_MENU, $this->_Tags, $this->_PHPCMS, $this->_CheckPage, $this->lang); return true; } @@ -261,7 +371,7 @@ // does pattern containt a directory path if (!strstr ($pattern, '/') && !strstr ($pattern, '\\')) { - if (!preg_match ('°'.$pattern.'°ims', $entry, $erg)) { + if (!preg_match ('�'.$pattern.'�ims', $entry, $erg)) { continue; } @@ -333,7 +443,7 @@ $this->_actualClass = $menuFieldValue; } } - unset ($this->_MENU, $menuFieldValue, $num_entries, $i, $j, $k, $classIndex, $linkIndex, $num_menues, $home); + unset ($menuFieldValue, $num_entries, $i, $j, $k, $classIndex, $linkIndex, $num_menues, $home); return null; } |
From: Martin J. <mj...@us...> - 2005-02-23 23:54:33
|
Update of /cvsroot/phpcms-plugins/download4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12679 Added Files: download4phpcms.php .cvsignore Log Message: initial import --- NEW FILE: .cvsignore --- smarty* .project --- NEW FILE: download4phpcms.php --- <?php /** * download4phpCMS * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id: download4phpcms.php,v 1.1 2005/02/23 23:54:23 mjahn Exp $ * @package downlod4phpCMS */ /* * $Log: download4phpcms.php,v $ * Revision 1.1 2005/02/23 23:54:23 mjahn * initial import * */ global $DEFAULTS; define ('SMARTYDIR', $_SERVER ['DOCUMENT_ROOT'].'/cms/admin/modules/layout/smarty/'); $databasedir = $_SERVER ['DOCUMENT_ROOT'].'/cms/data/download/'; $datadirs = array ('plugins'=>'plugins', 'screenshots'=>'screenshots', 'other'=>'other'); $templatedir = dirname (__FILE__).'/templates'; $cachedir = $_SERVER ['DOCUMENT_ROOT'].'/cms/parser/temp/'; $template = 'default.tpl'; $data = array (); $_datadir = ''; if (isset ($_GET ['datadir']) && isset ($datadirs [$_GET ['datadir']]) && is_dir ($databasedir.'/'.$datadirs [$_GET ['datadir']])) { $datadir = $databasedir.$datadirs [$_GET ['datadir']]; $_datadir = $_GET ['datadir']; } else { $datadir = $databasedir; } if (isset ($_GET ['package']) && trim ($_GET ['package']) != '') { list ($_package,) = explode ('/', strip_tags ($_GET ['package'], 2)); if (file_exists ($datadir.'/'.$_package)) { $package = $_package; } } if (isset ($_GET ['version']) && trim ($_GET ['version']) != '') { list ($version,) = explode ('/', strip_tags ($_GET ['version'], 2)); } if (isset ($_GET ['template']) && trim ($_GET ['template']) != '') { list ($_template,) = explode ('/', strip_tags ($_GET ['template'], 2)); if (file_exists ($templatedir.'/'.$_template.'.tpl')) { $template = $_template.'.tpl'; } } if (isset ($_GET ['dl']) && isset ($version) && isset ($package)) { $data = readPackage ($datadir.'/'.$package); if (!isset ($data ['versions'] [$version])) { return true; } $data ['versions'] [$version] ['counter'] = $data ['versions'] [$version] ['counter'] + 1; writePackage ($datadir.'/'.$package, $data); header ('Location: '.$data ['versions'] [$version] ['link']); return true; } function readPackage ($filename) { $data = array ('versions'=>array ()); $_data = parse_ini_file ($filename, true); foreach ($_data as $key=>$value) { if (!is_array ($value)) { $data [$key] = $value; continue; } if ($key == '__common') { foreach ($value as $id=>$value1) { $data [$id] = $value1; } continue; } $data ['versions'] [$key] = $value; } return $data; } function write_ini_file($path, $assoc_array) { foreach($assoc_array as $key => $item) { if(is_array($item)) { $content .= "\n[{$key}]\n"; foreach ($item as $key2 => $item2) { if(is_numeric($item2) || is_bool($item2)) $content .= "{$key2} = {$item2}\n"; else $content .= "{$key2} = \"{$item2}\"\n"; } } else { if(is_numeric($item) || is_bool($item)) $content .= "{$key} = {$item}\n"; else $content .= "{$key} = \"{$item}\"\n"; } } if(!$handle = fopen($path, 'w')) { return false; } if(!fwrite($handle, $content)) { return false; } fclose($handle); return true; } function writePackage ($filename, $data) { $_data = array (); $_versions = array (); foreach ($data as $id => $value) { if ($id == 'versions') { foreach ($value as $version=>$versiondata) { $_versions [$version] = $versiondata; } continue; } $_data [$id] = $value; } $_data = array_merge ($_versions, array ('__common'=>$_data)); return write_ini_file ($filename, $_data); } $dir = opendir ($datadir); while (false !== ($file = readdir ($dir))) { if ($file {0} == '.' || !is_readable ($datadir.'/'.$file) || !is_file ($datadir.'/'.$file)) { continue; } if (isset ($package) && $package != $file) { continue; } $data [$file] = readPackage ($datadir.'/'.$file); } closedir ($dir); //asort ($data); include_once (SMARTYDIR.'/Smarty.class.php'); $smarty =& new Smarty; $smarty->template_dir = $templatedir; $smarty->compile_dir = $cachedir; $smarty->cache_dir = $cachedir; $smarty->caching = false; $smarty->cache_lifetime = 300; $smarty->assign ('lang', $_GET ['lang']); $smarty->assign ('data', $data); $smarty->assign ('datadir', $_datadir); $smarty->display ($template); ?> |
From: Martin J. <mj...@us...> - 2005-02-23 23:54:32
|
Update of /cvsroot/phpcms-plugins/download4phpCMS/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12679/templates Added Files: default.de.tpl default.tpl Log Message: initial import --- NEW FILE: default.tpl --- {foreach from=$data item=package key=packagename} <h3>{$package.name_en}</h3> <p> {$package.desc_en} </p> <dl> {foreach from=$package.versions item=versiondata key=version} {if (isset ($versiondata.name_en))} <dt>{$versiondata.name_en}</dt> {else} <dt>Version {$version}</dt> {/if} <dd>Download <a href="/download/{$datadir}/{$packagename}/{$version}">{$package.name_en} in Version {$version}</a> (it has been downloaded {$versiondata.counter} times)</dd> <dd>Provided on {$versiondata.insert} by Martin Jahn</dd> {/foreach} </dl> {/foreach} --- NEW FILE: default.de.tpl --- {foreach from=$data item=package key=packagename} <h3>{$package.name_de}</h3> <p> {$package.desc_de} </p> <dl> {foreach from=$package.versions item=versiondata key=version} {if (isset ($versiondata.name_de))} <dt>{$versiondata.name_de}</dt> {else} <dt>Version {$version}</dt> {/if} <dd><a href="/download/{$datadir}/{$packagename}/{$version}">{if (isset ($versiondata.name_de))}{$versiondata.name_de}{else}Version {$version}{/if} von {$package.name_de} herunterladen</a> (diese Version wurde schon {$versiondata.counter}-mal heruntergeladen)</dd> <dd>Bereitgestellt am {$versiondata.insert} von Martin Jahn</dd> {/foreach} </dl> {/foreach} |
From: Martin J. <mj...@us...> - 2005-02-23 23:54:22
|
Update of /cvsroot/phpcms-plugins/download4phpCMS/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12453/templates Log Message: Directory /cvsroot/phpcms-plugins/download4phpCMS/templates added to the repository |
From: Martin J. <mj...@us...> - 2005-02-23 23:50:46
|
Update of /cvsroot/phpcms-plugins/download4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11317/download4phpCMS Log Message: Directory /cvsroot/phpcms-plugins/download4phpCMS added to the repository |
From: Martin J. <mj...@us...> - 2005-02-15 12:13:34
|
Update of /cvsroot/phpcms-plugins/events4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15070 Added Files: index.php class.events.php class.events4phpcms.php .cvsignore Log Message: initial import --- NEW FILE: .cvsignore --- .project events.dat --- NEW FILE: class.events4phpcms.php --- <?php /** * Event4phpCMS * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id: class.events4phpcms.php,v 1.1 2005/02/15 12:13:24 mjahn Exp $ * @package events4phpcms */ /* * $Log: class.events4phpcms.php,v $ * Revision 1.1 2005/02/15 12:13:24 mjahn * initial import * */ include_once (dirname (__FILE__).'/class.events.php'); class events4phpcms { var $maxEntriesPerPage = 10; var $contentfile = ''; /** * constructor in PHP4-compatible syntax */ function events4phpcms () { return $this->__construct (); } /** * constructor in PHP5 syntax */ function __construct () { $this->datafile = dirname (__FILE__).'/events.dat'; $this->contentfile = $_SERVER ['PHP_SELF']; return true; } /** * displays the events in a paged way */ function view () { $this->_loadEvents (); $start = 0; if (isset ($_REQUEST ['start']) && $_REQUEST ['start'] > 0 && $_REQUEST ['start'] < count ($this->events)) { $start = (int) strip_tags ($_REQUEST ['start']) - 1; } $ids = array_keys ($this->events); for ($i = $start; $i < $start + $this->maxEntriesPerPage && $i < count ($this->events); $i++) { $id = $ids [$i]; $this->_showEvent ($id, $this->events [$id]); } } /** * handles the edit-process */ function edit () { if (!$this->login ()) { return false; } if (isset ($_REQUEST ['delete-id'])) { $this->_delEvent ((int)strip_tags ($_REQUEST ['delete-id'])); } if (isset ($_POST ['submit-event'])) { if (isset ($_POST ['event-id'])) { $this->_delEvent ($_POST ['event-id']); } $data = array (); $data ['title'] = htmlentities (strip_tags ($_POST ['event-title'])); $data ['desc'] = htmlentities (strip_tags ($_POST ['event-desc'])); $id = mktime ((int) strip_tags ($_POST ['event-hour']), (int) strip_tags ($_POST ['event-min']), 0, (int) strip_tags ($_POST ['event-month']), (int) strip_tags ($_POST ['event-day']), (int) strip_tags ($_POST ['event-year'])); $this->_addEvent (array ($id => $data)); } $this->view (); if (isset ($_REQUEST ['edit-id'])) { $this->_showEditform (strip_tags ($_REQUEST ['edit-id'])); } else { $this->_showNewform (); } } /** * @return mixed false if user is not logged in, true if he is */ function login () { @session_start (); if (!isset ($_SESSION ['loggedin']) || !$_SESSION ['loggedin']) { if (isset ($_POST ['passwd']) && $_POST ['passwd'] == 'Enrico') { $_SESSION ['loggedin'] = true; } else { $_SESSION ['loggedin'] = false; } } if ($_SESSION ['loggedin']) { return true; } else { $this->_showLoginform (); return false; } } function _loadEvents () { if (!isset ($this->model) || !is_object ($this->model)) { $this->model = new events (); } if (!isset ($this->events)) { $this->model->load ($this->datafile); $this->events =& $this->model->get (); asort ($this->events); } } function _addEvent ($event) { $this->_loadEvents (); $this->events =& $this->model->add ($event); asort ($this->events); } function _delEvent ($event) { $this->_loadEvents (); $this->events =& $this->model->del ($event); asort ($this->events); } function _showLoginform () { echo '<h2>Bitte geben Sie das Passwort ein</h2>'; echo '<form action="'.$this->contentfile.'" method="post">' . '<input type="hidden" name="edit" value="1" />' . '<input name="passwd" value="" type="password" />' . '<input type="submit" name="submit-login" value="Anmelden" />' . '</form>'; } function _showNewform () { echo '<h2>Neues Ereignis eintragen</h2>'; echo '<form action="'.$this->contentfile.'" method="post">' . '<input type="hidden" name="edit" value="1" />' . 'Titel des Ereignisses<br />' . '<input type="text" name="event-title" value="Titel des Ereignisses" /><br />' . 'Termin des Ereignisses<br />' . '<input txpe="text" name="event-day" value="1" size="2" />. <input txpe="text" name="event-month" value="1" size="2" />. <input txpe="text" name="event-year" value="2005" size="4" /> um <input txpe="text" name="event-hour" value="20" size="2" />:<input txpe="text" name="event-min" value="00" size="2" /><br />' . 'Beschreibung des Ereignisses<br />' . '<textarea name="event-desc" rows="10" cols="40"></textarea>' . '<input type="submit" name="submit-event" value="Eintragen" /></form>'; } function _showEditform ($id) { $data = $this->events [$id]; echo '<h2>Ereignis bearbeiten</h2>'; echo '<form action="'.$this->contentfile.'" method="post">' . '<input type="hidden" name="edit" value="1" />' . '<input type="hidden" name="event-id" value="'.$id.'" />' . 'Titel des Ereignisses<br />' . '<input type="text" name="event-title" value="'.$data ['title'].'" /><br />' . 'Termin des Ereignisses<br />' . '<input txpe="text" name="event-day" value="'.strftime ('%d', $id).'" size="2" />. <input txpe="text" name="event-month" value="'.strftime ('%m', $id).'" size="2" />. <input txpe="text" name="event-year" value="'.strftime ('%Y', $id).'" size="4" /> um <input txpe="text" name="event-hour" value="'.strftime ('%H', $id).'" size="2" />:<input txpe="text" name="event-min" value="'.strftime ('%M', $id).'" size="2" /><br />' . 'Beschreibung des Ereignisses<br />' . '<textarea name="event-desc" rows="10" cols="40">'.$data ['desc'].'</textarea>' . '<input type="submit" name="submit-event" value="Eintrag ändern" /></form>'; } function _showEvent ($time, $data) { if ($time < mktime (0,0,1,strftime ('%m',time()), strftime ('%d',time()), strftime ('%Y',time()) ) ) { return true; } echo '<h2>'.strftime ('%d.%m.%Y um %H:%M', $time).'</h2>'; echo '<h3>'.$data ['title'].'</h3><p>'.$data ['desc']; if (isset ($_SESSION ['loggedin']) && $_SESSION ['loggedin']) { echo '<br /><a href="'.$this->contentfile.'?edit=1&edit-id='.$time.'">Editieren</a> | '; echo '<a href="'.$this->contentfile.'?edit=1&delete-id='.$time.'" onclick="return confirm (\'Wollen Sie diesen Eintrag wirklich löschen?\');">Löschen</a><p>'; } echo '</dl>'; } } ?> --- NEW FILE: class.events.php --- <?php /** * events4phpCMS - Model-class * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id: class.events.php,v 1.1 2005/02/15 12:13:24 mjahn Exp $ * @package events4phpcms */ /* * $Log: class.events.php,v $ * Revision 1.1 2005/02/15 12:13:24 mjahn * initial import * */ class events { var $datafile = ''; var $data = array (); function load ($filename = '') { if (!file_exists ($filename)) { $this->datafile = ''; return false; } else { $this->datafile = $filename; } $this->data = parse_ini_file ($filename, true); } function save ($filename = '') { return $this->write_ini_file ($this->datafile, $this->data); } function get () { return $this->data; } function add ($event) { foreach ($event as $id=>$data) { $this->data [$id] = $data; } $this->save (); return $this->data; } function del ($id) { unset ($this->data [$id]); return $this->data; } function write_ini_file($path, $assoc_array) { $content = ''; foreach($assoc_array as $key => $item) { if(is_array($item)) { $content .= "\n[{$key}]\n"; foreach ($item as $key2 => $item2) { if(is_numeric($item2) || is_bool($item2)) { $content .= "{$key2} = {$item2}\n"; } else { $content .= "{$key2} = \"{$item2}\"\n"; } } } else { if(is_numeric($item) || is_bool($item)) { $content .= "{$key} = {$item}\n"; } else { $content .= "{$key} = \"{$item}\"\n"; } } } if(!$handle = fopen($path, 'w')) { return false; } if(!fwrite($handle, $content)) { return false; } fclose($handle); return true; } } ?> --- NEW FILE: index.php --- <?php /** * Event4phpCMS * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id: index.php,v 1.1 2005/02/15 12:13:15 mjahn Exp $ * @package events4phpcms */ /* * $Log: index.php,v $ * Revision 1.1 2005/02/15 12:13:15 mjahn * initial import * */ include_once (dirname (__FILE__).'/class.events4phpcms.php'); $events = new events4phpcms (); if (isset ($_REQUEST ['edit'])) { $events->edit (); } else { $events->view (); } ?> |
From: Martin J. <mj...@us...> - 2005-02-15 12:12:30
|
Update of /cvsroot/phpcms-plugins/events4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14911/events4phpCMS Log Message: Directory /cvsroot/phpcms-plugins/events4phpCMS added to the repository |
From: Martin J. <mj...@us...> - 2005-02-10 16:04:44
|
Update of /cvsroot/phpcms-plugins/blog4phpCMS/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25238/templates Added Files: default.tpl blog4phpcms_admin.tpl Log Message: restructuration and included smarty-engine --- NEW FILE: default.tpl --- {if ($num_entries > 1)} {foreach from=$entries item=entry} <h3><a href="{$entry.permalink}">{$entry.title}</a></h3> <div class="entry">{$entry.body} <ul class="horizontal trenner center small clear"> <li>Veröffentlicht <a href="{$entry.permalink}">{$entry.date_custom}</a> in {$entry.topic}</li> <li>Autor: {$entry.name}</li> <li><a href="{$entry.permalink}#comments">Kommentare ({$entry.num_comment}) </a></li> <li><a href="{$entry.permalink}#links">Backlinks ({$entry.num_backlink}) </a></li> </ul> </div> {/foreach} {else} {if ($num_entries > 0)} <div class="entry"> <h3>{$entry.title}</h3> <p>Geschrieben von {$entry.name} {$entry.date_custom}</p> <div>{$entry.body} </div> </div> {else} <p>Keine Nachrichten vorhanden</p> {/if} {/if} {if ($navigation.displayNavigation)} <div class="center"> {if ($navigation.start > 0)} <a href="{$navigation.prevlink}" class="left">Zurück</a> {/if} {if ($navigation.start + $navigation.display_count < $navigation.max + 1)} <a href="{$navigation.nextlink}" class="right">Weiter</a> {/if} {if (isset ($navigation.prevlink) || isset ($navigation.nextlink))} Zeige Einträge {$navigation.start} - {$navigation.ende} von {$navigation.count} {/if} </div> {/if} {if ($entry.displayTrackbacks)} <h3 id="links">Backlinks</h3> {if (count ($entry.num_backlink) > 0)} <p>Die folgenden Seiten zitieren diesen Artikel:</p> <ul> {foreach from=$entry.trackbacks item=link} <li> <a href="{$link.url}">{$link.title}</a> ({$link.date_custom})<br />{$link.excerpt} </li> {/foreach} </ul> {else} <p>Keine Backlinks vorhanden.</p> {/if} {/if} {if ($entry.displayComments)} <h3>Kommentare</h3> {if (count ($entry.num_comment) > 0)} {foreach from=$entry.comments item=comment} <div id="c{$comment.id}" class="comment">{$comment.gravatar} <p>{$comment.comment}</p> <br class="clearboth" /> <p class="entryfooter"> Eingetragen von {$comment.name} {$comment.favatar} <a href="#c{$comment.id}">{$comment.date_custom}</a> </p> </div> {/foreach} {else} <p>Keine Kommentare vorhanden</p> {/if} {/if} {if ($entry.displayNewcomment)} <h3>Kommentar schreiben</h3> <form action="#" method="post" id="commentform"> <p> <script src="/js/livePreview.js" type="text/javascript"></script> <input type="hidden" name="entry_id" value="{$entry.id}" /> <label> <span>Kommentar :<br /><span class="small" style="width:98%;">(Mit Textile geht vieles leichter!)</span></span> <textarea name="comment" id="message" onkeyup="reloadPreviewDiv()" rows="18" cols="50"></textarea> </label> <label> <span>Name :</span> <input type="text" name="name" class="text" /> </label> <label> <span>Email :</span> <input type="text" name="email" class="text" /> </label> <label> <span>Website :</span> <input type="text" name="website" class="text" /> </label> <label> <span><span class="hidden">Kommentar eintragen</span> </span> <input type="submit" name="submit-comment" value="Kommentar eintragen" class="submit" /> </label> </p> </form> <script type="text/javascript"> <!-- document.write ("<h2>Live Preview!</h2>\n<div id=\"previewcomment\"></div>\n"); --> </script> {/if} --- NEW FILE: blog4phpcms_admin.tpl --- |