BlogEntryEditTemplate
Editor for BlogEntries

02 May 2019 - 10:32 | Version 1 |

%{
}%
%TMPL:INCLUDE{"Applications.ClassificationApp.SeoTopicEdit"}%
%{
}%

%{
}%
%TMPL:DEF{"permissionstab::message"}%%IF{"'%WEB%.%TOPIC%'/State='unpublished'"
   then="<div class='foswikiInfoMessage'>%MAKETEXT{"Permission settings temporarily disabled as this posting is currently unpublished."}%</div>"
   else="<div class='foswikiErrorMessage'>%MAKETEXT{"Warning: Incompatible permission settings detected. Use the =Edit settings= dialog to change the ACLs."}%</div>"
}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"editfields"}%TopicTitle, Summary, Author%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"formfields"}%%{}%
%TMPL:P{"publicationtab"}% 
%TMPL:P{"categoriestab"}% 
%TMPL:P{"tagstab"}% 
%TMPL:P{"seotab"}% 
%TMPL:P{"accesscontrol"}%
%{}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"accesscontrol"}%%{}%
%SETVAR{field="State" matches="unpublished" var="ALLOWTOPICVIEW" type="Set" value="$percntFORMATLIST{\"BlogAuthorGroup,$percntFORMFIELD{\"Author\"}$percnt, $percntWIKINAME$percnt\"}$percnt"}%
%UNSETVAR{field="State" matches="published" var="ALLOWTOPICVIEW"}%
%{}%%TMPL:END%
%{
}%

%{
}%
%TMPL:DEF{"publicationtab"}%<!-- -->
%TAB{"%TRANSLATE{"Publication"}%"}%
%RENDERFOREDIT{"%BASEWEB%.%BASETOPIC%"
  form="%TMPL:P{"formdefinition"}%"
  fields="State, PublishDate, UnpublishDate, Sticky"
  PublishDate_title="%TRANSLATE{"Publish Date"}%"
  UnpublishDate_title="%TRANSLATE{"Unpublish Date"}%"
  State_title="%TRANSLATE{"State"}%"
  Sticky_title="%TRANSLATE{"Sticky"}%"
}%
%ENDTAB%
<!-- -->%TMPL:END%
%{
}%
This site is powered by FoswikiCopyright © 2002-2024 by contributors to Wasserstoff-Fahrer Forum ImpressumDatenschutz  Feedback
This website is using cookies. More info. That's Fine