Пример #1
0
        echo getImageId();
        ?>
"><?php 
        echo getImagename();
        ?>
</a>
<div id="preview<?php 
        echo $kermert->getCurrIdx();
        ?>
" class="imagedetail" style="display:none">
	<div class="imagethumbleft"><img src="<?php 
        echo getImageThumb();
        ?>
"/></div>
	<?php 
        echo getImageBody();
        ?>
	<div style="clear:both; text-align:right;"><input type="button" id="b<?php 
        echo getImageId();
        ?>
" value="mettre en ligne" onclick="javascript:updateStatus(<?php 
        echo getImageId();
        ?>
);"/></div>
</div>
</div>
<?php 
        $kermert->moveNext();
    }
    ?>
<div id="listtools" class="imagedetail" style="text-align:center;">
Пример #2
0
				<td><label for="image_category">Catégorie:</label></td>
			</tr>
			<tr>
				<td><?php 
    echo form::combo('content_mode', array('Wiki' => 'wiki', 'HTML' => 'redim'), getImageMode());
    ?>
</td>
				<td><?php 
    echo form::combo('image_category', getCategoryList());
    ?>
</td>
			</tr>
		</table>
		<p><label for="image_content">Texte:</label><br/>
		<?php 
    echo form::textarea('image_content', 100, 10, getImageBody());
    ?>
</p>
	</fieldset>
	<br/>
	<fieldset>
		<legend>Horodatage / Commentaires / Trackbacks</legend>
		<p><label for="image_file">Autoriser les commentaires:</label>
		<?php 
    echo form::combo('img_comments', array('Oui' => 1, 'Non' => 0), $kermert->getField('comments'));
    ?>
</p>
		<p><label for="image_file">Autoriser les trackbacks:</label>
		<?php 
    echo form::combo('img_trackbacks', array('Oui' => 1, 'Non' => 0), $kermert->getField('trackbacks'));
    ?>