FYI:
I was wanting to make a popup for a project.
Here it is.
Edit: phpMyEdit.class.php
About line: 2052
Current:
Kód: |
if ($this->view_enabled()) {
$printed_out = true;
echo '<a "class="',$css_class_name,'" href="';
echo htmlspecialchars($this->page_name.$qviewStr),'"><img class="';
echo $css_class_name,'" src="',$this->url['images'];
echo 'pme-view.png" height="15" width="16" border="0" alt="';
echo htmlspecialchars($this->labels['View']),'" title="';
echo htmlspecialchars($this->labels['View']),'"></a>';
} |
Edited:
Kód: |
if ($this->nav_graphic_links()) {
$printed_out = false;
if ($this->view_enabled()) {
$printed_out = true;
echo "<a href=\"$this->page_name.$qviewStr\" target=\"_blank\" onClick=\"PopUp=window.open('$this->page_name.$qviewStr','NewWin','toolbar=no,location=no,status=no,menubar=yes,scrollbars=yes,resizable=no,width=400,height=400,left=430,top=23'); PopUp.focus(); return false;\">";
echo '<center><img class="',$css_class_name,'" src="',$this->url['images'];
echo 'pme-view.png" height="15" width="16" border="0" alt="';
echo htmlspecialchars($this->labels['View']),'" title="';
echo htmlspecialchars($this->labels['View']),'"></center></a>';
} |
Thanks for phpMyEdit.
|