Location: PHPKode > projects > openRiverbed > template/default/article_editform.tpl
<div class="article-edit">
	<div id="article-edit-top">
		
		
		<a class="right" href="#article_preview">
		<img src="./bilder/vorschau.gif"/>
		{{$l_core_button_preview}}</a>
		<h2>{{$l_core_message_article_edit}}</h2>
	</div>
	
	<script language="javascript" type="text/javascript">
			tinyMCE.init({
				mode : "exact",
        		elements : "f_content",
        		language : "{{$f_lang_2}}",
				theme : "advanced",
				plugins : "inlinepopups",
				dialog_type : "modal",
				convert_urls : false,
				content_css : "./local/local.css",
				entity_encoding : "raw",
				theme_advanced_buttons1 : "bold,justifyleft,justifycenter,justifyright,bullist,numlist,separator,undo,redo,separator,link,unlink,separator,formatselect{{$js_edit_button}}",
				theme_advanced_buttons2 : "",
				theme_advanced_buttons3 : "",
				theme_advanced_toolbar_location : "top",
				theme_advanced_toolbar_align : "left",
				theme_advanced_statusbar_location : "bottom",
				//theme_advanced_resizing : true,
				theme_advanced_source_editor_width : "370",
				extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],span[class|align|style]"
			});
			
	</script>
	<dl class="formdata">
	<dt>
	<label for="f_title">{{$l_core_label_title}}</label>
	<input class="title" type="text" name="f_title" value="{{$l_title}}"/>
	</dt>
	<dt>
	<label for="f_subtitle">{{$l_core_label_subtitle}}</label>
	<input class="subtitle" type="text" name="f_subtitle" value="{{$l_subtitle}}"/>
	</dt>
	<dt>
	<label for="f_content">{{$l_core_label_text}}</label>
	<textarea name="f_content" cols="42" rows="15">{{$l_content}}</textarea>
	</dt>
	</dl>
	
	<div class="button">
		<a href="#"
				onclick="document.main.action='{{$href_save_edit}}';
						document.main.f_action.value='{{$action_save_edit}}';
						document.main.submit(); return false;">
						<img src="./bilder/speichern1.gif"/>
						{{$l_core_button_save}}
		</a>
	</div>
	<div class="clear"></div>
	<div class="imagedata">
		<label for="f_image_destination">{{$l_core_label_image_size}}</label>
		<select name="f_image_destination">
			<option value="all" selected="selected" >{{$l_core_select_image_size_all}}</option>
			<option value="long">{{$l_core_select_image_size_zoom}} </option>
			<option value="normal">{{$l_core_select_image_size_article}} </option>
			<option value="short">{{$l_core_select_image_size_list}} </option>
		</select>
		<label for="f_image_file">{{$l_core_label_image_upload}} </label>
		<input type="file" name="f_image_file" value=""/>
		
		
		<label for="f_image_text">{{$l_core_label_image_caption}}</label>
		<textarea name="f_image_text">{{$l_image_text}}</textarea>
		<div class="clear"></div>
		
		
		<div id="image-preview">
		
		<h2>{{$l_core_message_picture_preview}}</h2>
		
		<p>
			{{if $image_article_short}}
			<img src="{{$image_article_short}}" alt="Image"/>
			{{else}}
			<img src="./local/bilder/no_image.jpg" alt="No Image" />
			{{/if}}
			{{$l_core_description_image_size_list}}
		</p>
		
		<p>
			{{if $image_article_normal}}
			<img src="{{$image_article_normal}}" alt="Image" />
			{{else}}
			<img src="./local/bilder/no_image.jpg" alt="No Image" />
			{{/if}}
			{{$l_core_description_image_size_article}}
		</p>
		
		<p>
			{{if $image_article_long}}
			<img src="{{$image_article_long}}" alt="Image" />
			{{else}}
			<img src="./local/bilder/no_image.jpg" alt="No Image" />
			{{/if}}
			{{$l_core_description_image_size_zoom}}
		</p>
		</div>
	</div>
</div>
<div class="clear"></div>
<div class="button">
		<a href="#"
				onclick="document.main.action='{{$href_save_edit}}';
						document.main.f_action.value='{{$action_save_edit}}';
						document.main.submit(); return false;">
						<img src="./bilder/speichern1.gif"/>
						{{$l_core_button_save}}
		</a>
		<a href="#"
				onclick="document.main.action='{{$href_save}}';
						document.main.f_action.value='save_article';
						document.main.submit(); return false;">
						<img src="./bilder/speichern1.gif"/>
						{{$l_core_button_finish}}
						
		</a>
		<a href="#"
				onclick="document.main.action='{{$href_save_publish}}';
						document.main.f_action.value='publish_article';
						document.main.submit(); return false;">
						<img src="./bilder/www.gif"/>
						{{$l_core_button_publish}}
		</a>
		<a href="{{$href_article_del}}" 
			onclick="	if (confirm('Soll der Artikel: {{$l_title}} - wirklich gelöscht werden?')){
							return true;
						}
						else{
							return false;
						}">
			<img src="./bilder/delete.gif"/>{{$l_core_button_delete}}</a>
			
	</div>
	<div class="clear">&nbsp;</div>
<div class="article-preview">
		<a name="article_preview"></a>
		<a class="right" href="#article-edit">
		<img src="./bilder/hoch.gif"/>
		{{$l_core_button_work_on}}</a>
		<h2>{{$l_core_message_article_preview}}</h2>
		
</div>
<!--#####ende template-article-edit#####-->
Return current item: openRiverbed