Committer: ailyin
LJSUP-12206 (Remove SMS payments as a payment option): move this one to controller/template; refactoring, no functional changes for nowU trunk/htdocs/sup/sms_tos.bml
Modified: trunk/htdocs/sup/sms_tos.bml =================================================================== --- trunk/htdocs/sup/sms_tos.bml 2012-05-16 06:20:27 UTC (rev 11963) +++ trunk/htdocs/sup/sms_tos.bml 2012-05-16 06:56:50 UTC (rev 11964) @@ -1,167 +1 @@ -<?page -head<= -<?_code -{ - LJ::need_res('stc/tour.css'); -} -_code?> -<style type='text/css'> - .cell { border-collapse: collapse; padding: 0; } - .cell th { font-style: italic; font-weight: bold; } - .cell th small {font-weight: normal; display: block;} - .cell td { border: 1px solid #e7e7e7; padding: 5px; border-bottom: 1px solid #e7e7e7;} - .cell td.country { background: #e7e7e7; font-style: italic; font-weight: bold; padding: 10px; } - .cell td.top { border-bottom: 1px solid #ccc !important; } - .cell td.price { text-align: right;} - -</style> -<=head -title=><?_ml .title _ml?> -body<= -<?_code -{ - - ## BML::ml('.confirm.title.news', {'user'=> $user }); - - my $number = "7069"; - my $rub = BML::ml('.rub'); - my $grn = BML::ml('.grn'); - my $brb = BML::ml('.brb'); - my $how_to_pay = BML::ml('.how_to_pay', {'number'=> $number }); - my $price_for = BML::ml('.price_for', {'number'=> $number }); - my $problems_text = BML::ml('.problems_text', {'aopts'=> 'href=\'mailto:support@sup.com\''}); - - my $ret; - $ret = <<EOF_HTML; -<div class="layout-2col-r300 pkg"> -<div class="primary"> -<p>$how_to_pay</p> -<p><?_ml .avail_for _ml?></p> - <table class="cell"> - <tr> - <th><?_ml .country _ml?></th> - <th><?_ml .operator _ml?></th> - <th>$price_for</th> - </tr> - <tr> - <td nowrap rowspan=16 class="country top"><?_ml .cnt.russia _ml?></td> - <td><?_ml .op.bvk _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.etk _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.as _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.uude _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.nss _ml?></td> - <td class="price">36,56 $rub</td> - </tr> - <tr> - <td><?_ml .op.tl2 _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.utel _ml?></td> - <td class="price">37,50 $rub</td> - </tr> - <tr> - <td><?_ml .op.mts _ml?></td> - <td class="price">35,88 $rub</td> - </tr> - <tr> - <td><?_ml .op.bl _ml?></td> - <td class="price">37,29 $rub</td> - </tr> - <tr> - <td><?_ml .op.mf _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.cexp _ml?></td> - <td class="price">30 $rub</td> - </tr> - <tr> - <td><?_ml .op.stek_gsm _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.smarts _ml?></td> - <td class="price">33,90 $rub</td> - </tr> - <tr> - <td><?_ml .op.ntk _ml?></td> - <td class="price">37,70 $rub</td> - </tr> - <tr> - <td><?_ml .op.akos _ml?></td> - <td class="price">35 $rub</td> - </tr> - <tr> - <td><?_ml .op.motiv _ml?></td> - <td class="price">35 $rub</td> - </tr> - - <tr> - <td rowspan=2 class="country top"><?_ml .cnt.kazakhstan _ml?></td> - <td><?_ml .op.k_cell _ml?></td> - <td class="price">T132,74</td> - </tr> - <tr> - <td><?_ml .op.bl _ml?></td> - <td class="price">T132,74</td> - </tr> - - <tr> - <td rowspan=4 class="country top"><?_ml .cnt.ukraine _ml?></td> - <td><?_ml .op.mts_ua _ml?></td> - <td class="price">5,00 $grn</td> - </tr> - <tr> - <td><?_ml .op.life _ml?></td> - <td class="price">5,00 $grn</td> - </tr> - <tr> - <td><?_ml .op.bl_ua _ml?></td> - <td class="price">5,00 $grn</td> - </tr> - <tr> - <td><?_ml .op.ks _ml?></td> - <td class="price">5,00 $grn</td> - </tr> - - <tr> - <td class="country top"><?_ml .cnt.uzbekistan _ml?></td> - <td><?_ml .op.bl_uz _ml?></td> - <td class="price">\$1,00 *</td> - </tr> - - <tr> - <td class="country"><?_ml .cnt.tajikistan _ml?></td> - <td><?_ml .op.babilon _ml?></td> - <td class="price">\$1,00 *</td> - </tr> - - - </table> -* <?_ml .operators_rate _ml?> -<p>$problems_text</p> -</div><!-- .primary --> -<div class="secondary"> - -</div><!-- .secondary --> -</div><!-- end .layout-2col-r300 --> -EOF_HTML - - return $ret; -} -_code?> -<=body -page?> +<!-- this file is never actually used; see LJ::Controller::SupSmsTos -->