Update of /cvsroot/phpvortex/phpvortex
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23914
Modified Files:
FT_Text.class.php TB_Base.class.php
Log Message:
Some changes for XHTML compilance
Index: FT_Text.class.php
===================================================================
RCS file: /cvsroot/phpvortex/phpvortex/FT_Text.class.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FT_Text.class.php 5 Oct 2004 15:09:29 -0000 1.3
--- FT_Text.class.php 5 Oct 2004 19:35:09 -0000 1.4
***************
*** 52,56 ****
echo "<textarea name='{$this->name_form}' rows='{$this->rows}'".(($this->cols > 0)?" cols='{$this->cols}'":'').">$value</textarea>";
} else {
! echo "<input type='text' name='{$this->name_form}' value='$value'".(($this->size > 0)?" maxlength='{$this->size}'":'').'>';
}
}
--- 52,56 ----
echo "<textarea name='{$this->name_form}' rows='{$this->rows}'".(($this->cols > 0)?" cols='{$this->cols}'":'').">$value</textarea>";
} else {
! echo "<input type='text' name='{$this->name_form}' value='$value'".(($this->size > 0)?" maxlength='{$this->size}'":'').' />';
}
}
Index: TB_Base.class.php
===================================================================
RCS file: /cvsroot/phpvortex/phpvortex/TB_Base.class.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** TB_Base.class.php 5 Oct 2004 19:02:33 -0000 1.10
--- TB_Base.class.php 5 Oct 2004 19:35:09 -0000 1.11
***************
*** 403,407 ****
END;
foreach ($this->fields as $field) if ($field->pkey) {
! echo "<input type='hidden' name='{$field->name_db}' value='".(empty($this->data)?'-1':$this->data[$field->name_db])."'>\n";
}
foreach ($this->fields_form as $field) {
--- 403,407 ----
END;
foreach ($this->fields as $field) if ($field->pkey) {
! echo "<input type='hidden' name='{$field->name_db}' value='".(empty($this->data)?'-1':$this->data[$field->name_db])."' />\n";
}
foreach ($this->fields_form as $field) {
***************
*** 409,413 ****
}
if (empty($submit)) {
! echo "<tr class='submit' id='submit_$name'><td colspan='2'><input type='submit'></td></tr>";
} else {
echo "<tr class='submit' id='submit_$name'><td colspan='2'>$submit</td></tr>";
--- 409,413 ----
}
if (empty($submit)) {
! echo "<tr class='submit' id='submit_$name'><td colspan='2'><input type='submit' /></td></tr>";
} else {
echo "<tr class='submit' id='submit_$name'><td colspan='2'>$submit</td></tr>";
|