Hi,
in user_details.js there is this function:
-------------------------------------
function checkForm(the_form, do_check) {
var elts = document.forms[the_form].elements;
var elts_cnt = elts.length;
for (var i = 0; i < elts_cnt; i++) {
var whichElt = elts[i].name;
if (whichElt.indexOf('_priv') >= 0) {
document.forms[the_form].elements[whichElt].checked =
do_check;
} // end if
} // end for
return true;
} // end of the 'checkForm()' function
-------------------------------------
I would like to do the same thing, but in a form where the field names
are "selected_tbl[]". How
can I refer to those fields in the form?
Marc
Hello everybody,
I would like to wish everybody a very merry christmas, and a happy new
year.
I am going away for a week, to escape all technology and relax in a very
rural town with my girlfriend for the while.
*raises glass of egg nog with vodka*
It ain't champagne, but it is alcoholic, and it's the thought that
counts.
A toast, to all the great people that I work with on phpMyAdmin!
I hope you all enjoy your vacations, and many thanks for the great work on
phpMyAdmin, we are really doing well.
Merry Christmas, and to all a good night.
PS.
It's nearly 2am for me, and i'm quite intoxicated, enjoy a drink, when we
all strike it rich, then we can meet for a real round!
--
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail : robbat2(a)orbis-terrarum.net
ICQ# : 30269588 or 41961639
Home Page : http://www.orbis-terrarum.net
Time Zone : Pacific Daylight (GMT - 8)
-----BEGIN GEEK CODE-----
geekcode.comebb.org/ungeek
GCS/M/IT d-(+) s+:- a--- C++++
U++++ L++++ P--(+) W++ K++ PS+
N++ w--- O E---- M-(+) V-- Y++
PE++ PGP++ t-- 5 X+ R tv- b+++
D++ G++ e(*) h! r-- !y+
------END GEEK CODE------
-----PGP INFO-{---
Key ID:0x7E20DFA1
FingerPrint:
5447C73A 30FB144C 89521B69 2D6A615E 7E20DFA1
---}-PGP INFO-----
Hi Marc & List!
First let me wish a merry Christmas to all of you and some
special wishes to Eduardo and all Argentinian poeple.
Marc, the inconcistency with cookie authentication mode
is fixed in the CVS tree.
Have a nice and peacefull day,
Loïc
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
Hi,
In http mode, if I only have one server, I never see a drop-down to
choose the server, but in cookie mode
I see it, even if there is no choice.
Any reason for this?
Marc
Hi Garvin!
>I just wanted to kindly ask if I can get a "credit" for this patch
Hum, I don't know.... ;) Of course and I've just done it.
Loïc
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
Hi!
I just reviewed the changes made for my vertical browsing patch. I found an
error in line 556, it says:
----
. '&dontlimitchars' . $dontlimitchars
----
but it should be
---
. '&dontlimitchars=' . $dontlimitchars
---
(note the equal sign, which got overwritten by the patch)
As for the last mail, you have to replace line 925
---
$verticaldisplay["rowdata"][$i][$foo] .=
$verticaldisplay["data"][$foo][$i];
---
by:
---
if(isset($verticaldisplay["rowdata"][$i][$foo])) {
$verticaldisplay["rowdata"][$i][$foo] .=
$verticaldisplay["data"][$foo][$i];
}else{
$verticaldisplay["rowdata"][$i][$foo] =
$verticaldisplay["data"][$foo][$i];
}
---
As well change
---
// 4. Gather links of del_urls and edit_urls in an array for later output
$verticaldisplay["edit"][$foo] .= ' <td bgcolor="' . $bgcolor . '">' .
"\n";
---
into
---
// 4. Gather links of del_urls and edit_urls in an array for later output
if (!isset($verticaldisplay["edit"][$foo])) {
$verticaldisplay["edit"][$foo] = "";
$verticaldisplay["delete"][$foo] = "";
}
$verticaldisplay["edit"][$foo] .= ' <td bgcolor="' . $bgcolor . '">' .
"\n";
---
(Hope this isn't too ugly coding...if it is, I would like to know a better
way. :-)
Bye,
Garvin.
---------------------------------------------
Garvin Hicking / Mediengestalter
Faktor E AG
email: hicking(a)faktor-e.de | me(a)supergarv.de
www.faktor-e.de | www.supergarv.de
Hi List!
Please don't change too much the CVS now: I'll commit some
fixes for the vertical display mode within a few hours.
Thanks,
Loïc
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
Hi,
Since one of the last cvs updates, phpMyAdmin result on selects:
Warning: Undefined index: rowdata in
phpMyAdmin/libraries/display_tbl.lib.php3 on line 925
Warning: Undefined offset: 0 in
phpMyAdmin/libraries/display_tbl.lib.php3 on line 925
--
$verticaldisplay["rowdata"][$i][$foo] .=
$verticaldisplay["data"][$foo][$i];
--
Because $verticaldisplay is uninitialized.
Regards,
--
Steve Alberty
Hi,
Is this a known bug or is it me?
I want to give a user access to just a table, so I give him SELECT on
base9.table9 but no access to base9.
This user can select this table (tested in a phpMyAdmin query box), but can't
see the db name in the left frame.
Marc
Hi!
I took the time to integrate a change I did long ago to an older version of
PhpMyAdmin into the latest "stable" release. Sadly, I didn't do it in the
latest CVS-build because this port is blocked here at my office.
First, what the patch does is to enhance the "Show X rows starting from Y to
Z" dialog to the phrase "in [vertical/horizontal] mode and repeat headers
after ZZ cells". Then the output done in the display_tbl.lib.php3 file is
formated in horizontal or vertical columns, which was quite useful for me in
some times I had to browse tables which huge amounts of keys, and I hate to
scroll horizontally. Also, that headers are repeated after X cells is quite
usefull, I think.
I have done my best to make easy changes to the current structure without
too much intereference. Somethings could have been done better, because they
are now somehow redundant. But maybe one of the core developers can have a
look at my changes and proceed at will. If I can be of any help integrating
the patch, please let me know. The php-file itself can be found at
http://www2.bonnet.de/garvin/display_tbl.lib.txt (I didn't know whether I'm
allowed to post attachments or not) - you also have to alter the language
and config files, which are appended to my E-Mail.
Feedback appreciated. :-)
>> config.inc.php
/* BEGIN Changes for new vertical/horizontal Browse mode, Garvin Hicking
<hicking(a)faktor-e.de> */
$cfgLeftWidth = 150; // left frame width
$cfgDefaultDisplay = "horizontal"; // default display mode
(horizontal|vertical)
$cfgRepeatCells = 100; // repeat header names every X cells? (0 =
deactivate)
/* END Changes for new vertical/horizontal Browse mode, Garvin Hicking
<hicking(a)faktor-e.de> */
>> <language>.inc.php
/* BEGIN Changes for new vertical/horizontal Browse mode, Garvin Hicking
<hicking(a)faktor-e.de> */
$strRowsInModePre = 'in';
$strRowsModeVertical = 'vertical';
$strRowsModeHorizontal = 'horizontal';
$strRowsInModeAfter = 'mode and repeat headers after';
$strRowsInModeCells = 'cells';
/* END Changes for new vertical/horizontal Browse mode, Garvin Hicking
<hicking(a)faktor-e.de> */
Bye,
Garvin.
---------------------------------------------
Garvin Hicking / Mediengestalter
Faktor E AG
email: hicking(a)faktor-e.de | me(a)supergarv.de
www.faktor-e.de | www.supergarv.de