[gelöst] Popup Funktion im Block

Begonnen von HumaniX, 18 Februar 2012, 13:43:36

« vorheriges - nächstes »

0 Mitglieder und 0 Gäste betrachten dieses Thema.

HumaniX

Hallo, wie kann ich bei der block-vkp_News_Options.php einen Link einbauen, der als Popup Fenster aufgeht?

danke
Humanix

<?php
/**
 * This file is part of 
 * pragmaMx - Web Content Management System.
 * Copyright by pragmaMx Developer Team - http://www.pragmamx.org
 *
 * pragmaMx is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * $Revision: 1.10.6.3 $
 * $Author: joergk $
 * $Date: 2010/02/03 18:25:21 $
 *
 * this file based on:
 * php-nuke Web Portal System - http://phpnuke.org/
 * Thatware - http://thatware.org/
 */

defined('mxMainFileLoaded') or die('access denied');

$mxblockcache = false;
if (
MX_MODULE != 'News' || empty($GLOBALS['story_blocks'])) {
    
$mxblockcache = false;
    return;
}

$content = '<br>' . mxCreateImage('images/print.gif', _PRINTER) . '&nbsp;&nbsp;<a href="modules.php?name=News&amp;file=print&amp;sid=' . $GLOBALS['story_blocks']['sid'] . '" rel="nofollow"  target="_blank">' . _PRINTER . '</a></p>';
if (
mxModuleAllowed('Recommend_Us')) {
    
$content .= '<p>' . mxCreateImage('images/friend.gif', _FRIEND) . '&nbsp;&nbsp;<a href="modules.php?name=News&amp;file=friend&amp;sid=' . $GLOBALS['story_blocks']['sid'] . '"  rel="nofollow">' . _FRIEND . '</a></p>';
    
$content .= "<p>" . mxCreateImage('images/left.gif') . " " . _GOBACK . "</p>";
}
if (
MX_IS_ADMIN) {
    
$content .= '<p class="align-center tiny"><b>' . _ADMIN . '</b><br />[&nbsp;<a href="admin.php?op=adminStory">' . _SUBMITNEWS . '</a> | <a href="admin.php?op=EditStory&amp;sid=' . $GLOBALS['story_blocks']['sid'] . '">' . _EDIT . '</a> | <a href="admin.php?op=RemoveStory&amp;sid=' . $GLOBALS['story_blocks']['sid'] . '">' . _DELETE . '</a>&nbsp;]</p>';
}
$blockfiletitle = _OPTIONS;

?>