diff options
Diffstat (limited to 'templates/copyrights.tpl')
| -rwxr-xr-x[-rw-r--r--] | templates/copyrights.tpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/copyrights.tpl b/templates/copyrights.tpl index 2609162..53214b8 100644..100755 --- a/templates/copyrights.tpl +++ b/templates/copyrights.tpl @@ -1,6 +1,6 @@ <div class="display copyrights"> <div class="header"> - <h1>{tr}Copyrights for {$pageInfo.title|escape}{/tr}</h1> + <h1>{tr}Copyrights for {$Content->mInfo.title|escape}{/tr}</h1> </div> <div class="body"> @@ -32,12 +32,12 @@ </div> <div class="form-group submit"> - <input type="hidden" name="page_id" value="{$pageInfo.page_id}" /> + <input type="hidden" name="page_id" value="{$gContent->mInfo.page_id}" /> <input type="hidden" name="copyright_id" value="{$copyrights[i].copyright_id|escape}" /> <input type="submit" class="btn btn-default" name="editcopyright" value="{tr}edit{/tr}" /> - <a href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$pageInfo.page_id}&action=up&copyright_id={$copyrights[i].copyright_id}">{booticon iname="fa-circle-arrow-up" iexplain="move up"}</a> - <a href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$pageInfo.page_id}&action=down&copyright_id={$copyrights[i].copyright_id}">{booticon iname="fa-circle-arrow-down" iexplain="move down"}</a> - <a title="{tr}Delete this copyright{/tr}" href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$pageInfo.page_id}&action=delete&copyright_id={$copyrights[i].copyright_id}" + <a href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$gContent->mInfo.page_id}&action=up&copyright_id={$copyrights[i].copyright_id}">{booticon iname="fa-circle-arrow-up" iexplain="move up"}</a> + <a href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$gContent->mInfo.page_id}&action=down&copyright_id={$copyrights[i].copyright_id}">{booticon iname="fa-circle-arrow-down" iexplain="move down"}</a> + <a title="{tr}Delete this copyright{/tr}" href="{$smarty.const.WIKI_PKG_URL}copyrights.php?page_id={$gContent->mInfo.page_id}&action=delete&copyright_id={$copyrights[i].copyright_id}" onclick="return confirm('{tr}Are you sure you want to delete this copyright?{/tr}')">{booticon iname="fa-trash" iexplain="delete"}</a> </div> {/form} @@ -45,7 +45,7 @@ {/legend} {form legend="Add a new copyright setting"} - <input type="hidden" name="page_id" value="{$pageInfo.page_id}" /> + <input type="hidden" name="page_id" value="{$gContent->mInfo.page_id}" /> <div class="form-group"> {formlabel label="Title" for="copyleft-tit"} {forminput} |
