コード例 #1
0
    }
    if ($this->getConfig('allowCopy')) {
        echo '<img src="' . TEImagesPath . 'TEActionCopy.gif" srcover="' . TEImagesPath . 'TEActionCopyOver.gif" class="TEInputButton" onclick="document.location=\'' . $CopyURL . '\';" title="' . TEButtonCopy . '" alt="' . TEButtonCopy . '">&nbsp;';
    }
    if (file_exists("" . TEditorPath . "TE_TODAS_LAS_TABLAS_print.php")) {
        include "" . TEditorPath . "TE_TODAS_LAS_TABLAS_print.php";
    } elseif (file_exists("" . TEditorPath . "TE_" . $table . "_print.php")) {
        include "" . TEditorPath . "TE_" . $table . "_print.php";
    } elseif (file_exists("" . TEditorPath . "print/TE_" . $table . "_print.php")) {
        include "" . TEditorPath . "print/TE_" . $table . "_print.php";
    } else {
        $PrintUrl = "window.print();";
    }
    echo '<img src="' . TEImagesPath . 'TEActionPrint.gif" srcover="' . TEImagesPath . 'TEActionPrintOver.gif" class="TEInputButton" onClick="javascript:' . $PrintUrl . '" title="' . TEButtonPrint . '" alt="' . TEButtonPrint . '">&nbsp;';
}
echo '<img src="' . TEImagesPath . 'TEActionExit.gif" srcover="' . TEImagesPath . 'TEActionExitOver.gif" class="TEInputButton" onclick="document.location=\'' . $okURL . '\';" title="' . TEButtonExit . '" alt="' . TEButtonExit . '">&nbsp;';
include '../admin/TE_TODAS_LAS_TABLAS_menus_basicos.php';
//menus basicos
echo '</td>';
echo '</tr>';
if (file_exists(TEditorPath . 'TE_TODAS_LAS_TABLAS_footer.php')) {
    include TEditorPath . 'TE_TODAS_LAS_TABLAS_footer.php';
}
if ($edit && TEPreviousNext == true) {
    echo '<tr><td colspan="3">' . TEButtonsPreviousNext($GLOBALS["edit"], 'edit') . '</td></tr>';
}
echo '</table>';
echo '</td>';
echo '</tr>';
echo '</table>';
echo '</form>';
コード例 #2
0
        }
        $MainView .= '<tr>';
        $MainView .= '<th style="text-align:right; font-weight:bold; padding-left:30px;">' . TEDisplayFieldName($this->fields[$field]['display']) . ':</th>';
        $MainView .= '<td style="text-align:left;font-weight:normal;padding-left:1px;"><div class="TEInputTextNoRequired" style="width:300px;padding:2px;">' . $value . '</div></td>';
        $MainView .= '</tr>';
    }
}
$MainView .= '<tr><td><img src="' . TEImagesPath . 'space.gif" width="1" height="10" border="0" /></td></tr>';
$MainView .= '<tr>';
$MainView .= '<td colspan="2" align="center">';
if ($this->getConfig('allowAdd')) {
    $MainView .= '<img src="' . TEImagesPath . 'TEActionAdd.gif" srcover="' . TEImagesPath . 'TEActionAddOver.gif" class="TEInputButton" onclick="document.location=\'' . $AddURL . '\';" title="' . TEButtonAdd . '" alt="' . TEButtonAdd . '">&nbsp;';
}
if ($this->getConfig('allowEdit')) {
    $MainView .= '<img src="' . TEImagesPath . 'TEActionEdit.gif" srcover="' . TEImagesPath . 'TEActionEditOver.gif" class="TEInputButton" onclick="document.location=\'' . $editURL . '\';" title="' . TEButtonEdit . '" alt="' . TEButtonEdit . '">&nbsp;';
}
if ($this->getConfig('allowDelete')) {
    $MainView .= '<img src="' . TEImagesPath . 'TEActionDel.gif" srcover="' . TEImagesPath . 'TEActionDelOver.gif" class="TEInputButton" onclick="if(confirm(\'En realidad deseas borrar este registro?\')) document.location=\'' . $DelURL . '\';" title="' . TEButtonDel . '" alt="' . TEButtonDel . '">&nbsp;';
}
if ($this->getConfig('allowCopy')) {
    $MainView .= '<img src="' . TEImagesPath . 'TEActionCopy.gif" srcover="' . TEImagesPath . 'TEActionCopyOver.gif" class="TEInputButton" onclick="document.location=\'' . $CopyURL . '\';" title="' . TEButtonCopy . '" alt="' . TEButtonCopy . '">&nbsp;';
}
$MainView .= '<img src="' . TEImagesPath . 'TEActionPrint.gif" srcover="' . TEImagesPath . 'TEActionPrintOver.gif" class="TEInputButton" onClick="javascript:window.print();" title="' . TEButtonPrint . '" alt="' . TEButtonPrint . '">&nbsp;';
$MainView .= '<img src="' . TEImagesPath . 'TEActionExit.gif" srcover="' . TEImagesPath . 'TEActionExitOver.gif" class="TEInputButton" onclick="document.location=\'' . $okURL . '\';" title="' . TEButtonExit . '" alt="' . TEButtonExit . '">&nbsp;';
$MainView .= '</td>';
$MainView .= '</tr>';
if (TEPreviousNext == true) {
    $MainView .= '<tr><td colspan="2" width="100%" style="text-align:center;">' . TEButtonsPreviousNext($id, 'view') . '</td></tr>';
}
$MainView .= '</table><br>&nbsp;<br>';
echo $MainView;