phpcms-plugins-cvs Mailing List for phpCMS-plugins (Page 5)
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-05-20 05:54:19
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14729/modules/phpcms Modified Files: module_phpcms_en.lng class.module_phpcms.php Added Files: http-indexer.php Log Message: last step for module_phpcms --- NEW FILE: http-indexer.php --- <?php /** * Admin4phpCMS * * <b>Workflow</b> * * I. Spidering * * <ol> * <li>first URL is the startpage</li> * <li>get the URL-content via HTTP and save it in a tempfile with md5-filename; * save md-filename in assoziated array with URL</li> * <li>get the meta-tags and decide, wether to follow links and or index body</li> * <li>get all links in the body content</li> * <li>get all links that are outside of any <!-- PHPCMS_NOFOLLOW --> <!-- /PHPCMS_NOFOLLOW --></li> * <li>add these links to the $this->url_to_spider array</li> * <li>add the current page to the $this->url_have_spidered array</li> * <li>get the next url from the beginning of $this->url_to_spider</li> * <li>go on with point 1 and the next url from the beginning of $this->url_to_spider if there is any</li> * </ol> * * II. Indexing * * <ol> * <li>get a tempfile from $this->url_have_spidered</li> * <li>get the body-content (excluding all phpcms-noindex, phpcms-content-start and so on tags)</li> * <li>create wordlist with wordcount</li> * <li>clear the wordlist from unwanted words (i.e. blacklist)</li> * <li>write the results into the searchfiles</li> * <li>goon with point 1</li> * </ol> * * III. Saving * * <ol> * <li>create tempfiles with the search-indexes</li> * <li>delete the old search-index-files</li> * <li>copy the tempfiles to the savedir</li> * </ol> * * <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: http-indexer.php,v 1.1 2005/05/20 05:54:05 mjahn Exp $ * @package admin4phpcms * @subpackage module_phpcms */ /* * $Log: http-indexer.php,v $ * Revision 1.1 2005/05/20 05:54:05 mjahn * last step for module_phpcms * */ include_once ($PHPCMS_INCLUDEPATH.'/class.lib_indexer_universal_phpcms.php'); class http_indexer { var $url_to_spider = array (); var $url_have_spidered = array (); var $url_address = array (); var $reference = array (); var $progress = 0; function spider () { $PHPCMS_INDEXER_TEMP_SAVE_PATH = ''; # $body ist eine leere Variable, die später den Seiteninhalt enthält while(($urls = $this->get_urls($body)) === FALSE) ; # Seite schreiben if(strlen($body) != 0) { $index = count($this->url_have_spidered); $this->url_have_spidered [$index] = $this->url_to_spider [0]; $current_page = $this->url_to_spider [0]; $this->url_name [$index] = md5(uniqid(microtime(),1)).'.htm'; $fp = fopen($PHPCMS_INDEXER_TEMP_SAVE_PATH.$this->url_name [$index], 'wb+'); fwrite($fp,$body,strlen($body)); fclose($fp); } # Ersten Eintrag entfernen array_shift ($this->url_to_spider); if (is_array($urls)) { $urls = array_unique($urls); foreach ($urls as $alink) { if (!in_array($alink,$this->url_adress,TRUE) AND trim($alink)!= '') { $index = count($this->url_adress); $this->url_adress [$index] = $alink; $this->url_to_spider [] = $index; $this->reference [$current_page][] = $index; } elseif (trim ($alink) != '') { $index = array_search($alink,$this->url_adress); $this->reference [$current_page][] = $index; } } } if (!isset ($this->url_to_spider) OR count ($this->url_to_spider) == 0) { $this->start_indexer(); return true; } if (isset ($this->url_to_spider) AND count ($this->url_to_spider) > 0) { # Prozessanzeige kalkulieren $AllStat = count ($this->url_to_spider) + count ($this->url_have_spidered); $prozent = ($AllStat / 100); $RelStat = floor (count ($this->url_have_spidered) / $prozent); $this->progress = $RelStat; $adress = $this->url_adress [$this->url_to_spider[0]]; $this_path = substr ($adress,strpos ($adress,'/')); $this_host = substr ($adress,0,strpos ($adress,'/')); // Bisher "xxx" von "yyy" Adressen bearbeitet. $message.= $this->progress_bar ($this->progress); echo '<META http-equiv="refresh" content="0; URL='.$PHP_SELF.'?action=start_spider">'; return; } } function index () { } function merge () { } function save () { } function setProfile ($profiledata) { $this->profile = $profiledata; return true; } function __construct () { return true; } function http_indexer () { return $this->_construct (); } } ?> Index: module_phpcms_en.lng =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/module_phpcms_en.lng,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- module_phpcms_en.lng 15 May 2005 12:24:02 -0000 1.3 +++ module_phpcms_en.lng 20 May 2005 05:54:05 -0000 1.4 @@ -1,52 +1,61 @@ -[phpcms] -text_phpcms = """<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>""" - +[overview] +title_overview = "phpCMS — Overview" [indexer] title_indexer = "phpCMS — HTTP-Indexer" title_indexer_overview = "Profile-Managment" title_general_information = "General information" +title_indexer_edit = "Profile-Editor" label_name = "Name of the profile" +text_name = "Name of the profile" label_datadir = "Path where we could store the indexfiles" +text_datadir = "Path where we could store the indexfiles" label_gzip = "Compress indexfiles with GZip" +text_gzip = "Compress indexfiles with GZip" label_buffer = "Buffer size in byte" +text_buffer = "Buffer size in byte" title_spider = "Spider options" label_robots = "Take care of robots.txt file" +text_robots = "Take care of robots.txt file" label_robots_meta = "Take care of the robots-meta-tag" +text_robots_meta = "Take care of the robots-meta-tag" label_exklude = "Exclude all URLs that contain" +text_exklude = "Exclude all URLs that contain" label_include = "Include all URLs that contain " +text_include = "Include all URLs that contain " label_noextensions = "Do not index files with following extensions" +text_noextensions = "Do not index files with following extensions" title_options = "Indexer options" label_uris = "List of URIs we have to index" +text_uris = "List of URIs we have to index" label_wordlength = "Minimal word length" +text_wordlength = "Minimal word length" label_stopword = "Path to the stopword-file" +text_stopword = "Path to the stopword-file" label_meta_desc = "Use content of meta description tag as description" +text_meta_desc = "Use content of meta description tag as description" label_description = "Length of the descriptive text" +text_description = "Length of the descriptive text" title_regex = "Change URLs" label_regex_search = "Search with the following expression …" +text_regex_search = "Search with the following expression …" label_regex_replace = "… and replace it with the following text" +text_regex_replace = "… and replace it with the following text" -title_select_action = "Select action" title_select_profile = "Choose profile" -label_new_index = "Create a new index for this profile" -button_new_index = "Index" -label_edit_index = "Edit the settings of this profile" -button_edit_index = "Edit" -label_copy_index = "Copy this profile" -button_copy_index = "Copy" -label_del_index = "Delete this profile" -button_del_index = "Delete" -label_test_index = "Test the index with a searchform" +title_select_action = "Select action for the chosen profile" +label_new_profile = "Create a new profile" +button_new_profile = "Create profile" +label_edit_profile = "Edit the settings of this profile" +button_edit_profile = "Edit profile" +label_copy_profile = "Copy this profile" +button_copy_profile = "Copy profile" +label_del_profile = "Delete this profile" +button_del_profile = "Delete profile" +label_new_index = "Create a new search index for this profile" +button_new_index = "Create index" +label_test_index = "Test the profile index with a searchform" button_test_index = "Test index" label_list_index = "Show a number of the most important searchterms in the index" button_list_index = "Show wordlist" @@ -55,13 +64,38 @@ title_submit_edit = "Save settings" button_submit_edit = "Save settings" label_backlink = "List profiles" -title_new_profile = "Create a new profile" -label_new_profile = "Create a new profile" -button_new_profile = "New profile" + + +title_indexer_del = "Delete the profile " +title_submit_del = "Delete profile" +label_del = "Are you sure?" +text_del = "Are you really sure that you want to delete the profile?" +label_submit_del = " " +button_submit_del = "Delete the profile" + + +title_indexer_create = "Create full text index - step one of five" +text_profile_options = """You have selected this profile to create the full text index. + To create the full text index now, click on the button "continue" + After this, the spider is starting to load the target pages on this system. + This will take a little time, depending on the size of your site. + If the spider »hangs« while processing the download, simply push the "reload" button in your browser. + The spider will then continue the download.""" + +title_profile_options = "Profile options" + +title_submit_start = "Let the indexer doing his work" +label_submit_start = "Start Indexing" +button_submit_start = "Go on" + +title_spider = "Create a new search-index" +text_spider = "Get page " [cache] title_cache = "phpCMS — Cache" +title_cachedir = "Caching is switched on" +title_cachedir_path = "phpCMS-Cache in " label_cache_filename = "Filename" label_cache_ftime = "Last changes" label_cache_fsize = "Filesize" @@ -312,11 +346,26 @@ label_config_146 = "" [server] +title_apache = "Apache headers information" +title_apache_request = "Apache request headers" +title_apache_response = "Apache response headers" +label_apache_name = "name" +label_apache_value = "value" + + +title_headers = "PHP headers information" +title_headers_request = "PHP request headers" +title_headers_response = "PHP response headers" +label_headers_name = "name" +label_headers_value = "value" + + title_server = "phpCMS — Server-Info" -title_vars = "Server variables" +title_vars = "PHP variables" label_vars_name = "variable" label_vars_value = "value" + title_ini = "PHP configuration" label_ini_property ="Property" label_ini_value = "Local value (Global value)" @@ -324,6 +373,20 @@ title_php_ext = "PHP extensions" label_php_ext_desc = "Description" label_php_ext_name = "Extension" +label_php_ext_func = "Available functions of this extension" + + +[mailinglist] +title_mailinglist = "Mailing List phpCMS-News" +title_archive = "Archive" +text_archive = "To see the collection of prior postings to the list, visit the <a href='https://sourceforge.net/mailarchive/forum.php?forum=phpcms-news'>SourceForge.net phpCMS-News Archives</a>." +title_subscribe = "Subscribing to phpCMS-News" +title_subscribe_form = "Subscribe with your email address" +text_subscribe = "Subscribe to phpCMS-News by filling out the following form. You will be sent e-mail requesting confirmation, to prevent others from gratuitously subscribing you. This is a hidden list, which means that the members list is available only to the list administrator." +label_subscribe_email = "Your e-mail address" +text_subscribe_password = "You must enter a privacy password. This provides only mild security, but should prevent others from messing with your subscription. <b>Do not use a valuable password</b> as it will occasionally be e-mailed back to you in clear text." +label_subscribe_password = "Pick a password" +label_subscribe_password2 = "Reenter password to confirm" +label_subscribe_submit = " " + -[phpinfo] -title_phpinfo = "phpCMS — PHP-Info" Index: class.module_phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/class.module_phpcms.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- class.module_phpcms.php 15 May 2005 12:24:02 -0000 1.9 +++ class.module_phpcms.php 20 May 2005 05:54:05 -0000 1.10 @@ -28,8 +28,8 @@ /* * $Log$ -* Revision 1.9 2005/05/15 12:24:02 mjahn -* Commit as backup during development +* Revision 1.10 2005/05/20 05:54:05 mjahn +* last step for module_phpcms * */ @@ -115,9 +115,6 @@ $this->display = (isset ($actiondata['request']['moduleid']) && $actiondata['request']['moduleid'] == 'phpcms'); $this->action = ''; - echo '<!--'; - print_r ($actiondata); - echo '-->'; if (isset ($actiondata['request']['action'])) { $this->action = $actiondata['request']['action']; } @@ -131,7 +128,7 @@ $this->_cacheaction = ''; if (isset ($actiondata['request']['cacheform-submit'])) { $this->_cacheaction = $actiondata['request']['cacheform-submit']; - $this->_formdata = $actiondata['post']; + $this->_formdata = $actiondata ['post']; } break; case 'config' : @@ -139,21 +136,26 @@ $this->_configaction = ''; if (isset ($actiondata['request']['configform-submit'])) { $this->_configaction = 'save'; - $this->_formdata = $actiondata['post']; + $this->_formdata = $actiondata ['post']; } break; case 'indexer' : $this->_registerAction('doProcess', 'processIndexer'); $this->_indexerAction = ''; if (isset ($actiondata['request']['indexeraction'])) { - $this->_indexerAction = $actiondata['request']['indexeraction']; + $this->_indexerAction = $actiondata ['request']['indexeraction']; } $this->_profileAction = ''; if (isset ($actiondata['request']['configform-submit'])) { $this->_profileAction = 'save'; - $this->_formdata = $actiondata['post']; + $this->_formdata = $actiondata ['post']; } + $this->_areYouSure = false; + if (isset ($actiondata['request']['areYouSure'])) { + $this->_areYouSure = $actiondata ['request'] ['areYouSure']; + } + $this->_showIndexerProfile = ''; if (isset ($actiondata ['request'] ['indexerprofile'])) { $this->_showIndexerProfile = $actiondata ['request'] ['indexerprofile']; @@ -165,7 +167,6 @@ $this->_callEvent('USER_GET_STATUS', $actiondata1); $this->_USER = $actiondata1; - echo '<!--';print_r ($this->_USER);echo '-->'; // load the values in the default.php $this->_loadDefault(); @@ -257,16 +258,36 @@ } - if ($this->_showIndexerProfile != '') { - $data = array_keys ($this->_indexerProfiles); - $this->_showIndexerProfile = $data [$this->_showIndexerProfile - 1]; - } - switch ($this->_indexerAction) { - case 'edit':; - case 'list':; - case 'index':; - case 'test':; + case 'new': + break; + case 'edit': + if ($this->_showIndexerProfile != '') { + $data = array_keys ($this->_indexerProfiles); + $this->_showIndexerProfile = $data [$this->_showIndexerProfile - 1]; + } + break; + case 'copy': + if ($this->_showIndexerProfile != '') { + $data = array_keys ($this->_indexerProfiles); + $this->_showIndexerProfile = $data [$this->_showIndexerProfile - 1]; + } + break; + case 'del': + $id = $this->_showIndexerProfile; + unset ($this->_indexerProfiles [$id]); + $this->_saveIndexer (); + break; + case 'index': + if ($this->_showIndexerProfile != '') { + $data = array_keys ($this->_indexerProfiles); + $this->_showIndexerProfile = $data [$this->_showIndexerProfile - 1]; + } + break; + case 'test': + break; + case 'list': + break; default:; } } @@ -315,11 +336,17 @@ } $_data [] = $data1; - $data1 = array ('name' => 'PHPinfo', 'module' => 'phpcms', 'action' => 'phpinfo'); +/* $data1 = array ('name' => 'PHPinfo', 'module' => 'phpcms', 'action' => 'phpinfo'); if ($this->action == 'phpinfo') { $data1 ['extra'] = 'class="current"'; } $_data [] = $data1; +*/ + $data1 = array ('name' => 'News mailing list', 'module' => 'phpcms', 'action' => 'mailinglist'); + if ($this->action == 'mailinglist') { + $data1 ['extra'] = 'class="current"'; + } + $_data [] = $data1; $data ['_sub_'] = $_data; } @@ -402,29 +429,54 @@ $data ['indexeraction'] = $this->_indexerAction; break; case 'serverinfo': + // PHP-modules $temp = get_loaded_extensions (); $data ['phpModules'] = array (); + sort ($temp); foreach ($temp as $name) { - $data ['phpModules'] [] = array ('name'=>$name, 'desc'=>$name); + $data ['phpModules'] [] = array ('name'=>$name, 'desc'=>$name, 'funcs'=>get_extension_funcs ($name)); } + + // php.ini $data ['phpIniValues'] = ini_get_all (); + foreach ($data ['phpIniValues'] as $id=>$values) { + if (substr ($id, 0, 10) != 'highlight.') { + $data ['phpIniValues'] [$id] ['global_value'] = htmlentities ($values ['global_value']); + $data ['phpIniValues'] [$id] ['local_value'] = htmlentities ($values ['local_value']); + continue; + } + $data ['phpIniValues'] [$id] ['global_value'] = '<span style="color:'.$values ['global_value'].'">'.$values ['global_value'].'</span>'; + $data ['phpIniValues'] [$id] ['local_value'] = '<span style="color:'.$values ['local_value'].'">'.$values ['local_value'].'</span>'; + } - // BOF Fix phpinfo - ob_start(); - phpinfo(); - $infobuffer .= ob_get_contents(); - ob_end_clean(); - - preg_match_all("=<body[^>]*>(.*)</body>=siU", $infobuffer, $a); - $phpinfo = $a[1][0]; - $phpinfo = str_replace( ';','; ', $phpinfo ); - $phpinfo = str_replace( ',',', ', $phpinfo ); - $phpinfo = str_replace( '<br>','<br />', $phpinfo ); - $phpinfo = str_replace( 'align="center"','', $phpinfo ); - $phpinfo = str_replace( 'align="right"','', $phpinfo ); - - $data ['phpInfo'] = $phpinfo; + // PHP-headers + $temp = array (); + $myurl = $_SERVER['SERVER_ADDR'].':'.$_SERVER ['SERVER_PORT'].$_SERVER ['PHP_SELF']; + if (function_exists ('get_headers')) { + $temp = get_headers ($myurl, true); + } else { + $temp = $this->get_headers ($myurl, true); + } + $data ['headersResponse'] = $temp; + $temp = array (); + foreach ($_SERVER as $id=>$value) { + if (substr ($id, 0, 5) != 'HTTP_') { + continue; + } + $temp [substr ($id, 5, strlen ($id))] = $value; + } + $data ['headersRequest'] = $temp; + + // Apache headers + if (function_exists ('apache_request_headers')) { + $data ['apacheRequest'] = apache_request_headers (); + } + if (function_exists ('apache_response_headers')) { + $data ['apacheResponse'] = apache_response_headers (); + } + + // PHP-variables $temp = array ( 'GLOBALS', 'HTTP_SERVER_VARS', @@ -433,17 +485,16 @@ '_ENV', 'HTTP_SESSION_VARS', '_SESSION', -/* 'HTTP_GET_VARS', + 'HTTP_GET_VARS', '_GET', 'HTTP_POST_VARS', '_POST', 'HTTP_POST_FILES', '_FILES', -*/ 'HTTP_COOKIE_VARS', + 'HTTP_COOKIE_VARS', '_COOKIE', '_REQUEST' ); - $data ['serverVars'] = array (); foreach ($temp as $varname) { if (!isset ($GLOBALS [$varname])) { @@ -483,24 +534,53 @@ } // function getData () - function getLanguageData (&$actiondata) { - $langAvailable = array ('de', 'en'); - - $data = $actiondata [$actiondata ['tag']]; - - foreach ($langAvailable as $lang) { - if (!file_exists (dirname (__FILE__).'/module_phpcms_'.$lang.'.lng')) { - continue; - } - if (isset ($data [$lang])) { - $data [$lang] = array_merge ($data [$lang], parse_ini_file (dirname (__FILE__).'/module_phpcms_'.$lang.'.lng')); - } else { - $data [$lang] = parse_ini_file (dirname (__FILE__).'/module_phpcms_'.$lang.'.lng', true); - } + /** + * @return array + * @param string $url + * @param int $format + * @desc Fetches all the headers + * @author cpurruc fh-landshut de + * @modified by dotpointer + * @modified by aeontech + */ + function get_headers($url, $format=0) { + $url_info=parse_url($url); + $port = isset($url_info['port']) ? $url_info['port'] : 80; + $fp=fsockopen($url_info['host'], $port, $errno, $errstr, 30); + + if($fp) + { + $head = "HEAD ".@$url_info['path']."?".@$url_info['query']." HTTP/1.0\r\nHost: ".@$url_info['host']."\r\n\r\n"; + fputs($fp, $head); + while(!feof($fp)) + { + if($header=trim(fgets($fp, 1024))) + { + if($format == 1) + { + $key = array_shift(explode(':',$header)); + // the first element is the http header type, such as HTTP 200 OK, + // it doesn't have a separate name, so we have to check for it. + if($key == $header) + { + $headers[] = $header; + } + else + { + $headers[$key]=substr($header,strlen($key)+2); + } + unset($key); + } + else + { + $headers[] = $header; + } + } + } + return $headers; + } else { + return false; } - $actiondata [$actiondata ['tag']] = $data; - - return true; } /** @@ -701,7 +781,6 @@ function _delCacheEntry ($id) { $id = $this->cachedir.'/'.strip_tags ($id); if (!file_exists ($id) || !is_writable (dirname ($id))) { - echo '-1'.$id; return false; } unlink ($id); @@ -822,11 +901,82 @@ } $this->_indexerProfiles [$id] ['url_regex'] = $temp; } - //print_r ($this->_indexerProfiles); return true; } function _parseIndexerFormdata () { + + $profile = array (); + $id = $this->_formdata ['values'] ['name']; + $temp = explode ("\n", $this->_formdata ['values'] ['host']); + $profile ['host'] = array (); + foreach ($temp as $value) { + if (trim ($value) == '') { + continue; + } + $profile ['host'] [] = trim ($value); + } + $profile ['gzip'] = $this->_formdata ['values'] ['gzip']; + $profile ['savedata'] = $this->_formdata ['values'] ['savedata']; + $profile ['robots'] = $this->_formdata ['values'] ['robots']; + $profile ['meta'] = $this->_formdata ['values'] ['meta']; + $temp = explode ("\n", $this->_formdata ['values'] ['exklude']); + $profile ['exklude'] = array (); + foreach ($temp as $value) { + if (trim ($value) == '') { + continue; + } + $profile ['exklude'] [] = trim ($value); + } + $temp = explode ("\n", $this->_formdata ['values'] ['include']); + $profile ['include'] = array (); + foreach ($temp as $value) { + if (trim ($value) == '') { + continue; + } + $profile ['include'] [] = trim ($value); + } + $temp = explode ("\n", $this->_formdata ['values'] ['noextensions']); + $profile ['noextensions'] = array (); + foreach ($temp as $value) { + if (trim ($value) == '') { + continue; + } + $profile ['noextensions'] [] = trim ($value); + } + $temp = explode ("\n", $this->_formdata ['values'] ['url_pattern']); + $profile ['url_pattern'] = ''; + $t = array (); + for ($i = 0; $i < count ($temp); $i++) { + if (trim ($temp [$i]) == '') { + continue; + } + $t [] = trim ($temp [$i]); + } + if (count ($t) > 0) { + $profile ['url_pattern'] = $t; + } + + $temp = explode ("\n", $this->_formdata ['values'] ['url_replacement']); + $profile ['url_replacement'] = ''; + $t = array (); + for ($i = 0; $i < count ($temp); $i++) { + if (trim ($temp [$i]) == '') { + continue; + } + $t [] = trim ($temp [$i]); + } + if (count ($t) > 0) { + $profile ['url_replacement'] = $t; + } + $profile ['stopword'] = $this->_formdata ['values'] ['stopword']; + $profile ['wordlength'] = $this->_formdata ['values'] ['wordlength']; + $profile ['buffer'] = $this->_formdata ['values'] ['buffer']; + $profile ['description'] = $this->_formdata ['values'] ['description']; + $profile ['meta_tags'] = $this->_formdata ['values'] ['meta_tags']; + + $this->_indexerProfiles [$id] = array_merge ($this->_indexerProfiles [$id], $profile); + $this->_saveIndexer (); } function _filesize($file) { |
From: Martin J. <mj...@us...> - 2005-05-20 05:54:19
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14729/modules/user/templates Modified Files: module_user.tpl Added Files: user-profile.tpl user-admin.tpl user-login.tpl Removed Files: user_admin.tpl user_profile.tpl Log Message: last step for module_phpcms --- user_admin.tpl DELETED --- --- NEW FILE: user-profile.tpl --- {config_load file="`$MODULE_PATH`/user/module_user_`$LANG`.lng" section="profile" scope="local"} <h1>{#title_profile#}</h1> Index: module_user.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/templates/module_user.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_user.tpl 7 Apr 2005 14:09:10 -0000 1.1 +++ module_user.tpl 20 May 2005 05:54:05 -0000 1.2 @@ -1,30 +1,11 @@ {if ($moduledata.action == "login")} -<form action="{$INDEX_FILE}" method="post"> - <fieldset> - <legend>Login</legend> - <label> - <span>Username</span> - <select name="username" size="1"> - {foreach from=$moduledata.userlist item=userdata} - <option value="{$userdata.username}">{$userdata.username}</option> - {/foreach} - </select> - </label> - <label> - <span>Password</span> - <input type="password" name="password" value="" /> - </label> - <div class="label"> - Login for the demo with username <em>demo</em> and password <em>demo</em> - </div> - <label> - <span> - <span class="hidden"> - Login - </span> - </span> - <input type="submit" name="us_submit_form" value="Login" /> - </label> - </fieldset> -</form> + {include file="$INDEX_PATH/modules/user/templates/user-login.tpl"} +{/if} + +{if ($moduledata.action == "admin")} + {include file="$INDEX_PATH/modules/user/templates/user-admin.tpl"} +{/if} + +{if ($moduledata.action == "profile")} + {include file="$INDEX_PATH/modules/user/templates/user-profile.tpl"} {/if} \ No newline at end of file --- NEW FILE: user-admin.tpl --- {config_load file="`$MODULE_PATH`/user/module_user_`$LANG`.lng" section="admin" scope="local"} <h1>{#title_admin#}</h1> --- user_profile.tpl DELETED --- --- NEW FILE: user-login.tpl --- {config_load file="`$MODULE_PATH`/user/module_user_`$LANG`.lng" section="login" scope="local"} <h1>{#title_login#}</h1> <form action="{$INDEX_FILE}" method="post"> <fieldset> <legend>Login</legend> <label> <span>Username</span> <select name="username" size="1"> {foreach from=$moduledata.userlist item=userdata} <option value="{$userdata.username}">{$userdata.username}</option> {/foreach} </select> </label> <label> <span>Password</span> <input type="password" name="password" value="" /> </label> <div class="label"> Login for the demo with username <em>demo</em> and password <em>demo</em> </div> <label> <span> <span class="hidden"> Login </span> </span> <input type="submit" name="us_submit_form" value="Login" /> </label> </fieldset> </form> |
From: Martin J. <mj...@us...> - 2005-05-20 05:54:17
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14729/modules/statistic/templates Modified Files: module_statistic.tpl Added Files: referer_statistic.tpl Removed Files: referrer_statistic.tpl Log Message: last step for module_phpcms --- NEW FILE: referer_statistic.tpl --- {config_load file="`$MODULE_PATH`/statistic/module_statistic_`$LANG`.lng" section="referer" scope="local"}<h2>{#title_referer#}</h2> <h3>{#title_referer_list#}</h3> <table id="table_referer"> <thead> <tr> <th>{#label_referer_address#}</th> <th>{#label_referer_count#}</th> <th>{#label_referer_ip#}</th> <th>{#label_referer_lasttime#}</th> </tr> </thead> <tfoot> <tr> <td>{#label_referer_address#}</td> <td>{#label_referer_count#}</td> <td>{#label_referer_ip#}</td> <td>{#label_referer_lasttime#}</td> </tr> </tfoot> <tbody> {assign var=i value="1"} {foreach from=$moduledata.referer item=referer} {if ($referer.p != '')} {if ($i == 2)} {assign var=i value=1} {else} {assign var=i value=2} {/if} <tr class="line{$i}"> <td title="{$referer.p|strip_tags|htmlentities}">{$referer.p|strip_tags|truncate:60:'...'|htmlentities}</td> <td>{$referer.c|strip_tags}</td> <td>{$referer.x|strip_tags|htmlentities}</td> <td>{$referer.t|strip_tags|date_format:"%Y-%m-%d %H:%M"}</td> </tr> {/if} {/foreach} </tbody> </table> <script src="{$MODULE_WEB}../tools/tablesort.js" type="text/javascript"></script> <script type="text/javascript"> <!-- initTable("table_referer"); --> </script> Index: module_statistic.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/templates/module_statistic.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_statistic.tpl 7 Apr 2005 14:09:06 -0000 1.1 +++ module_statistic.tpl 20 May 2005 05:54:04 -0000 1.2 @@ -1,17 +1,13 @@ -<h1>Statistik</h1> - -<ul class="horizontal" id="yearlist"> -</ul> - -<ul class="horizontal" id="yearlist"> +{config_load file="`$MODULE_PATH`/statistic/module_statistic_`$LANG`.lng" scope="local"}<h1>{#title_statistic#}</h1> +{*<ul class="horizontal" id="yearlist"> {foreach from=$moduledata.months item=month} <li><a href="?moduleid=stat&action=$moduledata.action {/foreach} </ul> - -{if ($moduledata.action == 'referrer')} - {include file="$INDEX_PATH/modules/statistic/templates/referrer_statistic.tpl"} +*} +{if ($moduledata.action == 'referer')} + {include file="$INDEX_PATH/modules/statistic/templates/referer_statistic.tpl"} {/if} {if ($moduledata.action == 'access')} --- referrer_statistic.tpl DELETED --- |
From: Martin J. <mj...@us...> - 2005-05-20 05:54:17
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14729/modules/statistic Modified Files: class.module_statistic.php Added Files: module_statistic_en.lng Log Message: last step for module_phpcms --- NEW FILE: module_statistic_en.lng --- title_statistic = "Statistic" [referer] title_referer = "Referer" title_referer_list = "List of referers" label_referer_address = "Address" label_referer_count = "Amount" label_referer_ip = "IP" label_referer_lasttime = "Last seen on" Index: class.module_statistic.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/class.module_statistic.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- class.module_statistic.php 7 Apr 2005 14:09:07 -0000 1.1 +++ class.module_statistic.php 20 May 2005 05:54:04 -0000 1.2 @@ -36,6 +36,9 @@ /* * $Log$ +* Revision 1.2 2005/05/20 05:54:04 mjahn +* last step for module_phpcms +* * Revision 1.1 2005/04/07 14:09:07 mjahn * Commit as backup during development * @@ -83,7 +86,6 @@ if ($this->display) { $this->_registerAction('doGetData', 'getData'); - $this->_registerAction('doGetLanguage', 'getLanguageData'); $this->action = ''; if (isset ($actiondata ['request'] ['action'])) { @@ -197,36 +199,36 @@ /** **/ - $data1 = array ('name' => 'Referrers', 'module' => 'stat', 'action' => 'referrer'); - if (substr ($this->action, 0, 8) == 'referrer') { + $data1 = array ('name' => 'Referers', 'module' => 'stat', 'action' => 'referer'); + if (substr ($this->action, 0, 8) == 'referer') { $data1 ['extra'] = 'class="current"'; - $data2 = array ('name' => 'Hostnames', 'module' => 'stat', 'action' => 'referrer-hostnames'); - if ($this->action == 'referrer-hostnames') { + $data2 = array ('name' => 'Hostnames', 'module' => 'stat', 'action' => 'referer-hostnames'); + if ($this->action == 'referer-hostnames') { $data2 ['extra'] = 'class="current"'; } $__data [] = $data2; - $data2 = array ('name' => 'TLDs', 'module' => 'stat', 'action' => 'referrer-tld'); - if ($this->action == 'referrer-tld') { + $data2 = array ('name' => 'TLDs', 'module' => 'stat', 'action' => 'referer-tld'); + if ($this->action == 'referer-tld') { $data2 ['extra'] = 'class="current"'; } $__data [] = $data2; - $data2 = array ('name' => 'Search engines', 'module' => 'stat', 'action' => 'referrer-searchengines'); - if ($this->action == 'referrer-searchengines') { + $data2 = array ('name' => 'Search engines', 'module' => 'stat', 'action' => 'referer-searchengines'); + if ($this->action == 'referer-searchengines') { $data2 ['extra'] = 'class="current"'; } $__data [] = $data2; - $data2 = array ('name' => 'Search phrases', 'module' => 'stat', 'action' => 'referrer-searchterms'); - if ($this->action == 'referrer-searchterms') { + $data2 = array ('name' => 'Search phrases', 'module' => 'stat', 'action' => 'referer-searchterms'); + if ($this->action == 'referer-searchterms') { $data2 ['extra'] = 'class="current"'; } $__data [] = $data2; - $data2 = array ('name' => 'Search phrases by search engine', 'module' => 'stat', 'action' => 'referrer-searchenginesterms', 'extra'=>'class="last"'); - if ($this->action == 'referrer-searchenginesterms') { + $data2 = array ('name' => 'Search phrases by search engine', 'module' => 'stat', 'action' => 'referer-searchenginesterms', 'extra'=>'class="last"'); + if ($this->action == 'referer-searchenginesterms') { $data2 ['extra'] = 'class="current last"'; } $__data [] = $data2; @@ -362,13 +364,13 @@ } switch ($this->action) { - case 'referrer': - case 'referrer-hostnames': - case 'referrer-tld': - case 'referrer-searchengines': - case 'referrer-searchterms': - case 'referrer-searchengineterms': - $data ['referrer'] = $this->getReferrerData (); + case 'referer': + case 'referer-hostnames': + case 'referer-tld': + case 'referer-searchengines': + case 'referer-searchterms': + case 'referer-searchengineterms': + $data ['referer'] = $this->getReferrerData (); break; case 'content': case 'content-pagesdir': @@ -401,27 +403,6 @@ return true; } - function getLanguageData (&$actiondata) { - - $langAvailable = array ('de', 'en'); - - $data = $actiondata [$actiondata ['tag']]; - - foreach ($langAvailable as $lang) { - if (!file_exists (dirname (__FILE__).'/module_statistic_'.$lang.'.lng')) { - continue; - } - if (isset ($data [$lang])) { - $data [$lang] = array_merge ($data [$lang], parse_ini_file (dirname (__FILE__).'/module_statistic_'.$lang.'.lng')); - } else { - $data [$lang] = parse_ini_file (dirname (__FILE__).'/module_statistic_'.$lang.'.lng', true); - } - } - $actiondata [$actiondata ['tag']] = $data; - - return true; - } - function getReferrerData () { $actiondata = array ('id'=>'REFERRER'); @@ -460,7 +441,6 @@ - echo $current_month = (int) strftime ('%m', time ()); $current_year = strftime ('%Y', time ()); for ($i = 1; $i <= $current_month; $i++) { |
From: Martin J. <mj...@us...> - 2005-05-15 13:01:57
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10877/tools Modified Files: .cvsignore Log Message: Commit as backup during development Index: .cvsignore =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/tools/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- .cvsignore 7 Apr 2005 14:09:05 -0000 1.1 +++ .cvsignore 15 May 2005 13:01:15 -0000 1.2 @@ -1,2 +1,4 @@ PHP_Compat-1.3.1.tgz table.js +sajax-0.10.tgz +textareatools.zip |
From: Martin J. <mj...@us...> - 2005-05-15 13:01:56
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10877 Modified Files: .cvsignore Log Message: Commit as backup during development Index: .cvsignore =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- .cvsignore 7 Apr 2005 14:09:06 -0000 1.5 +++ .cvsignore 15 May 2005 13:01:16 -0000 1.6 @@ -1,3 +1,5 @@ pear docs docs* +pXp_latest.tar.gz +.settings |
From: Martin J. <mj...@us...> - 2005-05-15 12:59:49
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10419/modules/statistic Modified Files: class.statistic_database.php Log Message: Commit as backup during development Index: class.statistic_database.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/class.statistic_database.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- class.statistic_database.php 7 Apr 2005 14:09:07 -0000 1.1 +++ class.statistic_database.php 15 May 2005 12:59:36 -0000 1.2 @@ -22,11 +22,15 @@ * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id$ -* @package project_name +* @package admin4phpCMS +* @subpackage module_statistic */ /* * $Log$ +* Revision 1.2 2005/05/15 12:59:36 mjahn +* Commit as backup during development +* * Revision 1.1 2005/04/07 14:09:07 mjahn * Commit as backup during development * |
From: Martin J. <mj...@us...> - 2005-05-15 12:59:46
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10419/modules/user Modified Files: user4phpcms.php Log Message: Commit as backup during development Index: user4phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/user4phpcms.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- user4phpcms.php 7 Apr 2005 14:09:03 -0000 1.1 +++ user4phpcms.php 15 May 2005 12:59:36 -0000 1.2 @@ -22,11 +22,15 @@ * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2005, Martin Jahn * @version $Id$ -* @package user4phpcms +* @package admin4phpCMS +* @subpackage module_user */ /* * $Log$ +* Revision 1.2 2005/05/15 12:59:36 mjahn +* Commit as backup during development +* * Revision 1.1 2005/04/07 14:09:03 mjahn * Commit as backup during development * |
From: Martin J. <mj...@us...> - 2005-05-15 12:38:13
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6808/modules/layout/img Modified Files: phpcms.png Log Message: Commit as backup during development Index: phpcms.png =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/img/phpcms.png,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Binary files /tmp/cvskizYrJ and /tmp/cvstS1Agf differ |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:34
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/layout Modified Files: layout.css class.module_layout.php Log Message: Commit as backup during development Index: class.module_layout.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/class.module_layout.php,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- class.module_layout.php 15 Apr 2005 15:20:03 -0000 1.15 +++ class.module_layout.php 15 May 2005 12:24:02 -0000 1.16 @@ -30,6 +30,9 @@ /* * $Log$ +* Revision 1.16 2005/05/15 12:24:02 mjahn +* Commit as backup during development +* * Revision 1.15 2005/04/15 15:20:03 mjahn * Commit as backup during development * @@ -108,7 +111,6 @@ $this->_registerEvent ('GET_MENU', 'doGetMenu'); $this->_registerEvent ('GET_STATUS', 'doGetStatus'); $this->_registerEvent ('GET_DATA', 'doGetData'); - $this->_registerEvent ('GET_LANGUAGE', 'doGetLanguage'); $this->_registerAction ('doParseParam', 'parseParam'); $this->_registerAction ('doDisplay', 'displayLayout'); @@ -145,22 +147,6 @@ $smarty->caching = false; $smarty->cache_lifetime = 10; - $actiondata1 = array ('tag'=>'lang', 'lang' => array ()); - $this->_callEvent ('GET_LANGUAGE', $actiondata1); - $lang = array (); - if (is_array ($actiondata1 ['lang'])) { - if (isset ($actiondata1 ['lang'] ['en'])) { - $lang = $actiondata1 ['lang'] ['en']; - unset ($actiondata1 ['lang'] ['en']); - } - foreach ($actiondata1 ['lang'] as $language=>$data) { - if (!isset ($actiondata1 ['lang'] [$language]) || !is_array ($actiondata1 ['lang'] [$language])) { - $lang = array_merge ($lang, $actiondata1 ['lang'] [$language]); - } - } - } - $smarty->assign ('lang', $lang); - // set tags that has to be replaced in the layout foreach ($this->showtags as $tag=>$event) { @@ -173,11 +159,13 @@ ${$tag} = $actiondata1 [$tag]; } - $smarty->assign ('MODULE_PATH', MODULE_PATH); + $smarty->assign ('MODULE_PATH',realpath (dirname (__FILE__).'/../')); + $smarty->assign ('MODULE_WEB',MODULE_PATH); $smarty->assign ('INDEX_PATH', INDEX_PATH); $smarty->assign ('INDEX_WEB', dirname (INDEX_FILE)); $smarty->assign ('ADMIN4PHPCMS_VERSION', ADMIN4PHPCMS_VERSION); $smarty->assign ('DEBUG', DEBUG); + $smarty->assign ('LANG', 'en'); $smarty->assign ('INDEX_FILE', INDEX_FILE); $smarty->register_modifier ('entities', 'smarty_modifier_entities'); Index: layout.css =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.css,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- layout.css 15 Apr 2005 15:20:03 -0000 1.9 +++ layout.css 15 May 2005 12:24:01 -0000 1.10 @@ -62,6 +62,7 @@ #menu li a { border-bottom:1px solid #444; + line-height:1em; } #menu li a.last { @@ -72,6 +73,7 @@ #menu ul li a { padding:0.2em 0.5em; display:block; + height:1.2em; text-decoration:none; color:#00f; } @@ -108,12 +110,13 @@ display:block; color:#fff; padding:0.2em 0.5em; + margin:0; } fieldset { background:#f0f0f0; max-width:60em; - margin-bottom:1em; + margin:1em 0; } .content .label, @@ -131,7 +134,7 @@ } -.content input, +.content label input, .content button, .content textarea, .content select { @@ -144,7 +147,7 @@ width:10em; } -.content input, +.content label input, .content button, .content textarea, .content select, @@ -153,10 +156,9 @@ padding:0.2em; } -.content label.horizontal input, -.content input[type=checkbox], -.content input[type=radio], -.content input[type=image] { +.content .radio input, +.content .label input, +.content label.horizontal input { width:auto; border:0; } @@ -221,12 +223,16 @@ border-left:0px solid; } -.info{ +.info { position:relative; /*this is the key*/ z-index:24; cursor:help; } +.info { + behavior:url(tools/hover.htc); +} + .info.hover, .info:hover { z-index:25; @@ -289,6 +295,10 @@ overflow:scroll; } +tbody tr { + behavior:url(tools/hover.htc); +} + tbody .line3, tbody tr.hover, tbody tr:hover { |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:34
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/tools/sajax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/tools/sajax Added Files: example_wall.php Sajax.php Readme.txt example_multiply.php Log Message: Commit as backup during development --- NEW FILE: example_multiply.php --- <? require("Sajax.php"); function multiply($x, $y) { return $x * $y; } sajax_init(); // $sajax_debug_mode = 1; sajax_export("multiply"); sajax_handle_client_request(); ?> <html> <head> <title>Multiplier</title> <script> <? sajax_show_javascript(); ?> function do_multiply_cb(z) { document.getElementById("z").value = z; } function do_multiply() { // get the folder name var x, y; x = document.getElementById("x").value; y = document.getElementById("y").value; x_multiply(x, y, do_multiply_cb); } </script> </head> <body> <input type="text" name="x" id="x" value="2" size="3"> * <input type="text" name="y" id="y" value="3" size="3"> = <input type="text" name="z" id="z" value="" size="3"> <input type="button" name="check" value="Calculate" onclick="do_multiply(); return false;"> </body> </html> --- NEW FILE: Sajax.php --- <?php if (!isset($SAJAX_INCLUDED)) { /* * GLOBALS AND DEFAULTS * */ $sajax_debug_mode = 0; $sajax_export_list = array(); $sajax_request_type = "GET"; $sajax_remote_uri = ""; /* * CODE * */ function sajax_init() { } function sajax_get_my_uri() { global $REQUEST_URI; return $REQUEST_URI; } $sajax_remote_uri = sajax_get_my_uri(); function sajax_handle_client_request() { global $sajax_export_list; $mode = ""; if (! empty($_GET["rs"])) $mode = "get"; if (!empty($_POST["rs"])) $mode = "post"; if (empty($mode)) return; if ($mode == "get") { // Bust cache in the head header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header ("Pragma: no-cache"); // HTTP/1.0 $func_name = $_GET["rs"]; if (! empty($_GET["rsargs"])) $args = $_GET["rsargs"]; else $args = array(); } else { $func_name = $_POST["rs"]; if (! empty($_POST["rsargs"])) $args = $_POST["rsargs"]; else $args = array(); } if (! in_array($func_name, $sajax_export_list)) echo "-:$func_name not callable"; else { echo "+:"; $result = call_user_func_array($func_name, $args); echo $result; } exit; } function sajax_get_common_js() { global $sajax_debug_mode; global $sajax_request_type; global $sajax_remote_uri; $t = strtoupper($sajax_request_type); if ($t != "GET" && $t != "POST") return "// Invalid type: $t.. \n\n"; ob_start(); ?> // remote scripting library // (c) copyright 2005 modernmethod, inc var sajax_debug_mode = <?php echo $sajax_debug_mode ? "true" : "false"; ?>; var sajax_request_type = "<?php echo $t; ?>"; function sajax_debug(text) { if (sajax_debug_mode) alert("RSD: " + text) } function sajax_init_object() { sajax_debug("sajax_init_object() called..") var A; try { A=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { A=new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { A=null; } } if(!A && typeof XMLHttpRequest != "undefined") A = new XMLHttpRequest(); if (!A) sajax_debug("Could not create connection object."); return A; } function sajax_do_call(func_name, args) { var i, x, n; var uri; var post_data; uri = "<?php echo $sajax_remote_uri; ?>"; if (sajax_request_type == "GET") { if (uri.indexOf("?") == -1) uri = uri + "?rs=" + escape(func_name); else uri = uri + "&rs=" + escape(func_name); for (i = 0; i < args.length-1; i++) uri = uri + "&rsargs[]=" + escape(args[i]); uri = uri + "&rsrnd=" + new Date().getTime(); post_data = null; } else { post_data = "rs=" + escape(func_name); for (i = 0; i < args.length-1; i++) post_data = post_data + "&rsargs[]=" + escape(args[i]); } x = sajax_init_object(); x.open(sajax_request_type, uri, true); if (sajax_request_type == "POST") { x.setRequestHeader("Method", "POST " + uri + " HTTP/1.1"); x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); } x.onreadystatechange = function() { if (x.readyState != 4) return; sajax_debug("received " + x.responseText); var status; var data; status = x.responseText.charAt(0); data = x.responseText.substring(2); if (status == "-") alert("Error: " + data); else args[args.length-1](data); } x.send(post_data); sajax_debug(func_name + " uri = " + uri + "/post = " + post_data); sajax_debug(func_name + " waiting.."); delete x; } <?php $html = ob_get_contents(); ob_end_clean(); return $html; } function sajax_show_common_js() { echo sajax_get_common_js(); } // javascript escape a value function sajax_esc($val) { return str_replace('"', '\\\\"', $val); } function sajax_get_one_stub($func_name) { ob_start(); ?> // wrapper for <?php echo $func_name; ?> function x_<?php echo $func_name; ?>() { sajax_do_call("<?php echo $func_name; ?>", x_<?php echo $func_name; ?>.arguments); } <?php $html = ob_get_contents(); ob_end_clean(); return $html; } function sajax_show_one_stub($func_name) { echo sajax_get_one_stub($func_name); } function sajax_export() { global $sajax_export_list; $n = func_num_args(); for ($i = 0; $i < $n; $i++) { $sajax_export_list[] = func_get_arg($i); } } $sajax_js_has_been_shown = 0; function sajax_get_javascript() { global $sajax_js_has_been_shown; global $sajax_export_list; $html = ""; if (! $sajax_js_has_been_shown) { $html .= sajax_get_common_js(); $sajax_js_has_been_shown = 1; } foreach ($sajax_export_list as $func) { $html .= sajax_get_one_stub($func); } return $html; } function sajax_show_javascript() { echo sajax_get_javascript(); } $SAJAX_INCLUDED = 1; } ?> --- NEW FILE: example_wall.php --- <? require("Sajax.php"); // // The world's least efficient wall implementation // function colorify_ip($ip) { $parts = explode(".", $ip); $color = sprintf("%02s", dechex($parts[1])) . sprintf("%02s", dechex($parts[2])) . sprintf("%02s", dechex($parts[3])); return $color; } function add_line($msg) { $f = fopen("/tmp/wall.html", "a"); $dt = date("Y-m-d h:i:s"); $msg = strip_tags(stripslashes($msg)); $remote = $_SERVER["REMOTE_ADDR"]; // generate unique-ish color for IP $color = colorify_ip($remote); fwrite($f, "<span style=\"color:#$color\">$dt</span> $msg<br>\n"); fclose($f); } function refresh() { $lines = file("/tmp/wall.html"); // return the last 25 lines return join("\n", array_slice($lines, -25)); } $sajax_request_type = "GET"; sajax_init(); sajax_export("add_line", "refresh"); sajax_handle_client_request(); ?> <html> <head> <title>Wall</title> <style> .date { color: blue; } </style> <script> <? sajax_show_javascript(); ?> var check_n = 0; function refresh_cb(new_data) { document.getElementById("wall").innerHTML = new_data; document.getElementById("status").innerHTML = "Checked #" + check_n++; setTimeout("refresh()", 1000); } function refresh() { document.getElementById("status").innerHTML = "Checking.."; x_refresh(refresh_cb); } function add_cb() { // we don't care.. } function add() { var line; var handle; handle = document.getElementById("handle").value; line = document.getElementById("line").value; if (line == "") return; x_add_line("[" + handle + "] " + line, add_cb); document.getElementById("line").value = ""; } </script> </head> <body onload="refresh();"> <form name="f" action="#" onsubmit="add();return false;"> <a href="http://www.modernmethod.com/sajax">Sajax</a> - This example illustrates the simplest possible graffiti wall. It isn't meant to be perfect, featureful, or even useful.<br/> <input type="text" name="handle" id="handle" value="(name)" onfocus="this.select()" style="width:130px;"> <input type="text" name="line" id="line" value="(enter your message here)" onfocus="this.select()" style="width:300px;"> <input type="button" name="check" value="Post message" onclick="add(); return false;"> <div id="wall"></div> <div id="status"><em>Loading..</em></div> </form> </body> </html> --- NEW FILE: Readme.txt --- SAJAX PHP BACKEND ----------------- Contributed and copyighted by Thomas Lackner and ModernMethod (http://www.modernmethod.com/). |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:17
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/phpcms Modified Files: module_phpcms_de.lng module_phpcms_en.lng class.module_phpcms.php Added Files: .cvsignore Log Message: Commit as backup during development --- NEW FILE: .cvsignore --- phpcms Index: module_phpcms_en.lng =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/module_phpcms_en.lng,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- module_phpcms_en.lng 15 Apr 2005 15:20:05 -0000 1.2 +++ module_phpcms_en.lng 15 May 2005 12:24:02 -0000 1.3 @@ -1,9 +1,5 @@ -PHPCMS_1 = "phpCMS — Configuration" -PHPCMS_2 = "phpCMS — Cache" -PHPCMS_3 = "phpCMS — HTTP-Indexer" -PHPCMS_4 = "phpCMS — Server-Info" -PHPCMS_5 = "phpCMS — PHP-Info" -PHPCMS_6 = "<h2>Welcome to phpCMS!</h2> +[phpcms] +text_phpcms = """<h2>Welcome to phpCMS!</h2> <p>Thank you for installing phpCMS</p> <p> @@ -12,586 +8,322 @@ <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_21a = "Select action" -PHPCMS_INDEXER_22 = "Create a new index for this profile" -PHPCMS_INDEXER_22a = "Index" -PHPCMS_INDEXER_23 = "Edit the settings of this profile" -PHPCMS_INDEXER_23a = "Edit" -PHPCMS_INDEXER_24 = "Delete this profile" -PHPCMS_INDEXER_24a = "Delete" -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_INDEXER_31 = "Save settings" -PHPCMS_INDEXER_32 = "Save settings" -PHPCMS_INDEXER_33 = "List profiles" -PHPCMS_INDEXER_34 = "Create a new profile" -PHPCMS_INDEXER_34a = "Create a new profile" -PHPCMS_INDEXER_34b = "New profile" - -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" +Have fun with phpCMS!</p>""" -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 = "" +[indexer] +title_indexer = "phpCMS — HTTP-Indexer" +title_indexer_overview = "Profile-Managment" +title_general_information = "General information" +label_name = "Name of the profile" +label_datadir = "Path where we could store the indexfiles" +label_gzip = "Compress indexfiles with GZip" +label_buffer = "Buffer size in byte" +title_spider = "Spider options" +label_robots = "Take care of robots.txt file" +label_robots_meta = "Take care of the robots-meta-tag" +label_exklude = "Exclude all URLs that contain" +label_include = "Include all URLs that contain " +label_noextensions = "Do not index files with following extensions" +title_options = "Indexer options" +label_uris = "List of URIs we have to index" +label_wordlength = "Minimal word length" +label_stopword = "Path to the stopword-file" +label_meta_desc = "Use content of meta description tag as description" +label_description = "Length of the descriptive text" +title_regex = "Change URLs" +label_regex_search = "Search with the following expression …" +label_regex_replace = "… and replace it with the following text" -[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>" +title_select_action = "Select action" +title_select_profile = "Choose profile" +label_new_index = "Create a new index for this profile" +button_new_index = "Index" +label_edit_index = "Edit the settings of this profile" +button_edit_index = "Edit" +label_copy_index = "Copy this profile" +button_copy_index = "Copy" +label_del_index = "Delete this profile" +button_del_index = "Delete" +label_test_index = "Test the index with a searchform" +button_test_index = "Test index" +label_list_index = "Show a number of the most important searchterms in the index" +button_list_index = "Show wordlist" +warning_create_index = "Please create an index first" +warning_no_index = "No current index available" +title_submit_edit = "Save settings" +button_submit_edit = "Save settings" +label_backlink = "List profiles" +title_new_profile = "Create a new profile" +label_new_profile = "Create a new profile" +button_new_profile = "New profile" -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)" +[cache] +title_cache = "phpCMS — Cache" +label_cache_filename = "Filename" +label_cache_ftime = "Last changes" +label_cache_fsize = "Filesize" +label_cache_del = "Delete the cached document" +label_cache_view = "View the document" +text_cache_filecount = " files" +text_cache_cachefile = "Cached filename is: " -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 /> +[config] +title_configuration = "phpCMS — Configuration" +label_config_1 = "Save phpCMS settings" +label_config_2 = "Save settings" +label_config_3 = "Errors" +label_config_4 = "Files & directories" +label_config_5 = "Page extension to be parsed" +label_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 /> + But even <em>.htm</em>-files that do not contain phpCMS fields would be passed through unchanged.""" +label_config_7 = "Name of default page" +label_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 /> + 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.""" +label_config_9 = "Extension for templatefiles" +label_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 /> + But the parser must know it...""" +label_config_11 = "Global projectfile" +label_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.""" +label_config_13 = "Global home-directory for all projects" +label_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.""" +label_config_15 = "Plugin directory" +label_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 /> + Throughout your project you may use <em>/parser/plugs</em> to access this directory. """ +label_config_17 = "Parser" +label_config_18 = "Field delimiter start tag" +label_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 />""" +label_config_20 = "Field delimiter end tag" +label_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.""" +label_config_22 = "Menu delimiter" +label_config_23 = "some description needed (1)" +label_config_24 = "Tag parameter delimiter" +label_config_25 = "some description needed (2)" +label_config_26 = "Use PAXPHP in your files" +label_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 /> + So called DynaTags are an application of PAXPHP. DynaTags are user-defined tags that are substituted by a PHP expression marked up as PAXPHP.""" +label_config_28 = "Use PAX-tags" +label_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 /> + Available PAX TAGS are: PAXINC, PAXLASTMOD, PAXCOMBO, PAXCOMBOALL, PAXMENU, PAXHIGLIGHT and PAXRTF.""" +label_config_30 = "Use Mail2Crypt" +label_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 /> + In phpCMS 1.2.0 and higher Mail2Crypt is fully integrated into the Parser and works independent of PAX.""" +label_config_32 = "Mail2Crypt javascript directory" +label_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 /> + 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.""" +label_config_34 = "Mail2Crypt image directory" +label_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 /> + The Mail2Crypt standard icons are located in <em>/parser/gif/</em> by default.""" +label_config_36 = "Use online editor" +label_config_37 = "some description needed (3)" +label_config_38 = "Cache & Proxy" +label_config_39 = "Use server cache" +label_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 /> + 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.""" +label_config_41 = "Server cache directory" +label_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 /> + Should you not want to grant write access - e.g. for security reasons - the phpCMS cache feature can not be used.""" +label_config_43 = "Use client cache" +label_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 /> + If this is not the case (e.g. because pages contain dynamic plug-ins) phpCMS deactivates this setting automatically.""" +label_config_45 = "Livetime of Proxy/Client cache in days" +label_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 /> + This setting will be ignored if pages contain dynamic content, i.e. scripts or dynamic plug-ins.""" +label_config_47 = "Transport" +label_config_48 = "Use GZip compression" +label_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 /> + Please refer to the PHP documentation for further details...""" +label_config_50 = "Use Stealthmode" +label_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 /> + 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. """ +label_config_52 = "Use Secure-Stealthmode" +label_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 /> + 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.""" +label_config_54 = "Dont change links with this extension in non-stealthmode" +label_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 /> + Here you may specify those kinds of files links to which should remain unchanged.""" +label_config_56 = "Produce errors on empty tags" +label_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 deactivated, such a tag will be substituted with an empty string, i.e. it will not produce any output in the parsed page.""" +label_config_58 = "Use debug-mode" +label_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 /> + 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.""" +label_config_60 = "Custom error page" +label_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 />""" +label_config_62 = "Custom 404 error page" +label_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 /> + In the event that no 404-Error-Page is specified or none exists, the regular Error-Page will be displayed.""" +label_config_64 = "P3P Statement (<b>http://w3c.org/P3P/</b>)" +label_config_65 = "Send P3P header" +label_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 /> + A starting point for finding further information is <b>http://w3c.org/P3P/</b>...""" +label_config_67 = "Global P3P policy header" +label_config_68 = """<b>Content of global P3P header</b><br /> + Here you may enter the machine readable P3P compact policy.""" +label_config_69 = "P3P policy href" +label_config_70 = """<b>Directory of P3P Policy</b><br /> + Directory that stores the comprehensive P3P privacy policy. Usually this is “/w3c/p3p.xml”.""" +label_config_71 = "I18N" +label_config_72 = "Use I18N" +label_config_73 = "some description needed (4)" +label_config_74 = "Default languages" +label_config_75 = "some description needed (5)" +label_config_76 = "Possible languages" +label_config_77 = "some description needed (6)" +label_config_78 = "I18N-mode" +label_config_79 = "some description needed (7)" +label_config_80 = " suffix (www.example.com/index.de.htm)" +label_config_81 = " dir (www.example.com/de/index.htm)" +label_config_82 = " var (www.example.com/index.htm?lang=de)" +label_config_83 = " host (www.example.de/index.htm or www.example.com/index.htm)" +label_config_84 = " session (www.example.com/index.htm?sid=1234 or cookie)" +label_config_85 = "Name of the URI-parameter" +label_config_86 = "some description needed (8)" +label_config_87 = "Statistics" +label_config_88 = "Use statistic logging" +label_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 /> +label_config_90 = "Directory where to put statistic data" +label_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 /> +label_config_92 = "Path to directory for current stats" +label_config_93 = "some description neeeded (9) " +label_config_94 = "Filename for the log-file" +label_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 /> +label_config_96 = "Path to the directory for the backup" +label_config_97 = "How many referrer should be counted?" +label_config_98 = "some description needed (10)" +label_config_99 = "Ignore the following referrer" +label_config_100 = "some description needed (11)" +label_config_101 = "How many Ips should be counted?" +label_config_102 = "some description needed (12)" +label_config_103 = "Ignore the folowing IPs" +label_config_104 = "some description needed (13)" +label_config_105 = "How many URLs should be counted?" +label_config_106 = "some description needed (14)" +label_config_107 = "Activate referrer-logging" +label_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 /> + 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.""" +label_config_109 = "Directory where to put the referrer-file" +label_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 /> + phpCMS needs write permission for this directory!""" +label_config_111 = "Name of the referrer-file" +label_config_112 = """<b>Name of referrer log file</b> + Specifies the name of the log file that stores referrer data.""" +label_config_113 = "Time for the reload-lock" +label_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 = "" + This prevents, to some extent, an unwanted “counting up” of top referrers.""" +label_config_115 = "Sitemap and TOC" +label_config_116 = "Activate search-module with contentfield" +label_config_117 = "some description needed (15)" +label_config_118 = "Name of the contentfield for search-module" +label_config_119 = "some description needed (16)" +label_config_120 = "Activate TOC-module with contentfield" +label_config_121 = "some description needed (17)" +label_config_122 = "Name of the contentfield for TOC-module" +label_config_123 = "some description needed (18)" +label_config_124 = "Expert settings" +label_config_125 = "Show expert settings" +label_config_126 = "some description needed (19)" +label_config_127 = "Display all PHP warnings and notices" +label_config_128 = "some description needed (20)" +label_config_129 = "Fix bug in PHP output-buffering" +label_config_130 = "some description needed (20)" +label_config_131 = "Domainname of the account" +label_config_132 = "some description needed (20)" +label_config_133 = "Auto" +label_config_134 = "Direct" +label_config_135 = "Apply domain-name manually" +label_config_136 = "Document-Root of the account" +label_config_137 = "some description needed (21)" +label_config_138 = "$script-path" +label_config_139 = "some description needed (22)" +label_config_140 = "Apply $script_path manually" +label_config_141 = "$script_name" +label_config_142 = "some description needed (22)" +label_config_143 = "Apply $script_name manually" +label_config_144 = "" +label_config_145 = "" +label_config_146 = "" + +[server] +title_server = "phpCMS — Server-Info" +title_vars = "Server variables" +label_vars_name = "variable" +label_vars_value = "value" + +title_ini = "PHP configuration" +label_ini_property ="Property" +label_ini_value = "Local value (Global value)" + +title_php_ext = "PHP extensions" +label_php_ext_desc = "Description" +label_php_ext_name = "Extension" + +[phpinfo] +title_phpinfo = "phpCMS — PHP-Info" Index: class.module_phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/class.module_phpcms.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- class.module_phpcms.php 15 Apr 2005 15:20:05 -0000 1.8 +++ class.module_phpcms.php 15 May 2005 12:24:02 -0000 1.9 @@ -28,7 +28,7 @@ /* * $Log$ -* Revision 1.8 2005/04/15 15:20:05 mjahn +* Revision 1.9 2005/05/15 12:24:02 mjahn * Commit as backup during development * */ @@ -115,6 +115,9 @@ $this->display = (isset ($actiondata['request']['moduleid']) && $actiondata['request']['moduleid'] == 'phpcms'); $this->action = ''; + echo '<!--'; + print_r ($actiondata); + echo '-->'; if (isset ($actiondata['request']['action'])) { $this->action = $actiondata['request']['action']; } @@ -146,7 +149,7 @@ $this->_indexerAction = $actiondata['request']['indexeraction']; } $this->_profileAction = ''; - if (isset ($actiondata['request']['profileform-submit'])) { + if (isset ($actiondata['request']['configform-submit'])) { $this->_profileAction = 'save'; $this->_formdata = $actiondata['post']; } @@ -245,12 +248,14 @@ function processIndexer(&$actiondata) { + // load the values in the default.php + $this->_loadIndexer(); + if ($this->_profileAction == 'save') { $this->_parseIndexerFormdata(); + $this->_saveIndexer (); } - // load the values in the default.php - $this->_loadIndexer(); if ($this->_showIndexerProfile != '') { $data = array_keys ($this->_indexerProfiles); Index: module_phpcms_de.lng =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/module_phpcms_de.lng,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- module_phpcms_de.lng 15 Apr 2005 15:20:05 -0000 1.2 +++ module_phpcms_de.lng 15 May 2005 12:24:02 -0000 1.3 @@ -1,17 +1,19 @@ +[phpcms] PHPCMS_1 = "phpCMS — Konfiguration" PHPCMS_2 = "phpCMS — Cache" PHPCMS_3 = "phpCMS — HTTP-Indexer!" PHPCMS_4 = "phpCMS — Server-Info" PHPCMS_5 = "phpCMS — PHP-Info" -PHPCMS_6 = "<h2>Willkommen bei phpCMS!</h2> +PHPCMS_6 = """<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>" +Viel Spaß mit phpCMS!</p>""" +[indexer] PHPCMS_INDEXER_1 = "Allgemeine Informationen" PHPCMS_INDEXER_2 = "Name des Profils" PHPCMS_INDEXER_3 = "Verzeichnis für die Indexdateien" @@ -53,6 +55,7 @@ PHPCMS_INDEXER_34a = "Neues Profil erstellen" PHPCMS_INDEXER_34b = "Neues Profil" +[cache] PHPCMS_CACHE_1 = "Dateiname" PHPCMS_CACHE_2 = "Letzte Änderungen" PHPCMS_CACHE_3 = "Größe" @@ -60,6 +63,7 @@ PHPCMS_CACHE_5 = "Betrachte das Dokument" PHPCMS_CACHE_6 = " Datei(en)" +[config] PHPCMS_CONFIG_1 = "Save phpCMS settings" PHPCMS_CONFIG_2 = "Save settings" PHPCMS_CONFIG_3 = "Errors" @@ -117,13 +121,13 @@ <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 /> +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." + 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 /> +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." + 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" |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:16
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/user Modified Files: class.module_user.php Log Message: Commit as backup during development Index: class.module_user.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/class.module_user.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- class.module_user.php 15 Apr 2005 15:20:04 -0000 1.12 +++ class.module_user.php 15 May 2005 12:24:02 -0000 1.13 @@ -30,6 +30,9 @@ /* * $Log$ +* Revision 1.13 2005/05/15 12:24:02 mjahn +* Commit as backup during development +* * Revision 1.12 2005/04/15 15:20:04 mjahn * Commit as backup during development * @@ -283,7 +286,7 @@ return true; } - $data = array ('name'=>'Usermanagment', 'module'=>'user', 'action'=>'profile'); + $data = array ('name'=>'Usermanagment', 'module'=>'user', 'action'=>''); $_data = array (); if ($this->display) { |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:16
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/tools Added Files: hover.htc Log Message: Commit as backup during development --- NEW FILE: hover.htc --- <attach event="onmouseover" handler="hoverRollOver" /><attach event="onmouseout" handler="hoverRollOff" /><script type="text/javascript">function hoverRollOver() {element.origClassName = element.className;var tempClassStr = element.className;tempClassStr += "Hover";tempClassStr = tempClassStr.replace(/\s/g,"Hover ");tempClassStr += " hover";element.className = element.className + " " + tempClassStr;}function hoverRollOff() {element.className = element.origClassName;}</script> |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:16
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/phpcms-content Modified Files: class.module_phpcms_content.php Log Message: Commit as backup during development Index: class.module_phpcms_content.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content/class.module_phpcms_content.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- class.module_phpcms_content.php 7 Apr 2005 14:09:09 -0000 1.1 +++ class.module_phpcms_content.php 15 May 2005 12:24:03 -0000 1.2 @@ -28,6 +28,9 @@ /* * $Log$ +* Revision 1.2 2005/05/15 12:24:03 mjahn +* Commit as backup during development +* * Revision 1.1 2005/04/07 14:09:09 mjahn * Commit as backup during development * @@ -185,6 +188,18 @@ function processConfig (&$actiondata) { } + function getphpCMSContentData () { + // get templatefiles + + // get menufiles + + // get menudata of current menufile + + // get contentfile of selected menuentry + + // end + } + function getLanguageData (&$actiondata) { $langAvailable = array ('de', 'en'); |
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/phpcms/templates Modified Files: phpcms-server.tpl phpcms-config.tpl phpcms-indexer.tpl module_phpcms.tpl phpcms-phpinfo.tpl phpcms-cache.tpl Log Message: Commit as backup during development Index: phpcms-config.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-config.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- phpcms-config.tpl 15 Apr 2005 15:20:03 -0000 1.2 +++ phpcms-config.tpl 15 May 2005 12:24:01 -0000 1.3 @@ -1,24 +1,26 @@ +{config_load file="`$MODULE_PATH`/phpcms/module_phpcms_`$LANG`.lng" section="config" scope="local"} +<h1>{#title_configuration#}</h1> +<form action="{$INDEX_FILE}?moduleid=phpcms&action=config" method="post"> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_1}</legend> + <legend>{#label_config_1#}</legend> <label> - <span> <span class="hidden">{$lang.PHPCMS_CONFIG_1}</span></span> - <input type="submit" name="configform-submit" value="{$lang.PHPCMS_CONFIG_2}" /> + <span> <span class="hidden">{#label_config_1#}</span></span> + <input type="submit" name="configform-submit" value="{#label_config_2#}" /> </label> </fieldset> {if isset ($moduledata.error)} <fieldset> - <legend>{$lang.PHPCMS_CONFIG_3}</legend> - + <legend>{#label_config_3#}</legend> </fieldset> {/if} <fieldset> - <legend>{$lang.PHPCMS_CONFIG_4}</legend> + <legend>{#label_config_4#}</legend> <input type="hidden" name="type[PAGE_EXTENSION]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_5} + {#label_config_5#} <span> - {$lang.PHPCMS_CONFIG_6} + {#label_config_6#} </span> </span> <input type="text" name="values[PAGE_EXTENSION]" value="{$moduledata.default.PAGE_EXTENSION.value|strip_tags}" /> @@ -26,9 +28,9 @@ <input type="hidden" name="type[PAGE_DEFAULTNAME]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_7} + {#label_config_7#} <span> - {$lang.PHPCMS_CONFIG_8} + {#label_config_8#} </span> </span> <input type="text" name="values[PAGE_DEFAULTNAME]" value="{$moduledata.default.PAGE_DEFAULTNAME.value|strip_tags}" /> @@ -36,9 +38,9 @@ <input type="hidden" name="type[TEMPEXT]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_9} + {#label_config_9#} <span> - {$lang.PHPCMS_CONFIG_10} + {#label_config_10#} </span> </span> <input type="text" name="values[TEMPEXT]" value="{$moduledata.default.TEMPEXT.value|strip_tags}" /> @@ -46,9 +48,9 @@ <input type="hidden" name="type[GLOBAL_PROJECT_FILE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_11} + {#label_config_11#} <span> - {$lang.PHPCMS_CONFIG_12} + {#label_config_12#} </span> </span> <input type="text" name="values[GLOBAL_PROJECT_FILE]" value="{$moduledata.default.GLOBAL_PROJECT_FILE.value|strip_tags}" /> @@ -56,9 +58,9 @@ <input type="hidden" name="type[GLOBAL_PROJECT_HOME]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_13} + {#label_config_13#} <span> - {$lang.PHPCMS_CONFIG_14} + {#label_config_14#} </span> </span> <input type="text" name="values [GLOBAL_PROJECT_HOME]" value="{$moduledata.default.GLOBAL_PROJECT_HOME.value|strip_tags}" /> @@ -66,22 +68,22 @@ <input type="hidden" name="type[PLUGINDIR]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_15} + {#label_config_15#} <span> - {$lang.PHPCMS_CONFIG_16} + {#label_config_16#} </span> </span> <input type="text" name="values[PLUGINDIR]" value="{$moduledata.default.PLUGINDIR.value|strip_tags}" /> </label> </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_17}</legend> + <legend>{#label_config_17#}</legend> <input type="hidden" name="type[START_FIELD]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_18} + {#label_config_18#} <span> - {$lang.PHPCMS_CONFIG_19} + {#label_config_19#} </span> </span> <input type="text" name="values[START_FIELD]" value="{$moduledata.default.START_FIELD.value|strip_tags}" /> @@ -89,9 +91,9 @@ <input type="hidden" name="type[STOP_FIELD]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_20} + {#label_config_20#} <span> - {$lang.PHPCMS_CONFIG_21} + {#label_config_21#} </span> </span> <input type="text" name="values[STOP_FIELD]" value="{$moduledata.default.STOP_FIELD.value|strip_tags}" /> @@ -99,9 +101,9 @@ <input type="hidden" name="type[MENU_DELIMITER]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_22} + {#label_config_22#} <span> - {$lang.PHPCMS_CONFIG_23} + {#label_config_23#} </span> </span> <input type="text" name="values[MENU_DELIMITER]" value="{$moduledata.default.MENU_DELIMITER.value|strip_tags}" /> @@ -109,9 +111,9 @@ <input type="hidden" name="type[TAG_DELIMITER]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_24} + {#label_config_24#} <span> - {$lang.PHPCMS_CONFIG_25} + {#label_config_25#} </span> </span> <input type="text" name="values[TAG_DELIMITER]" value="{$moduledata.default.TAG_DELIMITER.value|strip_tags}" /> @@ -119,9 +121,9 @@ <input type="hidden" name="type[PAX]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_26} + {#label_config_26#} <span> - {$lang.PHPCMS_CONFIG_27} + {#label_config_27#} </span> </span> <label class="horizontal"> @@ -137,9 +139,9 @@ <input type="hidden" name="type[PAXTAGS]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_28} + {#label_config_28#} <span> - {$lang.PHPCMS_CONFIG_29} + {#label_config_29#} </span> </span> <label class="horizontal"> @@ -155,9 +157,9 @@ <input type="hidden" name="type[MAIL2CRYPT]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_30} + {#label_config_30#} <span> - {$lang.PHPCMS_CONFIG_31} + {#label_config_31#} </span> </span> <label class="horizontal"> @@ -174,9 +176,9 @@ <input type="hidden" name="type[MAIL2CRYPT_JS]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_32} + {#label_config_32#} <span> - {$lang.PHPCMS_CONFIG_33} + {#label_config_33#} </span> </span> <input type="text" name="values[MAIL2CRYPT_JS]" value="{$moduledata.default.MAIL2CRYPT_JS.value|strip_tags}" /> @@ -184,9 +186,9 @@ <input type="hidden" name="type[MAIL2CRYPT_IMG]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_34} + {#label_config_34#} <span> - {$lang.PHPCMS_CONFIG_35} + {#label_config_35#} </span> </span> <input type="text" name="values[MAIL2CRYPT_IMG]" value="{$moduledata.default.MAIL2CRYPT_IMG.value|strip_tags}" /> @@ -195,9 +197,9 @@ <input type="hidden" name="type[ENABLE_ONLINE_EDITOR]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_36} + {#label_config_36#} <span> - {$lang.PHPCMS_CONFIG_37} + {#label_config_37#} </span> </span> <label class="horizontal"> @@ -213,13 +215,13 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_38}</legend> + <legend>{#label_config_38#}</legend> <input type="hidden" name="type[CACHE_STATE]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_39} + {#label_config_39#} <span> - {$lang.PHPCMS_CONFIG_40} + {#label_config_40#} </span> </span> <label class="horizontal"> @@ -236,9 +238,9 @@ <input type="hidden" name="type[CACHE_DIR]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_41} + {#label_config_41#} <span> - {$lang.PHPCMS_CONFIG_42} + {#label_config_42#} </span> </span> <input type="text" name="values[CACHE_DIR]" value="{$moduledata.default.CACHE_DIR.value|strip_tags}" /> @@ -247,9 +249,9 @@ <input type="hidden" name="type[CACHE_CLIENT]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_43} + {#label_config_43#} <span> - {$lang.PHPCMS_CONFIG_44} + {#label_config_44#} </span> </span> <label class="horizontal"> @@ -266,9 +268,9 @@ <input type="hidden" name="type[PROXY_CACHE_TIME]" value="int" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_45} + {#label_config_45#} <span> - {$lang.PHPCMS_CONFIG_46} + {#label_config_46#} </span> </span> <input type="text" name="values[PROXY_CACHE_TIME]" value="{$moduledata.default.PROXY_CACHE_TIME.value|strip_tags}" /> @@ -277,13 +279,13 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_47}</legend> + <legend>{#label_config_47#}</legend> <input type="hidden" name="type[GZIP]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_48} + {#label_config_48#} <span> - {$lang.PHPCMS_CONFIG_49} + {#label_config_49#} </span> </span> <label class="horizontal"> @@ -299,9 +301,9 @@ <input type="hidden" name="type[STEALTH]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_50} + {#label_config_50#} <span> - {$lang.PHPCMS_CONFIG_51} + {#label_config_51#} </span> </span> <label class="horizontal"> @@ -318,9 +320,9 @@ <div id="stealthmode" {if ($moduledata.default.STEALTH.value == 0)} class="hidden"{/if}> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_52} + {#label_config_52#} <span> - {$lang.PHPCMS_CONFIG_53} + {#label_config_53#} </span> </span> <label class="horizontal"> @@ -338,9 +340,9 @@ <input type="hidden" name="type[NOLINKCHANGE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_54} + {#label_config_54#} <span> - {$lang.PHPCMS_CONFIG_55} + {#label_config_55#} </span> </span> <textarea name="values[NOLINKCHANGE]" rows="3" cols="15">{$moduledata.default.NOLINKCHANGE.value}</textarea> @@ -349,9 +351,9 @@ <input type="hidden" name="type[TAGS_ERROR]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_56} + {#label_config_56#} <span> - {$lang.PHPCMS_CONFIG_57} + {#label_config_57#} </span> </span> <label class="horizontal"> @@ -367,9 +369,9 @@ <input type="hidden" name="type[DEBUG]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_58} + {#label_config_58#} <span> - {$lang.PHPCMS_CONFIG_59} + {#label_config_59#} </span> </span> <label class="horizontal"> @@ -386,9 +388,9 @@ <input type="hidden" name="type[ERROR_PAGE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_60} + {#label_config_60#} <span> - {$lang.PHPCMS_CONFIG_61} + {#label_config_61#} </span> </span> <input type="text" name="values[ERROR_PAGE]" value="{$moduledata.default.ERROR_PAGE.value|strip_tags}" /> @@ -396,9 +398,9 @@ <input type="hidden" name="type[ERROR_PAGE_404]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_62} + {#label_config_62#} <span> - {$lang.PHPCMS_CONFIG_63} + {#label_config_63#} </span> </span> <input type="text" name="values[ERROR_PAGE_404]" value="{$moduledata.default.ERROR_PAGE_404.value|strip_tags}" /> @@ -407,13 +409,13 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_64}</legend> + <legend>{#label_config_64#}</legend> <input type="hidden" name="type[P3P_HEADER]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_65} + {#label_config_65#} <span> - {$lang.PHPCMS_CONFIG_66} + {#label_config_66#} </span> </span> <label class="horizontal"> @@ -430,9 +432,9 @@ <input type="hidden" name="type[P3P_POLICY]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_67} + {#label_config_67#} <span> - {$lang.PHPCMS_CONFIG_68} + {#label_config_68#} </span> </span> <textarea name="values[P3P_POLICY]" rows="3" cols="20">{$moduledata.default.P3P_POLICY.value}</textarea> @@ -440,9 +442,9 @@ <input type="hidden" name="type[P3P_HREF]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_69} + {#label_config_69#} <span> - {$lang.PHPCMS_CONFIG_70} + {#label_config_70#} </span> </span> <input type="text" name="values[P3P_HREF]" value="{$moduledata.default.P3P_HREF.value|strip_tags}" /> @@ -451,13 +453,13 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_71}</legend> + <legend>{#label_config_71#}</legend> <input type="hidden" name="type[I18N]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_72} + {#label_config_72#} <span> - {$lang.PHPCMS_CONFIG_73} + {#label_config_73#} </span> </span> <label class="horizontal"> @@ -474,9 +476,9 @@ <input type="hidden" name="type[I18N_DEFAULT_LANGUAGE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_74} + {#label_config_74#} <span> - {$lang.PHPCMS_CONFIG_75} + {#label_config_75#} </span> </span> <input type="text" name="values[I18N_DEFAULT_LANGUAGE]" value="{$moduledata.default.I18N_DEFAULT_LANGUAGE.value|strip_tags}" /> @@ -484,9 +486,9 @@ <input type="hidden" name="type[I18N_POSSIBLE_LANGUAGES]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_76} + {#label_config_76#} <span> - {$lang.PHPCMS_CONFIG_77} + {#label_config_77#} </span> </span> <textarea name="values[I18N_POSSIBLE_LANGUAGES]" rows="3" cols="15">{$moduledata.default.I18N_POSSIBLE_LANGUAGES.value}</textarea> @@ -494,26 +496,26 @@ <input type="hidden" name="type[I18N_MODE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_78} + {#label_config_78#} <span> - {$lang.PHPCMS_CONFIG_79} + {#label_config_79#} </span> </span> <select name="values[I18N_MODE]" size="1"> - <option value="SUFFIX" {if ($moduledata.default.I18N_MODE.value == 'SUFFIX')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{$lang.PHPCMS_CONFIG_80}</option> - <option value="DIR" {if ($moduledata.default.I18N_MODE.value == 'DIR')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{$lang.PHPCMS_CONFIG_81}</option> - <option value="VAR" {if ($moduledata.default.I18N_MODE.value == 'VAR')} selected="selected"{/if} onkeypress="showArea ('uri-param')" onclick="showArea ('uri-param')">{$lang.PHPCMS_CONFIG_82}</option> - <option value="HOST" {if ($moduledata.default.I18N_MODE.value == 'HOST')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{$lang.PHPCMS_CONFIG_83}</option> - <option value="SESSION" {if ($moduledata.default.I18N_MODE.value == 'SESSION')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{$lang.PHPCMS_CONFIG_84}</option> + <option value="SUFFIX" {if ($moduledata.default.I18N_MODE.value == 'SUFFIX')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{#label_config_80#}</option> + <option value="DIR" {if ($moduledata.default.I18N_MODE.value == 'DIR')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{#label_config_81#}</option> + <option value="VAR" {if ($moduledata.default.I18N_MODE.value == 'VAR')} selected="selected"{/if} onkeypress="showArea ('uri-param')" onclick="showArea ('uri-param')">{#label_config_82#}</option> + <option value="HOST" {if ($moduledata.default.I18N_MODE.value == 'HOST')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{#label_config_83#}</option> + <option value="SESSION" {if ($moduledata.default.I18N_MODE.value == 'SESSION')} selected="selected"{/if} onkeypress="hideArea ('uri-param')" onclick="hideArea ('uri-param')">{#label_config_84#}</option> </select> </label> <div id="uri-param" {if ($moduledata.default.I18N_MODE.value != 'VAR')} class="hidden"{/if}> <input type="hidden" name="type[I18N_PARAMNAME]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_85} + {#label_config_85#} <span> - {$lang.PHPCMS_CONFIG_86} + {#label_config_86#} </span> </span> <input type="text" name="values[I18N_PARAMNAME]" value="{$moduledata.default.I18N_PARAMNAME.value|strip_tags}" /> @@ -523,13 +525,13 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_87}</legend> + <legend>{#label_config_87#}</legend> <input type="hidden" name="type[STATS]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_88} + {#label_config_88#} <span> - {$lang.PHPCMS_CONFIG_89} + {#label_config_89#} </span> </span> <label class="horizontal"> @@ -546,9 +548,9 @@ <input type="hidden" name="type[STATS_DIR]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_90} + {#label_config_90#} <span> - {$lang.PHPCMS_CONFIG_91} + {#label_config_91#} </span> </span> <input type="text" name="values[STATS_DIR]" value="{$moduledata.default.STATS_DIR.value|strip_tags}" /> @@ -556,9 +558,9 @@ <input type="hidden" name="type[STATS_CURRENT]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_92} + {#label_config_92#} <span> - {$lang.PHPCMS_CONFIG_93} + {#label_config_93#} </span> </span> <input type="text" name="values[STATS_CURRENT]" value="{$moduledata.default.STATS_CURRENT.value|strip_tags}" /> @@ -566,9 +568,9 @@ <input type="hidden" name="type[STATS_FILE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_94} + {#label_config_94#} <span> - {$lang.PHPCMS_CONFIG_95} + {#label_config_95#} </span> </span> <input type="text" name="values[STATS_FILE]" value="{$moduledata.default.STATS_FILE.value|strip_tags}" /> @@ -576,16 +578,16 @@ <input type="hidden" name="type[STATS_BACKUP]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_96} + {#label_config_96#} </span> <input type="text" name="values[STATS_BACKUP]" value="{$moduledata.default.STATS_BACKUP.value|strip_tags}" /> </label> <input type="hidden" name="type[STATS_REFERER_COUNT]" value="int" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_97} + {#label_config_97#} <span> - {$lang.PHPCMS_CONFIG_98} + {#label_config_98#} </span> </span> <input type="text" name="values[STATS_REFERER_COUNT]" value="{$moduledata.default.STATS_REFERER_COUNT.value|strip_tags}" /> @@ -593,9 +595,9 @@ <input type="hidden" name="type[STATS_REFERER_IGNORE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_99} + {#label_config_99#} <span> - {$lang.PHPCMS_CONFIG_100} + {#label_config_100#} </span> </span> <input type="text" name="values[STATS_REFERER_IGNORE]" value="{$moduledata.default.STATS_REFERER_IGNORE.value|strip_tags}" /> @@ -603,9 +605,9 @@ <input type="hidden" name="type[STATS_IP_COUNT]" value="int" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_101} + {#label_config_101#} <span> - {$lang.PHPCMS_CONFIG_102} + {#label_config_102#} </span> </span> <input type="text" name="values[STATS_IP_COUNT]" value="{$moduledata.default.STATS_IP_COUNT.value|strip_tags}" /> @@ -613,9 +615,9 @@ <input type="hidden" name="type[STATS_IP_IGNORE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_103} + {#label_config_103#} <span> - {$lang.PHPCMS_CONFIG_104} + {#label_config_104#} </span> </span> <input type="text" name="values[STATS_IP_IGNORE]" value="{$moduledata.default.STATS_IP_IGNORE.value|strip_tags}" /> @@ -623,9 +625,9 @@ <input type="hidden" name="type[STATS_URL_COUNT]" value="int" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_105} + {#label_config_105#} <span> - {$lang.PHPCMS_CONFIG_106} + {#label_config_106#} </span> </span> <input type="text" name="values[STATS_URL_COUNT]" value="{$moduledata.default.STATS_URL_COUNT.value|strip_tags}" /> @@ -634,9 +636,9 @@ <input type="hidden" name="type[REFERRER]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_107} + {#label_config_107#} <span> - {$lang.PHPCMS_CONFIG_108} + {#label_config_108#} </span> </span> <label class="horizontal"> @@ -653,9 +655,9 @@ <input type="hidden" name="type[REFERRER_DIR]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_109} + {#label_config_109#} <span> - {$lang.PHPCMS_CONFIG_110} + {#label_config_110#} </span> </span> <input type="text" name="values[REFERRER_DIR]" value="{$moduledata.default.REFERRER_DIR.value|strip_tags}" /> @@ -663,9 +665,9 @@ <input type="hidden" name="type[REFERRER_FILE]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_111} + {#label_config_111#} <span> - {$lang.PHPCMS_CONFIG_112} + {#label_config_112#} </span> </span> <input type="text" name="values[REFERRER_FILE]" value="{$moduledata.default.REFERRER_FILE.value|strip_tags}" /> @@ -673,9 +675,9 @@ <input type="hidden" name="type[REF_RELOAD_LOCK]" value="int" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_113} + {#label_config_113#} <span> - {$lang.PHPCMS_CONFIG_114} + {#label_config_114#} </span> </span> <input type="text" name="values[REF_RELOAD_LOCK]" value="{$moduledata.default.REF_RELOAD_LOCK.value|strip_tags}" /> @@ -684,13 +686,13 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_115}</legend> + <legend>{#label_config_115#}</legend> <input type="hidden" name="type[CONTENT_SEARCH]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_116} + {#label_config_116#} <span> - {$lang.PHPCMS_CONFIG_117} + {#label_config_117#} </span> </span> <label class="horizontal"> @@ -707,9 +709,9 @@ <input type="hidden" name="type[CONTENT_SEARCH_FIELDNAME]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_118} + {#label_config_118#} <span> - {$lang.PHPCMS_CONFIG_119} + {#label_config_119#} </span> </span> <input type="text" name="values[CONTENT_SEARCH_FIELDNAME]" value="{$moduledata.default.CONTENT_SEARCH_FIELDNAME.value|strip_tags}" /> @@ -718,9 +720,9 @@ <input type="hidden" name="type[CONTENT_TOC]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_120} + {#label_config_120#} <span> - {$lang.PHPCMS_CONFIG_121} + {#label_config_121#} </span> </span> <label class="horizontal"> @@ -737,9 +739,9 @@ <input type="hidden" name="type[CONTENT_TOC_FIELDNAME]" value="string" /> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_122} + {#label_config_122#} <span> - {$lang.PHPCMS_CONFIG_123} + {#label_config_123#} </span> </span> <input type="text" name="values[CONTENT_TOC_FIELDNAME]" value="{$moduledata.default.CONTENT_TOC_FIELDNAME.value|strip_tags}" /> @@ -748,12 +750,12 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_124}</legend> + <legend>{#label_config_124#}</legend> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_125} + {#label_config_125#} <span> - {$lang.PHPCMS_CONFIG_126} + {#label_config_126#} </span> </span> <label class="horizontal"> @@ -770,9 +772,9 @@ <input type="hidden" name="type[ERROR_ALL]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_127} + {#label_config_127#} <span> - {$lang.PHPCMS_CONFIG_128} + {#label_config_128#} </span> </span> <label class="horizontal"> @@ -788,9 +790,9 @@ <input type="hidden" name="type[FIX_PHP_OB_BUG]" value="string" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_129} + {#label_config_129#} <span> - {$lang.PHPCMS_CONFIG_130} + {#label_config_130#} </span> </span> <label class="horizontal"> @@ -806,17 +808,17 @@ <input type="hidden" name="func[DOMAIN_NAME]" value="$PHP->GetDomainName()" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_131} + {#label_config_131#} <span> - {$lang.PHPCMS_CONFIG_132} + {#label_config_132#} </span> </span> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_133}</span> + <span>{#label_config_133#}</span> <input type="radio" name="type[DOMAIN_NAME]" value="func" {if ($moduledata.default.DOMAIN_NAME.type == 'func')} checked="checked"{/if} onclick="hideArea ('domain_name');" onkeypress="hideArea ('domian_name');" /> </label> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_134}</span> + <span>{#label_config_134#}</span> <input type="radio" name="type[DOMAIN_NAME]" value="string" {if ($moduledata.default.DOMAIN_NAME.type == 'string')} checked="checked"{/if} onclick="showArea ('domain_name');" onkeypress="showArea ('domain_name');" /> </label> <br style="clear:both" /> @@ -824,7 +826,7 @@ <div id="domain_name" {if ($moduledata.default.DOMAIN_NAME.type == 'func')} class="hidden"{/if}> <label> <span class="info"> - {$lang.PHPCMS_CONFIG_135} + {#label_config_135#} </span> <input type="text" name="values[DOMAIN_NAME]" value="{if ($moduledata.default.DOMAIN_NAME.type == 'string')}{$moduledata.default.DOMAIN_NAME.value}{/if}" /> </label> @@ -832,17 +834,17 @@ <input type="hidden" name="func[DOCUMENT_ROOT]" value="$PHP->GetDocRoot()" /> <div class="label"> <span class="info"> - {$lang.PHPCMS_CONFIG_136} + {#label_config_136#} <span> - {$lang.PHPCMS_CONFIG_137} + {#label_config_137#} </span> </span> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_133}</span> + <span>{#label_config_133#}</span> <input type="radio" name="type[DOCUMENT_ROOT]" value="func" {if ($moduledata.default.DOCUMENT_ROOT.type == 'func')} checked="checked"{/if} onclick="hideArea ('doc_root');" onkeypress="hideArea ('doc_root');" /> </label> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_134}</span> + <span>{#label_config_134#}</span> <input type="radio" name="type[DOCUMENT_ROOT]" value="string" {if ($moduledata.default.DOCUMENT_ROOT.type == 'string')} checked="checked"{/if} onclick="showArea ('doc_root');" onkeypress="showArea ('doc_root');" /> </label> <br style="clear:both" /> @@ -858,17 +860,17 @@ <input type="hidden" name="func[SCRIPT_PATH]" value="$PHP->GetScriptPath()" /> <div class="label"> <span> - {$lang.PHPCMS_CONFIG_138} + {#label_config_138#} <span> - {$lang.PHPCMS_CONFIG_139} + {#label_config_139#} </span> </span> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_133}</span> + <span>{#label_config_133#}</span> <input type="radio" name="type[SCRIPT_PATH]" value="func" {if ($moduledata.default.SCRIPT_PATH.type == 'func')} checked="checked"{/if} onclick="hideArea ('script_path');" onkeypress="hideArea ('script_path');" /> </label> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_134}</span> + <span>{#label_config_134#}</span> <input type="radio" name="type[SCRIPT_PATH]" value="string" {if ($moduledata.default.SCRIPT_PATH.type == 'string')} checked="checked"{/if} onclick="showArea ('script_path');" onkeypress="showArea ('script_path');" /> </label> <br style="clear:both" /> @@ -876,7 +878,7 @@ <div id="script_path" {if ($moduledata.default.SCRIPT_PATH.type == 'func')} class="hidden"{/if}> <label> <span> - {$lang.PHPCMS_CONFIG_140} + {#label_config_140#} </span> <input type="text" name="values[SCRIPT_PATH]" value="{if ($moduledata.default.SCRIPT_PATH.type == 'string')}{$moduledata.default.SCRIPT_PATH.value}{/if}" /> </label> @@ -885,14 +887,14 @@ <input type="hidden" name="func[SCRIPT_NAME]" value="$PHP->GetScriptName()" /> <div class="label"> <span> - {$lang.PHPCMS_CONFIG_141} + {#label_config_141#} </span> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_133}</span> + <span>{#label_config_133#}</span> <input type="radio" name="type[SCRIPT_NAME]" value="func" {if ($moduledata.default.SCRIPT_NAME.type == 'func')} checked="checked"{/if} onclick="hideArea ('script_name');" onkeypress="hideArea ('script_name');" /> </label> <label class="horizontal"> - <span>{$lang.PHPCMS_CONFIG_134}</span> + <span>{#label_config_134#}</span> <input type="radio" name="type[SCRIPT_NAME]" value="string" {if ($moduledata.default.SCRIPT_NAME.type == 'string')} checked="checked"{/if} onclick="showArea ('script_name');" onkeypress="showArea ('script_name');" /> </label> <br style="clear:both" /> @@ -900,7 +902,7 @@ <div id="script_name" {if ($moduledata.default.SCRIPT_NAME.type == 'func')} class="hidden"{/if}> <label> <span> - {$lang.PHPCMS_CONFIG_142} + {#label_config_142#} </span> <input type="text" name="values[SCRIPT_NAME]" value="{if ($moduledata.default.SCRIPT_NAME.type == 'string')}{$moduledata.default.SCRIPT_NAME.value}{/if}" /> </label> @@ -909,10 +911,10 @@ </fieldset> <fieldset> - <legend>{$lang.PHPCMS_CONFIG_1}</legend> + <legend>{#label_config_1#}</legend> <label> - <span> <span class="hidden">{$lang.PHPCMS_CONFIG_1}</span></span> - <input type="submit" name="configform-submit" value="{$lang.PHPCMS_CONFIG_2}" /> + <span> <span class="hidden">{#label_config_1#}</span></span> + <input type="submit" name="configform-submit" value="{#label_config_2#}" /> </label> </fieldset> - \ No newline at end of file +</form> \ No newline at end of file Index: phpcms-indexer.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-indexer.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- phpcms-indexer.tpl 15 Apr 2005 15:20:03 -0000 1.2 +++ phpcms-indexer.tpl 15 May 2005 12:24:01 -0000 1.3 @@ -1,31 +1,34 @@ +{config_load file="`$MODULE_PATH`/phpcms/module_phpcms_`$LANG`.lng" section="indexer" scope="local"} +<h1>{#title_indexer#}</h1> +<form action="{$INDEX_FILE}?moduleid=phpcms&action=indexer" method="post"> {if ($moduledata.indexeraction == 'edit')} {foreach from=$moduledata.indexerProfiles key="name" item="profile"} {if ($moduledata.showprofile == $name)} <fieldset> - <legend>{$lang.PHPCMS_INDEXER_31}</legend> + <legend>{#title_submit_edit#}</legend> <label> - <span><a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer">{$lang.PHPCMS_INDEXER_33}</a></span> - <input type="submit" name="configform-submit" value="{$lang.PHPCMS_INDEXER_32}" /> + <span><a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer">{#label_backlink#}</a></span> + <input type="submit" name="configform-submit" value="{#button_submit_edit#}" /> </label> </fieldset> <fieldset> - <legend>{$lang.PHPCMS_INDEXER_1}</legend> + <legend>{#title_general_information#}</legend> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_2} + {#label_name#} </span> <input type="text" name="values[name]" value="{$name}" /> </label> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_3} + {#label_datadir#} </span> <input type="text" name="values[savedata]" value="{$profile.savedata}" /> </label> <div class="label"> <span class="info"> - {$lang.PHPCMS_INDEXER_4} + {#label_gzip#} </span> <label class="horizontal"> <span>On</span> @@ -39,16 +42,16 @@ </div> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_5} + {#label_buffer#} </span> <input tyxpe="text" name="values[buffer]" value="{$profile.buffer}" /> </fieldset> <fieldset> - <legend>{$lang.PHPCMS_INDEXER_6}</legend> + <legend>{#title_spider#}</legend> <div class="label"> <span class="info"> - {$lang.PHPCMS_INDEXER_7} + {#label_robots#} </span> <label class="horizontal"> <span>On</span> @@ -62,7 +65,7 @@ </div> <div class="label"> <span class="info"> - {$lang.PHPCMS_INDEXER_8} + {#label_robots_meta#} </span> <label class="horizontal"> <span>On</span> @@ -76,51 +79,51 @@ </div> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_9} + {#label_exklude#} </span> - <textarea cols="40" rows="5">{foreach from=$profile.exklude item=exclude}{$exclude} + <textarea name="values[exklude]" cols="40" rows="5">{foreach from=$profile.exklude item=exclude}{$exclude} {/foreach}</textarea> </label> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_10} + {#label_include#} </span> - <textarea cols="40" rows="5">{foreach from=$profile.include item=include}{$include} + <textarea name="values[include]" cols="40" rows="5">{foreach from=$profile.include item=include}{$include} {/foreach}</textarea> </label> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_11} + {#label_noextensions#} </span> - <textarea cols="40" rows="5">{foreach from=$profile.noextensions item=ext}{$ext} + <textarea name="values[noextensions]" cols="40" rows="5">{foreach from=$profile.noextensions item=ext}{$ext} {/foreach}</textarea> </label> </fieldset> <fieldset> - <legend>{$lang.PHPCMS_INDEXER_12}</legend> + <legend>{#title_options#}</legend> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_13} + {#label_uris#} </span> - <textarea cols="40" rows="5">{foreach from=$profile.host item=host}{$host} + <textarea name="values[host]" cols="40" rows="5">{foreach from=$profile.host item=host}{$host} {/foreach}</textarea> </label> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_14} + {#label_wordlength#} </span> <input type="text" name="values[wordlength]" value="{$profile.wordlength}" /> </label> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_15} + {#label_stopword#} </span> <input type="text" name="values[stopword]" value="{$profile.stopword}" /> </label> <div class="label"> <span class="info"> - {$lang.PHPCMS_INDEXER_16} + {#label_meta_desc#} </span> <label class="horizontal"> <span>On</span> @@ -134,46 +137,46 @@ </div> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_17} + {#label_description#} </span> <input type="text" name="values[description]" value="{$profile.description}" /> </label> </fieldset> <fieldset> - <legend>{$lang.PHPCMS_INDEXER_18}</legend> + <legend>{#title_regex#}</legend> {foreach from=$profile.url_regex item=regex} <label> <span class="info"> - {$lang.PHPCMS_INDEXER_19} + {#label_regex_search#} </span> <input type="text" name="values[url_pattern][]" value="{$profile.url_regex.search}" /> </label> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_20} + {#label_regex_replace#} </span> <input type="text" name="values[url_replacement][]" value="{$profile.url_regex.search}" /> </label> {/foreach} <label> <span class="info"> - {$lang.PHPCMS_INDEXER_19} + {#label_regex_search#} </span> <input type="text" name="values[url_pattern][]" value="" /> </label> <label> <span class="info"> - {$lang.PHPCMS_INDEXER_20} + {#label_regex_replace#} </span> <input type="text" name="values[url_replacement][]" value="" /> </label> </fieldset> <fieldset> - <legend>{$lang.PHPCMS_INDEXER_31}</legend> + <legend>{#title_submit_edit#}</legend> <label> - <span><a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer">{$lang.PHPCMS_INDEXER_33}</a></span> - <input type="submit" name="configform-submit" value="{$lang.PHPCMS_INDEXER_32}" /> + <span><a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer">{#label_backlink#}</a></span> + <input type="submit" name="configform-submit" value="{#button_submit_edit#}" /> </label> </fieldset> {/if} @@ -181,13 +184,13 @@ {/if} {if ($moduledata.indexeraction == '')} - <h2>{$lang.PHPCMS_INDEXER_21}</h2> + <h2>{#title_indexer_overview#}</h2> <fieldset> - <legend>Choose profile</legend> + <legend>{#title_select_profile#}</legend> {counter start=0 skip=1 assign="index"} {foreach from=$moduledata.indexerProfiles key="name" item="profile"} {counter} - <label> + <label class="radio"> <span> {$name} </span> @@ -196,59 +199,68 @@ {/foreach} </fieldset> <fieldset> - <legend>{$lang.PHPCMS_INDEXER_21a}</legend> + <legend>{#title_select_action#}</legend> <label> <span> - {$lang.PHPCMS_INDEXER_22} + {#label_new_index#} </span> <button type="submit" name="indexeraction" value="index"> - {$lang.PHPCMS_INDEXER_22a} + {#button_new_index#} </button> </label> <label> <span> - {$lang.PHPCMS_INDEXER_23} + {#label_edit_index#} </span> <button type="submit" name="indexeraction" value="edit"> - {$lang.PHPCMS_INDEXER_23a} + {#button_edit_index#} </button> </label> <label> <span> - {$lang.PHPCMS_INDEXER_24} + {#label_copy_index#} </span> <button type="submit" name="indexeraction" value="del"> - {$lang.PHPCMS_INDEXER_24a} + {#button_copy_index#} </button> </label> <label> <span> - {$lang.PHPCMS_INDEXER_25} + {#label_del_index#} + </span> + <button type="submit" name="indexeraction" value="del"> + {#button_del_index#} + </button> + </label> + <label> + <span> + {#label_test_index#} </span> <button type="submit" name="indexeraction" value="test"> - {$lang.PHPCMS_INDEXER_26} + {#button_test_index#} </button> </label> <label> <span> - {$lang.PHPCMS_INDEXER_27} + {#label_list_index#} </span> <button type="submit" name="indexeraction" value="list"> - {$lang.PHPCMS_INDEXER_28} + {#button_list_index#} </button> </label> </fieldset> <fieldset> - <legend>{$lang.PHPCMS_INDEXER_34}</legend> + <legend>{#title_new_profile#}</legend> <label> <span> - {$lang.PHPCMS_INDEXER_34a} + {#label_new_profile#} </span> <button type="submit" name="indexeraction" value="new"> - {$lang.PHPCMS_INDEXER_34b} + {#button_new_profile#} </button> </label> </fieldset> -{/if} \ No newline at end of file +{/if} +</form> \ No newline at end of file Index: phpcms-server.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-server.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- phpcms-server.tpl 15 Apr 2005 15:20:03 -0000 1.1 +++ phpcms-server.tpl 15 May 2005 12:24:01 -0000 1.2 @@ -1,18 +1,20 @@ +{config_load file="`$MODULE_PATH`/phpcms/module_phpcms_`$LANG`.lng" section="server" scope="local"} +<h1>{#title_server#}</h1> <script src="{$MODULE_PATH}../tools/tablesort.js" type="text/javascript"></script> +<h2>{#title_vars#}</h2> <table id="table_server"> - <caption>Server-Variables</caption> <colgroup span="2"> </colgroup> <thead> <tr> - <th>Variable</th> - <th>Value</th> + <th>{#label_vars_name#}</th> + <th>{#label_vars_value#}</th> </tr> </thead> <tfoot> <tr> - <td>Variable</td> - <td>Value</td> + <td>{#label_vars_name#}</td> + <td>{#label_vars_value#}</td> </tr> </tfoot> <tbody> @@ -39,20 +41,20 @@ --> </script> +<h2>{#title_php_values#}</h2> <table id="table_inivalues"> - <caption>PHP.ini values</caption> <colgroup span="2"> </colgroup> <thead> <tr> - <th>Property</th> - <th>Local value (global value)</th> + <th>{#label_ini_property#}</th> + <th>{#label_ini_value#}</th> </tr> </thead> <tfoot> <tr> - <td>Property</td> - <td>Local value (global value)</td> + <td>{#label_ini_property#}</td> + <td>{#label_ini_value#}</td> </tr> </tfoot> <tbody> @@ -76,18 +78,18 @@ --> </script> +<h2>{#title_php_ext#}</h2> <table id="table_extensions"> - <caption>PHP Extensions</caption> <thead> <tr> - <th>Extension</th> - <th>Description</th> + <th>{#label_php_ext_name#}</th> + <th>{#label_php_ext_desc#}</th> </tr> </thead> <tfoot> <tr> - <td>Extension</td> - <td>Description</td> + <td>{#label_php_ext_name#}</td> + <td>{#label_php_ext_desc#}</td> </tr> </tfoot> <tbody> Index: phpcms-phpinfo.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-phpinfo.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- phpcms-phpinfo.tpl 15 Apr 2005 15:20:03 -0000 1.1 +++ phpcms-phpinfo.tpl 15 May 2005 12:24:01 -0000 1.2 @@ -1,3 +1,5 @@ +{config_load file="`$MODULE_PATH`/phpcms/module_phpcms_`$LANG`.lng" section="phpinfo" scope="local"} +<h1>{#title_phpinfo#}</h1> {literal} <style type="text/css"> <!-- Index: module_phpcms.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/module_phpcms.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- module_phpcms.tpl 15 Apr 2005 15:20:03 -0000 1.2 +++ module_phpcms.tpl 15 May 2005 12:24:01 -0000 1.3 @@ -1,32 +1,22 @@ -{if ($moduledata.action == 'config')} - <h1>{$lang.PHPCMS_1}</h1> +{config_load file="`$MODULE_PATH`/phpcms/module_phpcms_`$LANG`.lng" scope="local"} - <form action="{$INDEX_FILE}?moduleid=phpcms&action=config" method="post"> +{if ($moduledata.action == 'config')} {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-config.tpl"} - </form> {/if} {if ($moduledata.action == 'cache')} - <h1>{$lang.PHPCMS_2}</h1> - <form action="{$INDEX_FILE}?moduleid=phpcms&action=cache" method="post"> {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-cache.tpl"} - </form> {/if} {if ($moduledata.action == 'indexer')} - <h1>{$lang.PHPCMS_3}</h1> - <form action="{$INDEX_FILE}?moduleid=phpcms&action=indexer" method="post"> {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-indexer.tpl"} - </form> {/if} {if ($moduledata.action == 'serverinfo')} - <h1>{$lang.PHPCMS_4}</h1> {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-server.tpl"} {/if} {if ($moduledata.action == 'phpinfo')} - <h1>{$lang.PHPCMS_5}</h1> {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-phpinfo.tpl"} {/if} {if ($moduledata.action == '')} -{$lang.PHPCMS_6} +{#PHPCMS_6#} <h2>Changelog</h2> <h3>2005-01-17</h3> Index: phpcms-cache.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-cache.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- phpcms-cache.tpl 15 Apr 2005 15:20:03 -0000 1.2 +++ phpcms-cache.tpl 15 May 2005 12:24:01 -0000 1.3 @@ -1,3 +1,6 @@ +{config_load file="`$MODULE_PATH`/phpcms/module_phpcms_`$LANG`.lng" section="cache" scope="local"} +<h1>{#title_cache#}</h1> +<form action="{$INDEX_FILE}?moduleid=phpcms&action=cache" method="post"> {counter start=0 skip=1 assign="counter"} <script src="{$MODULE_PATH}../tools/checkbox.js" type="text/javascript"></script> <script type="text/javascript"> @@ -13,35 +16,36 @@ } {/literal} </script> - {$moduledata.cachedir} + <h2>{$moduledata.cachedir}</h2> <table style="width:100%"> <thead> <tr> <th colspan="2"><input type="image" name="cacheform-submit" value="del-sel-cache" src="modules/phpcms/img/cache/del-sel.gif" width="16" height="16" /></th> - <th>{$lang.PHPCMS_CACHE_1}</th> - <th>{$lang.PHPCMS_CACHE_2}</th> - <th>{$lang.PHPCMS_CACHE_3}</th> + <th>{#label_cache_filename#}</th> + <th>{#label_cache_ftime#}</th> + <th>{#label_cache_fsize#}</th> </tr> </thead> + <tfoot> + <tr> + <td colspan="2"><input type="image" name="cacheform-submit" value="del-sel-cache" src="modules/phpcms/img/cache/del-sel.gif" width="16" height="16" /></td> + <td>{$counter}{#text_cache_filecount#}</td> + <td> </td> + <td>{$moduledata.filesizes}</td> + </tr> + </tfoot> <tbody> {foreach from=$moduledata.cachelist item=cacheentry} {counter} {assign var="sizecounter" value="$sizecounter+'$cacheentry.filesize'"} <tr class="line{cycle values="1,2"}"> - <td><input type="checkbox" name="delete-{$cacheentry.cachefile}" value="1" title="{$lang.PHPCMS_CACHE_4}" onclick="selectFile (this)"/></td> - <td><a href="http://{$cacheentry.filename}" title="{$lang.PHPCMS_CACHE_5}"><img src="modules/phpcms/img/cache/webpage.gif" width="16" height="16" alt="view" /></a></td> - <td>URL:http://{$cacheentry.filename|truncate:80:"…"}</td> + <td><input type="checkbox" name="delete-{$cacheentry.cachefile}" value="1" title="{#label_cache_del#}" onclick="selectFile (this)"/></td> + <td><a href="http://{$cacheentry.filename}" title="{#label_cache_view#}"><img src="modules/phpcms/img/cache/webpage.gif" width="16" height="16" alt="view" /></a></td> + <td title="{#text_cache_cachefile#}{$cacheentry.cachefile}">URL:http://{$cacheentry.filename|truncate:80:"…"}</td> <td>{$cacheentry.cachetime|date_format:"%d-%m-%Y %H:%M:%S"}</td> <td>{$cacheentry.ffilesize}</td> </tr> {/foreach} </tbody> - <tfoot> - <tr> - <td colspan="2"><input type="image" name="cacheform-submit" value="del-sel-cache" src="modules/phpcms/img/cache/del-sel.gif" width="16" height="16" /></td> - <td>{$counter}{$lang.PHPCMS_CACHE_6}</td> - <td> </td> - <td>{$moduledata.filesizes}</td> - </tr> - </tfoot> </table> +</form> \ No newline at end of file |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:15
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823 Modified Files: Changelog Log Message: Commit as backup during development Index: Changelog =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/Changelog,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Changelog 15 Apr 2005 15:20:06 -0000 1.10 +++ Changelog 15 May 2005 12:24:03 -0000 1.11 @@ -1,3 +1,12 @@ +May 15 2005 (mjahn) + * included AJAX-files into distribution (tools directory) + * optimized languagefiles and templates of module phpCMS + +May 13 2005 (mjahn) + * changed format of the language files (INI-file) + * inserted language-detection into framework + * language-files are now included in the first line of a template file + April 14 2005 (mjahn) * create new modules: + phpcms-content (only dummy) |
From: Martin J. <mj...@us...> - 2005-05-15 12:24:15
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4823/modules/phpcms-content/templates Modified Files: module_phpcms-content.tpl Added Files: phpcms-content_editor.tpl Log Message: Commit as backup during development --- NEW FILE: phpcms-content_editor.tpl --- <style type="text/css"> <!-- @import url(/test/modules/editor/editor.css) screen; --> </style> <script type="text/javascript" src="/test/modules/editor/editor.js"></script> {if $WYSIWYG.NAME == 'HTMLAREA'} <!-- Editorfunktionen --> <script type="text/javascript"> _editor_lang = "de"; _editor_url = "{$WYSIWYG.PATH}"; </script> <!-- load the main HTMLArea files --> <script type="text/javascript" src="{$WYSIWYG.PATH}/htmlarea.js"></script> <script type="text/javascript"> HTMLArea.loadPlugin("ImageManager"); HTMLArea.loadPlugin("CSS"); </script> {/if} {if $WYSIWYG.NAME == 'FCKEDITOR'} <!-- load the main FCKEditor files --> <script type="text/javascript" src="{$WYSIWYG.PATH}/fckeditor.js"></script> {/if} {if $WYSIWYG.NAME == 'WYSIWYM'} <script type="text/javascript" src="{$WYSIWYG.PATH}/online-editor.js"></script> {/if} <div id="editor" > <form action="{$INDEX_FILE}?moduleid=phpcms&action=phpcms-content" method="post" id="editor_main" class="editor"> <fieldset> <legend>Allgemeines</legend> <h3>Optionen</h3> <div class="label"> <input type="button" name="editor-newfile" class="editor-newfile" onclick="displayTab('new')" value="Neue Datei anlegen" /> <input type="button" name="editor-openfile" class="editor-openfile" onclick="displayTab('open')" value="Datei zum Editieren öffnen" /> <input type="submit" name="editor-savefile" class="editor-savefile" value="Datei speichern" /> <input type="button" name="editor-delfile" class="editor-delfile" onclick="displayTab('delete')" value="Datei löschen" /> <input type="submit" name="editor-saveexit" class="editor-exit" value="Speichern und Datei schließen" /> </div> {$EDITOR.ERROR} <div id="new" style="display:block;"> <h3>Neue Datei anlegen</h3> <label for="input-newfile"> <span><a href="{$HELP}#filename" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dateiname</a></span> <input type="text" name="input-newfile" id="input-newfile" /> </label> <label for="input-template"> <span><a href="{$HELP}#selectstyle" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Vorlage wählen</a></span> <select name="input-template" id="input-template"> {$EDITOR.TPLSELECT} </select> </label> <label for="input-newmenu"> <span><a href="{$HELP}#selectdoc" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Menüpunkt auswählen</a></span> <select name="input-newmenu" id="input-newmenu"> {$MENUS} </select> </label> <div class="label"> <input type="radio" name="input-newmenu-position" id="input-newmenu-position" value="before" /><span>davor einfügen</span> </div> <div class="label"> <input type="radio" name="input-newmenu-position" id="input-newmenu-position" value="after" selected="selected" /><span>dahinter einfügen</span> </div> <label for="input-newfile-submit"> <input type="submit" name="input-newfile-submit" id="input-newfile-submit" class="editor-newfile" value="Datei anlegen" /> </label> </div> <div id="open" style="display:block;"> <h3>Dokument öffnen und editieren</h3> <label for="input-openfile"> <span><a href="{$HELP}#selectdoc" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dokument auswählen</a></span> <select name="input-openfile" id="input-openfile"> {$MENUS1} </select> </label> <label for="input-openfile-submit"> <input type="submit" name="input-openfile-submit" id="input-openfile-submit" class="editor-openfile" value="Datei öffnen" /> </label> </div> <div id="delete" style="display:block;"> <h3>Dokument löschen</h3> <label for="input-delfile"> <span><a href="{$HELP}#del" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dokument auswählen</a></span> <select name="input-delfile" id="input-delfile"> {$MENUS} </select> </label> <label for="input-delfile-check1"> <input type="checkbox" name="input-delfile-realy" id="input-delfile-check1" value="delete" /><span><a href="{$HELP}#wdel" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Dokument wirklich löschen?</a></span> </label> <label for="input-delfile-check2"> <input type="checkbox" name="input-delfile-menu" id="input-delfile-check2" value="delete-menu" /><span><a href="{$HELP}#menudel" onclick="return pop(this,'width=350,height=500,scrollbars,resizable','Hilfe');" onkeypress="verifyKey(this,event);">Menüeintrag mit löschen?</a></span> </label> <label for="input-delfile-submit"> <input type="submit" name="input-delfile-submit" id="input-delfile-submit" class="editor-delfile" value="Datei löschen" /> </label> </div> </fieldset> {if $WYSIWYG.NAME == 'HTMLAREA'} <textarea name="input-content-{$INPUT.ID}" id="input-content-{$INPUT.ID}" rows="20" cols="40">{$INPUT.VALUE}</textarea> <script language='javascript1.2'>HTMLArea.replace('input-content-{$FIELD}')</script> {/if} {if $WYSIWYG.NAME == 'FCKEDITOR'} <textarea name="input-content-{$INPUT.ID}" id="input-content-{$INPUT.ID}" rows="20" cols="40">{$INPUT.VALUE}</textarea> <script type="text/javascript"> var oFCKEditor = new FCKEditor ('input-content-{$FIELD}'); oFCKEditor.ReplaceTextarea (); </script> {/if} {if $WYSIWYG.NAME == 'WYSIWYM'} <div class="label"> <img src="{$WYSIWYG.PATH}/edit/boldbtn.gif" width="18" height="18" title="Highlight some text and click for bold" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<b>', '</b>');" /> <img src="{$WYSIWYG.PATH}/edit/italicbtn.gif" width="18" height="18" title="Highlight some text and click for italic" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<em>', '</em>')" /> <img src="{$WYSIWYG.PATH}/edit/underlinebtn.gif" width="18" height="18" title="Highlight some text and click for underlined" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<u>', '</u>')" /> <img src="{$WYSIWYG.PATH}/edit/centerbtn.gif" width="18" height="18" title="Highlight some text and click to center" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<p class=%22center%22>', '</p>')" /> <img src="{$WYSIWYG.PATH}/edit/rightbtn.gif" width="18" height="18" title="Highlight some text and click to right align" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<p class=%22right%22>', '</p>')" /> <img src="{$WYSIWYG.PATH}/edit/blockquotebtn.gif" width="18" height="18" title="Highlight some text and click for a blockquote" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<blockquote>', '</blockquote>')" /> <img src="{$WYSIWYG.PATH}/edit/blistbtn.gif" width="18" height="18" title="Highlight some text and click for a bulleted list" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<li>', '</li>')" /> <img src="{$WYSIWYG.PATH}/edit/prebtn.gif" width="18" height="18" title="Highlight some text and click for pre" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<pre>', '</pre>')" /> <img src="{$WYSIWYG.PATH}/edit/rulebtn.gif" width="18" height="18" title="Insert a horizontal rule" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="insertTag(document.getElementById('input-content-{$INPUT.ID}'),'<hr />');" /> <img src="{$WYSIWYG.PATH}/edit/picbtn.gif" width="18" height="18" title="Insert an image" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="insertImage(document.getElementById('input-content-{$INPUT.ID}'));" /> <img src="{$WYSIWYG.PATH}/edit/linkbtn.gif" width="18" height="18" title="Highlight some text and click to add a link" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapWithLink(document.getElementById('input-content-{$INPUT.ID}'));" /> <img src="{$WYSIWYG.PATH}/edit/acronymbtn.gif" width="18" height="18" title="Highlight some text and click to add a acronym" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapWithTitle(document.getElementById('input-content-{$INPUT.ID}'), 'acronym');"> <img src="{$WYSIWYG.PATH}/edit/abbrbtn.gif" width="23" height="18" title="Highlight some text and click to add a abbr" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapWithTitle(document.getElementById('input-content-{$INPUT.ID}'), 'abbr');"> <img src="{$WYSIWYG.PATH}/edit/quotebtn.gif" width="18" height="18" title="Highlight some text and click for q" class="buttons" onmouseover="mouseover(this);" onmouseout="mouseout(this);" onmousedown="mousedown(this);" onmouseup="mouseup(this);" onclick="wrapTag(document.getElementById('input-content-{$INPUT.ID}'), '<q>', '</q>')"> </div> <textarea name="input-content-{$INPUT.ID}" id="input-content-{$INPUT.ID}" rows="20" cols="40">{$INPUT.VALUE}</textarea> {/if} {$EDITOR.EDIT} </form> </div> Index: module_phpcms-content.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms-content/templates/module_phpcms-content.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_phpcms-content.tpl 7 Apr 2005 14:09:10 -0000 1.1 +++ module_phpcms-content.tpl 15 May 2005 12:24:03 -0000 1.2 @@ -0,0 +1 @@ +{include file="$INDEX_PATH/modules/phpcms-content/templates/phpcms-content_editor.tpl"} \ No newline at end of file |
From: Martin J. <mj...@us...> - 2005-05-15 12:18:44
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/tools/sajax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3838/tools/sajax Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/tools/sajax added to the repository |
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20482/modules/phpcms/templates Modified Files: phpcms-config.tpl phpcms-indexer.tpl phpcms-cache.tpl module_phpcms.tpl Added Files: phpcms-phpinfo.tpl phpcms-server.tpl Log Message: Commit as backup during development Index: phpcms-config.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-config.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- phpcms-config.tpl 7 Apr 2005 14:09:04 -0000 1.1 +++ phpcms-config.tpl 15 Apr 2005 15:20:03 -0000 1.2 @@ -333,7 +333,6 @@ </label> <br style="clear:both;" /> </div> - </div> <div id="nonstealthmode" {if ($moduledata.default.CACHE_CLIENT.value == 1)} class="hidden"{/if}> <input type="hidden" name="type[NOLINKCHANGE]" value="string" /> @@ -768,7 +767,6 @@ <br style="clear:both;" /> </div> <div id="expert" class="hidden"> - <input type="hidden" name="type[ERROR_ALL]" value="string" /> <div class="label"> <span class="info"> @@ -787,7 +785,6 @@ </label> <br style="clear:both;" /> </div> - <input type="hidden" name="type[FIX_PHP_OB_BUG]" value="string" /> <div class="label"> <span class="info"> @@ -806,7 +803,6 @@ </label> <br style="clear:both;" /> </div> - <input type="hidden" name="func[DOMAIN_NAME]" value="$PHP->GetDomainName()" /> <div class="label"> <span class="info"> @@ -833,7 +829,6 @@ <input type="text" name="values[DOMAIN_NAME]" value="{if ($moduledata.default.DOMAIN_NAME.type == 'string')}{$moduledata.default.DOMAIN_NAME.value}{/if}" /> </label> </div> - <input type="hidden" name="func[DOCUMENT_ROOT]" value="$PHP->GetDocRoot()" /> <div class="label"> <span class="info"> @@ -860,7 +855,6 @@ <input type="text" name="values[DOCUMENT_ROOT]" value="{if ($moduledata.default.DOCUMENT_ROOT.type == 'string')}{$moduledata.default.DOCUMENT_ROOT.value}{/if}" /> </label> </div> - <input type="hidden" name="func[SCRIPT_PATH]" value="$PHP->GetScriptPath()" /> <div class="label"> <span> Index: phpcms-indexer.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-indexer.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- phpcms-indexer.tpl 7 Apr 2005 14:09:04 -0000 1.1 +++ phpcms-indexer.tpl 15 Apr 2005 15:20:03 -0000 1.2 @@ -2,6 +2,13 @@ {foreach from=$moduledata.indexerProfiles key="name" item="profile"} {if ($moduledata.showprofile == $name)} <fieldset> + <legend>{$lang.PHPCMS_INDEXER_31}</legend> + <label> + <span><a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer">{$lang.PHPCMS_INDEXER_33}</a></span> + <input type="submit" name="configform-submit" value="{$lang.PHPCMS_INDEXER_32}" /> + </label> + </fieldset> + <fieldset> <legend>{$lang.PHPCMS_INDEXER_1}</legend> <label> <span class="info"> @@ -135,23 +142,37 @@ <fieldset> <legend>{$lang.PHPCMS_INDEXER_18}</legend> + {foreach from=$profile.url_regex item=regex} <label> <span class="info"> {$lang.PHPCMS_INDEXER_19} </span> - <input type="text" name="values[url_pattern]" value="{$profile.url_pattern}" /> + <input type="text" name="values[url_pattern][]" value="{$profile.url_regex.search}" /> </label> <label> <span class="info"> {$lang.PHPCMS_INDEXER_20} </span> - <input type="text" name="values[url_replacement]" value="{$profile.url_replacement}" /> + <input type="text" name="values[url_replacement][]" value="{$profile.url_regex.search}" /> + </label> + {/foreach} + <label> + <span class="info"> + {$lang.PHPCMS_INDEXER_19} + </span> + <input type="text" name="values[url_pattern][]" value="" /> + </label> + <label> + <span class="info"> + {$lang.PHPCMS_INDEXER_20} + </span> + <input type="text" name="values[url_replacement][]" value="" /> </label> </fieldset> <fieldset> <legend>{$lang.PHPCMS_INDEXER_31}</legend> <label> - <span> <span class="hidden">PHPMCS_INDEXER_31</span></span> + <span><a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer">{$lang.PHPCMS_INDEXER_33}</a></span> <input type="submit" name="configform-submit" value="{$lang.PHPCMS_INDEXER_32}" /> </label> </fieldset> @@ -160,47 +181,74 @@ {/if} {if ($moduledata.indexeraction == '')} -<fieldset> - <legend>{$lang.PHPCMS_INDEXER_21}</legend> - <dl class="horizontal"> + <h2>{$lang.PHPCMS_INDEXER_21}</h2> + <fieldset> + <legend>Choose profile</legend> {counter start=0 skip=1 assign="index"} {foreach from=$moduledata.indexerProfiles key="name" item="profile"} {counter} - <dt style="width:20em;">{$name}</dt> - <dd> - <a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer&indexerprofile={$index}&indexeraction=index" title="{$lang.PHPCMS_INDEXER_22}"> - <img src="modules/phpcms/img/indexer/search.gif" width="16" height="16" alt="index" /> - </a> - </dd> - <dd> - <a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer&indexerprofile={$index}&indexeraction=edit" title="{$lang.PHPCMS_INDEXER_23}"> - <img src="modules/phpcms/img/indexer/edit.gif" width="16" height="16" alt="edit" /> - </a> - </dd> - <dd> - <a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer&indexerprofile={$index}&indexeraction=del" title="{$lang.PHPCMS_INDEXER_24}"> - <img src="modules/phpcms/img/indexer/delete.gif" width="16" height="16" alt="del" /> - </a> - </dd> - {if ($profile.indexAvaible == 1)} - <dd> - <a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer&indexerprofile={$index}&indexeraction=test" title="{$lang.PHPCMS_INDEXER_25}"> + <label> + <span> + {$name} + </span> + <input type="radio" name="indexerprofile" value="{$index}" {if $index eq 1}checked="checked" {/if}/> + </label> +{/foreach} + </fieldset> + <fieldset> + <legend>{$lang.PHPCMS_INDEXER_21a}</legend> + <label> + <span> + {$lang.PHPCMS_INDEXER_22} + </span> + <button type="submit" name="indexeraction" value="index"> + {$lang.PHPCMS_INDEXER_22a} + </button> + </label> + <label> + <span> + {$lang.PHPCMS_INDEXER_23} + </span> + <button type="submit" name="indexeraction" value="edit"> + {$lang.PHPCMS_INDEXER_23a} + </button> + </label> + <label> + <span> + {$lang.PHPCMS_INDEXER_24} + </span> + <button type="submit" name="indexeraction" value="del"> + {$lang.PHPCMS_INDEXER_24a} + </button> + </label> + <label> + <span> + {$lang.PHPCMS_INDEXER_25} + </span> + <button type="submit" name="indexeraction" value="test"> {$lang.PHPCMS_INDEXER_26} - </a> - </dd> - <dd> - <a href="{$INDEX_FILE}?moduleid=phpcms&action=indexer&indexerprofile={$index}&indexeraction=list"> title="{$lang.PHPCMS_INDEXER_27}"> + </button> + </label> + <label> + <span> + {$lang.PHPCMS_INDEXER_27} + </span> + <button type="submit" name="indexeraction" value="list"> {$lang.PHPCMS_INDEXER_28} - </a> - </dd> - {else} - <dd title="{$lang.PHPCMS_INDEXER_29}"> - {$lang.PHPCMS_INDEXER_30} - </dd> - {/if} - -{/foreach} - </dl> -</fieldset> + </button> + </label> + </fieldset> + + <fieldset> + <legend>{$lang.PHPCMS_INDEXER_34}</legend> + <label> + <span> + {$lang.PHPCMS_INDEXER_34a} + </span> + <button type="submit" name="indexeraction" value="new"> + {$lang.PHPCMS_INDEXER_34b} + </button> + </label> + </fieldset> {/if} \ No newline at end of file --- NEW FILE: phpcms-server.tpl --- <script src="{$MODULE_PATH}../tools/tablesort.js" type="text/javascript"></script> <table id="table_server"> <caption>Server-Variables</caption> <colgroup span="2"> </colgroup> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tfoot> <tr> <td>Variable</td> <td>Value</td> </tr> </tfoot> <tbody> {assign var=i value=1} {foreach from=$moduledata.serverVars item=values key=name } {foreach from=$values item=value key=id} {assign var=copy value=$value} {if ($i == 2)} {assign var=i value=1} {else} {assign var=i value=2} {/if} <tr class="line{$i}"> <td>${$name} ['{$id}']</td> <td>{if $id eq "GLOBALS"}*RECURSION*{else}{$value}{/if}</td> </tr> {/foreach} {/foreach} </tbody> </table> <script type="text/javascript"> <!-- initTable("table_server"); --> </script> <table id="table_inivalues"> <caption>PHP.ini values</caption> <colgroup span="2"> </colgroup> <thead> <tr> <th>Property</th> <th>Local value (global value)</th> </tr> </thead> <tfoot> <tr> <td>Property</td> <td>Local value (global value)</td> </tr> </tfoot> <tbody> {assign var=i value=1} {foreach from=$moduledata.phpIniValues item=value key=id} {if ($i == 2)} {assign var=i value=1} {else} {assign var=i value=2} {/if} <tr class="line{$i}"> <td>{$id}</td> <td>{$value.local_value|htmlentities} ({$value.global_value|htmlentities})</td> </tr> {/foreach} </tbody> </table> <script type="text/javascript"> <!-- initTable("table_inivalues"); --> </script> <table id="table_extensions"> <caption>PHP Extensions</caption> <thead> <tr> <th>Extension</th> <th>Description</th> </tr> </thead> <tfoot> <tr> <td>Extension</td> <td>Description</td> </tr> </tfoot> <tbody> {assign var=i value=1} {foreach from=$moduledata.phpModules item=module} {if ($i == 2)} {assign var=i value=1} {else} {assign var=i value=2} {/if} <tr class="line{$i}"> <td>{$module.name|default:""}</td> <td>{$module.desc|default:""}</td> </tr> {/foreach} </tbody> </table> <script type="text/javascript"> <!-- initTable("table_extensions"); --> </script> --- NEW FILE: phpcms-phpinfo.tpl --- {literal} <style type="text/css"> <!-- #phpinfo h1 {clear:both;} #phpinfo h2 {clear:both;} #phpinfo a { text-decoration: none; } #phpinfo a:hover { text-decoration: underline; } #phpinfo hr { clear:both; width: 600px; align: center; background-color: #cccccc; border: 0px; height: 1px;} #phpinfo table {clear:both; text-align:left;margin: 0 0 1em 0} #phpinfo .p {text-align: left;} #phpinfo .e { background-color: #fff; border-top:1px solid #aaa; color:#000; font-weight:normal; font-size:1em; } #phpinfo .h { background:#029544; color:#fff; font-weight:normal; font-size:1em; } #phpinfo .v { background-color: #fff; color:#000; font-weight:normal; font-size:1em; border-top:1px solid #aaa; } #phpinfo .h h1 { background:#fff; color:#000; } #phpinfo .h td { padding:0; } #phpinfo i {color: #666666;} #phpinfo img {float: right; border: 0px;} --> </style> {/literal} <div id="phpinfo"> {$moduledata.phpinfo} </div> Index: module_phpcms.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/module_phpcms.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_phpcms.tpl 7 Apr 2005 14:09:04 -0000 1.1 +++ module_phpcms.tpl 15 Apr 2005 15:20:03 -0000 1.2 @@ -1,24 +1,32 @@ {if ($moduledata.action == 'config')} - <h2>{$lang.PHPCMS_1}</h2> + <h1>{$lang.PHPCMS_1}</h1> <form action="{$INDEX_FILE}?moduleid=phpcms&action=config" method="post"> {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-config.tpl"} </form> {/if} {if ($moduledata.action == 'cache')} - <h2>{$lang.PHPCMS_2}</h2> + <h1>{$lang.PHPCMS_2}</h1> <form action="{$INDEX_FILE}?moduleid=phpcms&action=cache" method="post"> {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-cache.tpl"} </form> {/if} {if ($moduledata.action == 'indexer')} - <h2>{$lang.PHPCMS_3}</h2> + <h1>{$lang.PHPCMS_3}</h1> <form action="{$INDEX_FILE}?moduleid=phpcms&action=indexer" method="post"> {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-indexer.tpl"} </form> {/if} +{if ($moduledata.action == 'serverinfo')} + <h1>{$lang.PHPCMS_4}</h1> + {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-server.tpl"} +{/if} +{if ($moduledata.action == 'phpinfo')} + <h1>{$lang.PHPCMS_5}</h1> + {include file="$INDEX_PATH/modules/phpcms/templates/phpcms-phpinfo.tpl"} +{/if} {if ($moduledata.action == '')} -{$lang.PHPCMS_4} +{$lang.PHPCMS_6} <h2>Changelog</h2> <h3>2005-01-17</h3> Index: phpcms-cache.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/templates/phpcms-cache.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- phpcms-cache.tpl 7 Apr 2005 14:09:04 -0000 1.1 +++ phpcms-cache.tpl 15 Apr 2005 15:20:03 -0000 1.2 @@ -1,4 +1,5 @@ {counter start=0 skip=1 assign="counter"} + <script src="{$MODULE_PATH}../tools/checkbox.js" type="text/javascript"></script> <script type="text/javascript"> {literal} var classes = Array (); @@ -16,7 +17,7 @@ <table style="width:100%"> <thead> <tr> - <th colspan="2"> </th> + <th colspan="2"><input type="image" name="cacheform-submit" value="del-sel-cache" src="modules/phpcms/img/cache/del-sel.gif" width="16" height="16" /></th> <th>{$lang.PHPCMS_CACHE_1}</th> <th>{$lang.PHPCMS_CACHE_2}</th> <th>{$lang.PHPCMS_CACHE_3}</th> @@ -37,7 +38,7 @@ </tbody> <tfoot> <tr> - <td colspan="2"><input type="image" name="del-sel-cache" value="1" src="modules/phpcms/img/cache/del-sel.gif" width="16" height="16" /></td> + <td colspan="2"><input type="image" name="cacheform-submit" value="del-sel-cache" src="modules/phpcms/img/cache/del-sel.gif" width="16" height="16" /></td> <td>{$counter}{$lang.PHPCMS_CACHE_6}</td> <td> </td> <td>{$moduledata.filesizes}</td> |
From: Martin J. <mj...@us...> - 2005-04-15 15:20:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20482/modules/layout Modified Files: layout.css class.module_layout.php Log Message: Commit as backup during development Index: class.module_layout.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/class.module_layout.php,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- class.module_layout.php 7 Apr 2005 14:09:04 -0000 1.14 +++ class.module_layout.php 15 Apr 2005 15:20:03 -0000 1.15 @@ -30,6 +30,9 @@ /* * $Log$ +* Revision 1.15 2005/04/15 15:20:03 mjahn +* Commit as backup during development +* * Revision 1.14 2005/04/07 14:09:04 mjahn * Commit as backup during development * @@ -150,9 +153,9 @@ $lang = $actiondata1 ['lang'] ['en']; unset ($actiondata1 ['lang'] ['en']); } - foreach ($actiondata1 ['lang'] as $lang=>$data) { - if (!isset ($actiondata1 ['lang'] [$lang]) || !is_array ($actiondata1 ['lang'] [$lang])) { - $lang = array_merge ($lang, $actiondata1 ['lang'] [$lang]); + foreach ($actiondata1 ['lang'] as $language=>$data) { + if (!isset ($actiondata1 ['lang'] [$language]) || !is_array ($actiondata1 ['lang'] [$language])) { + $lang = array_merge ($lang, $actiondata1 ['lang'] [$language]); } } } @@ -176,6 +179,7 @@ $smarty->assign ('ADMIN4PHPCMS_VERSION', ADMIN4PHPCMS_VERSION); $smarty->assign ('DEBUG', DEBUG); $smarty->assign ('INDEX_FILE', INDEX_FILE); + $smarty->register_modifier ('entities', 'smarty_modifier_entities'); if ($this->views !== false) { // show only one view @@ -186,9 +190,22 @@ foreach ($this->showtags as $tag=>$event) { $smarty->assign ($tag, ${$tag}); } - $smarty->display ('framework.tpl'); + $smarty->display ('framework.tpl', md5 ($_SERVER ['QUERY_STRING'])); } } + } + function smarty_modifier_entities ($string) { + if (is_string ($string)) { + return htmlentities ($string); + } + if (is_object ($string)) { + return 'Object'; + } + if (is_array ($string)) { + return 'Array'; + } + } + ?> \ No newline at end of file Index: layout.css =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.css,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- layout.css 7 Apr 2005 14:09:04 -0000 1.8 +++ layout.css 15 Apr 2005 15:20:03 -0000 1.9 @@ -28,8 +28,8 @@ height:100%; width:170px; padding:0 10px; - border-right:2px outset #eee; - border-bottom:2px outset #eee; + border-right:1px outset #eee; + border-bottom:1px outset #eee; background:#f0f0f0; font-size:0.9em; } @@ -113,6 +113,7 @@ fieldset { background:#f0f0f0; max-width:60em; + margin-bottom:1em; } .content .label, @@ -131,6 +132,7 @@ } .content input, +.content button, .content textarea, .content select { width:34%; @@ -143,6 +145,7 @@ } .content input, +.content button, .content textarea, .content select, .content fieldset { @@ -186,8 +189,7 @@ .content .label:hover, .content label.hover, .content label:hover { - background:#029544; - color:#fff; + background:#ddd; } /** Liste ohne Symbole **/ ul.none { @@ -258,7 +260,8 @@ table { border-collapse:collapse; - max-width:60em; + width:99%; + margin-top:1em; } tfoot, @@ -283,6 +286,7 @@ th, td { padding:0.2em; + overflow:scroll; } tbody .line3, @@ -300,4 +304,10 @@ dl.horizontal dt { clear:left; width:20em; +} + +.center { + text-align:center; + margin-left:auto; + margin-right:auto; } \ No newline at end of file |
From: Martin J. <mj...@us...> - 2005-04-15 15:20:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/pluginmanager/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20482/modules/pluginmanager/templates Modified Files: module_pluginmanager.tpl Log Message: Commit as backup during development Index: module_pluginmanager.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/pluginmanager/templates/module_pluginmanager.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_pluginmanager.tpl 7 Apr 2005 14:09:11 -0000 1.1 +++ module_pluginmanager.tpl 15 Apr 2005 15:20:02 -0000 1.2 @@ -1,3 +1,13 @@ -{foreach from=$moduledata.plugins item=plugin key=name} - {include file=$plugin.template} -{/foreach} \ No newline at end of file +<h1>Pluginmanager</h1> + +{if $moduledata.action eq "manage"} +<p> + Jetzt geht es los !! +</p> +{else} + {foreach from=$moduledata.plugins item=plugin key=name} + {if is_array ($plugin)} + {include file=`$plugin.template`} + {/if} + {/foreach} +{/if} \ No newline at end of file |
From: Martin J. <mj...@us...> - 2005-04-15 15:20:16
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20482/modules/layout/templates Modified Files: framework.tpl framework.data.tpl Log Message: Commit as backup during development Index: framework.data.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/templates/framework.data.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- framework.data.tpl 7 Apr 2005 14:09:11 -0000 1.1 +++ framework.data.tpl 15 Apr 2005 15:20:06 -0000 1.2 @@ -1,5 +1,4 @@ {foreach from=$data key=modulename item=moduledata} -<!-- <p>Trying to include <q>/modules/{$modulename}/templates/module_{$modulename}.tpl</q></p>--> {if (isset ($modulename))} {include file="$INDEX_PATH/modules/$modulename/templates/module_$modulename.tpl"} {/if} Index: framework.tpl =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/templates/framework.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- framework.tpl 7 Apr 2005 14:09:11 -0000 1.1 +++ framework.tpl 15 Apr 2005 15:20:06 -0000 1.2 @@ -13,9 +13,7 @@ </head> <body> <div id="menu"> - <a href="http://phpcms.de/" title="Website des phpCMS-Projekts"> - <img src="modules/layout/img/phpcms.png" width="181" height="60" alt="" title="phpCMS-Logo" /> - </a> + <a href="http://phpcms.de/" title="Website des phpCMS-Projekts"><img src="modules/layout/img/phpcms.png" width="181" height="60" alt="" title="phpCMS-Logo" /></a> {include file="framework.menu.tpl"} {include file="framework.status.tpl"} <p> |
From: Martin J. <mj...@us...> - 2005-04-15 15:20:16
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20482/modules/phpcms Modified Files: module_phpcms_en.lng module_phpcms_de.lng class.module_phpcms.php Log Message: Commit as backup during development Index: module_phpcms_en.lng =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/module_phpcms_en.lng,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_phpcms_en.lng 7 Apr 2005 14:09:08 -0000 1.1 +++ module_phpcms_en.lng 15 Apr 2005 15:20:05 -0000 1.2 @@ -1,7 +1,9 @@ PHPCMS_1 = "phpCMS — Configuration" PHPCMS_2 = "phpCMS — Cache" -PHPCMS_3 = "phpCMS — HTTP-Indexer!" -PHPCMS_4 = "<h2>Welcome to phpCMS!</h2> +PHPCMS_3 = "phpCMS — HTTP-Indexer" +PHPCMS_4 = "phpCMS — Server-Info" +PHPCMS_5 = "phpCMS — PHP-Info" +PHPCMS_6 = "<h2>Welcome to phpCMS!</h2> <p>Thank you for installing phpCMS</p> <p> @@ -33,17 +35,25 @@ 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_21a = "Select action" PHPCMS_INDEXER_22 = "Create a new index for this profile" +PHPCMS_INDEXER_22a = "Index" PHPCMS_INDEXER_23 = "Edit the settings of this profile" +PHPCMS_INDEXER_23a = "Edit" PHPCMS_INDEXER_24 = "Delete this profile" +PHPCMS_INDEXER_24a = "Delete" 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_31 = "Save settings" PHPCMS_INDEXER_32 = "Save settings" +PHPCMS_INDEXER_33 = "List profiles" +PHPCMS_INDEXER_34 = "Create a new profile" +PHPCMS_INDEXER_34a = "Create a new profile" +PHPCMS_INDEXER_34b = "New profile" PHPCMS_CACHE_1 = "Filename" PHPCMS_CACHE_2 = "Last changes" Index: class.module_phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/class.module_phpcms.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- class.module_phpcms.php 7 Apr 2005 14:09:08 -0000 1.7 +++ class.module_phpcms.php 15 Apr 2005 15:20:05 -0000 1.8 @@ -28,7 +28,7 @@ /* * $Log$ -* Revision 1.7 2005/04/07 14:09:08 mjahn +* Revision 1.8 2005/04/15 15:20:05 mjahn * Commit as backup during development * */ @@ -184,6 +184,24 @@ if (!is_dir($this->cachedir)) { return false; } + + $dyn_ext = substr ($this->_DEFAULTS ['DYN_EXTENSION']['value'], 1, 200); + $stat_ext = substr ($this->_DEFAULTS ['PAGE_EXTENSION']['value'], 1, 200); + + if ($this->_USER ['username'] != 'demo') { + // delete cache-entry if allowed and wished + if (trim ($this->_cacheaction) == 'del-sel-cache') { + foreach ($this->_formdata as $id=>$value) { + if (substr ($id, 0, 7) != 'delete-') { + continue; + } + $id = substr ($id, 7, strlen ($id)); + $id = str_replace (array ('_'.$dyn_ext, '_gz', '_'.$stat_ext), array ('.'.$dyn_ext, '.gz', '.'.$stat_ext), $id); + $this->_delCacheEntry ($id); + } + + } + } $this->_CACHE = array (); @@ -286,6 +304,18 @@ $_data [] = $data1; + $data1 = array ('name' => 'Server-Info', 'module' => 'phpcms', 'action' => 'serverinfo'); + if ($this->action == 'serverinfo') { + $data1 ['extra'] = 'class="current"'; + } + $_data [] = $data1; + + $data1 = array ('name' => 'PHPinfo', 'module' => 'phpcms', 'action' => 'phpinfo'); + if ($this->action == 'phpinfo') { + $data1 ['extra'] = 'class="current"'; + } + $_data [] = $data1; + $data ['_sub_'] = $_data; } @@ -301,6 +331,8 @@ * @param array $actiondata $actiondata['_root'] must provide the id of the parental element **/ function getData(&$actiondata) { + global $GLOBALS; + if (!$this->_USER['isLoggedIn']) { return true; } @@ -309,7 +341,7 @@ return true; } - $data = array ('action'=>$this->action); + $data = array ('action'=>$this->action, 'session'=>$_SESSION); $data ['version'] = $this->_DEFAULTS ['VERSION']; switch ($this->action) { @@ -364,6 +396,74 @@ } $data ['indexeraction'] = $this->_indexerAction; break; + case 'serverinfo': + $temp = get_loaded_extensions (); + $data ['phpModules'] = array (); + foreach ($temp as $name) { + $data ['phpModules'] [] = array ('name'=>$name, 'desc'=>$name); + } + $data ['phpIniValues'] = ini_get_all (); + + // BOF Fix phpinfo + ob_start(); + phpinfo(); + $infobuffer .= ob_get_contents(); + ob_end_clean(); + + preg_match_all("=<body[^>]*>(.*)</body>=siU", $infobuffer, $a); + $phpinfo = $a[1][0]; + $phpinfo = str_replace( ';','; ', $phpinfo ); + $phpinfo = str_replace( ',',', ', $phpinfo ); + $phpinfo = str_replace( '<br>','<br />', $phpinfo ); + $phpinfo = str_replace( 'align="center"','', $phpinfo ); + $phpinfo = str_replace( 'align="right"','', $phpinfo ); + + $data ['phpInfo'] = $phpinfo; + + $temp = array ( + 'GLOBALS', + 'HTTP_SERVER_VARS', + '_SERVER', + 'HTTP_ENV_VARS', + '_ENV', + 'HTTP_SESSION_VARS', + '_SESSION', +/* 'HTTP_GET_VARS', + '_GET', + 'HTTP_POST_VARS', + '_POST', + 'HTTP_POST_FILES', + '_FILES', +*/ 'HTTP_COOKIE_VARS', + '_COOKIE', + '_REQUEST' + ); + + $data ['serverVars'] = array (); + foreach ($temp as $varname) { + if (!isset ($GLOBALS [$varname])) { + continue; + } + $data ['serverVars'] [$varname] = $GLOBALS [$varname]; + } + break; + case 'phpinfo': + // BOF Fix phpinfo + ob_start(); + phpinfo(); + $infobuffer .= ob_get_contents(); + ob_end_clean(); + + preg_match_all("=<body[^>]*>(.*)</body>=siU", $infobuffer, $a); + $phpinfo = $a[1][0]; + $phpinfo = str_replace( ';','; ', $phpinfo ); + $phpinfo = str_replace( ',',', ', $phpinfo ); + $phpinfo = str_replace( '<br>','<br />', $phpinfo ); + $phpinfo = str_replace( 'align="center"','align="left"', $phpinfo ); + $phpinfo = str_replace( 'align="right"','align="left"', $phpinfo ); + + $data ['phpinfo'] = $phpinfo; + default: break; } @@ -379,7 +479,6 @@ // function getData () function getLanguageData (&$actiondata) { - $langAvailable = array ('de', 'en'); $data = $actiondata [$actiondata ['tag']]; @@ -593,6 +692,16 @@ return strcmp($a, $b); } // function sortCacheList () + + function _delCacheEntry ($id) { + $id = $this->cachedir.'/'.strip_tags ($id); + if (!file_exists ($id) || !is_writable (dirname ($id))) { + echo '-1'.$id; + return false; + } + unlink ($id); + return true; + } /** * get list of subdirectories with write-permission for PHP @@ -683,6 +792,7 @@ $this->_indexerProfiles = unserialize (trim (implode ($data))); foreach ($this->_indexerProfiles as $id=>$profile) { + // check for search indexfiles $_datafile = $this->docroot.'/'.$profile ['savedata'].'/words.'; if ($profile ['gzip'] == 1) { $_datafile .= 'gz'; @@ -693,7 +803,22 @@ if (!file_exists ($_datafile) || !is_readable ($_datafile)) { $this->_indexerProfiles [$id] ['indexAvailable'] = 0; } - } + + // resample URL-replacement + $temp = array (); + if (is_array ($profile ['url_pattern']) && count ($profile ['url_pattern']) > 0) { + for ($i = 0; $i < count ($profile ['url_pattern']); $i++) { + if (isset ($profile->url_replacement [$i])) { + $temp [] = array ('search'=>$profile ['url_pattern'] [$i], 'replace'=>$profile ['url_replacement'] [$i]); + } else { + $temp [] = array ('search'=>$profile ['url_pattern'] [$i], 'replace'=>''); + } + } + } + $this->_indexerProfiles [$id] ['url_regex'] = $temp; + } + //print_r ($this->_indexerProfiles); + return true; } function _parseIndexerFormdata () { @@ -713,7 +838,7 @@ } function _ffilesize ($size) { - $factor = 0; +/* $factor = 0; while ($size > 1024) { $factor++; $size /= 1024; @@ -726,6 +851,8 @@ } return round ($size / $factor); + */ + return $size; } } ?> \ No newline at end of file Index: module_phpcms_de.lng =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/module_phpcms_de.lng,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- module_phpcms_de.lng 7 Apr 2005 14:09:08 -0000 1.1 +++ module_phpcms_de.lng 15 Apr 2005 15:20:05 -0000 1.2 @@ -1,7 +1,9 @@ PHPCMS_1 = "phpCMS — Konfiguration" PHPCMS_2 = "phpCMS — Cache" PHPCMS_3 = "phpCMS — HTTP-Indexer!" -PHPCMS_4 = "<h2>Willkommen bei phpCMS!</h2> +PHPCMS_4 = "phpCMS — Server-Info" +PHPCMS_5 = "phpCMS — PHP-Info" +PHPCMS_6 = "<h2>Willkommen bei phpCMS!</h2> <p>Vielen Dank, daß Sie phpCMS installiert haben</p> <p> @@ -30,18 +32,26 @@ PHPCMS_INDEXER_18 = "Ändere URLs" PHPCMS_INDEXER_19 = "Suche nach …" PHPCMS_INDEXER_20 = "… und ersetze mit" -PHPCMS_INDEXER_21 = "Profil auswählen" +PHPCMS_INDEXER_21 = "Profil wählen" +PHPCMS_INDEXER_21a = "Aktion wählen" PHPCMS_INDEXER_22 = "Erstelle einen neuen Index für dieses Profile" +PHPCMS_INDEXER_22a = "Indizieren" PHPCMS_INDEXER_23 = "Editiere die Einstellungen dieses Profiles" +PHPCMS_INDEXER_23a = "Ãndern" PHPCMS_INDEXER_24 = "Lösche dieses Profil" +PHPCMS_INDEXER_24a = "Löschen" 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_31 = "Einstellungen speichern" PHPCMS_INDEXER_32 = "Einstellungen speichern" +PHPCMS_INDEXER_33 = "Profilübersicht" +PHPCMS_INDEXER_34 = "Neues Profil erstellen" +PHPCMS_INDEXER_34a = "Neues Profil erstellen" +PHPCMS_INDEXER_34b = "Neues Profil" PHPCMS_CACHE_1 = "Dateiname" PHPCMS_CACHE_2 = "Letzte Änderungen" |
From: Martin J. <mj...@us...> - 2005-04-15 15:20:15
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20482 Modified Files: Changelog Log Message: Commit as backup during development Index: Changelog =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/Changelog,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Changelog 7 Dec 2004 06:34:48 -0000 1.9 +++ Changelog 15 Apr 2005 15:20:06 -0000 1.10 @@ -1,3 +1,22 @@ +April 14 2005 (mjahn) + * create new modules: + + phpcms-content (only dummy) + + statistic + + pluginmanager + + phpcms + * integrated SMARTY-template-engine into the framework + * created language-files (simple INI-formatted files) + * finished module phpcms::cache + * finished modules phpcms:server-info + * finished module phpcms::phpinfo + * finished module phpcms::config + * begin of structuring the module phpcms::indexer + * begin of structuring the module phpcms::pluginmanager + * begin of structuring the module phpcms::indexer + * finished convertion-script for statistic-module + * some changes in design and layout + * changes eventstructure for parsing layout-data (better fits to the SMARTY-template-engine) + December 06 2004 (mjahn) * created simplier configuration and more flexibility to the framework and some modules * changed the index.php for better integration into a phpCMS-contentfile |