git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4661 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2008-10-21 01:09:53 +00:00
parent 5b2627ae4d
commit e56f5091a0
58 changed files with 324 additions and 293 deletions

View file

@ -13,7 +13,7 @@
</thead>
<tbody>
<!--@foreach($component_list as $component_name => $xml_info)-->
<tr>
<tr class="row2">
<th colspan="2" scope="row"><div><a href="{getUrl('module','editor','act','dispEditorComponentInfo','component_name',$component_name)}" onclick="popopen(this.href);return false;"><strong>{$xml_info->title}</strong></a> ({$component_name})</div></th>
<td class="setup center"><a href="#" onclick="doSetupComponent('{$component_name}'); return false;">{$lang->cmd_setup}</a></td>
<td class="center <!--@if($xml_info->enabled=='Y')-->activated<!--@else-->deactivated<!--@end-->">

View file

@ -5,12 +5,15 @@
<table cellspacing="0" class="adminTable">
<caption>{$lang->editor}</caption>
<thead>
<tr>
<th scope="col"><div>&nbsp;</div></th>
<th scope="col" class="half_wide"><div>{$lang->document}</div></th>
<th scope="col" class="half_wide"><div>{$lang->comment}</div></th>
</tr>
<tr>
</thead>
<tbody>
<tr class="row2">
<th rowspan="2"><div>{$lang->editor_skin}</div></th>
<td>
<select name="editor_skin">
@ -30,7 +33,7 @@
<tr>
<td colspan="2"><p>{$lang->about_editor_skin}</p></td>
</tr>
<tr>
<tr class="row2">
<th rowspan="2"><div>{$lang->enable_html_grant}</div></th>
<td>
<!--@foreach($group_list as $k => $v)-->
@ -46,7 +49,7 @@
<tr>
<td colspan="2"><p>{$lang->about_enable_html_grant}</p></td>
</tr>
<tr>
<tr class="row2">
<th rowspan="2"><div>{$lang->upload_file_grant}</div></th>
<td>
<!--@foreach($group_list as $k => $v)-->
@ -62,7 +65,7 @@
<tr>
<td colspan="2"><p>{$lang->about_upload_file_grant}</p></td>
</tr>
<tr>
<tr class="row2">
<th rowspan="2"><div>{$lang->enable_default_component_grant}</div></th>
<td>
<!--@foreach($group_list as $k => $v)-->
@ -78,7 +81,7 @@
<tr>
<td colspan="2"><p>{$lang->about_default_component_grant}</p></td>
</tr>
<tr>
<tr class="row2">
<th rowspan="2"><div>{$lang->enable_component_grant}</div></th>
<td>
<!--@foreach($group_list as $k => $v)-->
@ -94,7 +97,7 @@
<tr>
<td colspan="2"><p>{$lang->about_component_grant}</p></td>
</tr>
<tr>
<tr class="row2">
<th rowspan="2"><div>{$lang->editor_height}</div></th>
<td>
<input type="text" name="editor_height" value="{$editor_config->editor_height}" class="inputTypeText w80" />px
@ -106,7 +109,7 @@
<tr>
<td colspan="2"><p>{$lang->about_editor_height}</p></td>
</tr>
<tr>
<tr class="row2">
<th rowspan="2"><div>{$lang->height_resizable}</div></th>
<td>
<input type="checkbox" value="Y" name="enable_height_resizable" <!--@if($editor_config->enable_height_resizable=='Y')-->checked="checked"<!--@end-->/>
@ -118,18 +121,19 @@
<tr>
<td colspan="2"><p>{$lang->about_editor_height_resizable}</p></td>
</tr>
<tr>
<tr class="row2">
<th rowspan="2"><div>{$lang->enable_autosave}</div></th>
<td colspan="2"><input type="checkbox" value="Y" name="enable_autosave" <!--@if($editor_config->enable_autosave=='Y')-->checked="checked"<!--@end-->/></td>
</tr>
<tr>
<td colspan="2"><p>{$lang->about_enable_autosave}</p></td>
</tr>
<tr>
<tr class="row2">
<td class="right" colspan="3">
<span class="button"><input type="submit" value="{$lang->cmd_save}"/></span>
</td>
</tr>
</tbody>
</table>
</form>

View file

@ -12,7 +12,7 @@
<div id="popBody">
<table cellspacing="0" class="adminTable">
<tr>
<tr class="row2">
<th scope="row"><div>{$lang->component_name}</div></th>
<td>{$component->component_name} ver. {$component->version}</td>
</tr>
@ -25,14 +25,14 @@
</td>
</tr>
<!--@if($component->link)-->
<tr>
<tr class="row2">
<th scope="row"><div>{$lang->component_link}</div></th>
<td><a href="#" onclick="winopen('{$component->link}');return false;">{$component->link}</a></td>
</tr>
<!--@end-->
<!--@foreach($component->extra_vars as $key => $val)-->
<tr>
<tr class="row{$cycle_idx}">
<th scope="row"><div>{$val->title}</div></th>
<td>
<input type="text" name="{$key}" value="{$val->value}" class="inputTypeText w400" />
@ -41,7 +41,7 @@
</tr>
<!--@end-->
<tr>
<tr class="row2">
<th scope="row"><div>{$lang->grant}</div></th>
<td>
<!--@foreach($group_list as $key => $val)-->

View file

@ -7,24 +7,21 @@
<div id="popBody">
<table cellspacing="0" class="adminTable">
<tr>
<tr class="row2">
<th scope="row"><div>{$lang->component_author}</div></th>
<td class="blue">
<td>
<!--@foreach($component->author as $author)-->
{$author->name} (<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a>, <a href="mailto:{$author->email_address}">{$author->email_address}</a>)<br />
<!--@end-->
</tr>
<!--@if($component->homepage)-->
<tr>
<th scope="row"><div>{$lang->homepage}</div></th>
<td class="blue"><a href="{$component->homepage}" onclick="window.open(this.href);return false;">{$component->homepage}</a></td>
<td class="blue"><a href="{$component->homepage}" onclick="window.open(this.href);return false;">{$component->homepage}</a>&nbsp;</td>
</tr>
<!--@endif-->
<tr>
<tr class="row2">
<th scope="row"><div>{$lang->regdate}</div></th>
<td>{zdate($component->date, 'Y-m-d')}</td>
</tr>
<!--@if($component->license || $component->license_link)-->
<tr>
<th scope="row"><div>{$lang->component_license}</div></th>
<td>
@ -32,10 +29,10 @@
<!--@if($layout_info->license_link)-->
<p><a href="{$component->license_link}" onclick="window.close(); return false;">{$component->license_link}</a></p>
<!--@end-->
&nbsp;
</td>
</tr>
<!--@endif-->
<tr>
<tr class="row2">
<th scope="row"><div>{$lang->component_description}</div></th>
<td>{nl2br(trim($component->description))}</td>
</tr>
@ -49,16 +46,13 @@
<div id="popHistoryBody">
<table cellspacing="0" class="adminTable">
<col width="100" />
<col />
<!--@foreach($component->history as $history)-->
<tr>
<tr class="row{$cycle_idx}">
<th scope="row"><div>
{$history->version}<br />
{zdate($history->date, 'Y-m-d')}
</div></th>
<td>
<td class="wide">
<!--@foreach($history->author as $author)-->
<p>{$author->name} (<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a> / <a href="mailto:{$author->email_address}">{$author->email_address}</a>)</p>
<!--@endforeach-->