Esempio n. 1
0
// ================================================
// Image properties dialog
// ================================================
// Developed: Alan Mendelevich, alan@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// v.1.0, 2003-04-01
// ================================================
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/util.class.php';
include $spaw_root . 'class/lang.class.php';
$SPAW_Util = new SPAW_Util();
$theme = $SPAW_Util->getGETVar('theme', $spaw_default_theme);
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$l = new SPAW_Lang($SPAW_Util->getGETVar('lang'));
$l->setBlock('image_prop');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
  <title><?php 
echo $l->m('title');
?>
</title>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $l->getCharset();
?>
// ================================================
// Confirmation dialog
// ================================================
// Developed: Alan Mendelevich, alan@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// $Revision: 1.2 $, $Date: 2006/04/12 14:07:05 $
// ================================================
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/util.class.php';
include $spaw_root . 'class/lang.class.php';
$SPAW_Util = new SPAW_Util();
$theme = $SPAW_Util->getGETVar('theme', $spaw_default_theme);
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$block = $SPAW_Util->getGETVar('block');
$message = $SPAW_Util->getGETVar('message');
$l = new SPAW_Lang($SPAW_Util->getGETVar('lang'));
$l->setBlock($block);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<meta http-equiv="Pragma" content="no-cache">
  <title><?php 
echo $l->m('title');
?>
</title>
Esempio n. 3
0
// ================================================
// Table cell properties dialog
// ================================================
// Developed: Alan Mendelevich, alan@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// v.1.0, 2003-04-01
// ================================================
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/util.class.php';
include $spaw_root . 'class/lang.class.php';
$SPAW_Util = new SPAW_Util();
$theme = $SPAW_Util->getGETVar('theme', $spaw_default_theme);
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$l = new SPAW_Lang($SPAW_Util->getGETVar('lang'));
$l->setBlock('table_cell_prop');
$request_uri = urldecode($SPAW_Util->getPOSTVar('request_uri', $SPAW_Util->getGETVar('request_uri')));
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<meta http-equiv="Pragma" content="no-cache">
  <title><?php 
echo $l->m('title');
?>
</title>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php 
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// $Revision: 1.17 $, $Date: 2007/01/19 06:54:44 $
// ================================================
// if $spaw_imglib_include is set - die
if (isset($spaw_imglib_include)) {
    die('set this in configuration');
}
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/util.class.php';
include $spaw_root . 'class/lang.class.php';
$SPAW_Util = new SPAW_Util();
$theme = $SPAW_Util->getPOSTVar('theme', $SPAW_Util->getGETVar('theme', $spaw_default_theme));
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$l = new SPAW_Lang($SPAW_Util->getPOSTVar('lang', $SPAW_Util->getGETVar('lang')));
$l->setBlock('image_insert');
$request_uri = urldecode($SPAW_Util->getPOSTVar('request_uri', $SPAW_Util->getGETVar('request_uri')));
// if set include file specified in $spaw_imglib_include
if (!empty($spaw_imglib_include)) {
    include $spaw_imglib_include;
}
?>

<?php 
$imglib = $SPAW_Util->getPOSTVar('lib');
if (empty($imglib) && $SPAW_Util->getGETVar('lib') != '') {
    $imglib = $SPAW_Util->getGETVar('lib');
}