removed message for duplicate log (ocprop), corrected tinymce-config,

updates #206
This commit is contained in:
Nils Bohrs 2013-07-09 10:07:35 +02:00 committed by following
parent aa453aabfc
commit 32eeaae1b8
2 changed files with 1 additions and 11 deletions

View File

@ -97,7 +97,7 @@
if ($descMode == 3)
{
$tpl->add_header_javascript('resource2/tinymce/tiny_mce_gzip.js');
$tpl->add_header_javascript('resource2/tinymce/config/user.js.php?lang='.strtolower($opt['template']['locale']));
$tpl->add_header_javascript('resource2/tinymce/config/log.js.php?lang='.strtolower($opt['template']['locale']));
}
// check and prepare log text
@ -204,10 +204,6 @@
// finished, redirect to listing
$tpl->redirect('viewcache.php?cacheid=' . $cache->getCacheId());
}
else
{
$validate['duplicateLog'] = false;
}
}
// assign values to template

View File

@ -80,12 +80,6 @@ function _chkFound () {
<input id="descMode" type="hidden" name="descMode" value="1" />
<table class="table">
<tr><td class="spacer" colspan="2"></td></tr>
{if $validate.duplicateLog==false}
<tr>
<td colspan="2"><span class="errormsg">{t}This log already exists - you tried to submit it twice!{/t}</span></td>
</tr>
<tr><td class="spacer" colspan="2"></td></tr>
{/if}
<tr><td colspan="2"></td></tr>
<tr>
<td width="180px">{t}Type of log-entry:{/t}</td>