瀏覽代碼

Change the name of identifiers

Visman 2 年之前
父節點
當前提交
8a7abbcad5

+ 1 - 1
app/templates/pm/post.forkbb.php

@@ -18,7 +18,7 @@
     </section>
 @endif
 @if ($p->posts)
-    <section id="f-view-posts" class="f-pm">
+    <section id="fork-view-posts" class="f-pm">
       <h2>{!! __($p->postsTitle) !!}</h2>
     @foreach ($p->posts as $post)
         @if ($post->id)

+ 1 - 1
app/templates/post.forkbb.php

@@ -25,7 +25,7 @@
     </section>
 @endif
 @if ($p->posts)
-    <section id="f-view-posts">
+    <section id="fork-view-posts">
       <h2>{!! __($p->postsTitle) !!}</h2>
     @foreach ($p->posts as $post)
         @if ($post->id)

+ 1 - 1
app/templates/profile.forkbb.php

@@ -17,7 +17,7 @@
 @endif
     </div>
 @if ($form = $p->form)
-    <section class="f-main f-profile">
+    <section id="fork-profile" class="f-main">
       <h2>{!! __(['%s\'s profile', $p->curUser->username]) !!}</h2>
       <div class="f-fdiv">
     @include ('layouts/form')

+ 4 - 4
public/style/ForkBB/style.css

@@ -1424,7 +1424,7 @@ body,
 }
 
 #fork-topic .f-phead-h3,
-#f-view-posts .f-phead-h3 {
+#fork-view-posts .f-phead-h3 {
   display: none;
 }
 
@@ -1503,7 +1503,7 @@ body,
   border-bottom: 0.0625rem solid #43b581;
 }
 
-#f-view-posts .f-username {
+#fork-view-posts .f-username {
   border-bottom: 0;
 }
 
@@ -1905,13 +1905,13 @@ body,
   margin-bottom: 1rem;
 }
 
-#fork #f-view-posts {
+#fork #fork-view-posts {
   margin-bottom: 1rem;
   margin-top: -1rem;
 }
 
 #fork .f-post-form > h2,
-#fork #f-view-posts > h2 {
+#fork #fork-view-posts > h2 {
   display: block;
   font-size: 1rem;
   padding: 1rem 0.625rem 0.3125rem;