AVE.CMS v3.28
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.

206 lines
4.8 KiB

7 years ago
<form name="saveitem" id="SaveItem" method="post" action="index.php?do=navigation&action=itemedit&cp={$sess}" class="mainForm">
<div class="widget" style="margin-top: 0px;">
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic">
<col width="50%"/>
<col width="50%"/>
<input type="hidden" name="document_id" id="document_id" value="" />
<thead>
<tr class="noborder">
<td colspan="2">{#NAVI_LINK_TITLE#}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<div class="pr12">
<input name="title" type="text" id="title" value="" autocomplete="off" />
</div>
</td>
</tr>
</tbody>
{if $items}
<thead>
<tr class="noborder">
7 years ago
<td colspan="2">{#NAVI_ADD_AFTER#}:</td>
7 years ago
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<div class="pr12">
<select name="after" style="width: 100%;">
{include file="$select_tpl" items=$items}
</select>
</div>
</td>
</tr>
</tbody>
{/if}
<thead>
<tr class="noborder">
<td colspan="2">{#NAVI_LINK_TO_DOCUMENT#}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<div class="pr12">
<input name="alias" type="text" id="alias" value="" autocomplete="off" />
</div>
</td>
</tr>
</tbody>
<thead>
<tr class="noborder">
<td colspan="2">{#NAVI_LINKED_DOC#}</td>
</tr>
</thead>
<tbody>
<tr class="yellow">
<td colspan="2" id="show_doc" style="text-align: center;">
{#NAVI_NO_LINK#}
</td>
</tr>
</tbody>
<thead>
<tr class="noborder">
<td colspan="2">{#NAVI_LINK_FILEDOC#}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<div class="pr12" style="text-align: center;">
<input title="{#NAVI_BROWSE_DOCUMENTS#}" onclick="openLinkWindowSelect('');" type="button" class="basicBtn greenBtn topDir" value="{#NAVI_LINK_DOC#}" />
&nbsp;
<input title="{#NAVI_BROWSE_MEDIAPOOL#}" onclick="openFileWindow('alias','alias','alias');" type="button" class="basicBtn topDir" value="{#NAVI_LINK_FILE#}" />
</div>
</td>
</tr>
</tbody>
<thead>
<tr class="noborder">
<td colspan="2">{#NAVI_LINK_SOLUT#}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<div class="pr12">
<textarea rows="3" cols="10" name="description"></textarea>
</div>
</td>
</tr>
</tbody>
<thead>
<tr class="noborder">
<td colspan="2">{#NAVI_LINK_IMAGE#}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<div class="pr12">
<input name="image" type="text" id="image" value="" style="width: 280px;" autocomplete="off" />&nbsp;<input value="{#NAVI_BUTTON_CHANGE#}" title="{#NAVI_LINK_IMGTL#}" class="basicBtn topDir" onclick="openFileWindow('image','image');" type="button">
</div>
</td>
</tr>
</tbody>
<thead>
<tr class="noborder">
<td colspan="2">STYLE</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<div class="pr12">
<input name="css_style" type="text" id="css_style" value="{$item->css_style|escape}" autocomplete="off" />
</div>
</td>
</tr>
</tbody>
<thead>
<tr class="noborder">
<td>CLASS</td>
<td>ID</td>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="pr12">
<input name="css_class" type="text" id="class" value="" />
</div>
</td>
<td>
<div class="pr12">
<input name="css_id" type="text" id="css_id" value="" />
</div>
</td>
</tr>
</tbody>
<thead>
<tr class="noborder">
<td colspan="2">{#NAVI_TARGET_WINDOW#}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">
<select name="target" id="target" style="width: 100%;">
<option value="_self">{#NAVI_OPEN_IN_THIS#}</option>
<option value="_blank">{#NAVI_OPEN_IN_NEW#}</option>
</select>
</td>
</tr>
</tbody>
</table>
</div>
<div class="widget first" style="margin-bottom:10px">
<div class="rowElem" id="saveBtn">
<div class="saveBtn">
<input type="submit" class="basicBtn SaveButton" value="{#NAVI_BUTTON_SAVE#}" />
<input type="hidden" name="navigation_id" value="{$smarty.request.navigation_id}" />
<input type="hidden" name="sub" value="save" />
7 years ago
<input onclick="javascript:void(0);" type="button" class="redBtn Close" value="{#NAVI_CLOSE#}" />
7 years ago
</div>
</div>
</div>
</form>
<script language="javascript">
$(document).ready(function(){ldelim}
AveAdmin.navItemSaveNew();
$(document).on('click', '.remove_link_doc', function(event)
{ldelim}
event.preventDefault();
$('#document_id').val('');
7 years ago
$('#show_doc').html('{#NAVI_NOLINK_DOC#}');
7 years ago
$(".tipsy").remove();
{rdelim}
);
$('.Close').on('click', function(event){ldelim}
event.preventDefault();
$('#ajax-dialog-item-new').dialog('destroy').remove();
return false;
{rdelim});
{rdelim});
</script>