mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 02:12:15 +09:00
Enhanced filebox to add multiple attributes per image and also improved the filebox controlled used for widgets to add multiple images at the same time if you set the parameter allow_multiple=Y
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9929 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c424fdbceb
commit
41a5b57344
11 changed files with 305 additions and 59 deletions
|
|
@ -10,10 +10,23 @@
|
|||
<h2>{$lang->upload_file}</h2>
|
||||
<span class="more"><a href="#fileUp" class="tgAnchor" data-effect="slide" data-duration="200">{$lang->cmd_show_hide}</a></span>
|
||||
<div class="tgContent" id="fileUp">
|
||||
<p>
|
||||
<label for="fileDescription">{$lang->description}</label> <input type="text" name="comment" id="fileDescription" /><br />
|
||||
<label for="file">{$lang->file}</label> <input type="file" name="addfile" id="file"/>
|
||||
</p>
|
||||
<table cellspacing="0" id="attributes">
|
||||
<tr>
|
||||
<td>
|
||||
<label for="attribute_name1">{$lang->attribute_name} </label><input type="text" name="attribute_name1" id="attribute_name1" />
|
||||
</td>
|
||||
<td>
|
||||
<label for="attribute_value1">{$lang->attribute_value} </label><input type="text" name="attribute_value1" id="attribute_value1" />
|
||||
</td>
|
||||
<td><a href="javascript:addRow('attributes')">{$lang->add}</a></td>
|
||||
<td><a href="javascript:clearRow('attributes',1)">{$lang->delete}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="file">{$lang->file}</label><input type="file" name="addfile" id="file"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
</div>
|
||||
|
|
@ -22,7 +35,9 @@
|
|||
<form action="" class="form">
|
||||
<ul>
|
||||
<li loop="$filebox_list=>$key,$val">
|
||||
<p class="q">{$val->comment}</p>
|
||||
<!--@foreach($val->attributes as $key => $value)-->
|
||||
<p class="q">{$key} : {$value}</p>
|
||||
<!--@end-->
|
||||
<p class="a">
|
||||
<!--@if($val->fileextension=='swf')-->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue