Added accept="image/jpeg" for photo upload

git-svn-id: http://svn.mozilla.org/projects/phonebook/trunk@69128 4eb1ac78-321c-0410-a911-ec516a8615a5
This commit is contained in:
wlee@mozilla.com 2010-06-21 17:30:50 +00:00
Родитель 1bf844f51e
Коммит 7c30dfe72d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -173,7 +173,7 @@ if (!empty($city) && !in_array($city, $office_cities)) {
<td>
<img class="photo" src="pic.php?type=thumb&mail=<?= escape($user_data['mail'][0]) ?>"/>
<label for="photo-upload">Upload new photo</label>
<input id="photo-upload" type="file" name="jpegPhoto" /><br />
<input id="photo-upload" type="file" name="jpegPhoto" accept="image/jpeg" /><br />
<em class="description">Only JPEG is supported</em>
</td>
</tr>