コード例 #1
0
ファイル: jutabssliders.php プロジェクト: bkomraz1/multithumb
 function fetchElement($name, $default, &$xmlNode, $control_name = '')
 {
     $text = $xmlNode->_attributes['description'];
     $html = '';
     $html .= '</td></tr></table>';
     $html .= JPaneSliders::endPanel();
     $html .= JPaneSliders::startPanel('' . JText::_($text), $text);
     $html .= '<table width="100%" class="paramlist admintable" cellspacing="1">';
     $desc = '';
     $html .= '<tr><td class="paramlist_description">' . $desc . '</td>';
     $html .= '<td class="paramlist_value">';
     return $html;
 }
コード例 #2
0
ファイル: jparamstab.php プロジェクト: jakesyl/flexicontent
 function fetchElement($name, $value, &$xmlNode, $control_name)
 {
     // Close Previous Group of parameters
     $new_group = '</td></tr></table>';
     $new_group .= JPaneSliders::endPanel();
     // Start New Group of parameters
     $title = @$xmlNode->_attributes['title'];
     $description = @$xmlNode->_attributes['description'];
     $grpid = @$xmlNode->_attributes['grpid'];
     $slider_id = $grpid ? $grpid . '-page' : '';
     if (!$title) {
         $title = $description;
     }
     $inline_style = 'font-size: 11px; color:gray; background-color: lightyellow; border: 1px solid lightgray; width: auto; padding: 4px 2%; margin: 1px 8px;';
     $new_group .= JPaneSliders::startPanel('' . JText::_($title), $slider_id);
     $new_group .= '<table width="100%" class="paramlist admintable" cellspacing="1">';
     $new_group .= '<tr><td class="paramlist_description" colspan="2"><div style="' . $inline_style . '">' . JText::_($description) . '</div></td>';
     $new_group .= '<td class="paramlist_value">';
     return $new_group;
 }