PHP Classes

File: templates/admin/wggallery_admin_import.tpl

Recommend this page to a friend!
  Classes of Goffy G  >  wgGallery  >  templates/admin/wggallery_admin_import.tpl  >  Download  
File: templates/admin/wggallery_admin_import.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: wgGallery
Image gallery module for XOOPS CMS
Author: By
Last change:
Date: 1 year ago
Size: 2,379 bytes
 

Contents

Class file image Download
<!-- Header -->
<{include file='db:wggallery_admin_header.tpl'}>
<style>
 .btn {
	margin:0;
	padding: 4px 10px;
	border:1px solid #ccc;
	border-radius:5px;
 }
 .disabled {
	pointer-events: none;
	cursor: default; 
 }
</style>

<{if $error_exist }>
	<div style='font-size:120%;margin-bottom:20px'><p style='color:#ff0000'><{$error_exist}>:</p>
        <{if $error_albexist}><p style='color:#ff0000'><{$error_albexist}></p><{/if}>
        <{if $error_imgexist}><p style='color:#ff0000'><{$error_imgexist}></p><{/if}>
    </div>
<{/if}>
<{if $search_result}>
	<div style='font-size:120%;margin-bottom:20px'><{$smarty.const._AM_WGGALLERY_IMPORT_READ}>: <{$im_name}></div>
<{/if}>

<{if $import_modules}>
    <table class='table table-bordered'>
        <thead>
            <tr class='head'>
                <th class='center' style='width:40%'><{$smarty.const._AM_WGGALLERY_IMPORT_SUPPORT}></th>
                <th class='center' style='width:40%'><{$smarty.const._AM_WGGALLERY_IMPORT_FOUND}></th>
                <th class='center' style='width:20%'><{$smarty.const._CO_WGGALLERY_FORM_ACTION}></th>
            </tr>
        </thead>
        <tbody>
            <{foreach item=module from=$import_modules}>
                <tr class="<{cycle values='odd, even'}>">
                    <td class='left'><{$module.name}></td>
                    <td class='left'>
                        <{if $module.found == 1}>
                            <img src="<{$wggallery_icon_url_16}>on.png" alt="<{$smarty.const._YES}>">  <{$smarty.const._AM_WGGALLERY_IMPORT_SUP_INSTALLED}>
                        <{else}>
                            <img src="<{$wggallery_icon_url_16}>off.png" alt="<{$smarty.const._NO}>">  <{$smarty.const._AM_WGGALLERY_IMPORT_SUP_NOTINSTALLED}>
                        <{/if}>
                    </td>
                    <td class='center'>
                        <p><a class='btn <{if $module.found == 0 }>disabled<{/if}>' href='import.php?op=read_<{$module.name}>' title='<{$smarty.const._AM_WGGALLERY_IMPORT_READ}>'><{$smarty.const._AM_WGGALLERY_IMPORT_READ}></a></p>
                    </td>
                </tr>
            <{/foreach}>
        </tbody>
    </table>
<{/if}>

<{if $form}>
	<{$form}>
<{/if}>
<{if $error}>
	<div class='errorMsg'><strong><{$error}></strong></div>
<{/if}>
<br>
<!-- Footer --><{include file='db:wggallery_admin_footer.tpl'}>
For more information send a message to info at phpclasses dot org.