Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r21240: LJSUP-11353: There are a lot of TMPL-err...

Committer: esavintcev
LJSUP-11353: There are a lot of TMPL-errors at log
U   trunk/templates/CommentForm/Author-Anonymous.tmpl
U   trunk/templates/CommentForm/AuthorTitle-Anonymous.tmpl
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/templates/CommentForm/Author-Anonymous.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-Anonymous.tmpl	2012-02-22 13:56:40 UTC (rev 21239)
+++ trunk/templates/CommentForm/Author-Anonymous.tmpl	2012-02-24 08:49:22 UTC (rev 21240)
@@ -10,7 +10,7 @@
             <label for="talkpostfromanon" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></label>
             <strong class="b-postform-login-username"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></strong>
         </div>
-    </TMPL_IF>
+    </TMPL_UNLESS>
 <TMPL_ELSIF registered_can_comment>
     <div class="b-postform-login-item b-postform-login-anonymous">
             <input type="radio" name="usertype" value="anonymous" id="talkpostfromanon" class="b-postform-login-radio" tabindex="11" <TMPL_IF whocheck_anonymous>checked="checked"</TMPL_IF> />

Modified: trunk/templates/CommentForm/AuthorTitle-Anonymous.tmpl
===================================================================
--- trunk/templates/CommentForm/AuthorTitle-Anonymous.tmpl	2012-02-22 13:56:40 UTC (rev 21239)
+++ trunk/templates/CommentForm/AuthorTitle-Anonymous.tmpl	2012-02-24 08:49:22 UTC (rev 21240)
@@ -3,7 +3,7 @@
         <span class="b-postform-login-services-item b-postform-login-services-anonymous"><a href="#anonymous" title="<TMPL_VAR expr="ml('/talkpost.bml.opt.noanonpost.nonpublic')">"><img src="<TMPL_VAR lj_imgprefix>/anonymous.gif?v=5110" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></span></a></span>
     <TMPL_ELSE>
         <span class="b-postform-login-services-item b-postform-login-services-anonymous"><a href="#anonymous" tabindex="11"><img src="<TMPL_VAR lj_imgprefix>/anonymous.gif?v=5110" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></span></a></span>
-    </TMPL_IF>
+    </TMPL_UNLESS>
 <TMPL_ELSIF registered_can_comment>
     <span class="b-postform-login-services-item b-postform-login-services-anonymous"><a href="#anonymous" title="<TMPL_VAR expr="ml('/talkpost.bml.opt.noanonpost')">"><img src="<TMPL_VAR lj_imgprefix>/anonymous.gif?v=5110" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></span></a></span>
 <TMPL_ELSIF friends_can_comment>

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2012-02-22 13:56:40 UTC (rev 21239)
+++ trunk/templates/CommentForm/Form.tmpl	2012-02-24 08:49:22 UTC (rev 21240)
@@ -62,43 +62,43 @@
                     </TMPL_IF>
 
                     <TMPL_UNLESS talkpost_do>
-                    <TMPL_IF suspended>
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-suspended"><TMPL_VAR EXPR="ml('/talkpost_do.bml.error.suspended')"></p>
-                    </TMPL_IF>
+                        <TMPL_IF suspended>
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-suspended"><TMPL_VAR EXPR="ml('/talkpost_do.bml.error.suspended')"></p>
+                        </TMPL_IF>
 
-                    <TMPL_IF deleted>
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-deleted"><TMPL_VAR EXPR="ml('/talkpost_do.bml.error.deleted')"></p>
-                    </TMPL_IF>
+                        <TMPL_IF deleted>
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-deleted"><TMPL_VAR EXPR="ml('/talkpost_do.bml.error.deleted')"></p>
+                        </TMPL_IF>
 
-                    <TMPL_IF EXPR="remote_banned && !(whocanreply eq 'reg' && !email_active)">
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-banned"><TMPL_VAR ml_banned></p>
-                    </TMPL_IF>
+                        <TMPL_IF EXPR="remote_banned && !(whocanreply eq 'reg' && !email_active)">
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-banned"><TMPL_VAR ml_banned></p>
+                        </TMPL_IF>
 
-                    <TMPL_IF EXPR="whocanreply eq 'friends'">
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-notafriend"><TMPL_VAR ml_notafriend></p>
-                    </TMPL_IF>
+                        <TMPL_IF EXPR="whocanreply eq 'friends'">
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-notafriend"><TMPL_VAR ml_notafriend></p>
+                        </TMPL_IF>
 
-                    <TMPL_IF EXPR="whocanreply eq 'reg' && !email_active && usertype ne 'anonymous' && usertype ne 'cookieuser'">
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-notreg"><TMPL_VAR ml_noopenidpost></p>
-                    </TMPL_IF>
+                        <TMPL_IF EXPR="whocanreply eq 'reg' && !email_active && usertype ne 'anonymous' && usertype ne 'cookieuser'">
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-notreg"><TMPL_VAR ml_noopenidpost></p>
+                        </TMPL_IF>
 
-                    <TMPL_IF EXPR="!email_active && usertype eq 'cookieuser'">
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-notmail"><TMPL_VAR expr="ml('/talkpost_do.bml.error.noverify2')"></p>
-                    </TMPL_IF>
+                        <TMPL_IF EXPR="!email_active && usertype eq 'cookieuser'">
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-notmail"><TMPL_VAR expr="ml('/talkpost_do.bml.error.noverify2')"></p>
+                        </TMPL_IF>
 
-                    <TMPL_IF EXPR="whocanreply eq 'reg'">
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-regonly"><TMPL_VAR expr="ml('/talkpost.bml.opt.noanonpost')"></p>
-                    </TMPL_IF>
-                    </TMPL_IF>
+                        <TMPL_IF EXPR="whocanreply eq 'reg'">
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-regonly"><TMPL_VAR expr="ml('/talkpost.bml.opt.noanonpost')"></p>
+                        </TMPL_IF>
+                    </TMPL_UNLESS>
 
                     <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-ajax"></p>
 
                     <TMPL_IF errors>
-                    <div class="b-postform-user-errors">
-                        <TMPL_LOOP errors>
-                        <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-errors"><TMPL_VAR error></p>
-                        </TMPL_LOOP>
-                    </div>
+                        <div class="b-postform-user-errors">
+                            <TMPL_LOOP errors>
+                            <p class="b-bubble b-bubble-warning b-bubble-noarrow b-bubble-intext b-postform-alert-errors"><TMPL_VAR error></p>
+                            </TMPL_LOOP>
+                        </div>
                     </TMPL_IF>
                 </td>
             </tr>
@@ -139,21 +139,22 @@
                     <div>
                         <TMPL_IF show_userpics>
 
-                        <script type="text/javascript"> 
-                            var userpicmap=<TMPL_VAR userpicmap>; 
-                            var defaultpicurl="<TMPL_VAR defaultpicurl>"; 
-                        </script> 
+                            <script type="text/javascript"> 
+                                var userpicmap=<TMPL_VAR userpicmap>; 
+                                var defaultpicurl="<TMPL_VAR defaultpicurl>"; 
+                            </script> 
                         
-                        <span id="userpics">
-                            <label for="prop_picture_keyword"><TMPL_VAR ml_picturetouse></label>
-                            <select name="prop_picture_keyword" id="prop_picture_keyword" tabindex="21">
-                                <TMPL_LOOP userpics>
-                                    <option value="<TMPL_VAR userpic_keyword>" <TMPL_IF userpic_selected>selected="selected"</TMPL_IF>><TMPL_VAR userpic_title></option>
-                                </TMPL_LOOP>
-                            </select>
-                            <TMPL_VAR helpicon_userpics>
-                            &nbsp;&nbsp;
-                        </span>
+                            <span id="userpics">
+                                <label for="prop_picture_keyword"><TMPL_VAR ml_picturetouse></label>
+                                <select name="prop_picture_keyword" id="prop_picture_keyword" tabindex="21">
+                                    <TMPL_LOOP userpics>
+                                        <option value="<TMPL_VAR userpic_keyword>" <TMPL_IF userpic_selected>selected="selected"</TMPL_IF>><TMPL_VAR userpic_title></option>
+                                    </TMPL_LOOP>
+                                </select>
+                                <TMPL_VAR helpicon_userpics>
+                                &nbsp;&nbsp;
+                            </span>
+
                         </TMPL_IF>
                         
                         <input type="checkbox" name="prop_opt_preformatted" id="prop_opt_preformatted" value="1"<TMPL_IF opt_preformatted_selected> checked="checked"</TMPL_IF> tabindex="22" /><label for='prop_opt_preformatted'>&nbsp;<TMPL_VAR expr="ml('/talkpost.bml.opt.noautoformat')">&nbsp;</label><TMPL_VAR helpicon_noautoformat>

Tags: esavintcev, livejournal, savintsev_egor, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments