forked from extern/egroupware
fixed AND tested et_media
This commit is contained in:
parent
dc384ab924
commit
d48f360667
@ -424,7 +424,7 @@ and fill the content:</p>
|
||||
);
|
||||
$this->tmpl->read('et_media.show');
|
||||
|
||||
$this->tmpl->exec('et_media.et_media.edit',$content);
|
||||
$this->tmpl->exec('et_media.ui_et_media.edit',$content);
|
||||
}
|
||||
}
|
||||
</pre><p>
|
||||
@ -455,6 +455,7 @@ edit-function too:</p>
|
||||
elseif (isset($content['read']))
|
||||
{
|
||||
unset($content['id']); <span>// not set by user, so dont use for seach</span>
|
||||
unset($content['read']);
|
||||
$found = $this->search($content,False,'name,author'); <span>// searches by using the no-empty fields</span>
|
||||
|
||||
if (!$found)
|
||||
@ -493,7 +494,7 @@ edit-function too:</p>
|
||||
</p>
|
||||
<p>While makeing this changes we can add a [Cancel] and [Delete]
|
||||
button too:</p>
|
||||
<pre>
|
||||
<pre>
|
||||
elseif (isset($content['cancel']))
|
||||
{
|
||||
$content = array(); <span>// clear the contents</span>
|
||||
|
Loading…
Reference in New Issue
Block a user