From: <ri...@us...> - 2010-01-23 21:20:58
|
Revision: 24626 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=24626&view=rev Author: ricks99 Date: 2010-01-23 21:20:51 +0000 (Sat, 23 Jan 2010) Log Message: ----------- [ENH]In the initial selection of a module, redisplay the page using an anchor to take the user directly to the preview of the module and form to add the options. Modified Paths: -------------- trunk/templates/tiki-admin_modules.tpl Modified: trunk/templates/tiki-admin_modules.tpl =================================================================== --- trunk/templates/tiki-admin_modules.tpl 2010-01-23 21:18:07 UTC (rev 24625) +++ trunk/templates/tiki-admin_modules.tpl 2010-01-23 21:20:51 UTC (rev 24626) @@ -125,7 +125,8 @@ <h3>{tr}Preview{/tr}</h3> {$preview_data} {/if} - <form method="post" action="tiki-admin_modules.php"> + <form method="post" action="tiki-admin_modules.php{if (empty($assign_name))}#assign{/if}"> + {* on the initial selection of a new module, reload the page to the #assign anchor *} {if !empty($info.moduleId)} <input type="hidden" name="moduleId" value="{$info.moduleId}" /> {elseif !empty($moduleId)} @@ -145,7 +146,7 @@ </tr> {if !empty($assign_name)} -{* because changeing the module name willl auto-submit the form, no reason to display these fields until a module is selected *} +{* because changing the module name willl auto-submit the form, no reason to display these fields until a module is selected *} <tr> <td class="formcolor"><label for="assign_position">{tr}Position{/tr}</label></td> <td class="formcolor"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |