Exemplo n.º 1
0
		<ul style="list-style-type:none; float:left;">';
    foreach ($items as $id => $item) {
        echo '
			<li style="list-style-type:none; clear:left;">
				<input type="checkbox" name="delete[' . $id . ']" checked="checked" onclick="check();"
				 style="float:left; height:16px;" id="delete_' . $id . '" />
				<div style="float:left;">', sharing_cart\renderer::render_modicon($item), '</div>
				<div style="float:left;">
					<label for="delete_' . $id . '">', $item->modtext, '</label>
				</div>
			</li>';
        if (++$i % 10 == 0) {
            echo '
		</ul>
		<ul style="list-style-type:none; float:left;">';
        }
    }
    echo '
		</ul>';
    echo '
		<div style="clear:both;"><!-- clear floating --></div>
		<div>
			<input type="button" onclick="history.back();" value="', get_string('cancel'), '" />
			<input type="submit" name="delete_checked" value="', get_string('deleteselected'), '" />
		</div>
		</form>';
}
echo '
	</div>';
echo $OUTPUT->footer();