зеркало из https://github.com/mozilla/phonebook.git
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:
Родитель
1bf844f51e
Коммит
7c30dfe72d
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче