Visman il y a 7 ans
Parent
commit
3f031dba46

+ 6 - 6
app/lang/English/userlist.po

@@ -33,13 +33,13 @@ msgstr "< All >"
 msgid "User_list"
 msgstr "User list"
 
-msgid "<b>%s</b><span> post,</span>"
-msgid_plural "<b>%s</b><span> posts,</span>"
-msgstr[0] "<b>%s</b><span> post,</span>"
-msgstr[1] "<b>%s</b><span> posts,</span>"
+msgid "<b>%s</b><small> post,</small>"
+msgid_plural "<b>%s</b><small> posts,</small>"
+msgstr[0] "<b>%s</b><small> post,</small>"
+msgstr[1] "<b>%s</b><small> posts,</small>"
 
-msgid "<span>registered: </span><b>%s</b>"
-msgstr "<span>registered: </span><b>%s</b>"
+msgid "<small>registered: </small><b>%s</b>"
+msgstr "<small>registered: </small><b>%s</b>"
 
 msgid "No users found"
 msgstr "No users were found matching your criteria."

+ 8 - 8
app/lang/Russian/userlist.po

@@ -33,14 +33,14 @@ msgstr "< Все >"
 msgid "User_list"
 msgstr "Список пользователей"
 
-msgid "<b>%s</b><span> post,</span>"
-msgid_plural "<b>%s</b><span> posts,</span>"
-msgstr[0] "<b>%s</b><span> сообщение,</span>"
-msgstr[1] "<b>%s</b><span> сообщения,</span>"
-msgstr[2] "<b>%s</b><span> сообщений,</span>"
-
-msgid "<span>registered: </span><b>%s</b>"
-msgstr "<span>дата регистрации: </span><b>%s</b>"
+msgid "<b>%s</b><small> post,</small>"
+msgid_plural "<b>%s</b><small> posts,</small>"
+msgstr[0] "<b>%s</b><small> сообщение,</small>"
+msgstr[1] "<b>%s</b><small> сообщения,</small>"
+msgstr[2] "<b>%s</b><small> сообщений,</small>"
+
+msgid "<small>registered: </small><b>%s</b>"
+msgstr "<small>дата регистрации: </small><b>%s</b>"
 
 msgid "No users found"
 msgstr "По вашему запросу ничего не найдено."

+ 1 - 1
app/templates/layouts/form.tpl

@@ -19,7 +19,7 @@
             <p class="f-child6"> @if (empty($cur['html'])){{ $cur['value'] }} @else{!! $cur['value'] !!} @endif</p>
       @else
             <dl @if (isset($cur['dl'])) class="f-field-{!! implode(' f-field-', (array) $cur['dl']) !!}" @endif>
-              <dt> @if (isset($cur['title']))<label class="f-child1 @if (! empty($cur['required'])) f-req @endif" @if (is_string($key)) for="id-{{ $key }}" @endif>{!! $cur['title'] !!}</label> @endif</dt>
+              <dt> @if (isset($cur['title']))<label class="f-child1 @if (! empty($cur['required'])) f-req @endif" @if (is_string($key) && 'radio' !== $cur['type']) for="id-{{ $key }}" @endif>{!! $cur['title'] !!}</label> @endif</dt>
               <dd>
         @if ('text' === $cur['type'])
                 <input @if (! empty($cur['required'])) required @endif @if (! empty($cur['disabled'])) disabled @endif @if (isset($cur['autofocus'])) autofocus @endif class="f-ctrl" id="id-{{ $key }}" name="{{ $key }}" type="text" @if (! empty($cur['maxlength'])) maxlength="{{ $cur['maxlength'] }}" @endif @if (isset($cur['pattern'])) pattern="{{ $cur['pattern'] }}" @endif @if (isset($cur['value'])) value="{{ $cur['value'] }}" @endif>

+ 9 - 4
app/templates/userlist.tpl

@@ -62,7 +62,11 @@
                 <span class="f-hc-tdesc"><a @if (1 === $p->activeLink) class="active" @endif href="{!! $p->links[1] !!}">▼</a></span>
               </span>
             </span>
-            <span class="f-hcell f-ctitle">{!! __('Title') !!}</span>
+            <span class="f-hcell f-ctitle">
+              <small>(</small>
+              <span class="f-hc-tname">{!! __('Title') !!}</span>
+              <small>),</small>
+            </span>
     @if ($p->user->showPostCount)
             <span class="f-hcell f-cnumposts">
               <span class="f-hc-table">
@@ -70,6 +74,7 @@
                 <span class="f-hc-tname">{!! __('Posts') !!}</span>
                 <span class="f-hc-tdesc"><a @if (3 === $p->activeLink) class="active" @endif href="{!! $p->links[3] !!}">▼</a></span>
               </span>
+              <small>,</small>
             </span>
     @endif
             <span class="f-hcell f-cdatereg">
@@ -87,11 +92,11 @@
     @else
             <span class="f-cell f-cusername">{{ $user->username }}</span>
     @endif
-            <span class="f-cell f-ctitle"><span>(</span><i>{{ $user->title() }}</i><span>),</span></span>
+            <span class="f-cell f-ctitle"><small>(</small><i>{{ $user->title() }}</i><small>),</small></span>
     @if ($p->user->showPostCount)
-            <span class="f-cell f-cnumposts">{!! __('<b>%s</b><span> post,</span>', $user->num_posts, num($user->num_posts)) !!}</span>
+            <span class="f-cell f-cnumposts">{!! __('<b>%s</b><small> post,</small>', $user->num_posts, num($user->num_posts)) !!}</span>
     @endif
-            <span class="f-cell f-cdatereg">{!! __('<span>registered: </span><b>%s</b>', dt($user->registered, true)) !!}</span>
+            <span class="f-cell f-cdatereg">{!! __('<small>registered: </small><b>%s</b>', dt($user->registered, true)) !!}</span>
           </li>
   @endforeach
         </ol>

+ 2 - 1
public/style/ForkBB/style.css

@@ -1931,7 +1931,8 @@ select {
     vertical-align: middle;
   }
 
-  .f-ulist .f-cell > span {
+  .f-ulist .f-cell > small,
+  .f-ulist .f-hcell > small {
     display: none;
   }