mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
use textarea for valueset if longer than 30 chars
This commit is contained in:
parent
f1bd74426e
commit
96ca9bc75b
|
@ -221,7 +221,11 @@ $(document).ready( function() {
|
|||
<?php printMLText("attrdef_valueset");?>:
|
||||
</td>
|
||||
<td>
|
||||
<?php if($attrdef && strlen($attrdef->getValueSet()) > 30) { ?>
|
||||
<textarea name="valueset" rows="5"><?php echo $attrdef ? $attrdef->getValueSet() : '' ?></textarea>
|
||||
<?php } else { ?>
|
||||
<input type="text" value="<?php echo $attrdef ? $attrdef->getValueSet() : '' ?>" name="valueset" />
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue
Block a user