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/lang.class.php';
$theme = 'default';
$theme_path = XOOPS_URL . '/modules/cjaycontent/admin/editor2/lib/themes/' . $theme . '/';
$l = new SPAW_Lang($HTTP_GET_VARS['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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
// ================================================
// Developed: Alan Mendelevich, alan@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// $Revision: 1.9 $, $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 . '/';
$l = new SPAW_Lang($SPAW_Util->getGETVar('lang'));
$l->setBlock('colorpicker');
?>
<!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 
echo $l->getCharset();
?>
">
Esempio n. 3
0
// Developed: Alan Mendelevich, alan@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// $Revision: 1.14 $, $Date: 2004/12/18 14:28:50 $
// ================================================
// unset $spaw_imglib_include
unset($spaw_imglib_include);
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/util.class.php';
include $spaw_root . 'class/lang.class.php';
$theme = empty($HTTP_POST_VARS['theme']) ? empty($HTTP_GET_VARS['theme']) ? $spaw_default_theme : $HTTP_GET_VARS['theme'] : $HTTP_POST_VARS['theme'];
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$l = new SPAW_Lang(empty($HTTP_POST_VARS['lang']) ? $HTTP_GET_VARS['lang'] : $HTTP_POST_VARS['lang']);
$l->setBlock('image_insert');
$request_uri = urldecode(empty($HTTP_POST_VARS['request_uri']) ? empty($HTTP_GET_VARS['request_uri']) ? '' : $HTTP_GET_VARS['request_uri'] : $HTTP_POST_VARS['request_uri']);
// if set include file specified in $spaw_imglib_include
if (!empty($spaw_imglib_include)) {
    include $spaw_imglib_include;
}
?>

<?php 
$imglib = isset($HTTP_POST_VARS['lib']) ? $HTTP_POST_VARS['lib'] : '';
if (empty($imglib) && isset($HTTP_GET_VARS['lib'])) {
    $imglib = $HTTP_GET_VARS['lib'];
}
$value_found = false;
// callback function for preventing listing of non-library directory
// ================================================
// Developed: Alan Mendelevich, alan@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// $Revision$, $Date$
// ================================================
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/lang.class.php';
$theme = htmlspecialchars(empty($_GET['theme']) ? $spaw_default_theme : $_GET['theme'], ENT_QUOTES);
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$block = $_GET['block'];
$message = $_GET['message'];
$l = new SPAW_Lang(htmlspecialchars($_GET['lang'], ENT_QUOTES));
$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>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $l->getCharset();
?>
">
Esempio n. 5
0
// Hyperlink properties dialog
// ================================================
// Developed: Alan Mendelevich, alan@solmetra.lt
// Copyright: Solmetra (c)2003 All rights reserved.
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// v.1.0, 2004-01-20
// ================================================
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/util.class.php';
include $spaw_root . 'class/lang.class.php';
$theme = empty($HTTP_GET_VARS['theme']) ? $spaw_default_theme : $HTTP_GET_VARS['theme'];
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$l = new SPAW_Lang($HTTP_GET_VARS['lang']);
$l->setBlock('hyperlink');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
  <title><?php 
echo $l->m('title');
?>
</title>
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $l->getCharset();
?>
">
Esempio n. 6
0
// Table 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';
$theme = empty($HTTP_GET_VARS['theme']) ? $spaw_default_theme : $HTTP_GET_VARS['theme'];
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
$l = new SPAW_Lang($HTTP_GET_VARS['lang']);
$l->setBlock('table_prop');
$request_uri = urldecode(empty($HTTP_POST_VARS['request_uri']) ? empty($HTTP_GET_VARS['request_uri']) ? '' : $HTTP_GET_VARS['request_uri'] : $HTTP_POST_VARS['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 
echo $l->getCharset();
?>
Esempio n. 7
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/lang.class.php';
$theme = empty($HTTP_GET_VARS['theme']) ? $spaw_default_theme : $HTTP_GET_VARS['theme'];
$theme_path = $spaw_root . 'lib/themes/' . $theme . '/';
$l = new SPAW_Lang($HTTP_GET_VARS['lang']);
$l->setBlock('table_cell_prop');
?>
<!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 
echo $l->getCharset();
?>
">
// ------------------------------------------------
//                                www.solmetra.com
// ================================================
// $Revision: 1.5 $, $Date: 2004/10/05 13:35:05 $
// ================================================
// include wysiwyg config
// include wysiwyg config
include '../config/spaw_control.config.php';
include $spaw_root . 'class/lang.class.php';
include_once '../../../mainfile.php';
//include_once 'header.php';
// GIJ patch (2005/5/2) thx nobunobu!
$theme = !empty($_GET['theme']) && file_exists("{$spaw_root}lib/themes/{$_GET['theme']}/css/dialog.css") ? $_GET['theme'] : $spaw_default_theme;
$theme_path = $spaw_dir . 'lib/themes/' . $theme . '/';
// GIJ patch end
$l = new SPAW_Lang(empty($_POST['lang']) ? $_GET['lang'] : $_POST['lang']);
$l->setBlock('image_insert');
$lib = isset($_GET['lib']) ? $_GET['lib'] : '';
$lib = isset($_POST['lib']) ? $_POST['lib'] : $lib;
$zoom = isset($_POST['zoom']) ? $_POST['zoom'] : '0';
$zoomrate = isset($_POST['zoomrate']) ? $_POST['zoomrate'] : '100';
$value_found = false;
// callback function for preventing listing of non-library directory
function is_array_value($value, $key, $_imglib)
{
    global $value_found, $lib;
    // echo $value.'-'.$_imglib.'<br>';
    if (in_array($_imglib, $value)) {
        $value_found = true;
        $lib = $spaw_imglibs[$key]['catID'];
        var_dump($key);