Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  submit buttons and value="text"

phpMyEdit General     submit buttons and value="text"
Post new topic   Reply to topic    
 
mmccamey     Joined: 30 May 2009   Posts: 1  
Post Posted: 2009-05-30 22:42
Back to top  Reply with quote     

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:

Code:

      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     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2009-05-31 03:44
Back to top  Reply with quote     

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

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy