function wptouch_get_tab_setting_value() { $settings = wptouch_get_settings(); $name = wptouch_get_tab_setting_name(); if (isset($settings->{$name})) { return $settings->{$name}; } else { return false; } }
</label> <br /> <?php $setting_count = 1; $cur_value = wptouch_get_tab_setting_value(); if (is_array($cur_value) && count($cur_value)) { ?> <?php foreach ($cur_value as $value) { ?> <input class="text-array" type="text" value="<?php echo $value; ?> " name="<?php echo wptouch_get_tab_setting_name() . '_' . $setting_count; ?> " /> <?php $setting_count++; ?> <br /> <?php } } ?> <input class="text-array" type="text" value="" name="<?php echo wptouch_get_tab_setting_name() . '_' . $setting_count; ?> " />