/**
  * Сохранить сообщение из константы
  * 
  * @param type $const
  * @param type $title
  * @return type
  */
 public static function setFlashMessageFromConstWithTitle($const, $title)
 {
     require_once 'tservices_const.php';
     $title = reformat(stripslashes($title), 30, 0, 1);
     $message = sprintf(tservices_const::enum('msg', $const), $title);
     return self::setFlashMessage($message);
 }
Exemple #2
0
?>
"<?php 
if ($tservice->is_express == 'f') {
    ?>
 disabled="disabled"<?php 
}
?>
/>
                                <label for="express[price]" class="b-combo__label"></label>
                            </div>
                            <?php 
echo tservices_helper::input_element_error('express[price]', @$errors['express']['price']);
?>
                        </div>
                        <span class="b-txt b-txt_inline-block b-txt_padtop_3">&nbsp;<?php 
echo tservices_const::enum('currency', 'rus');
?>
</span>
                        <span class="b-txt b-txt_inline-block b-txt_padtop_3 b-txt_padlr_5">&nbsp;за&nbsp;</span>
                        <span class="b-layout_block_iphone b-layout_padtop_7">
                            <div class="b-combo b-combo_inline-block">
                                <div class="
                                     b-combo__input 
                                     b-combo__input_multi_dropdown 
                                     b-combo__input_width_110 
                                     b-combo__input_arrow_yes 
                                     show_all_records 
                                     multi_drop_down_default_column_0 
                                     drop_down_default_<?php 
echo $tservice->express_days;
?>