A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
785 B

12 years ago
  1. <?php
  2. class QListBox extends QListBoxBase {
  3. ///////////////////////////
  4. // ListBox Preferences
  5. ///////////////////////////
  6. // Feel free to specify global display preferences/defaults for all QListBox controls
  7. protected $strCssClass = 'listbox';
  8. // protected $strFontNames = QFontFamily::Verdana;
  9. // protected $strFontSize = '12px';
  10. // protected $strWidth = '250px';
  11. // For multiple-select based listboxes, you can define the way a "Reset" button should look
  12. protected function GetResetButtonHtml() {
  13. $strToReturn = sprintf(' <a href="#" onclick="__resetListBox(%s, %s); return false;" class="listboxReset">%s</a>',
  14. "'" . $this->Form->FormId . "'",
  15. "'" . $this->strControlId . "'",
  16. QApplication::Translate('Reset'));
  17. return $strToReturn;
  18. }
  19. }
  20. ?>