コード例 #1
0
echo '<br>' . sprintf(gT("(Maximum file size: %01.2f MB)"), getMaximumFileUploadSize() / 1024 / 1024);
?>
                    </label>
                    <div class="col-sm-3">
                        <input name='the_file' id='the_file' type="file" required="required" accept=".lsq" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label" for='the_file'><?php 
eT("Destination question group:");
?>
</label>
                    <div class="col-sm-3">
                        <select name='gid' id='gid' class="form-control">
                            <?php 
echo getGroupList3($groupid, $surveyid);
?>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label" for='translinksfields'><?php 
eT("Convert resource links?");
?>
</label>
                    <div class="col-sm-3">
                        <?php 
$this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'translinksfields', 'id' => 'translinksfields', 'value' => 1, 'onLabel' => gT('On'), 'offLabel' => gT('Off')));
?>
                    </div>
                </div>
コード例 #2
0
                                            </div>

                                            <div  class="form-group">
                                                <label class="col-sm-4 control-label" for='gid'><?php 
eT("Question group:");
?>
</label>
                                                <div class="col-sm-8">
                                                    <select name='gid' id='gid' class="form-control" <?php 
if ($activated == "Y") {
    echo " disabled ";
}
?>
 >
                                                        <?php 
echo getGroupList3($eqrow['gid'], $surveyid);
?>
                                                    </select>
                                                    <?php 
if ($activated == "Y") {
    ?>
                                                        <input type='hidden' name='gid' value='<?php 
    echo $eqrow['gid'];
    ?>
' />
                                                    <?php 
}
?>
                                                </div>
                                            </div>