Пример #1
0
foreach ($formData as $key => $val) {
    if (is_array($val)) {
        foreach ($val as $subKey => $subVal) {
            echo htmlCsp::hidden($key . '[' . $subKey . ']', array('value' => $subVal));
        }
    } else {
        echo htmlCsp::hidden($key, array('value' => $val));
    }
}
?>
        <table width="100%">
            <tr>
                <td><?php 
langCsp::_e('Delete Plugin Data (options, setup data, database tables, etc.)');
?>
:</td>
                <td><?php 
echo htmlCsp::radiobuttons('deleteOptions', array('options' => array('No', 'Yes')));
?>
</td>
            </tr>
        </table>
    <?php 
echo htmlCsp::submit('toeGo', array('value' => langCsp::_('Done')));
?>
    <?php 
echo htmlCsp::formEnd();
?>
    </div>
</body>
</html>