Add image-only upload constraint - refs #5637

1.9.x
Imanol Losada 11 years ago
parent bdd0c98177
commit 1f2cec2f6b
  1. 2
      main/social/profile.php

@ -828,7 +828,7 @@ function _wallSocialAddPost()
<label for="social_wall_new_msg_main" class="hide">' . get_lang('SocialWallWhatAreYouThinkingAbout') . '</label> <label for="social_wall_new_msg_main" class="hide">' . get_lang('SocialWallWhatAreYouThinkingAbout') . '</label>
<textarea name="social_wall_new_msg_main" rows="2" cols="80" style="width: 98%" placeholder="'.get_lang('SocialWallWhatAreYouThinkingAbout').'"></textarea> <textarea name="social_wall_new_msg_main" rows="2" cols="80" style="width: 98%" placeholder="'.get_lang('SocialWallWhatAreYouThinkingAbout').'"></textarea>
<br /> <br />
<input class="" name="picture" type="file"> <input class="" name="picture" type="file" accept="image/*">
<input type="submit" name="social_wall_new_msg_main_submit" value="'.get_lang('Post').'" class="float right btn btn-primary" /> <input type="submit" name="social_wall_new_msg_main_submit" value="'.get_lang('Post').'" class="float right btn btn-primary" />
</form>'; </form>';

Loading…
Cancel
Save