mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 19:05:34 +08:00
44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
HTML
<!--
|
|
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<{if $flow}>
|
|
<dl id="message">
|
|
<{foreach from=$flow item=item}>
|
|
<dt m="<{$item.flow_id}>" <{if $item.unread=="false"}> class="read"<{/if}>>
|
|
<i <{if $item.has_star=="true"}> class="starred"<{/if}>> </i>
|
|
<b>
|
|
<{$item.subject}><div><{$item.flow_desc|default:"-"}></div>
|
|
</b>
|
|
<dd></dd>
|
|
</dt>
|
|
<{/foreach}>
|
|
</dl>
|
|
|
|
|
|
<{if $env.get.menu=='unread'}>
|
|
<form action="index.php?<{$env.server.QUERY_STRING}>" method="POST" style="padding:5px;text-align:center;">
|
|
<input type="submit" value="<{t}>标记这些为已读<{/t}>" />
|
|
</form>
|
|
<{else}>
|
|
<button><{t}>后20条<{/t}></button> | <button><{t}>前20条<{/t}></button>
|
|
<{/if}>
|
|
<script>
|
|
$ES('dt','message').addEvent('click',flow.message.onClick);
|
|
</script>
|
|
|
|
<{else}>
|
|
<p class="notice"><{t}>暂无事项。<{/t}></p>
|
|
<{/if}> |