diff --git a/db/db.code.version.txt b/db/db.code.version.txt index cd5b025..c67f579 100644 --- a/db/db.code.version.txt +++ b/db/db.code.version.txt @@ -1 +1 @@ -92 +93 diff --git a/db/db.update.93.sql b/db/db.update.93.sql new file mode 100644 index 0000000..b19c3f9 --- /dev/null +++ b/db/db.update.93.sql @@ -0,0 +1,2 @@ +ALTER TABLE `volunteer_positions` CHANGE `desc` `desc` TEXT NOT NULL ; +ALTER TABLE `volunteer_positions` CHANGE `meet_place` `meet_place` TEXT NOT NULL ; diff --git a/tableeditor.class.php b/tableeditor.class.php index 890671b..dbe0c62 100644 --- a/tableeditor.class.php +++ b/tableeditor.class.php @@ -42,9 +42,11 @@ interface TableEditorInterface { //ironforge //$icon_path="/phpscripts/icons/16"; //lightbox -$icon_path="/icons/16"; +//$icon_path="/icons/16"; //cfdc //$icon_path="/phpscripts/images/16"; +//sfiab +$icon_path="{$config['SFIABDIRECTORY']}/images/16"; if(!function_exists("i18n")) { @@ -405,8 +407,9 @@ class TableEditor { switch($regs[1]) { - case "text": case "tinytext": + $inputmaxlen=255; + case "text": $inputtype="textarea"; break; case "date": @@ -732,7 +735,18 @@ class TableEditor $editdata = $this->defaultLoad(); } } - + + + echo ""; echo "