Update of /cvsroot/phpvortex/phpvortex/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20977/test
Modified Files:
vortex_test_page.php
Log Message:
Test programs: Changed vortex_test_page.php to use the new class SEC_Edit
Index: vortex_test_page.php
===================================================================
RCS file: /cvsroot/phpvortex/phpvortex/test/vortex_test_page.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** vortex_test_page.php 7 Oct 2004 21:27:11 -0000 1.4
--- vortex_test_page.php 8 Oct 2004 17:17:24 -0000 1.5
***************
*** 1,5 ****
<?php
/**
! * Test file for the PHP Vortex project - test SEC_Page functionality.
*
* @package Vortex
--- 1,5 ----
<?php
/**
! * Test file for the PHP Vortex project - test SEC_Page and SEC_Edit functionality.
*
* @package Vortex
***************
*** 12,17 ****
/** Require the header for MySQL database access. */
require_once('../DB_MySQL.class.php');
- /** Require the header for the utility URL class. */
- require_once('../URL.class.php');
/** Require the header for the Test Table class. */
require_once('TB_Test.class.php');
--- 12,15 ----
***************
*** 31,62 ****
'class' => 'SEC_Header',
'opts' => array(
! 'title' => 'SEC_Page and SEC_List test page',
'styles' => array('vortex_test_page.css')
)
),
! 'layout' => array(
! array(
! 'name' => 'list',
! 'class' => 'SEC_List',
! 'opts' => array(
! 'table' => &$table,
! 'url' => new URL(),
! 'navigator' => array(
! 'class' => 'SEC_ListNavigator',
! 'opts' => array(
! 'url' => new URL()
! )
! ),
! 'recspage' => 2
! )
! ),
! array(
! 'name' => 'form',
! 'class' => 'SEC_Form',
! 'opts' => array(
! 'table' => &$table,
! 'url' => new URL(),
! 'data' => &$_REQUEST
! )
)
)
--- 29,41 ----
'class' => 'SEC_Header',
'opts' => array(
! 'title' => 'SEC_Page and SEC_Edit test page',
'styles' => array('vortex_test_page.css')
)
),
! 'content' => array(
! 'class' => 'SEC_Edit',
! 'opts' => array(
! 'table' => &$table,
! 'recspage' => 5
)
)
|