*** empty log message ***

This commit is contained in:
sebastian 2005-02-10 14:03:50 +00:00
parent 91c4f36d16
commit a6852eb2b2
23 changed files with 197 additions and 58 deletions

View file

@ -2979,7 +2979,7 @@
* libs/Smarty.class.php
libs/Smarty_Compiler.class.php:
added CVS $Id: ChangeLog,v 1.4 2005/02/09 16:50:18 sebastian Exp $
added CVS $Id: ChangeLog,v 1.5 2005/02/10 14:03:50 sebastian Exp $
2003-03-31 Messju Mohr <messju@lammfellpuschen.de>

View file

@ -25,7 +25,7 @@
* @package Smarty
*/
/* $Id: Config_File.class.php,v 1.4 2005/02/09 16:50:18 sebastian Exp $ */
/* $Id: Config_File.class.php,v 1.5 2005/02/10 14:03:50 sebastian Exp $ */
/**
* Config file reading class

View file

@ -30,7 +30,7 @@
* @version 2.6.6
*/
/* $Id: Smarty.class.php,v 1.4 2005/02/09 16:50:18 sebastian Exp $ */
/* $Id: Smarty.class.php,v 1.5 2005/02/10 14:03:50 sebastian Exp $ */
/**
* DIR_SEP isn't used anymore, but third party apps might

View file

@ -26,7 +26,7 @@
* @package Smarty
*/
/* $Id: Smarty_Compiler.class.php,v 1.4 2005/02/09 16:50:18 sebastian Exp $ */
/* $Id: Smarty_Compiler.class.php,v 1.5 2005/02/10 14:03:50 sebastian Exp $ */
/**
* Template compiling class

View file

@ -1,4 +1,4 @@
<!-- $Id: smarty-dynamic-fancygroup.tpl,v 1.4 2005/02/09 16:50:18 sebastian Exp $ -->
<!-- $Id: smarty-dynamic-fancygroup.tpl,v 1.5 2005/02/10 14:03:50 sebastian Exp $ -->
<tr>
<td valign="top" align="right">

View file

@ -1,4 +1,4 @@
<!-- $Id: smarty-dynamic-green.tpl,v 1.4 2005/02/09 16:50:18 sebastian Exp $ -->
<!-- $Id: smarty-dynamic-green.tpl,v 1.5 2005/02/10 14:03:50 sebastian Exp $ -->
<tr>
<td align="right" valign="top" class="green"><b>{$element.label}:</b></td>

View file

@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- $Id: smarty-dynamic.tpl,v 1.4 2005/02/09 16:50:18 sebastian Exp $ -->
<!-- $Id: smarty-dynamic.tpl,v 1.5 2005/02/10 14:03:50 sebastian Exp $ -->
<html>
<head>
<title>Smarty template for Array renderer</title>

View file

@ -7,6 +7,10 @@
{include file="menu_top.tpl"}
{/if}
{if $showSP}
{include file="scratchpad.tpl"}
{/if}
{if $showPath}
{include file="path.tpl"}
{/if}

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
//opener.location.reload();
opener.location.href="{$UI_BROWSER}";
opener.location.reload();
//opener.location.href="{$UI_BROWSER}";
</script>

View file

@ -0,0 +1,19 @@
{*Smarty template*}
<div id="scratchpad">
<center><b>ScratchPad</b></center>
{if is_array($sp)}
<table>
<tr><th></th><th>{tra 0=Name}</th><th>{tra 0=Duration}</th><th>{tra 0=Type}</th></tr>
{foreach from=$sp item=i}
<tr>
<td><input type="checkbox" name="spid[{$row.id}]"></td>
<td>{$i.name}</td>
<td>{$i.duration}</td>
<td>{$i.type} </td>
</tr>
{/foreach}
</table>
{/if}
</div>

View file

@ -43,7 +43,10 @@
}
{/literal}
{uiBrowser->alertMsg assign='alertMsg'}
{if $alertMsg}
alert('{$alertMsg}');
{/if}
</script>

View file

@ -27,6 +27,7 @@
<div style="background-color: {cycle values='#eeeeee, #dadada'}">{$s.gunid}
<a href="{$UI_BROWSER}?act=getMdata&id={$s.par_id}">[XML]</a>
<a href="{$UI_BROWSER}?act=editMetaDataValues&id={$s.par_id}">[Form]</a>
<a href="#" onClick="popup('{$UI_HANDLER}?act=add2SP&id={$s.par_id}', '2SP', 1, 1)">[SP]</a>
</div>
{/foreach}
{else}

View file

@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- $Id: smarty-static.tpl,v 1.5 2005/02/09 16:50:18 sebastian Exp $ -->
<!-- $Id: smarty-static.tpl,v 1.6 2005/02/10 14:03:50 sebastian Exp $ -->
<html>
<head>
<title>Smarty template for ArraySmarty renderer: 2 column layout example</title>

View file

@ -49,6 +49,14 @@
margin-top: 10px;
}
#scratchpad {
text-align: center;
width: 800px;
border-style : dotted;
padding : 5px;
margin-top: 10px;
}
#path {
text-align: center;
width: 800px;

View file

@ -31,7 +31,6 @@ if (is_array($_REQUEST['popup'])){
$Smarty->assign('loginform', $uiBrowser->loginform($Smarty, $ui_fmask));
$Smarty->display('popup/login.tpl');
break;
}
}
die();
@ -42,6 +41,9 @@ $Smarty->assign('statusbar', $uiBrowser->getStationInfo($ui_fmask['systemPrefs']
if ($uiBrowser->userid) {
$Smarty->assign('showMenuTop', TRUE);
$Smarty->assign('sp', $uiBrowser->getSP());
$Smarty->assign('showSP', TRUE);
switch ($_REQUEST['act']){
default:
$Smarty->assign('structure', $uiBrowser->getStructure($uiBrowser->id));
@ -150,6 +152,7 @@ if ($uiBrowser->userid) {
break;
}
}
#$Smarty->load_filter('output', 'trimwhitespace');
#$Smarty->register_outputfilter('smarty_outputfilter_trimwhitespace');
$Smarty->display('main.tpl');
?>

View file

@ -87,6 +87,10 @@ switch($_REQUEST['act']){
$uiHandler->storeMetaData($_REQUEST, $ui_fmask["mData"]);
break;
case "add2SP":
$uiHandler->add2SP($uiHandler->id);
break;
default:
$_SESSION["alertMsg"] = $uiHandler->tra("Unknown method: ").$_REQUEST["act"];
header("Location: ".UI_BROWSER);