phpcms-plugins-cvs Mailing List for phpCMS-plugins (Page 12)
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...> - 2004-08-25 21:16:00
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/hilfe In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2459/modules/hilfe Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/hilfe added to the repository |
From: Martin J. <mj...@us...> - 2004-08-08 20:20:17
|
Update of /cvsroot/phpcms-plugins/smarty4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12632 Modified Files: smarty4phpCMS.php Log Message: added textile-support Index: smarty4phpCMS.php =================================================================== RCS file: /cvsroot/phpcms-plugins/smarty4phpCMS/smarty4phpCMS.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- smarty4phpCMS.php 22 Apr 2004 08:06:45 -0000 1.1.1.1 +++ smarty4phpCMS.php 8 Aug 2004 20:20:08 -0000 1.2 @@ -45,6 +45,8 @@ define ('DEBUG', false); + include_once (dirname (__FILE__).'/modifier.textile.php'); + function smarty_modifier_capitalize($string) { return ucwords($string); |
From: Martin J. <mj...@us...> - 2004-08-05 16:39:21
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/filemanager In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/filemanager Modified Files: class.module_filemanager.php Log Message: tweaked phpcms::cache-module output Index: class.module_filemanager.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/filemanager/class.module_filemanager.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- class.module_filemanager.php 24 Jul 2004 08:58:25 -0000 1.4 +++ class.module_filemanager.php 5 Aug 2004 16:38:41 -0000 1.5 @@ -28,6 +28,9 @@ /* * $Log$ +* Revision 1.5 2004/08/05 16:38:41 mjahn +* tweaked phpcms::cache-module output +* * Revision 1.4 2004/07/24 08:58:25 mjahn * changed some things * @@ -222,16 +225,17 @@ if ($entry{0} == '.' && $entry{1} != '.') { continue; } - - // entry is file - if (is_file ($dir.'/'.$entry)) { - $files[] = $entry; - } + + $direntry = realpath ($dir.'/'.$entry); // entry is directory - if (is_dir ($dir.'/'.$entry)) { + if (@is_dir ($direntry.'/.')) { $dirs[] = $entry; } + + if (@is_file ($direntry)) { + $files[] = $entry; + } } closedir ($dh); sort ($dirs); @@ -299,8 +303,10 @@ 'extra'=>'class="line'.$alternate++.'"'); $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); + $entrypath = realpath ($dir.'/'.$entry); + // entry is directory - if (is_dir ($dir.'/'.$entry)) { + if (is_dir ($entrypath)) { $nolink = false; @@ -316,17 +322,17 @@ $actiondata = array ('_root'=>'list-'.$entry, '_id'=>'select-'.$entry, '_type'=>'form_checkbox_simple', 'id'=>'select['.$entry.']', 'name'=>'select['.$entry.']', 'value'=>'selected', 'title'=>'Auswählen', 'extra'=>'class="input"'); $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - if (!is_executable ($dir.'/'.$entry)) { + if (!@file_exists($entrypath.'/.')) { $type = 'folder_inactive'; $nolink = true; } - if (!is_readable ($dir.'/'.$entry)) { + if (!is_readable ($entrypath)) { $type = 'folder_inactive'; $nolink = true; } - if (is_link ($dir.'/'.$entry)) { + if (is_link ($entrypath)) { $type = 'symlink'; } |
From: Martin J. <mj...@us...> - 2004-08-05 16:39:21
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032 Modified Files: Changelog index.php Added Files: project.index Log Message: tweaked phpcms::cache-module output --- NEW FILE: project.index --- Index: Changelog =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/Changelog,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Changelog 18 Jun 2004 15:16:58 -0000 1.6 +++ Changelog 5 Aug 2004 16:38:40 -0000 1.7 @@ -1,3 +1,11 @@ +Juli 31 2004 (mjahn) + * it seems to be simple to install this software, + - simply copy it into the destination dir + - no chmod has to be done yet + * began simple phpcms-module with cacheview, configeditor, statistic and menueditor + - even much todo here + + June 18 2004 (mjahn) * integrated filemanager (simple variant) * integrated editor for XML and for text Index: index.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- index.php 24 Jul 2004 08:58:25 -0000 1.6 +++ index.php 5 Aug 2004 16:38:40 -0000 1.7 @@ -34,6 +34,9 @@ /* * $Log$ +* Revision 1.7 2004/08/05 16:38:40 mjahn +* tweaked phpcms::cache-module output +* * Revision 1.6 2004/07/24 08:58:25 mjahn * changed some things * @@ -55,7 +58,7 @@ * Defines wether the debug-module shows its data or not **/ define ('DEBUG', false); - +error_reporting (E_ALL); /** * Set the path for including the pear-packages **/ |
From: Martin J. <mj...@us...> - 2004-08-05 16:39:21
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/config Modified Files: config.xml Log Message: tweaked phpcms::cache-module output Index: config.xml =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/config/config.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- config.xml 24 Jul 2004 08:58:25 -0000 1.4 +++ config.xml 5 Aug 2004 16:38:41 -0000 1.5 @@ -20,6 +20,7 @@ <config name="projectdir" value="/cms/templates/" /> <config name="projectfileext" value="ini" /> </module> + <module id="statistik" name="statistik" include="class.module_statistik.php" class="module_statistik" /> <module id="error" name="error-service" include="class.module_error.php" class="module_error" /> <module id="mail" name="email-service" include="class.module_mail.php" class="module_mail"> <config name="admin-email" value="ma...@mj..." /> |
From: Martin J. <mj...@us...> - 2004-08-05 16:38:56
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/user Modified Files: class.module_user.php Log Message: tweaked phpcms::cache-module output Index: class.module_user.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/user/class.module_user.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- class.module_user.php 24 Jul 2004 08:58:25 -0000 1.6 +++ class.module_user.php 5 Aug 2004 16:38:43 -0000 1.7 @@ -30,6 +30,9 @@ /* * $Log$ +* Revision 1.7 2004/08/05 16:38:43 mjahn +* tweaked phpcms::cache-module output +* * Revision 1.6 2004/07/24 08:58:25 mjahn * changed some things * @@ -91,7 +94,7 @@ $liveuserConfig = array( 'session' => array('name' => 'PHPSESSID','varname' => 'loginInfo'), 'login' => array('username' => 'handle', 'password' => 'passwd'), - 'cookie' => array('name' => 'loginInfo', 'path' => '/', 'domain' => 'localhost', 'lifetime' => 60), + 'cookie' => array('name' => 'loginInfo', 'path' => '/', 'domain' => $_SERVER ['HTTP_HOST'], 'lifetime' => 60), 'autoInit' => true, 'authContainers' => array(0 => array('type' => 'XML', 'file' => dirname(__FILE__).'/Auth_XML.xml', @@ -240,6 +243,13 @@ $actiondata = array ('_id'=>'loginform', '_root'=>$root, '_type'=>'form', 'method'=>'post', 'action'=>'index.php'); $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); + if (isset ($_SERVER ['QUERY_TERM']) && is_array ($_SERVER ['QUERY_TERM'])) { + foreach ($_SERVER ['QUERY_TERM'] as $id=>$value) { + $actiondata = array ('_id'=>'query-'.$id, '_type'=>'form_input_hidden', 'value'=>$value, 'name'=>$id, '_root'=>'loginform'); + $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); + } + } + $actiondata = array ('_id'=>'method', '_type'=>'form_input_hidden', 'value'=>'post', 'name'=>'method','_root'=>'loginform'); $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); |
From: Martin J. <mj...@us...> - 2004-08-05 16:38:55
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/phpcms Modified Files: class.module_phpcms.php Added Files: layout.xml Log Message: tweaked phpcms::cache-module output --- NEW FILE: layout.xml --- <?xml version="1.0" encoding="iso-8859-15" standalone="yes"?> <!DOCTYPE layout SYSTEM "layout.dtd"> <layout name="standard"> <layout:insert name="cachelist"> <![CDATA[ <div class="symbolleiste"> <img src="modules/phpcms/img/cache/del-all.gif" width="20" height="20" alt="" title="Alle Dateien im Cache löschen" /> <img src="modules/phpcms/img/cache/del-sel.gif" width="20" height="20" alt="" title="Ausgewählte Dateien im Cache löschen" /> </div> <ul id="cacheview"> <layout:replace name="content" default="" /> </ul> <div class="symbolleiste"> <img src="modules/phpcms/img/cache/del-all.gif" width="20" height="20" alt="" title="Alle Dateien im Cache löschen" /> <img src="modules/phpcms/img/cache/del-sel.gif" width="20" height="20" alt="" title="Ausgewählte Dateien im Cache löschen" /> </div> ]]> </layout:insert> <layout:insert name="cachedir"> <![CDATA[ <li class="subdir"> <input type="checkbox" name="deletedir[<layout:replace name="cachedir" />]" value="1" /> <layout:replace name="dirname" /> <ul> <layout:replace name="content" default="" /> </ul> </li> ]]> </layout:insert> <layout:insert name="cachefile"> <![CDATA[ <li> <input type="checkbox" name="delete[<layout:replace name="cachefile" />]" value="1" /> <span title="<layout:replace name="cachefile" />"><layout:replace name="filename" /></span> <span class="<layout:replace name="cachetype" />">CACHE</span> <span><layout:replace name="cachetime" /></span> </li> ]]> </layout:insert> </layout> Index: class.module_phpcms.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/class.module_phpcms.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- class.module_phpcms.php 24 Jul 2004 08:58:25 -0000 1.1 +++ class.module_phpcms.php 5 Aug 2004 16:38:42 -0000 1.2 @@ -28,8 +28,8 @@ /* * $Log$ -* Revision 1.1 2004/07/24 08:58:25 mjahn -* changed some things +* Revision 1.2 2004/08/05 16:38:42 mjahn +* tweaked phpcms::cache-module output * */ /** @@ -43,8 +43,9 @@ * This module <b>provides</b> some events for use in the other modules: * </p> * <ul> -* <li><b>PHPCMS_GET_MENU</b></li> -* <li><b>PHPCMS_SET_MENU</b></li> +* <li><b>PHPCMS_GET_MENU</b> gets a menu-entry of the phpCMS-menufile</li> +* <li><b>PHPCMS_SET_MENU</b> sets a menu-entry in the phpCMS-menufile</li> +* <li><b>PHPCMS_GET_DEFAULT_VALUE</b> returns a configuration-value of the phpCMS-config</li> * </ul> * * @package admin4phpCMS @@ -133,7 +134,7 @@ continue; } - if (preg_match ('°\$this->([^=]*)=(.*?)$°im', $line, $erg)) { + if (preg_match ('%\$this->([^=]*)=(.*?)$%im', $line, $erg)) { $id = trim ($erg [1]); $value = trim ($erg [2]); if ($value{0} == '\'') { @@ -156,9 +157,6 @@ case 'tags':; $this->_registerAction ('doParseContent', 'getTagsContent'); break; - case 'cache':; - //$this->_registerAction ('doParseContent', 'getCacheContent'); - break; default: $this->_registerAction ('doParseContent', 'getContent'); } @@ -199,7 +197,7 @@ if (!$this->display) { return true; - } + } $root = $actiondata['_root']; @@ -215,7 +213,7 @@ } $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); - $actiondata = array ('_type'=>'menu_sub_entry', '_root'=>$root, 'name'=>'Menüverwaltung', 'module'=>'phpcms', '_id'=>'phpcmsmenu', 'action'=>'menu'); + $actiondata = array ('_type'=>'menu_sub_entry', '_root'=>$root, 'name'=>'Menüverwaltung', 'module'=>'phpcms', '_id'=>'phpcmsmenu', 'action'=>'menu'); if ($this->action == 'menu') { $actiondata['extra'] = 'id="current"'; } @@ -254,9 +252,9 @@ if ($this->action == 'menu' || $this->action == 'template' || $this->action == 'tags') { - $content = 'Durch Auswahl eines Templates ist es möglich, die Menüdatei, das Seitentemplate und die Tagdatei zu bearbeiten. '. - 'Eventuell kann die Software auch alle Projectdateien auslesen, obwohl phpCMS ja keine feste Endung für eine Projectdatei vorgibt. '. - 'Damit wäre es möglich alle Menüdateien, Seitentemplatedateien und Tagdateien getrennt zur Auswahl anzubieten. '; + $content = 'Durch Auswahl eines Templates ist es m�glich, die Men�datei, das Seitentemplate und die Tagdatei zu bearbeiten. '. + 'Eventuell kann die Software auch alle Projectdateien auslesen, obwohl phpCMS ja keine feste Endung f�r eine Projectdatei vorgibt. '. + 'Damit w�re es m�glich alle Men�dateien, Seitentemplatedateien und Tagdateien getrennt zur Auswahl anzubieten. '; $actiondata = array ('_root'=>$actiondata ['_root'], '_id'=>'user1content', '_type'=>'paragraph', 'content'=>$content); @@ -265,7 +263,27 @@ return true; } // function getContent () + + /** + * + **/ + function sortCacheList ($a, $b) { + $dira = strpos ($a, '/') !== false; + $dirb = strpos ($b, '/') !== false; + if ($dira && !$dirb) { + return -1; + } + if (!$dira && $dirb) { + return 1; + } + return strcmp ($a, $b); + + } + // function sortCacheList + /** + * + **/ function processCache (&$actiondata) { $cachedir = $this->docroot.'/cms/phpcms2412/cache/'; @@ -282,10 +300,12 @@ $dh = dir ($cachedir); while ($file = $dh->read ()) { + if ($file{0} == '.') { continue; } + // get the URL of the contentfile $fh = fopen ($cachedir.$file, 'rb'); $temp = fgets ($fh, 1024); $temp .= fgets ($fh, 1024); @@ -297,29 +317,12 @@ $url = basename($file); } - $data = explode ('/', $url); - $basename = array_pop ($data); - $path = $data; - $ext = substr ($file, strrpos ($file, '.') + 1); - switch ($ext) { - case 'gz': $kind = 1; break; - case 'dyn': $kind = 2; break; - default: $kind = 0; - } - - $data = array ('cachename'=>$file, 'filename'=>$url, 'basename'=>$basename, 'filesize'=>filesize ($cachedir.$file), 'filemtime'=>filemtime ($cachedir.$file), 'type'=>$kind); - - $root =& $this->_CACHE; - - $num = count ($path); - for ($i = 0; $i < $num; $i++) { - if (!isset ($root [$path [$i]])) { - $root [urldecode ($path [$i])] = array (); - } - $root =& $root [urldecode ($path [$i])]; - } - - $root [urldecode ($basename)] = $data; + // insert entry + $this->_CACHE [$url] = $file; + } + + if (!uksort ($this->_CACHE, array (&$this, 'sortCacheList'))) { + return false; } } @@ -331,146 +334,76 @@ **/ function getCacheContent (&$actiondata) { + // check if user-status if (!$this->_USER['isLoggedIn']) { return true; } + // check for display of content if (!$this->display) { return true; } - - ob_start (); - print_r($this->_CACHE); - $content = ob_get_contents (); - ob_end_clean (); + // get root-element for layout-module + $root = $actiondata ['_root']; - $actiondata = array ('_root'=>$actiondata ['_root'], '_id'=>'cache', '_type'=>'empty', 'content'=>'<pre>'.$content.'</pre>'); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - - $actiondata = array ('_root'=>$actiondata ['_root'], '_id'=>'cachedir-', '_type'=>'ulist'); + // initial list for the cache-view + $actiondata = array ('_root'=>$root, '_type'=>'cachelist', '_id'=>'cachedir-'); $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); + // ids of elements that were even created in the layout-module + // necessary for tree structure of the cache-view + $_ids = array ('cachedir-'=>'1'); + + // reset the array with the cache-filenames reset ($this->_CACHE); -/* $data = array (); - $data ['link'] = $this->_CACHE; - $data ['root'] = 'cachedir-'; - $_struct[] = $data; - - while (count ($_struct) > 0) { - $root = $_struct[0]['root']; - $tree =& $_struct[0]['link']; - foreach ($tree as $id=>$entry) { + // walk through the array with the cache-filenames + foreach ($this->_CACHE as $url=>$cachefile) { + // get path elements + $data = explode ('/', $url); + + // set the root-id + $rootid = 'cachedir-'; - if (!isset ($id) || !isset ($tree [$id])) { + // walk through the path-elements, that are subdirectories + $num = count ($data) - 1; + for ($i = 0; $i < $num; $i++) { + + // empty path-element (i.e. between a double slash in the path) + if ($data [$i] == '') { continue; } - - // set list element with empty container - $actiondata = array ('_root'=>$root, '_id'=>$root.$id, '_type'=>'list_entry'); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - - // directory entry - echo $id.' = '.$tree [$id] ['type']."\n"; - if (!isset ($tree [$id] ['type']) || is_array ($tree [$id] ['type'])) { - //print_r ($tree [$id]); - - // set element for the directory name - $actiondata = array ('_root'=>$root.$id, '_id'=>$root.$id.'-name', '_type'=>'empty', 'content'=>$id); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - - //echo '<p>'.$root.'</p>'; - - // set sublist for file-list of the directory - $actiondata = array ('_root'=>$root.$id, '_id'=>$root.$id.'-', '_type'=>'ulist'); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - - $data = array (); - $data['link'] =& $tree [$id]; - $data['root'] = $root.$id.'-'; - $_struct[] = $data; - continue; - } - - // file entry - if (isset ($tree [$id] ['type'])) { - // set element for the file name - //echo $id; - $actiondata = array ('_root'=>$root.$id, '_id'=>$root.$id.'-name', '_type'=>'empty', 'content'=>$tree [$id] ['basename']); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - continue; - + if (isset ($_ids [$rootid.$data [$i].'-'])) { + $rootid = $rootid.$data [$i].'-'; + continue; } - } - array_shift ($_struct); - - }*/ - -/* - global $xyz; - $xyz = 5; - $this->walkThroughTree ($this->_CACHE, 'cachedir-'); -*/ - $actiondata = array ('_root'=>$actiondata ['_root'], '_id'=>'cacheview', '_type'=>'paragraph', 'content'=>'Hallo'); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); + + // set output for subdirectory + $actiondata = array ('_root'=>$rootid, '_type'=>'cachedir', '_id'=>$rootid.$data [$i].'-', 'cachedir'=>$rootid, 'dirname'=>$data [$i], 'extra'=>'class="subdir"'); + $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - } - - function walkThroughTree ($tree, $root) { - global $xyz; - if (!is_array ($tree)) { - return true; - } - - if ($xyz <= 0) { - return; - } - - foreach ($tree as $id=>$entry) { - if (!isset ($id) || !isset ($tree [$id])) { - continue; + $_ids [$rootid] = '1'; + $rootid = $rootid.$data [$i].'-'; + } - - // set list element with empty container - $actiondata = array ('_root'=>$root, '_id'=>$root.$id, '_type'=>'list_entry'); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - - // directory entry - echo $id.' = '.$tree [$id] ['type']."\n"; - if (!isset ($tree [$id] ['type']) || is_array ($tree [$id] ['type'])) { - //print_r ($tree [$id]); - - // set element for the directory name - $actiondata = array ('_root'=>$root.$id, '_id'=>$root.$id.'-name', '_type'=>'empty', 'content'=>$id); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - - //echo '<p>'.$root.'</p>'; + $ext = substr ($cachefile, strrpos ($cachefile, '.') + 1); + switch ($ext) { + case 'htm':$cs = 'statisch'; break; + case 'gz': $cs = 'gzip'; break; + case 'dyn': $cs = 'dynamisch'; break; + } - // set sublist for file-list of the directory - $actiondata = array ('_root'=>$root.$id, '_id'=>$root.$id.'-', '_type'=>'ulist'); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); + // now we can display the file-entry + $selfid = $rootid.$data [$num]; - $xyz--; - $this->walkThroughTree ($tree [$id], $root.$id.'-'); - continue; - } - - // file entry - if (isset ($tree [$id] ['type'])) { - // set element for the file name - //echo $id; - $actiondata = array ('_root'=>$root.$id, '_id'=>$root.$id.'-name', '_type'=>'empty', 'content'=>$tree [$id] ['basename']); - $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - continue; - - } - } - $xyz++; + $actiondata = array ('_root'=>$rootid, '_type'=>'cachefile', '_id'=>$selfid, 'cachefile'=>$cachefile, 'filename'=>$data [$num], 'cachetype'=>$cs, 'cachetime'=>'24.07.2004 11:58:59'); + $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); + } // foreach } - + /** * Get content of the module * @@ -560,9 +493,9 @@ print_r($this->_CONF); $projectdir = - $content = 'Durch Auswahl einer Projectdatei ist es möglich, die Menüdatei, das Seitentemplate und die Tagdatei zu bearbeiten. '. - 'Eventuell kann die Software auch alle Projectdateien auslesen, obwohl phpCMS ja keine feste Endung für eine Projectdatei vorgibt. '. - 'Damit wäre es möglich alle Menüdateien, Seitentemplatedateien und Tagdateien getrennt zur Auswahl anzubieten. '; + $content = 'Durch Auswahl einer Projectdatei ist es m�glich, die Men�datei, das Seitentemplate und die Tagdatei zu bearbeiten. '. + 'Eventuell kann die Software auch alle Projectdateien auslesen, obwohl phpCMS ja keine feste Endung f�r eine Projectdatei vorgibt. '. + 'Damit w�re es m�glich alle Men�dateien, Seitentemplatedateien und Tagdateien getrennt zur Auswahl anzubieten. '; $actiondata = array ('_root'=>$actiondata ['_root'], '_id'=>'user1content', '_type'=>'paragraph', 'content'=>$content); $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); @@ -592,9 +525,9 @@ $actiondata = array ('_root'=>$actiondata ['_root'], '_id'=>'usercontent', '_type'=>'paragraph', 'content'=>'<pre>'.$content.'</pre>'); $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); - $content = 'Durch Auswahl eines Templates ist es möglich, die Menüdatei, das Seitentemplate und die Tagdatei zu bearbeiten. '. - 'Eventuell kann die Software auch alle Projectdateien auslesen, obwohl phpCMS ja keine feste Endung für eine Projectdatei vorgibt. '. - 'Damit wäre es möglich alle Menüdateien, Seitentemplatedateien und Tagdateien getrennt zur Auswahl anzubieten. '; + $content = 'Durch Auswahl eines Templates ist es m�glich, die Men�datei, das Seitentemplate und die Tagdatei zu bearbeiten. '. + 'Eventuell kann die Software auch alle Projectdateien auslesen, obwohl phpCMS ja keine feste Endung f�r eine Projectdatei vorgibt. '. + 'Damit w�re es m�glich alle Men�dateien, Seitentemplatedateien und Tagdateien getrennt zur Auswahl anzubieten. '; $actiondata = array ('_root'=>$actiondata ['_root'], '_id'=>'user1content', '_type'=>'paragraph', 'content'=>$content); $this->_callEvent ('LAYOUT_ADD_ELEMENT', $actiondata); @@ -611,5 +544,21 @@ } } // function checkConfigForm () + + function _getDefaultValue () { + + } + + function _loadDefault () { + } + + function _parseDefault () { + } + + function _saveDefault () { + } + + function _setDefaultValue () { + } } ?> \ No newline at end of file |
From: Martin J. <mj...@us...> - 2004-08-05 16:38:55
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/statistik Added Files: .cvsignore class.module_statistik.php config.tpl.xml layout.xml Log Message: tweaked phpcms::cache-module output --- NEW FILE: .cvsignore --- jpgraph* fonts --- NEW FILE: layout.xml --- <?xml version="1.0" encoding="iso-8859-15" standalone="yes"?> <!DOCTYPE layout SYSTEM "layout.dtd"> <layout name="standard"> <layout:insert name="cachelist"> <![CDATA[ <div class="symbolleiste"> <img src="modules/phpcms/img/cache/del-all.gif" width="20" height="20" alt="" title="Alle Dateien im Cache löschen" /> <img src="modules/phpcms/img/cache/del-sel.gif" width="20" height="20" alt="" title="Ausgewählte Dateien im Cache löschen" /> </div> <ul id="cacheview"> <layout:replace name="content" default="" /> </ul> ]]> </layout:insert> <layout:insert name="cachedir"> <![CDATA[ <li class="subdir"> <input type="checkbox" name="deletedir[<layout:replace name="cachedir" />]" value="1" /> <layout:replace name="dirname" /> <ul> <layout:replace name="content" default="" /> </ul> </li> ]]> </layout:insert> <layout:insert name="cachefile"> <![CDATA[ <li> <input type="checkbox" name="delete[<layout:replace name="cachefile" />]" value="1" /> <span title="<layout:replace name="cachefile" />"><layout:replace name="filename" /></span> <span class="<layout:replace name="cachetype" />">CACHE</span> <span><layout:replace name="cachetime" /></span> </li> ]]> </layout:insert> </layout> --- NEW FILE: config.tpl.xml --- <?xml version="1.0" encoding="iso-8859-1"?> <structure> <tab id="standard" label="Allgemein"> <element id="PAGE_EXTENSION" label="Erweiterung der Seiten" type="input_text" /> <element id="PAGE_DEFAULTNAME" label="Standarderweiterung der Seiten" type="input_text" /> <element id="TEMPEXT" label="Erweiterung der Templatedateien" type="input_text" /> <element id="GLOBAL_PROJECT_FILE" label="Standard Projectdatei" type="input_text" /> <element id="GLOBAL_PROJECT_HOME" label="Standard Homeverzeichnis" type="input_text" /> <element id="PLUGIN_DIR" label="Standard-Pluginverzeichnis" type="input_text" /> <element id="START_FIELD" label="Start-Feld" type="input_text" /> <element id="STOP_FIELD" label="Stop-Feld" type="input_text" /> </tab> <tab id="pax" label="PAX & MAil2Crypt"> <element id="PAX" label="PAX-Erweiterung" type="checkbox" /> <element id="PAXTAGS" label="PAX-Tags" type="checkbox" /> <element id="MAIL2CRYPT" label="Mail2Crypt-Erweiterung" type="checkbox" /> <element id="MAIL2CRYPT_JS" label="Mail2Crypt JS-Pfad" type="input_text" /> <element id="MAIL2CRYPT_IMG" label="Mail2Crypt Img-Pfad" type="input_text" /> </tab> <tab id="cache" label="Cache"> <element id="CACHE_STATE" label="Server-Cache" type="checkbox" /> <element id="CACHE_DIR" label="Cacheverzeichnis" type="input_text" /> <element id="CACHE_CLIENT" label="Client-Cache" type="checkbox" /> <element id="PROXY_CACHE_TIME" label="Proxy-Cache-Zeit" type="input_text" /> </tab> <tab id="server" label="Servereinstellungen"> <element id="GZIP" label="GZIP-Komprimierung" type="checkbox" /> <element id="STEALTH" label="Stealth-Modus" type="checkbox" /> <element id="STEALTH_SECURE" label="Secure-Stealth-Mode" type="checkbox" /> <element id="NOLINKCHANGE" label="Non-Stealt-Mode-Endungen" type="input_text" /> <element id="DEBUG" label="Debug-Modus" type="checkbox" /> <element id="ERROR_PAGE" label="allg. Fehlerseite" type="input_text" /> <element id="ERROR_PAGE_404" label="Fehlerseite für Fehler 404" type="input_text" /> <element id="TAGS_ERROR" label="Fehler bei leerem Tag" type="checkbox" /> <element id="P3P_HEADER" label="P3P-Header" type="checkbox" /> <element id="P3P_POLICY" label="P3P-Policy" type="input_text" /> <element id="P3P_HREF" label="P3P-Link" type="input_text" /> </tab> <tab id="statistik" label="Statistik"> <element id="STATS" label="Statistik" type="checkbox" /> <element id="STATS_DIR" label="Verzeichnis für die Statistik" type="input_text" /> <element id="STATS_CURRENT" label="Verzeichnis für die aktuellen Statistikdaten" type="input_text" /> <element id="STATS_FILE" label="Dateiname für die Statistik" type="input_text" /> <element id="STATS_BACKUP" label="Verzeichnis für Backup der Statistik" type="input_text" /> <element id="STATS_IP_COUNT" label="Anzahl IPs loggen" type="input_text" /> <element id="STATS_IP_IGNORE" label="IPs ausschließen" type="input_text" /> <element id="STATS_URL_COUNT" label="Anzahl URLs zählen" type="input_text" /> <element id="REFERRER" label="Referrer-Logging" type="checkbox" /> <element id="REFERRER_FILE" label="Datei für Referrer-Daten" type="input_text" /> <element id="STATS_REFERER_COUNT" label="Anzahl Referrer" type="input_text" /> <element id="STATS_REFERER_IGNORE" label="IPs ausschließen" type="input_text" /> <element id="REF_RELOAD_LOCK" label="Zeitdauer der Reloadsperre" type="input_text" /> </tab> <tab id="other" label="Sonstiges"> <element id="LANGUAGE" label="Sprache" type="input_text" /> <element id="PASS" label="Passwort" type="input_password" /> <element id="ENABLE_ONLINE_EDITOR" label="Online-Editor" type="checkbox" /> </tab> --> </structure> --- NEW FILE: class.module_statistik.php --- <?php /** * Managment of the phpCMS-related administration part * * <b>License</b> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @author Martin Jahn <mj...@us...> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @copyright Copyright (c) 2004, Martin Jahn * @version $Id$ * @package admin4phpCMS * @subpackage module_statistik **/ /* * $Log$ */ /** * Class for statistic interface * * @package admin4phpCMS * @subpackage module_statistik * @todo Get the class work completly **/ class module_statistik extends module { /** * Initialization of the module * * The module registers its own events and connects his methods to some actions **/ function init () { // connect to actions $this->_registerAction ('doParseParam', 'parseParam'); $this->_registerAction ('doParseMenuMain', 'getMenuMain'); $this->_registerAction ('doParseMenuSub', 'getMenuSub'); return true; } /** * Parse the URI-params * * @param array $actiondata $actiondata contains the URI-param-arrays **/ function parseParam (&$actiondata) { $this->display = (isset ($actiondata['request']['moduleid']) && $actiondata['request']['moduleid'] == 'statistik'); $this->action = ''; if (isset ($actiondata['request']['action'])) { $this->action = $actiondata['request']['action']; } $this->_callEvent ('USER_GET_STATUS', $actiondata); $this->_USER = $actiondata; return true; } // function parseParam () /** * Get content for mainmenu * * @param array $actiondata $actiondata['_root'] must provide the id of the parental element **/ function getMenuMain (&$actiondata) { if (!$this->_USER['isLoggedIn']) { return true; } $root = $actiondata['_root']; $actiondata = array ('_type'=>'menu_main_entry', '_root'=>$root, 'name'=>'Statistik', 'module'=>'statistik', '_id'=>'statistikmenu', '_root'=>'mainmenu'); if ($this->display) { $actiondata ['extra'] = 'class="active"'; } $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); return true; } // function getMenuMain () /** * Get submenu of module * * @param array $actiondata $actiondata['_root'] must provide the id of the parental element **/ function getMenuSub (&$actiondata) { if (!$this->_USER['isLoggedIn']) { return true; } if (!$this->display) { return true; } $root = $actiondata['_root']; $actiondata = array ('_type'=>'menu_sub_entry', '_root'=>$root, 'name'=>'Allgemein', 'module'=>'statistik', '_id'=>'statistik_common', 'action'=>'common'); if ($this->action == 'cache') { $actiondata['extra'] = 'id="current"'; } $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata); } // function getMenuSub () } ?> |
From: Martin J. <mj...@us...> - 2004-08-05 16:38:52
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/layout Modified Files: class.module_layout.php layout.css layout.xml Log Message: tweaked phpcms::cache-module output Index: layout.xml =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- layout.xml 24 Jul 2004 08:58:24 -0000 1.5 +++ layout.xml 5 Aug 2004 16:38:41 -0000 1.6 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?> +<?xml version="1.0" encoding="iso-8859-15" standalone="yes"?> <!DOCTYPE layout SYSTEM "layout.dtd"> <layout name="standard"> @@ -232,4 +232,39 @@ ]]> </layout:insert> + <layout:insert name="cachelist"> + <![CDATA[ + <div class="symbolleiste"> + <img src="modules/phpcms/img/cache/del-all.gif" width="16" height="16" alt="" title="Alle Dateien im Cache löschen" /> + <img src="modules/phpcms/img/cache/del-sel.gif" width="16" height="16" alt="" title="Ausgewählte Dateien im Cache löschen" /> + </div> + <ul id="cacheview"> + <layout:replace name="content" default="" /> + </ul> + ]]> + </layout:insert> + + <layout:insert name="cachedir"> + <![CDATA[ + <li class="subdir"> + <input type="checkbox" name="deletedir[<layout:replace name="cachedir" />]" value="1" /> + <layout:replace name="dirname" /> + <ul> + <layout:replace name="content" default="" /> + </ul> + </li> + ]]> + </layout:insert> + + <layout:insert name="cachefile"> + <![CDATA[ + <li> + <input type="checkbox" name="delete[<layout:replace name="cachefile" />]" value="1" /> + <span title="<layout:replace name="cachefile" />"><layout:replace name="filename" /></span> + <span class="<layout:replace name="cachetype" />">CACHE</span> + <span><layout:replace name="cachetime" /></span> + </li> + ]]> + </layout:insert> + </layout> \ No newline at end of file Index: class.module_layout.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/class.module_layout.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- class.module_layout.php 24 Jul 2004 08:58:24 -0000 1.9 +++ class.module_layout.php 5 Aug 2004 16:38:41 -0000 1.10 @@ -30,6 +30,9 @@ /* * $Log$ +* Revision 1.10 2004/08/05 16:38:41 mjahn +* tweaked phpcms::cache-module output +* * Revision 1.9 2004/07/24 08:58:24 mjahn * changed some things * @@ -143,6 +146,11 @@ if (!isset ($actiondata['_id'])) { return false; } + + if (isset ($this->_ids [$actiondata ['_id']])) { + return false; + } + $this->_ids[$actiondata['_id']] = $actiondata; //echo '<p>ADD_ELEMENT '.$actiondata ['_id'].'</p>'."\n"; @@ -232,6 +240,7 @@ // get the content $actiondata = array ('_root'=>'content'); $this->_callEvent ('DISPLAY_PARSE_CONTENT', $actiondata); + if (isset ($this->_ids['content']['_sub'])) { $replace[$i] = $this->displayElement ($this->_ids['content']); } Index: layout.css =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/layout.css,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- layout.css 24 Jul 2004 08:58:24 -0000 1.3 +++ layout.css 5 Aug 2004 16:38:41 -0000 1.4 @@ -43,6 +43,7 @@ padding:0; margin:0; background:#eee; + border:2px inset #ddd; } #menu ul li { @@ -52,17 +53,18 @@ #menu ul li a { padding:0.2em 0.5em; - margin:0.5em 0.1em; + margin:0; display:block; - background:#ddd; - border:2px outset #ddd; text-decoration:none; + border-top:1px solid #000; + border-bottom:1px solid #000; } + + #menu ul li.active a, #menu ul li a:hover { background:#ddd; - border:2px inset #ddd; } #menu ul li ul { @@ -215,3 +217,42 @@ padding-right:0.5em; margin-right:0.5em; } + +#cacheview li { + list-style-type:none; + margin-left:0em; + padding-left:0; +} + +#cacheview ul { + margin-left:1.5em; + padding-left:0; +} + +#cacheview li { + background:#ddd; + font-weight:normal; +} + +#cacheview li.subdir { + background:#fff; +} + +#cacheview li.subdir { + font-weight:bold; +} + +#cacheview span.gzip { + color:#0f0; + font-weight:bold; +} + +#cacheview span.statisch { + color:#f80; + font-weight:bold; +} + +#cacheview span.dynamisch { + color:#f00; + font-weight:bold; +} \ No newline at end of file |
From: Martin J. <mj...@us...> - 2004-08-05 16:38:51
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/img/cache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/phpcms/img/cache Added Files: del-all.gif del-sel.gif Log Message: tweaked phpcms::cache-module output --- NEW FILE: del-all.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: del-sel.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/img/filetypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032/modules/layout/img/filetypes Added Files: access.gif acrobat.gif archive.gif audio.gif bitmap.gif clientscript.gif css.gif csv.gif excel.gif executable.gif flash.gif folder.gif folder_inactive.gif help.gif midi.gif movie.gif parent.gif photoshop.gif phpcms.menu.gif phpcms.menutemplate.gif phpcms.project.gif phpcms.tag.gif phpcms.template.gif powerpoint.gif quicktime.gif realmedia.gif richtext.gif security.gif serverscript.gif symlink.gif targa.gif text.gif wap.gif webimage.gif webpage.gif winmedia.gif word.gif xml.gif Log Message: tweaked phpcms::cache-module output --- NEW FILE: archive.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder_inactive.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: word.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: audio.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: serverscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: webimage.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: richtext.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: excel.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: midi.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: csv.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: winmedia.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wap.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: css.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: photoshop.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bitmap.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: phpcms.project.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: executable.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: flash.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: clientscript.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: realmedia.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: phpcms.menutemplate.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: phpcms.menu.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: security.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: movie.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: xml.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: symlink.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: phpcms.tag.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: phpcms.template.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: webpage.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: parent.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: quicktime.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: access.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: text.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: powerpoint.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: targa.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: acrobat.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: help.gif --- (This appears to be a binary file; contents omitted.) |
From: Martin J. <mj...@us...> - 2004-08-05 16:37:20
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/img/cache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3655/cache Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/img/cache added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 16:37:11
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3558/img Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/phpcms/img added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 16:36:24
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/img/filetypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3406/filetypes Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/layout/img/filetypes added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph/src Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/src added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/html/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph/docs/html/img Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/html/img added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/ref In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph/docs/ref Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/ref added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph/docs/html Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/html added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/src/Examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph/src/Examples Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/src/Examples added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:43
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/html/exframes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph/docs/html/exframes Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs/html/exframes added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:41
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:40
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/fonts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/fonts Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/fonts added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:40
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph added to the repository |
From: Martin J. <mj...@us...> - 2004-08-05 12:02:40
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10598/modules/statistik/jpgraph/docs Log Message: Directory /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistik/jpgraph/docs added to the repository |
From: Martin J. <mj...@us...> - 2004-08-04 09:37:15
|
Update of /cvsroot/phpcms-plugins/searchlog4phpCMS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19109 Modified Files: searchlog.php Log Message: fixed a security bug Index: searchlog.php =================================================================== RCS file: /cvsroot/phpcms-plugins/searchlog4phpCMS/searchlog.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- searchlog.php 22 Apr 2004 07:59:16 -0000 1.1.1.1 +++ searchlog.php 4 Aug 2004 09:37:07 -0000 1.2 @@ -51,7 +51,7 @@ $time = strftime('%G-%m-%d %T'); -$entry = $time.'|'.$query.'|'.$referer; +$entry = $time.'|'.htmlspecialchars ($query).'|'.htmlspecialchars ($referer); $fh = fopen($logfile,'a'); fwrite($fh, $entry."\n"); |