123456789101112131415161718192021222324252627282930313233343536 |
-
- <div>
- <label for="url">Video URL</label>
- <br /><input class="txt" type="text" name="url" id="url" value="{editUrl}" size="80" />
- <div style="color: rgb(136, 136, 136); margin-bottom: 5px; font-size: 11px; font-weight: bold;">
- This is the URL from the video sites YouTube, Vimeo, Yahoo, Daily Motion <br />
- or even an Slide Share Presentation.<br />
- <span style="font-size: 10px; font-weight: normal;">(ie. http://youtube.com/watch?v=HcBFLN9cli0)</span>
- </div>
- </div>
- <div>
- <label for="description">Caption <span class="option">(optional)</span></label><br />
- <textarea rows="12" cols="84" name="description" id="description" tabindex="2">{editBody}</textarea>
- </div>
-
- <input type="hidden" name="title" id="title" value="" />
- <input type="hidden" name="type" id="type" value="{type}" />
- <input type="hidden" name="date" id="date" value="{date}" />
- <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
-
-
- <script>
- $("#autosave").validate({
- rules: {
- url: {
- required: true,
- url: true
- }
- },
- errorElement: "span",
- errorClass: "validate_span",
- errorPlacement: function(label, element) {
- label.prependTo(element.prev())
- }
- });
- </script>
|