Skip to content

Commit a3477ce

Browse files
authored
Merge pull request #178 from liomj/master
add youtube code help
2 parents 34e6c9d + b62c4fb commit a3477ce

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h5>3.5 Beta 2 [NOT RELEASED]</h5> Dev: XOOPS 2.5.11, PHP 7.4.5
22
<hr>
3-
3+
- Add youtube code help (liomj)
44

55
<h5>3.5 Beta 1 [2020-05-07]</h5> Dev: XOOPS 2.5.11, PHP 7.4.5
66
<hr>

language/english/main.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,3 +529,4 @@
529529
define('_MD_SUICO_ONECOMMENT', '1 comment');
530530
define('_MD_SUICO_NO_COMMENTS', 'No comments');
531531
define('_MD_SUICO_COMMENTS', 'Comments');
532+
define('_MD_SUICO_YOUTUBE_CODEHELP', '<strong>Example:</strong> https://www.youtube.com/watch?v=<span style="color:red;font-weight:bold">jNQXAC9IVRw</span> :: Input the red part only</strong>');

templates/suico_videos.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333

3434
<div class="form-group">
3535
<label for="video"><strong> <{$lang_youtubecodeLabel}></strong></label>
36-
<input type='text' name='codigo' id='codigo' class='form-control' value=''>
37-
</div>
36+
<input type='text' name='codigo' id='codigo' class='form-control' value=''>
37+
` <label for="video"><small><{$smarty.const._MD_SUICO_YOUTUBE_CODEHELP}></small></label>
38+
</div>
3839

3940
<input type='submit' class='btn btn-primary' name='submit_button' id='submit_button' value='<{$lang_submitValue}>'>
4041
</form>

0 commit comments

Comments
 (0)