3 <title>${lang("content.htmltitle")}</title>
4 <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css"
7 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
9 <include "FUNCTIONS.template">
10 <include "head.template">
13 <table width="100%" cellspacing="0" cellpadding="5">
15 <td align="left" valign="top">
17 "module=Comment&do=articlecomments&articleid="+article.id+"&returnurl="+utility.encodeURI(thisurl),
18 lang("content.comments"))>
20 <list article.previews as p>
22 "module=Content&do=showPreview&preview="+p+"&id="+article.id+"&returnurl="+utility.encodeURI(thisurl),
23 lang("content.preview."+p))>
26 <td align="right" valign="top">
27 <if article.is_locked=="1" && article.lockinguser>
28 ${lang("content.lockedby", article.lockinguser.login)}
32 <form method="post" action="${config.actionRoot}">
33 <input type="hidden" name="module" value="Content">
34 <input type="hidden" name="id" value="${utility.encodeHTML(article.id)}">
35 <input type="hidden" name="returnurl" value="${utility.encodeURI(thisurl)}">
36 <input type="hidden" name="do" value="lock">
37 <input type="submit" class="majorbutton" name="lock" value="${lang("content.lock")}">
41 <form method="post" action="${config.actionRoot}">
42 <input type="hidden" name="module" value="Content">
43 <input type="hidden" name="id" value="${utility.encodeHTML(article.id)}">
44 <input type="hidden" name="returnurl" value="${utility.encodeURI(thisurl)}">
45 <input type="hidden" name="do" value="unlock">
46 <input type="submit" class="majorbutton" name="unlock" value="${lang("content.unlock")}">
49 <if mayForceLock=="1">
50 <form method="post" action="${config.actionRoot}">
51 <input type="hidden" name="module" value="Content">
52 <input type="hidden" name="id" value="${utility.encodeHTML(article.id)}">
53 <input type="hidden" name="returnurl" value="${utility.encodeURI(thisurl)}">
54 <input type="hidden" name="do" value="forcelock">
55 <input type="submit" class="majorbutton" name="fotcelock" value="${lang("content.forcelock")}">
64 <form method="post" action="${config.actionRoot}">
65 <input type="hidden" name="module" value="Content">
66 <input type="hidden" name="id" value="${utility.encodeHTML(article.id)}">
67 <input type="hidden" name="returnurl" value="${utility.encodeHTML(returnurl)}">
69 <input type="hidden" name="do" value="insert">
71 <input type="hidden" name="do" value="update">
75 <table width="100%" cellspacing="0" cellpadding="5">
77 <td align="left" valign="top">
79 <list article.operations as op>
81 "module=Localizer&do=articleoperation&operation="+op+"&articleid="+article.id+"&returnurl="+utility.encodeURI(thisurl),
82 lang("content.operation."+op))>
86 <td align="right" valign="top">
87 ${lang("content.published")} :
89 <input type="checkbox" name="is_published" value="1"<if article.is_published!="0" && article.is_published!=""> checked</if>>
91 <input type="submit" class="majorbutton" name="save" value="${lang("insert")}">
93 <input type="submit" class="majorbutton" name="save" value="${lang("save")}">
96 <if article.is_published!="0" && article.is_published!="">${lang("yes")}<else>${lang("no")}</if>
101 <table width="100%" cellspacing="3" cellpadding="2">
103 <td align="right" class="table-left" width="30%">
106 <td class="listrow2">
112 <comment>changedate, creationdate aren't available for new articles</comment>
114 <td align="right" class="table-left">
115 ${lang("content.lastchange_date")}:
117 <td class="listrow2">
118 ${utility.encodeHTML(article.changedate.format(config["Mir.DefaultDateTimeFormat"]))}<br>
123 <td align="right" valign="top" class="table-left">
124 ${lang("content.create_date")}:
126 <td class="listrow2">
127 ${utility.encodeHTML(article.creationdate.format(config["Mir.DefaultDateTimeFormat"]))}
130 <input type="text" size="10" maxlength="16" name="webdb_create" value=""> <span class="small">(yyyy-mm-dd [HH:mm])</span>
136 <call _PulldownTableRow (lang("content.articletype"), "to_article_type", articletypes, "id", "name", article.to_article_type, "articletypes.", mayEdit)>
137 <call _PulldownTableRow (lang("content.language"), "to_language", languages, "id", "name", article.to_language, "", mayEdit)>
141 <td align="right" valign="top" class="table-left">
144 <td class="listrow2">
147 <table border=0 cellpadding="2" cellspacing="0">
149 <assign col=r.listparameter>
154 <assign col=r.listparameter>
156 <td title="${utility.encodeHTML(t.description)}">
157 <input type="checkbox" name="to_topic" value="${t.id}" <list article.to_topics as to><if (t.id == to["id"])>checked</if></list>>
158 <span class="small"> ${t.title}</span>
160 <assign col=utility.increment(col, "-1")>
163 <td colspan="${col}">
171 <select name="to_topic" size="r.listparameter" multiple>
173 <option value="${t.id}" <list article.to_topics as to><if (t.id == to["id"])>selected</if></list>>${t.title}</option>
177 <select name="to_topic" size="1">
179 <option value="${t.id}" <list article.to_topics as to><if (t.id == to["id"])>selected</if></list>>${t.title}</option>
186 <list article.to_topics as to><if (t.id == to["id"])>${t.title} <br/> </if></list>
194 <call _TextInputTableRow (lang("content.title"), 40, 255, "title", article.title, mayEdit)>
195 <call _TextInputTableRowLight (lang("content.subtitle"), 40, 255, "subtitle", article.subtitle, mayEdit)>
196 <call _TextInputTableRowLight (lang("content.edittitle"), 40, 255, "edittitle", article.edittitle, mayEdit)>
197 <call _TextInputTableRowLight (lang("content.location"), 40, 255, "source", article.source, mayEdit)>
198 <call _TextInputTableRow (lang("content.creator"), 40, 80, "creator", article.creator, mayEdit)>
199 <call _TextInputTableRowLight (lang("content.creator.email"), 40, 80, "creator_email", article.creator_email, mayEdit)>
200 <call _TextInputTableRowLight (lang("content.creator.url"), 40, 255, "creator_main_url", article.creator_main_url, mayEdit)>
201 <call _TextInputTableRowLight (lang("content.creator.address"), 20, 80, "creator_address", article.creator_address, mayEdit)>
202 <call _TextInputTableRowLight (lang("content.creator.telephone"), 20, 20, "creator_phone", article.creator_phone, mayEdit)>
203 <call _CheckboxTableRow (lang("content.html"), "is_html", article.is_html, mayEdit)>
204 <call _TextAreaTableRow (lang("content.abstract"), "", 70, 15, "description", article.description, mayEdit)>
205 <call _TextAreaTableRow (lang("content.content"), "", 70, 20, "content_data", article.content_data, mayEdit)>
206 <call _TextAreaTableRow (lang("content.comment"), lang("content.internal"), 70, 6, "comment", article.comment, mayEdit)>
207 <call _TextAreaTableRow (lang("content.keywords"), "", 70, 4, "keywords", article.keywords, mayEdit)>
211 <td colspan="2" align="right" valign="top">
213 <input type="submit" class="majorbutton" name="save" value="${lang("insert")}">
215 <input type="submit" class="majorbutton" name="save" value="${lang("save")}">
227 <table width="90%" cellspacing="0" cellpadding="0">
230 <td align="left" valign="top">
232 <table cellspacing="3" cellpadding="2">
234 <td class="table-head" colspan="2">
235 ${lang("content.family")}
240 <td align=right valign=top class="table-left">
241 ${lang("content.parent")}:
243 <td align="left" valign="top" class="listrow2">
245 <b>${utility.encodeHTML(article.parent.title)}</b><br>
246 <a href="${config.actionRoot}?module=Content&do=edit&id=${article.parent.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("content.viewparent")}</a> |
247 <a href="${config.actionRoot}?module=Content&do=clearparent&id=${article.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("content.clearparent")}</a> |
250 <a href="${config.actionRoot}?module=Content&do=selectparent&id=${article.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("content.selectparent")}</a>
256 <td align=right valign=top class="table-left">
257 ${lang("content.children")}:
259 <td align="left" valign="top" class="listrow2">
260 <a href="${config.actionRoot}?module=Content&do=listchildren&article_id=${article.id}">${lang("content.viewchildren")}</a>
265 <td align="right" valign="top">
266 <call showArticleAttachments(article, mayEdit, thisurl)>
273 <include "foot.template">