Share » Forums » Developer » Edit.tpl and users permissions

Edit.tpl and users permissions

Edit.tpl and users permissions

Thursday 16 August 2007 6:42:50 am - 1 reply

Modified on Thursday 16 August 2007 7:26:56 am by laurent le cadet

Author Message

laurent le cadet

Thursday 16 August 2007 7:45:53 am

Auto response :

I need to fetch again in the edition template itself :


<div class="buttonblock">
            <input class="defaultbutton" type="submit" name="PublishButton" value="{'Store'|i18n('design/base')}" />
            <input class="button" type="submit" name="DiscardButton" value="{'Cancel'|i18n('design/base')}" />
			{let user=fetch('user','current_user')}
			{if $user.is_logged_in|not()}
            <input type="hidden" name="RedirectURI" value="/content/view/full/146" />
			<input type="hidden" name="FutureNodeHiddenState_{$main_node_id}" value="hidden" />
			{/if}
			{/let}
            <input type="hidden" name="DiscardConfirm" value="0" />
        </div>
        </form>

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu