home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
discus_admin_1357211388
/
template
/
admin
/
editpost.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
3KB
|
92 lines
# FILE: editpost.tmpl
# DESCRIPTION: Edit existing post
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<#language: $L{PED_REFRESH} = "Refresh"#>
<#language: $L{PED_SAVE} = "Save"#>
<#if $arg->{skip_nav_bar}#>
<#define $skip_nav_bar = "1"#>
<#endif#>
<html>
<head>
<title>$L{PED_TITLE}</title>
<style>
<!--
body { font-family: $color->{face}; line-spacing: 0 }
td.propbox { font: 10pt verdana,arial,helvetica; font-weight: bold; }
-->
</style>
<script language="JavaScript">
<!--
function quitedit () {
self.location = "$arg->{escape_url}";
}
// -->
</script>
<#define $pagetitle = "$L{PED_TITLE}"#>
<#insert part () "cookie_icons_offset"#>
<#insert part ($general->{topic}) "dynamic_top"#>
<#if $browser->{dhtml} == 0#><font face="$color->{face}" size="$color->{size}">
<#if $arg->{formaction} eq "editpost"#>
<#define $l = "$L{EDITING_LOGGED_IN_NOTE}"#>
<#replace "%username" with "$arg->{username}" in $l#>
<p>
$l
</p>
<#endif#>
<#define $hide_message_icons = "1"#>
<#insert part ($general->{topic}) "page"#>
<form action="$general->{action}" method="post" name="userpass">
<input type=hidden name="username" value="$arg->{username}">
<input type=hidden name="password" value="$arg->{password}">
<input type=hidden name="action" value="$arg->{formaction}">
<input type=hidden name="preview" value="0">
<input type=hidden name="topic" value="$general->{topic}">
<input type=hidden name="page" value="$general->{page}">
<input type=hidden name="post" value="$general->{post}">
<#if $general->{attachadd} == 1#>
<p>
$L{EDITING_POST_ATTACHMENTS_1}
</p>
<ul>
<#foreach $item (@list)#>
<li>$item->{file}</li>
<#endloop#>
</ul>
<p>
$L{EDITING_POST_ATTACHMENTS_2}
</p>
<#endif#>
<p><b>$L{EDITING_POST_INSTRUCTIONS}</b></p>
<ul>
<#if $GLOBAL_OPTIONS->{format_panel}#>
<#insert template "fpanel"#>
<textarea name="message" cols=50 rows=7 wrap=virtual ONSELECT="storeCursorPosition(this)" ONKEYUP="storeCursorPosition(this)" ONCLICK="storeCursorPosition(this)">\
<#else#>
<textarea name="message" cols=50 rows=7 wrap=virtual>\
<#endif#>
<#form escape "$general->{source}"#></textarea>
</ul>
<p>
<input type=submit value="$L{PED_REFRESH}" onClick="document.userpass.preview.value = '1';<#if $GLOBAL_OPTIONS->{format_panel}#>panelclose();<#endif#>">
<#if $general->{error} != 1#>
<input type=submit value="$L{PED_SAVE}" onClick="document.userpass.preview.value = 0;<#if $GLOBAL_OPTIONS->{format_panel}#>panelclose();<#endif#>">
<#endif#>
<input type=button value="$L{EDITING_POST_CANCEL_EDIT}" onClick="quitedit();">
</p>
</form>
<#insert part ($general->{topic}) "dynamic_bottom"#>
<!--END-->