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

[livejournal] r17266: LJSUP-6550: SMS Notifications

Committer: esavintcev
LJSUP-6550: SMS Notifications
U   trunk/htdocs/manage/profile/index.bml
U   trunk/htdocs/manage/profile/index.bml.text
Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2010-09-02 08:42:00 UTC (rev 17265)
+++ trunk/htdocs/manage/profile/index.bml	2010-09-02 08:44:21 UTC (rev 17266)
@@ -528,14 +528,16 @@
 
             $ret .= " <span>" . BML::ml('.txt.details', {'aopts' => "href='$LJ::SITEROOT/tools/textmessage.bml?mode=details'"}) . "</span></td></tr>\n";
             $ret .= "<tr><td class='field_name'>$ML{'.fn.txtnum'}</td><td>";
-            #$ret .= '<ul class="b-manage-smsn b-manage-smsn-hide">';
-            #$ret .= '<li class="b-manage-smsn-sms">' . LJ::html_text({ 'name' => 'txtmsg_number', 'value' => $tminfo->{'number'}, 'size' => '15', 'maxlength' => '15' }) . '<br /><span class="helper">' . $ML{'.section.textmsg.example'} . '</span></li>';
-            $ret .= LJ::html_text({ 'name' => 'txtmsg_number', 'value' => $tminfo->{'number'}, 'size' => '15', 'maxlength' => '15' });
-            #$ret .= '<li class="b-manage-smsn-status"><i class="i-manage-smsn-icon"></i><span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><span>' . $ML{'.section.textmsg.info'} . '</span></span>&nbsp;&nbsp;' . LJ::help_icon('sms_notification') . '</li>';
-            #$ret .= "<li class='b-manage-smsn-btn'><input type='button' name='sendsms' value='$ML{'.section.textmsg.button'}' disabled='disabled' /></li>";
-            #$ret .= '</ul>';
-            #$ret .= '<p class="helper" style="display: none;">' . $ML{'.section.textmsg.adv'} . '</p>';
+            $ret .= '<ul class="b-manage-smsn b-manage-smsn-hide">';
+            $ret .= '<li class="b-manage-smsn-sms">' . LJ::html_text({ 'name' => 'txtmsg_number', 'value' => $tminfo->{'number'}, 'size' => '15', 'maxlength' => '15' }) . '<br /><span class="helper">' . $ML{'.section.textmsg.example'} . '</span></li>';
+            $ret .= '<li class="b-manage-smsn-status"><i class="i-manage-smsn-icon"></i><span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><span>' . $ML{'.section.textmsg.info'} . '</span></span>&nbsp;&nbsp;' . LJ::help_icon('sms_notification') . '</li>';
+            $ret .= "<li class='b-manage-smsn-btn'><input type='button' name='sendsms' value='$ML{'.section.textmsg.button'}' disabled='disabled' /></li>";
+            $ret .= '</ul>';
             $ret .= "</td></tr>\n";
+            $ret .= "<tr><td class='field_name'>$ML{'.fn.vernum'}</td><td>";
+            $ret .= LJ::html_text({ 'name' => 'txtmsg_verify', 'size' => '4', 'maxlength' => '4' }) ." <input type='button' name='verify' value='$ML{'.section.vernum.button'}' />";
+            $ret .= '<p class="helper" style="display: none;">' . $ML{'.section.textmsg.adv'} . '</p>';
+            $ret .= "</td></tr>\n";
             $ret .= "</table>\n";
 
 			$ret .= "<script type='text/javascript'>";

Modified: trunk/htdocs/manage/profile/index.bml.text
===================================================================
--- trunk/htdocs/manage/profile/index.bml.text	2010-09-02 08:42:00 UTC (rev 17265)
+++ trunk/htdocs/manage/profile/index.bml.text	2010-09-02 08:44:21 UTC (rev 17266)
@@ -167,6 +167,8 @@
 
 .fn.userheads.collection=Collection
 
+.fn.vernum=Verification number
+
 .fn.zip=ZIP Code
 
 .friendof=Show other users who have friended you, but you have not friended
@@ -368,6 +370,8 @@
 
 .section.userhead.apply.href=Click userhead to apply (or <a [[aopts]]>buy more userheads</a>):
 
+.section.vernum.button=Verify
+
 .section.web=Web Page
 
 .security.visibility.everybody=Everybody

Tags: bml, livejournal, savintsev_egor, text
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