Exemplo n.º 1
0
// 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 
echo $theme_path . 'css/';
?>
dialog.css">
  <script language="javascript" src="utils.js"></script>
  
  <script language="javascript">
  <!--  
  function Init() {
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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
echo $theme_path . 'css/';
?>
dialog.css">
  <?php 
if (BROWSER_IS_GECKO) {
    ?>
  <script language="javascript" src="utils.gecko.js"></script>
  <?php 
Exemplo n.º 3
0
if (isset($HTTP_POST_FILES['img_file']['size']) && $HTTP_POST_FILES['img_file']['size'] > 0) {
    if ($img = uploadImg('img_file')) {
        $preview = $spaw_base_url . $imglib . $img;
    }
}
// delete
if ($spaw_img_delete_allowed && isset($HTTP_POST_VARS['lib_action']) && $HTTP_POST_VARS['lib_action'] == 'delete' && !empty($img)) {
    deleteImg();
}
?>
<!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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
echo $theme_path . 'css/';
?>
dialog.css">
  <?php 
if (SPAW_Util::getBrowser() == 'Gecko') {
    ?>
  <script language="javascript" src="utils.gecko.js"></script>
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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
echo $theme_path . 'css/';
?>
dialog.css">
  <script language="javascript" src="utils.js"></script>
  
  <script language="javascript">
  <!--  
  function Init() {
Exemplo n.º 5
0
// ================================================
// 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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
echo $theme_path . 'css/';
?>
dialog.css">
  <?php 
if (SPAW_Util::getBrowser() == 'Gecko') {
    ?>
  <script language="javascript" src="utils.gecko.js"></script>
Exemplo n.º 6
0
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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
echo $theme_path . 'css/';
?>
dialog.css">
  <?php 
if (SPAW_Util::getBrowser() == 'Gecko') {
    ?>
  <script language="javascript" src="utils.gecko.js"></script>
  <?php 
Exemplo n.º 7
0
// ================================================
// 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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
echo $theme_path . 'css/';
?>
dialog.css">
  <script language="javascript" src="utils.js"></script>
  <script language="javascript">
  <!--  
  function showColorPicker(curcolor) {
    var newcol = showModalDialog('colorpicker.php?theme=<?php 
$lib_options = liboptions($spaw_imglibs, '', $lib);
$img = isset($_POST['imglist']) ? $_POST['imglist'] : '';
$preview = '';
$errors = array();
if (isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) {
    if ($img = uploadImg('img_file')) {
        $preview = $spaw_base_url . $imglib . $img;
    }
}
?>
<!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();
?>
">
  <link rel="stylesheet" type="text/css" href="<?php 
echo $theme_path . 'css/';
?>
dialog.css">
  <script language="javascript" src="utils.js"></script>
  
  <script language="javascript">
  <!--