|
From: <txm...@us...> - 2014-03-14 09:32:56
|
Revision: 12376
http://sourceforge.net/p/xoops/svn/12376
Author: txmodxoops
Date: 2014-03-14 09:32:52 +0000 (Fri, 14 Mar 2014)
Log Message:
-----------
Updated
Removed unnecessary code
Modified Paths:
--------------
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_building.html
XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_footer.html
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-03-14 08:46:54 UTC (rev 12375)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/admin/building.php 2014-03-14 09:32:52 UTC (rev 12376)
@@ -57,13 +57,11 @@
// Effacer repertoire of nouveau module s'il existe
TDMCreate_clearDir($modPath.'/modules/'.strtolower($mod_name));
// Debut
- $xoopsTpl->assign('open_table', TDMCreate_OpenTable(_AM_TDMCREATE_BUILDING_FILES, _AM_TDMCREATE_BUILDING_SUCCESS, _AM_TDMCREATE_BUILDING_FAILED));
/************************************************/
/*Structure*/
/************************************************/
//Creation of the structure of folders and files
$xoopsTpl->assign('build_list', 'Under new construction - Temporary build');
- $xoopsTpl->assign('close_table', TDMCreate_CloseTable());
break;
case 'default':
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-03-14 08:46:54 UTC (rev 12375)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/include/functions.php 2014-03-14 09:32:52 UTC (rev 12376)
@@ -55,13 +55,4 @@
$r=@rmdir($folder);
if (!$r) return false;
return true;
-}
-
-function TDMCreate_OpenTable($file, $_ok, $_notok) {
- echo '<table class="outer"><tr><th width="70%">'.$file.'</th><th width="15%">'.$_ok.'</th><th width="15%">'.$_notok.'</th></tr>';
-}
-
-function TDMCreate_CloseTable() {
- echo '</table><br />';
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_building.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_building.html 2014-03-14 08:46:54 UTC (rev 12375)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_building.html 2014-03-14 09:32:52 UTC (rev 12376)
@@ -2,8 +2,33 @@
<{includeq file="db:tdmcreate_header.html"}>
<!-- Display building form -->
<br />
-<{if $form}>
- <{$form}>
+<{if $build_list}>
+ <table class="outer">
+ <thead>
+ <tr class="head">
+ <th width="70%"><{$smarty.const._AM_TDMCREATE_BUILDING_FILES}></th>
+ <th width="15%"><{$smarty.const._AM_TDMCREATE_BUILDING_SUCCESS}></th>
+ <th width="15%"><{$smarty.const._AM_TDMCREATE_BUILDING_FAILED}></th>
+ </tr>
+ </thead>
+ <tbody>
+ <!-- <{foreach item=list from=$build_list}> -->
+ <tr class="<{cycle values='odd, even'}>">
+ <td class="center" colspan="3"><{$build_list}></td>
+ <!-- <td style="padding-left: 30px;"><{$list.file}></td>
+ <{if $list.on}>
+ <td class="center"><img src="<{xoModuleIcons16 on.png}>" alt="" /></td>
+ <td> </td>
+ <{elseif $list.off}>
+ <td> </td>
+ <td class="center"><img src="<{xoModuleIcons16 off.png}>" alt="" /></td>
+ <{/if}> -->
+ <tr>
+ <!-- <{/foreach}> -->
+ </tbody>
+ </table><br />
<{else}>
- <{$build_list}>
+ <{if $form}>
+ <{$form}>
+ <{/if}>
<{/if}>
\ No newline at end of file
Modified: XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_footer.html
===================================================================
--- XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_footer.html 2014-03-14 08:46:54 UTC (rev 12375)
+++ XoopsModules/TDMCreate/branches/timgno/1.91/TDMCreate/templates/admin/tdmcreate_footer.html 2014-03-14 09:32:52 UTC (rev 12376)
@@ -1,5 +1,5 @@
<div class='center'><a href='http://www.xoops.org' title='Visit XOOPS' target='_blank'>
- <img src="<{$xoModuleIcons32 xoopsmicrobutton.gif}>" alt='XOOPS' /></a></div>
+ <img src="<{xoModuleIcons32 xoopsmicrobutton.gif}>" alt='XOOPS' /></a></div>
<div class='center smallsmall italic pad5'>
<strong><{$module_name}></strong> is maintained by the
<a href='http://xoops.org/forums/newbb' title='Visit Support Forum' class='tooltip' rel='external'>Support Forum</a></div>
\ No newline at end of file
|