aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/comments.tpl
blob: 94f4f82f479574bc525058363d455b2daac00526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!-- DEV TAG: not smarty migrated -->
<!-- $Id$ -->
<div id="content">

  <div class="titrePage">
    <ul class="categoryActions">
      <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
    </ul>
    <h2>{lang:User comments}</h2>
  </div>

<form class="filter" action="{F_ACTION}" method="get">

  <fieldset>
    <legend>{lang:Filter}</legend>

    <label>{lang:Keyword}<input type="text" name="keyword" value="{F_KEYWORD}" /></label>

    <label>{lang:Author}<input type="text" name="author" value="{F_AUTHOR}" /></label>

    <label>
      {lang:Category}
      <select name="cat">
        <!-- BEGIN category -->
        <option {category.SELECTED} value="{category.VALUE}">{category.OPTION}</option>
        <!-- END category -->
      </select>
    </label>

    <label>
      {lang:Since}
      <select name="since">
        <!-- BEGIN since_option -->
        <option {since_option.SELECTED} value="{since_option.VALUE}">{since_option.CONTENT}</option>
        <!-- END since_option -->
      </select>
    </label>

  </fieldset>

  <fieldset>

    <legend>{lang:Display}</legend>

    <label>
      {lang:Sort by}
      <select name="sort_by">
        <!-- BEGIN sort_by_option -->
        <option value="{sort_by_option.VALUE}" {sort_by_option.SELECTED} >{sort_by_option.CONTENT}</option>
        <!-- END sort_by_option -->
      </select>
    </label>

    <label>
      {lang:Sort order}
      <select name="sort_order">
        <!-- BEGIN sort_order_option -->
        <option value="{sort_order_option.VALUE}" {sort_order_option.SELECTED} >{sort_order_option.CONTENT}</option>
        <!-- END sort_order_option -->
      </select>
    </label>

    <label>
      {lang:Number of items}
      <select name="items_number">
        <!-- BEGIN items_number_option -->
        <option value="{items_number_option.VALUE}" {items_number_option.SELECTED} >{items_number_option.CONTENT}</option>
        <!-- END items_option -->
      </select>
    </label>

  </fieldset>

  <p><input class="submit" type="submit" value="{lang:Filter and display}"></p>

</form>

<div class="navigationBar">{NAVBAR}</div>

<div id="comments">

  <!-- BEGIN comment -->
  <div class="comment">
    <a class="illustration" href="{comment.U_PICTURE}"><img src="{comment.TN_SRC}" alt="{comment.ALT}" /></a>
    <p class="commentHeader"><span class="author">{comment.AUTHOR}</span> - <span class="date">{comment.DATE}</span>
    <!-- BEGIN action_delete -->
    <a href="{comment.action_delete.U_DELETE}" title="{lang:comments_del}">
      <img src="{pwg_root}{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/>
    </a>
    <!-- END action_delete -->
    <!-- BEGIN action_validate -->
    <a href="{comment.action_validate.U_VALIDATE}" title="validate this comment">
      <img src="{pwg_root}{themeconf:icon_dir}/validate_s.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[validate]"/>
    </a>
    <!-- END action_validate -->
    </p>
    <blockquote>{comment.CONTENT}</blockquote>
    <hr class="separation">
  </div>

  <!-- END comment -->

</div>

</div> <!-- content -->