issue 994 fixed editor component set page

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10137 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-02-20 10:30:27 +00:00
parent 4b74cbb028
commit bfeb01c021
4 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,7 @@
<action name="dispEditorComponentInfo" type="view" standalone="true" /> <action name="dispEditorComponentInfo" type="view" standalone="true" />
<action name="dispEditorAdminIndex" type="view" standalone="true" menu_name="editor" menu_index="true" admin_index="true" /> <action name="dispEditorAdminIndex" type="view" standalone="true" menu_name="editor" menu_index="true" admin_index="true" />
<action name="dispEditorAdminSetupComponent" type="view" standalone="true" /> <action name="dispEditorAdminSetupComponent" type="view" menu_name="editor" />
<action name="dispEditorAdminSkinColorset" type="view" standalone="true" /> <action name="dispEditorAdminSkinColorset" type="view" standalone="true" />
<action name="dispEditorConfigPreview" type="view" /> <action name="dispEditorConfigPreview" type="view" />
<action name="dispEditorPreview" type="view" /> <action name="dispEditorPreview" type="view" />

View file

@ -124,7 +124,6 @@
$this->setTemplatePath($this->module_path.'tpl'); $this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('setup_component'); $this->setTemplateFile('setup_component');
$this->setLayoutFile("popup_layout");
} }
} }
?> ?>

View file

@ -123,6 +123,7 @@
<th scope="col">{$lang->author}</th> <th scope="col">{$lang->author}</th>
<th scope="col">{$lang->path}</th> <th scope="col">{$lang->path}</th>
<th scope="col">{$lang->use}</th> <th scope="col">{$lang->use}</th>
<th scope="col">{$lang->cmd_setup}</th>
<th scope="col">{$lang->cmd_delete}</th> <th scope="col">{$lang->cmd_delete}</th>
</tr> </tr>
</thead> </thead>
@ -146,9 +147,10 @@
</td> </td>
<td>{$xml_info->path}</td> <td>{$xml_info->path}</td>
<td><input type="checkbox" name="enables[]" id="enable" value="{$xml_info->component_name}" title="Use this component " <!--@if($xml_info->enabled=='Y')--> checked="checked"<!--@end--> /></td> <td><input type="checkbox" name="enables[]" id="enable" value="{$xml_info->component_name}" title="Use this component " <!--@if($xml_info->enabled=='Y')--> checked="checked"<!--@end--> /></td>
<td><a href="{getUrl('', 'module', 'admin', 'act', 'dispEditorAdminSetupComponent', 'component_name', $xml_info->component_name)}">{$lang->cmd_setup}</a>
<td> <td>
<!--@if($xml_info->version && $xml_info->delete_url)--> <!--@if($xml_info->version && $xml_info->delete_url)-->
<a href="{$xml_info->delete_url}">Delete</a> <a href="{$xml_info->delete_url}">{$lang->cmd_delete}</a>
<!--@end--> <!--@end-->
</td> </td>
</tr> </tr>

View file

@ -84,6 +84,7 @@
</table> </table>
</div> </div>
<div class="btnArea"> <div class="btnArea">
<span class="btn"><a href="{getUrl('', 'module', 'admin', 'act', 'dispEditorAdminIndex')}" >{$lang->cmd_back}</a></span>
<span class="btn"><input type="submit" value="{$lang->cmd_apply}" /></span> <span class="btn"><input type="submit" value="{$lang->cmd_apply}" /></span>
</div> </div>
</form> </form>