Commit 3db21e63 authored by marclaporte's avatar marclaporte

improving admin UI for submissions

parent 5abe0710
......@@ -1176,9 +1176,15 @@ function prefs_feature_list($partial = false) {
),
'feature_submissions' => array(
'name' => tra('Submissions'),
'description' => tra('Submissions are sent in but need to be approved before they go live'),
'help' => 'Articles',
'type' => 'flag',
'default' => 'n',
'view' => 'tiki-list_submissions.php',
'module' => 'submission',
'permission' => array(
'textFilter' => 'submission',
),
),
'feature_cms_rankings' => array(
'name' => tra('Rankings'),
......
......@@ -3,7 +3,7 @@
{include file='tiki-articles-js.tpl'}
{title help="Articles"}
{title help="Articles" admpage="articles"}
{if $articleId}
{tr}Edit:{/tr} {$title}
{else}
......
......@@ -7,9 +7,9 @@
{/if}
{if $subId}
{title help="Articles" url="tiki-edit_submission.php?subId=$subId"}{tr}Edit:{/tr} {$title}{/title}
{title help="Articles" admpage="articles" url="tiki-edit_submission.php?subId=$subId"}{tr}Edit:{/tr} {$title}{/title}
{else}
{title help="Articles"}{tr}Submit article{/tr}{/title}
{title help="Articles" admpage="articles"}{tr}Submit article{/tr}{/title}
{/if}
<div class="navbar">
......
{title}{tr}Submissions{/tr}{/title}
{title admpage="articles" help="Articles"}{tr}Submissions{/tr}{/title}
<div class="navbar">
{button href="tiki-edit_submission.php" _text="{tr}Edit New Submission{/tr}"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment