Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv13990/phpslash-ft/class
Modified Files:
Comment.class Block.class Block_i.class
Log Message:
auto column sensing
Index: Comment.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Comment.class,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** Comment.class 2001/11/14 18:07:23 1.21
--- Comment.class 2002/01/08 21:38:23 1.22
***************
*** 294,298 ****
<input type=submit name=action value=\"".pslgetText("Bulk Delete")."\">
<input type=submit name=action value=\"".pslgetText("Show Pending")."\">
! <input type=hidden name=story_id value=$cmtary[story_id]>";
} else {
$admin = "";
--- 294,298 ----
<input type=submit name=action value=\"".pslgetText("Bulk Delete")."\">
<input type=submit name=action value=\"".pslgetText("Show Pending")."\">
! <input type=hidden name=story_id value=$cmtary[story_id]></form>";
} else {
$admin = "";
Index: Block.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Block.class,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Block.class 2002/01/07 17:21:32 1.7
--- Block.class 2002/01/08 21:38:23 1.8
***************
*** 303,307 ****
function doBlock($id, $column="") {
! $width = "210";
if ($id != $this->block_info["id"]) {
--- 303,307 ----
function doBlock($id, $column="") {
! $width = "100%";
if ($id != $this->block_info["id"]) {
Index: Block_i.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_i.class,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Block_i.class 2001/11/07 21:35:11 1.9
--- Block_i.class 2002/01/08 21:38:23 1.10
***************
*** 258,262 ****
FROM psl_block block,
psl_block_type type
! WHERE type.id = block.type";
$this->db->query($query);
--- 258,263 ----
FROM psl_block block,
psl_block_type type
! WHERE type.id = block.type
! ORDER BY title ";
$this->db->query($query);
***************
*** 351,355 ****
function parseBlock($ary, $column="") {
! $width = "210";
if ( ($ary[block_options][column] == $column) OR
--- 352,356 ----
function parseBlock($ary, $column="") {
! $width = "100%";
if ( ($ary[block_options][column] == $column) OR
|