Changeset 17314 for extensions/pbase2piwigo/admin/template
- Timestamp:
- Aug 2, 2012, 6:38:10 PM (12 years ago)
- Location:
- extensions/pbase2piwigo/admin/template
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pbase2piwigo/admin/template/import.config.tpl
r17225 r17314 1 {include file='include/colorbox.inc.tpl'} 2 {include file='include/add_album.inc.tpl'} 3 1 4 {footer_script require='jquery.ui.resizable'}{literal} 2 5 jQuery(".categoryList").resizable({ … … 10 13 <form action="{$F_ACTION}" method="post"> 11 14 <fieldset> 12 <legend>{' Choosealbums to import'|@translate}</legend>15 <legend>{'Select albums to import'|@translate}</legend> 13 16 14 17 <select name="categories[]" class="categoryList" multiple="multiple" size="20"> … … 16 19 </select> 17 20 21 <b>{'Nb albums'|@translate}</b>: {$nb_categories}<br> 22 <b>{'Nb photos'|@translate}</b>: {$nb_pictures}<br> 23 18 24 <br> 19 <a href="{$RESET_LINK}" onClick="return confirm('{'Are you sure?'|@translate}');"> Reset</a>25 <a href="{$RESET_LINK}" onClick="return confirm('{'Are you sure?'|@translate}');">{'Reset'|@translate}</a> 20 26 </fieldset> 21 27 … … 23 29 <legend>{'Configuration'|@translate}</legend> 24 30 25 <p><label><input type="checkbox" name="recursive" value="1" checked="checked"> <b>Recursive</b></label></p> 31 <p><label><input type="checkbox" name="recursive" value="1" checked="checked"> <b>{'Recursive'|@translate}</b></label></p> 32 33 <p id="albumSelectWrapper"> 34 <b>{'Import in this album'|@translate}:</b> 35 <select style="width:400px" name="parent_category" id="albumSelect" size="1"> 36 <option value="0">------------</option> 37 {html_options options=$associate_options} 38 </select> 39 {'... or '|@translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> 40 </p> 41 26 42 <p> 27 43 <b>{'Fill these fields from pBase datas'|@translate}:</b> … … 35 51 36 52 <p class="bottomButtons"> 37 <input type="submit" value=" Begin Transfer">53 <input type="submit" value="{'Begin transfer'|@translate}"> 38 54 </p> 39 55 </form> -
extensions/pbase2piwigo/admin/template/import.init_import.tpl
r17225 r17314 123 123 124 124 {foreach from=$categories item=cat} 125 add_cat_to_add_queue('{$cat}', 0, {$RECURSIVE}, '{$FILLS}');125 add_cat_to_add_queue('{$cat}', {$PARENT_CATEGORY}, {$RECURSIVE}, '{$FILLS}'); 126 126 {/foreach} 127 127 … … 137 137 <div class="warnings" style="display:none;"> 138 138 <ul> 139 <li> hohiho</li>139 <li>null</li> 140 140 </ul> 141 141 </div> 142 142 143 143 <p> 144 <b> Nb albums</b>: <span class="nb_categories">0</span>/{$nb_categories}<br>145 <b> Nb pictures</b>: <span class="nb_pictures">0</span>/{$nb_pictures}<br>146 <b> Errors</b>: <span class="nb_errors">0</span><br>144 <b>{'Nb albums'|@translate}</b>: <span class="nb_categories">0</span>/{$nb_categories}<br> 145 <b>{'Nb photos'|@translate}</b>: <span class="nb_pictures">0</span>/{$nb_pictures}<br> 146 <b>{'Errors'|@translate}</b>: <span class="nb_errors">0</span><br> 147 147 <br> 148 148 <img class="loading" src="{$PBASE_PATH}admin/template/loader-{$themeconf.name}.gif">
Note: See TracChangeset
for help on using the changeset viewer.