Beispiel #1
0
    ?>
document.php" method="post" onsubmit="showUploadMessage()">
					<input name="document_field" id="document_field" type="file" size="30" title="<?php 
    echo $lang['click_browse'];
    ?>
">
					<input type="submit" class="button" value="<?php 
    echo $lang['upload_file'];
    ?>
" onClick="return upload_check()">
					<?php 
    echo $query_inputs;
    ?>
				</form>
				<p><?php 
    echo wp_var_replace($lang['documents_must_be'], array('max_size' => $max_documentfile_size / 1000));
    ?>
</p>
				</fieldset>
				<?php 
} else {
    echo '&nbsp;';
}
?>
			</td>
		</tr>
		<tr> 
			<td colspan="3" align="right" valign="top"> <div align="center"> 
					<iframe id="preview" width="99%" height="170" frameborder="0" marginheight="0" marginwidth="0" class="previewWindow" src="<?php 
echo WP_WEB_DIRECTORY;
?>
Beispiel #2
0
    ?>
image.php" method="post" onsubmit="showUploadMessage()">
					<input name="image_field" id="image_field" type="file" size="30" title="<?php 
    echo $lang['click_browse'];
    ?>
">
					<input type="submit" class="button" value="<?php 
    echo $lang['upload_file'];
    ?>
" onClick="return upload_check()">
					<?php 
    echo $query_inputs;
    ?>
				</form>
				<p><?php 
    echo wp_var_replace($lang['images_must_be'], array('max_size' => $max_file_size / 1000, 'max_width' => $max_image_width, 'max_height' => $max_image_height));
    ?>
</p>
				</fieldset>
				<?php 
} else {
    echo '&nbsp;';
}
?>
			</td>
		</tr>
		<tr> 
			<td colspan="3" align="right" valign="top"> <div align="center"> 
					<iframe id="preview" width="99%" height="170" frameborder="0" marginheight="0" marginwidth="0" class="previewWindow" src="<?php 
echo WP_WEB_DIRECTORY;
?>