Beispiel #1
0
        ?>
</label></td>
					</tr>
					<tr>
						<td valign="top"><strong><?php 
        _e('File Date:', 'wp-downloadmanager');
        ?>
</strong></td>
						<td><?php 
        _e('Existing Timestamp:', 'wp-downloadmanager');
        ?>
 <?php 
        echo mysql2date(sprintf('%s @ %s', get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', $file->file_date));
        ?>
<br /><?php 
        file_timestamp($file->file_date);
        ?>
<br /><input type="checkbox" id="edit_filetimestamp" name="edit_filetimestamp" value="1" />&nbsp;<label for="edit_filetimestamp"><?php 
        _e('Edit Timestamp', 'wp-downloadmanager');
        ?>
</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="edit_usetodaydate" value="1" onclick="file_usetodaydate();" />&nbsp;<label for="edit_usetodaydate"><?php 
        _e('Use Today\'s Date', 'wp-downloadmanager');
        ?>
</label></td>
					</tr>
					<tr>
						<td valign="top"><strong><?php 
        _e('File Updated Date:', 'wp-downloadmanager');
        ?>
</strong></td>
						<td><?php 
Beispiel #2
0
</strong></td>
				<td><input type="text" size="10" name="file_size" />&nbsp;<?php 
_e('bytes', 'wp-downloadmanager');
?>
<br /><small><?php 
_e('Leave blank for auto detection. Auto detection sometimes will not work for Remote File.', 'wp-downloadmanager');
?>
</small></td>
			</tr>
			<tr>
				<td valign="top"><strong><?php 
_e('File Date:', 'wp-downloadmanager');
?>
</strong></td>
				<td><?php 
file_timestamp(current_time('timestamp'));
?>
</td>
			</tr>
			<tr>
				<td><strong><?php 
_e('Starting File Hits:', 'wp-downloadmanager');
?>
</strong></td>
				<td><input type="text" size="6" maxlength="10" name="file_hits" value="0" /></td>
			</tr>
			<tr>
				<td><strong><?php 
_e('Allowed To Download:', 'wp-downloadmanager');
?>
</strong></td>