Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  submit buttons and value="text"

phpMyEdit General     submit buttons and value="text"
Odoslať novú tému   Odpovedať na tému    
 
mmccamey     Založený: 30.05.2009   Príspevky: 1  
Príspevok Zaslal: 2009-05-30 22:42
Návrat hore  Odpovedať s citátom     

Not a huge coding person and very new to php.

The search button has a value of "V". When selecting it, the additional buttons are; pme-hide = "^", pme-clear = "X" and pme-query = ">". From what I can tell, it's bringing them from the class file such as:

Kód:

      if ($sys_cols) {
         echo '<th class="',$this->getCSSclass('header'),'" colspan="',$sys_cols,'">';
         if ($this->filter_enabled()) {
            if ($this->filter_operation()) {
               echo $this->htmlSubmit('sw', 'Hide', $this->getCSSclass('hide'), false);
               echo $this->htmlSubmit('sw', 'Clear', $this->getCSSclass('clear'), false);
            } else {
               echo $this->htmlSubmit('sw', 'Search', $this->getCSSclass('search'), false);
            }
         } else {
            echo '&nbsp;';
         }
         echo '</th>',"\n";



What I'm having a hard time finding is where it's picking up these values and not ('search') and so forth.

A minor thing that I haven't gotten into, but since I'm here, the clear/sort option is an X. Easy to note what it is and what it's for and have read about buttons. Is it easy to make it the text "clear" instead of a button?


All in all, I feel that there is some core thing that I'm missing that is causing the buttons to show up with the characters they are instead of the actual text. I'm having a heck of a time finding what it is....

Thanks in advance.

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2009-05-31 03:44
Návrat hore  Odpovedať s citátom     

I can't determine your objective. See also the language files located in the /lang/ folder.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov