Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/debug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2565/modules/debug
Modified Files:
class.module_debug.php
Log Message:
step 1 is taken
Index: class.module_debug.php
===================================================================
RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/debug/class.module_debug.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- class.module_debug.php 4 Jun 2004 11:32:08 -0000 1.2
+++ class.module_debug.php 25 Aug 2004 21:16:49 -0000 1.3
@@ -28,6 +28,9 @@
/*
* $Log$
+* Revision 1.3 2004/08/25 21:16:49 mjahn
+* step 1 is taken
+*
* Revision 1.2 2004/06/04 11:32:08 mjahn
* several changes
*
@@ -61,10 +64,10 @@
function getContent (&$actiondata) {
if (DEBUG != true) return;
- $root = $actiondata['_root'];
+ $_root = $actiondata['_root'];
- $actiondata = array ('_id'=>'trennerdebug', '_type'=>'hr', 'id'=>'', 'class'=>'', '_root'=>$root);
- $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata);
+ $actiondata1 = array ('_id'=>'debugger', '_type'=>'framebox', 'width'=>'50em', 'height'=>'10em', '_root'=>$_root);
+ $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata1);
$this->uri['events'] =& $this->_event->_events;
$this->uri['actions'] =& $this->_event->_actionHandler->_actions;
@@ -80,12 +83,12 @@
}
// set the headline
- $actiondata = array ('_id'=>'request_'.$type, '_type'=>'headline', 'content'=>strtoupper ($type), 'id'=>'', 'class'=>'', '_root'=>$root);
- $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata);
+ $actiondata1 = array ('_id'=>'request_'.$type, '_type'=>'headline', 'content'=>strtoupper ($type), 'id'=>'', 'class'=>'', '_root'=>'debugger');
+ $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata1);
// set the unordered list
- $actiondata = array ('_id'=>'list_'.$type, '_type'=>'ulist', 'id'=>'', 'class'=>'', '_root'=>$root);
- $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata);
+ $actiondata1 = array ('_id'=>'list_'.$type, '_type'=>'ulist', 'id'=>'', 'class'=>'', '_root'=>'debugger');
+ $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata1);
// walk through the array-structure
foreach ($data as $id=>$value) {
@@ -95,8 +98,8 @@
$content = '$_'.strtoupper($type).'[\''.$id.'\'] = '.$value;
// set the list-entry with content
- $actiondata = array ('_id'=>$type.$id, '_type'=>'list_entry', 'content'=>$content, '_root'=>'list_'.$type);
- $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata);
+ $actiondata1 = array ('_id'=>$type.$id, '_type'=>'list_entry', 'content'=>$content, '_root'=>'list_'.$type);
+ $this->_callEvent('LAYOUT_ADD_ELEMENT', $actiondata1);
}
}
}
|