SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

194 lines
8.1 KiB

<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<%@page pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<html>
<!--Automatically generated by module_scripts_create.x (SuperX)-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="0" http-equiv="expires">
<LINK href="/superx/style/superx.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/superxml_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/xml/maske_html.css" type="text/css" REL="stylesheet">
<LINK href="/superx/style/dbforms_40.css" type="text/css" REL="stylesheet">
<title>Maske Portlets verwalten</title>
<script type="text/javascript">
var djConfig = {isDebug: false };
//djConfig.debugAtAllCosts = true;
</script><script src="/superx/xml/js/dojo/dojo.js" type="text/javascript">&nbsp;</script><script type="text/javascript">
dojo.require("dojo.widget.Dialog");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.Tooltip");
dojo.require("dojo.string.common");
dojo.hostenv.writeIncludes();
</script><script src="/superx/xml/js/memtext/dbforms.js" type="text/javascript">&nbsp;</script>
<db:base/>
</head>
<script language="javascript"
src=<%= "\"" +request.getContextPath() + "/dbformslib/jscal/calendar.js\""%>>
</script>
<body class="clsPageBody"><%@ page import ="java.util.Hashtable" %>
<%
//HttpSession session=request.getSession(true);
if (request.getCharacterEncoding() == null)
request.setCharacterEncoding("UTF-8");
Object userobject=request.getSession().getAttribute("UserID");
String userid;
String filter="";
String sql="";
if(userobject == null)
{
%>
<jsp:forward page="/edit/not_authenticated.htm"/>
<%
}
else
userid=userobject.toString();
Object mandantobject=request.getSession().getAttribute("MandantenID");
String mandantenid="";
if(mandantobject != null)
mandantenid=mandantobject.toString();
//der superx-Default-Mandant ist bei dbforms ein Leerstring
if(mandantenid.equals("default"))
mandantenid="";
String db_form_name="sx_portlet";
String erlaubt="0";
%>
<%@ include file="/edit/check_authentication.inc" %>
<%
if(erlaubt.equals("0"))
{
%>
<jsp:forward page="/edit/not_authorized.htm"/>
<%
}
String keyfieldsused="false";
Object kf=request.getParameter("keyfieldsused");
if(kf != null)
keyfieldsused=kf.toString();
%>
<div style="margin: 0px; padding: 0px; overflow: hidden; width: 100%;" id="menuCaption">
<span class="menuCaptionTitle" id="menuCaptionTitle">Portlets verwalten. </span><img border="0" alt="Erl&auml;uterung" src="/superx/images/information.svg"><span style="display:none" connectId="menuCaption" dojoType="tooltip">
</span>
</div>
<%
String tid = request.getParameter("tid");
if(tid != null && !tid.equals("null")){
filter +="tid="+tid;
}
%>
<db:dbform tableName="sx_portlet" maxRows="1" autoUpdate="false" captionResource="true" multipart="false" followUp="/edit/kern/portlets_edit.jsp" filter="<%= filter %>" orderBy="tid"
dbConnectionName="<%= mandantenid %>" ><db:header/>
<db:errors/>
<db:body allowNew="true">
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td class="naviBtn">
<db:updateButton styleClass="clsButtonStyle" alt="button.update" src="../../images/save.svg" flavor="image" id="db_updateButton"/></td><td class="naviBtn">
<db:deleteButton confirmMessage="button.delete.confirm" styleClass="clsButtonStyle" title="Datensatz l&ouml;schen" alt="button.delete" src="../../images/delete.svg" id="db_deleteButton" flavor="image"/></td><td class="naviBtn"><span connectId="copy25" dojoType="tooltip">Datensatz kopieren. Mit Mausklick auf diesen Button kopieren Sie den aktuellen Datensatz. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navCopyButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.copy" src="../../images/copy.svg" id="copy25" flavor="image"/></td><td class="naviBtn"><span connectId="new25" dojoType="tooltip">Neuen Datensatz erzeugen. Mit Mausklick auf diesen Button geht das Formular bzw. Unterformular in den Einf&uuml;gemodus, alle vorhandenen Datens&auml;tze werden ausgeblendet. Zum Einf&uuml;gen des neuen Datensatzes klicken Sie dann auf das H&auml;kchen-Symbol rechts neben bzw. unter mir.</span>
<db:navNewButton styleClass="clsButtonStyle" showAlwaysInFooter="false" alt="button.nav.new" src="../../images/context_add.svg" id="new25" flavor="image"/></td><td class="naviBtn"><span connectId="ins25" dojoType="tooltip">Datensatz einf&uuml;gen. Wenn Sie einen neuen Datensatz erzeugt haben, k&ouml;nnen Sie diesen mit diesem Button speichern.</span>
<db:insertButton showAlways="false" styleClass="clsButtonStyle" alt="Datensatz einf&uuml;gen" src="../../images/circle_tick.svg" id="ins25" flavor="image"/></td>
</tr>
</table>
<p>&nbsp;</p>
<hr>
<p>
<input type="hidden" name="tid" value="<%= tid %>" />
</p>
<table class="db_form_table" cellspacing="0" cellpadding="0" width="100%" border="0">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="db_label">Feld ID</td><td><db:label nullFieldValue="" fieldName="tid" />
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Name des Portlets"/></td><td align="left">
<div id="fld_name">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portletname" fieldName="name"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Begr&uuml;&szlig;ungstext HTML, oder Wiki?"/></td><td align="left">
<div id="fld_type">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portlettype" fieldName="type"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="CSS-class f&uuml;r Portlets"/></td><td align="left">
<div id="fld_class">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portletclass" fieldName="class"/>
</div>
<span style="display:none" connectId="fld_class" dojoType="tooltip">"green" oder "red"</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Icon f&uuml;r Portlets"/></td><td align="left">
<div id="fld_icon">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portleticon" fieldName="icon"/>
</div>
<span style="display:none" connectId="fld_icon" dojoType="tooltip">z.B. "icon-user-plus" oder "icon-help-circled" </span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Inhalt"/></td><td align="left">
<div id="fld_content">
<db:textArea nullFieldValue="" onBlur="" styleClass="clsInputStyle" wrap="virtual" rows="6" cols="80" fieldName="content"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Reihenfolge."/></td><td align="left">
<div id="fld_sortnr_initial">
<db:textField nullFieldValue="" onBlur="" styleClass="clsInputStyle" id="inp_sx_portletsortnr_initial" size="6" fieldName="sortnr_initial"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Sichtbar"/></td><td align="left">
<div id="fld_visible">
<db:textField nullFieldValue="" styleClass="clsInputStyle" onBlur="" maxlength="255" size="40" id="inp_sx_portletvisible" fieldName="visible"/>
</div>
<span style="display:none" connectId="fld_visible" dojoType="tooltip">false=wird nicht ausgegeben, all=auch nicht angemeldete Personen sehen das Portlet.</span></td>
</tr>
<tr>
<td class="db_label">
<db:message key="Start der G&uuml;ltigkeit"/></td><td align="left">
<div id="fld_gueltig_von">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_von" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
<tr>
<td class="db_label">
<db:message key="Ende der G&uuml;ltigkeit"/></td><td align="left">
<div id="fld_gueltig_bis">
<db:dateField styleClass="clsInputStyle" nullFieldValue="" pattern="dd.MM.yyyy" size="10" fieldName="gueltig_bis" onBlur="" useJsCalendar="true"/>
</div>
</td>
</tr>
</table>
</td><td align="center" style="padding-left:10px"></td>
</table>
</db:body>
<db:footer/></db:dbform></body>
</html>