<?php /*a:1:{s:74:"D:\phpstudy\WWW\12xz\app\admin\view/default\attachment\module\operate.html";i:1782629701;}*/ ?>
<!-- 操作栏 -->
<?php if(AdminIsPower('attachment', 'detail')): ?>
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="<?php echo MyUrl('admin/attachment/detail', ['id'=>$module_data['id']]); ?>" data-title="<?php echo MyLang('detail_title'); ?>">
        <i class="am-icon-eye"></i>
        <span><?php echo MyLang('detail_title'); ?></span>
    </button>
<?php endif; if(AdminIsPower('attachment', 'saveinfo')): ?>
    <button type="button" class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block submit-modal" data-url="<?php echo MyUrl('admin/attachment/saveinfo', ['id'=>$module_data['id']]); ?>" data-title="<?php echo MyLang('edit_title'); ?>" data-width="400" data-height="250">
        <i class="am-icon-edit"></i>
        <span><?php echo MyLang('edit_title'); ?></span>
    </button>
<?php endif; if(AdminIsPower('attachment', 'delete')): ?>
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="<?php echo MyUrl('admin/attachment/delete'); ?>" data-id="<?php echo htmlentities((string) $module_data['id']); ?>" data-key="ids">
        <i class="iconfont icon-delete"></i>
        <span><?php echo MyLang('delete_title'); ?></span>
    </button>
<?php endif; ?>