コード例 #1
0
ファイル: allmant.php プロジェクト: krillo/motiomera
				<div id="motiomera_andra_losenord_link">
					<a href="#" onclick="getById('andraLosen').value='1';getById('motiomera_andra_losenord_link').style.display='none'; getById('motiomera_andra_losenord_field').style.display='block';return false;" title="&Auml;ndra ditt l&ouml;senord">&Auml;ndra l&ouml;senord</a>
				</div>
				<div id="motiomera_andra_losenord_field">
					<input type="password" name="losen" class="mmTextField" /><br />
					<input type="password" name="losen2" class="mmTextField" /> <small class="grey">(Upprepa)</small><br />
					<a href="#" onclick="getById('andraLosen').value='0';getById('motiomera_andra_losenord_link').style.display='block'; getById('motiomera_andra_losenord_field').style.display='none';return false;" title="&Aring;ngra">&Aring;ngra</a>
				</div>
			</td>
		</tr>
		<tr>
			<th>Skicka påminnelsemail</th>
			<td>
				<?php 
$notifications = Paminnelse_sql::listAll();
$aktiva = Paminnelse_sql::getAktivaIDn($USER);
foreach ($notifications as $key => $notification) {
    ?>
					<input type="checkbox" name="notifications[<?php 
    echo $notification->getId();
    ?>
]" id="notification_<?php 
    echo $notification->getId();
    ?>
"<?php 
    if (in_array($notification->getId(), $aktiva)) {
        ?>
 checked="checked"<?php 
    }
    ?>
> <label for="notification_<?php