ACC SHELL

Path : /srv/www/vhosts/petrikov/smarty/templates/admin/
File Upload :
Current File : /srv/www/vhosts/petrikov/smarty/templates/admin/content_add.tpl

{literal}
<script language="javascript" type="text/javascript" src="./scripts/tiny_mce/tiny_mce.js"></script>




<script language="javascript" type="text/javascript">
	tinyMCE.init({
		mode : "textareas",
		theme : "advanced",
		language : "cs",
		plugins : "spellchecker,style,layer,table,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
		theme_advanced_buttons1_add_before : "newdocument,separator",
		theme_advanced_buttons1_add : "fontselect,fontsizeselect",
		theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
		theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator",
		theme_advanced_buttons3_add_before : "tablecontrols,separator",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_path_location : "bottom",
	    	plugin_insertdate_dateFormat : "%d.%m.%Y",
	    	plugin_insertdate_timeFormat : "%H:%M:%S",
		extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
		external_link_list_url : "example_data/example_link_list.js",
		external_image_list_url : "example_data/example_image_list.js",
		flash_external_list_url : "example_data/example_flash_list.js",
		file_browser_callback : "mcFileManager.filebrowserCallBack",
		theme_advanced_resize_horizontal : false,
		theme_advanced_resizing : true,
		apply_source_formatting : true,
		spellchecker_languages : "+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv"
	});
</script>
{/literal}
<form id="form" method="post">
  <fieldset>
    <legend>Obecné nastavení</legend>
    <p>
      <label for="title">Nadpis:</label><br />
      <input type="text" id="title" name="title" tabindex="1" value="{$title}" />
    </p>
    <p>
      <label for="content">Položka:</label><br />
      <p><input type="radio" id="content_is" name="content_is" tabindex="2" value="content" {if $content_is == "content"}checked{/if} />obsah</p>
      <p><input type="radio" id="content_is" name="content_is" tabindex="3" value="link" {if $content_is == "link"}checked{/if} />pouze odkaz</p>
    </p>
  </fieldset>
  <fieldset>
  <legend>Obsah položky</legend>
    <p>
      <label for="content">Obsah:</label><br />
      <textarea id="content" name="content" style="width:100%" rows="20">
	    {$content}
      </textarea>	
    </p>
  </fieldset>
  <fieldset>
    <legend>Položka jako odkaz</legend>
    <p>
      <label for="title">Adresa:</label><br />
      <input type="text" id="link" name="link" tabindex="1" value="{$link}" />
    </p>
    <p>
      <input type="checkbox" id="new_window" name="new_window" tabindex="2" {if $new_window == "on"}checked{/if} />
      <label for="show">Otevřit v novém okně?</label>
    </p>
  </fieldset>
  <p>
    <input type="checkbox" id="show" name="show" tabindex="2" {if $show == "on"}checked{/if} />
    <label for="show">Zobrazovat položku?</label>
  </p>
  <p>
    <input type="submit" value="Uložit" id="submit" name="submit" tabindex="3" />
  </p>
</form>


ACC SHELL 2018