File: templates/admin/xmdoc_admin_category.tpl

Recommend this page to a friend!
  Classes of Gregory Mage  >  xmdoc  >  templates/admin/xmdoc_admin_category.tpl  >  Download  
File: templates/admin/xmdoc_admin_category.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: xmdoc
XOOPS CMS module to manage files attached to posts
Author: By
Last change:
Date: 2 months ago
Size: 3,510 bytes
 

Contents

Class file image Download
<script type="text/javascript">
    IMG_ON = '<{xoAdminIcons success.png}>';
    IMG_OFF = '<{xoAdminIcons cancel.png}>';
</script>
<div>
    <{$renderbutton}>
</div>
<{if $error_message|default:'' != ''}>
    <div class="errorMsg" style="text-align: left;">
        <{$error_message}>
    </div>
<{/if}>
<div>
    <{$form|default:''}>
</div>
<{if $category_count|default:0 != 0}>
    <table id="xo-xmdoc-sorter" cellspacing="1" class="outer tablesorter">
        <thead>
        <tr>
            <th class="txtcenter width10"><{$smarty.const._MA_XMDOC_CATEGORY_LOGO}></th>
            <th class="txtleft width15"><{$smarty.const._MA_XMDOC_CATEGORY_NAME}></th>
            <th class="txtleft"><{$smarty.const._MA_XMDOC_CATEGORY_DESC}></th>
            <th class="txtcenter width10"><{$smarty.const._MA_XMDOC_CATEGORY_SIZE}></th>
            <th class="txtcenter width10"><{$smarty.const._MA_XMDOC_CATEGORY_EXTENSION}></th>            
            <th class="txtcenter width5"><{$smarty.const._MA_XMDOC_CATEGORY_WEIGHT}></th>
            <th class="txtcenter width5"><{$smarty.const._MA_XMDOC_STATUS}></th>
            <th class="txtcenter width10"><{$smarty.const._MA_XMDOC_ACTION}></th>
        </tr>
        </thead>
        <tbody>
        <{foreach item=category from=$category}>
            <tr class="<{cycle values='even,odd'}> alignmiddle">
				<td class="txtcenter"><img src="<{$category.logo}>" alt="<{$category.name}>" style="max-width:150px"></td>
                <td class="txtleft"><{$category.name}></td>
                <td class="txtleft"><{$category.description}></td>
                <td class="txtcenter"><{$category.size}></td>
                <td class="txtcenter"><{$category.extensions}></td>
                <td class="txtcenter"><{$category.weight}></td>
                <td class="xo-actions txtcenter">
                    <img id="loading_sml<{$category.id}>" src="../assets/images/spinner.gif" style="display:none;" title="<{$smarty.const._AM_SYSTEM_LOADING}>"
                    alt="<{$smarty.const._AM_SYSTEM_LOADING}>"/><img class="cursorpointer tooltip" id="sml<{$category.id}>"
                    onclick="system_setStatus( { op: 'category_update_status', category_id: <{$category.id}> }, 'sml<{$category.id}>', 'category.php' )"
                    src="<{if $category.status}><{xoAdminIcons success.png}><{else}><{xoAdminIcons cancel.png}><{/if}>"
                    alt="<{if $category.status}><{$smarty.const._MA_XMDOC_STATUS_NA}><{else}><{$smarty.const._MA_XMDOC_STATUS_A}><{/if}>"
                    title="<{if $category.status}><{$smarty.const._MA_XMDOC_STATUS_NA}><{else}><{$smarty.const._MA_XMDOC_STATUS_A}><{/if}>"/>
                </td>
                <td class="xo-actions txtcenter">
                    <a class="tooltip" href="category.php?op=edit&amp;category_id=<{$category.id}>" title="<{$smarty.const._MA_XMDOC_EDIT}>">
                        <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._MA_XMDOC_EDIT}>"/></a>
                    <a class="tooltip" href="category.php?op=del&amp;category_id=<{$category.id}>" title="<{$smarty.const._MA_XMDOC_DEL}>">
                        <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._MA_XMDOC_DEL}>"/></a>
                </td>
            </tr>
        <{/foreach}>
        </tbody>
    </table>
    <div class="clear spacer"></div>
    <{if $nav_menu|default:false}>
        <div class="floatright"><{$nav_menu}></div>
        <div class="clear spacer"></div>
    <{/if}>
<{/if}>

For more information send a message to info at phpclasses dot org.