Esempio n. 1
0
 static function TplDropDown($type, $selected = null)
 {
     $tpls = WPFB_Core::GetTpls($type);
     $content = '<option value="default">' . __('Default') . '</option>';
     foreach ($tpls as $tag => $tpl) {
         if ($tag != 'default') {
             $content .= '<option value="' . $tag . '"' . ($selected == $tag ? ' selected="selected"' : '') . '>' . __(__(esc_attr(WPFB_Output::Filename2Title($tag))), WPFB) . '</option>';
         }
     }
     return $content;
 }
Esempio n. 2
0
 function GetTitle()
 {
     return __(__(esc_html(WPFB_Output::Filename2Title($this->tag))), WPFB);
 }
Esempio n. 3
0
 static function TplTitle($tpl_tag)
 {
     return __(__(esc_html(WPFB_Output::Filename2Title($tpl_tag))), 'wp-filebase');
 }