Minahito
minah****@users*****
2006年 10月 30日 (月) 18:53:46 JST
Index: xoops2jp/html/modules/legacy/admin/templates/module_update_success.html diff -u xoops2jp/html/modules/legacy/admin/templates/module_update_success.html:1.1.2.3 xoops2jp/html/modules/legacy/admin/templates/module_update_success.html:1.1.2.4 --- xoops2jp/html/modules/legacy/admin/templates/module_update_success.html:1.1.2.3 Sun Oct 15 01:54:59 2006 +++ xoops2jp/html/modules/legacy/admin/templates/module_update_success.html Mon Oct 30 18:53:45 2006 @@ -19,4 +19,8 @@ <{/foreach}> </ul> -<p>» <a href="index.php?action=ModuleList"><b><{$smarty.const._AD_LEGACY_LANG_MODLIST}></b></a></p> +<{if $isPhasedMode && !$isLatestUpgrade}> + <p>» <a href="index.php?action=ModuleUpdate&dirname=<{$module->getShow('dirname')}>"><b>Go to the next phased version</b></a></p> +<{else}> + <p>» <a href="index.php?action=ModuleList"><b><{$smarty.const._AD_LEGACY_LANG_MODLIST}></b></a></p> +<{/if}> Index: xoops2jp/html/modules/legacy/admin/templates/module_update.html diff -u xoops2jp/html/modules/legacy/admin/templates/module_update.html:1.1.2.4 xoops2jp/html/modules/legacy/admin/templates/module_update.html:1.1.2.5 --- xoops2jp/html/modules/legacy/admin/templates/module_update.html:1.1.2.4 Tue Oct 17 19:51:05 2006 +++ xoops2jp/html/modules/legacy/admin/templates/module_update.html Mon Oct 30 18:53:45 2006 @@ -8,6 +8,12 @@ <div class="confirm"><{$smarty.const._AD_LEGACY_LANG_MODUPDATE_ADVICE|replace:"_%s_":$module->getShow('name')}></div> +<{if $isPhasedMode}> + <div class="tips"> + This is Phased Upgrade Mode. You may need to upgrade this module some times for the latest version. By phased upgrade, you can upgrade this module correctly. + </div> +<{/if}> + <{if $actionForm->hasError()}> <div class="error"> <ul> @@ -39,9 +45,10 @@ </tr> <tr> <td class="head"><{$smarty.const._AD_LEGACY_LANG_VERSION}></td> - <td class="<{cycle values='odd,even'}>"><{math equation="v/100" v=$module->get('version') format="%.2f"}> - <{if $module->get('version') != $module->modinfo.version * 100 }> - » <span class="legacy_module_versionMsg"><{$module->modinfo.version}></span> + <td class="<{cycle values='odd,even'}>"> + <{if $currentVersion != $targetVersion}> + » <span class="legacy_module_versionMsg"><{$targetVersion}></span> + <{if $isPhasedMode}>(Phased Mode)<{/if}> <{/if}> </td> </tr>