On Thu, Jan 30, 2003 at 06:37:37PM +0100, Michal Cihar wrote:
> Hi Robin
>
> Both these are tables, so they are one bug ;-). I replaced them by other
> code, could you please try if it looks okay now?
Those look ok now, but the top menu is broken (expands more than accross
the screen...)
--
Robin Hugh Johnson
E-Mail : robbat2(a)orbis-terrarum.net
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ# : 30269588 or 41961639
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
Hi,
One feature that was in the old interface and that I don't see in the new:
to be able to select a db and see who has rights on it.
I don't use this very often, but maybe some admins will miss it.
Marc
Salutations!
I am planning to add a feature for my own sake to phpMyAdmin. The reason
is, I have created an application for one of my customers and gave him
phpMyAdmin-access on his database. For me this is a good solution because
I down have to fiddle with a reduced backend, and he scores because I
won't charge him for that. ;)
Well, but then one major problem occured to us: He is administrating data
containing html-code (here: an image). He wants to see those images inside
of phpMyAdmin or at least having a link in a row where he can click on.
Currently libarires/display_tbl.lib.php3 encodes all data with
htmlspecialchars(). I want to let certain html-entities pass as such and
be rendered by the browser. First I just wanted to hack the code away,
bypassing the htmlspecialchars()-Function if a certain config-variable is
set.
But I think this can be done with more grace, and may come to be
integrated in upcoming phpMyAdmin-releases; if there is a need for, I
would be gratefully willing to code the required snippets.
Until now I am not fully advanced regarding how I could put the feature
inside the user interface. First on, I want the solution to be as flexible
as possible. Best way would be, that a user could choose among a set of
functions treating a table. So it would not only be possible to render
HTML-Code, but maybe to transform certain characters to other ones. Maybe
a function turning all ":-)" into smilie-GIFs.
I thought of extending the SQL-parser to support SQL-Comments which then
turn on my celldata-reparsing. I then dropped this idea, because I think
it is too hard to use for the novice user.
Currently I am thinking about the following implementations. I would
really appreciate your feedback on this, and what you think of it:
1. Add another row below the header-row of the data. It should contain a
checkbox and a pulldown for each header. So I can check each checkbox, if
I want that field to be HTML-enabled, and choose a value in the pulldown-
field, which function I want the field to be used with. I think of a set
of predefined PHP-Functions, and the ability to insert 'plugins' in the
config.inc.php3 file. Like, I add a "smilie_to_html" function, a
"html_img" function, a "html_table" function and so on. This new row could
either be shown all the time, or only made accessible by clicking on a
link like "Enhance Display" or "Convert fields" or such.
Advantages: Full, flexible control over the desired fields. Customizable,
which field I want to have converted. Maybe I only want one single row
HTML-enabled, not all of them.
Dis-advantages: Many, many Variables to be propagated throughout the page.
Maybe too much to fit in GET-Vars. Many checkboxes/pulldowns to render for
the browser (slowdown)
2. Add a persistent table-property field. There I can define, much like
the 'edit table properties' which fields I later want to be treated with
certain functions.
Advantages: Clean integration without much variable-propagation hassle.
Dis-Advantages: We have to store this data somewhere, which is harder to
user for the novice user because he has to create tables like the
bookmark-table. Parsing would be a lot harder to do, because one has to
take ALIAS-Rows into consideration. You can't do 'on-the-fly'-alteration
of a single cell to be HTML-enabled.
3. Add a full-page alternative Display much like the current 'print view'.
Call it 'html view' and parse every single data as HTML.
Advantages: Most easy to code
Dis-Advanteges: Ugly implementation, no customization.
4. Expand the SQL-language with phpMyAdmin-parseable comments. Like:
SELECT
field_img,
field_href,
field_plain
FROM table
/*
pma_parse:field_img:html_img,
pma_parse:field_href:html_href,
pma_parse:field_plain:htmlspecialchars
*/
And then add a nice Interface to that like the "insert field-name"
dropdown above the SQL Query-Textarea.
Advantages: Perfect way for a 'pro'-user. Easy to code, very flexible, no
variable-propagation hassle.
Dis-Advantages: Hard to get for novice users to be usable, unless a good
point-an-click editing system is etablished.
Maybe the last suggestions, if done properly, could be enhanced for all
kind of native phpMyAdmin-functions. Even though I can't think of any
other right now.
So...oppinions please? :-)
--Â
Bye, ...[ icq #21392242 |
Garvin ...[ www.supergarv.de |
... *Wenn Du im Zweifel bist, hoere auf den Mann mit der blutigeren Waffe.*
Wir wollen Dir hier nicht lange und großspurig erklären, warum Voegeln.de
die Seite ist, auf der Du am schnellsten Deinen nächsten Fick findest- Du
brauchst doch einfach nur die Fakten zu lesen:
1. Hier gibt es mehr Frauen als Männer
2. Die Seite ist so gestaltet, dass Du Dich schnell zurecht findest und das
auch jede Frau, die sich auf dieser Seite umsieht, sofort erkennt, das es
hier nur ums Ficken geht!
3. Der durchschnittliche User von Voegeln.de fickt mehr Frauen, als die User
aller anderen Kontaktseiten- und das ist auf jeden Fall mehr, als man
normaler Weise fickt, wenn man seine Mädels auf normalem Weg kennen lernt.
4. Kein langes baggern an irgendwelchen Discobars, kein Getränkeausgeben,
kein kassieren von Körben, kein dummes gelaber- jeder der auf dieser Seite
surft, weiss worum es geht und das soll auch so sein!
Hier ist der Link:
http://www.voegeln.de/index.php?MID=100450&WMID=2797&ml=1
Wenn Du diesen Newsletter nicht mehr erhalten möchtest, klicke einfach auf
diesen Link:
http://www.memberarea.tv/nl.php?adr=phpmyadmin-devel@lists.sourceforge.net
50.000 kostenlose Porno-Bilder findest Du auf http://www.sexreport.de
E866788