Пример #1
0
		<tfoot>
			<tr>
				<td style="padding-top: 25px;" colspan="3"><input class="btn" type="submit" name="show_table" id="show_table_btn" value="Show Table"/></td>
			</tr>
		</tfoot>
		<tbody>
		<tr>
			<td>&nbsp;</td>
			<td><label for="associated_organisation_id" class="form-required"><?php 
    echo $translate->translate("Organisation");
    ?>
</label></td>
			<td>
				<select id="associated_organisation_id" name="associated_organisation_id" style="width: 203px">
					<?php 
    $organisations = Organisations::get();
    if ($organisations) {
        foreach ($organisations as $organisation) {
            $organisation_id = $organisation->getID();
            if ($ENTRADA_ACL->amIAllowed('resourceorganisation' . $organisation_id, 'create')) {
                $organisation_title = $organisation->getTitle();
                echo build_option($organisation_id, html_encode($organisation_title), $ORGANISATION_ID == $organisation_id);
            }
        }
    }
    ?>
				</select>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>