Changeset 17434
- Timestamp:
- Aug 6, 2012, 5:34:23 PM (12 years ago)
- Location:
- extensions/pbase2piwigo
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pbase2piwigo/admin/import.php
r17314 r17434 65 65 FROM '.CATEGORIES_TABLE.' 66 66 ;'; 67 display_select_cat_wrapper($query, array(), 'associate_options');68 67 display_select_cat_wrapper($query, array(), 'category_parent_options'); 69 68 -
extensions/pbase2piwigo/admin/template/import.analyze.tpl
r17225 r17434 67 67 </form> 68 68 69 <pre id="preview" >69 <pre id="preview" style="margin-left:10px;"> 70 70 </pre> -
extensions/pbase2piwigo/admin/template/import.config.tpl
r17314 r17434 35 35 <select style="width:400px" name="parent_category" id="albumSelect" size="1"> 36 36 <option value="0">------------</option> 37 {html_options options=$ associate_options}37 {html_options options=$category_parent_options} 38 38 </select> 39 39 {'... or '|@translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> -
extensions/pbase2piwigo/admin/template/import.init_import.tpl
r17314 r17434 81 81 } 82 82 83 jQuery.jGrowl(data['message'], { theme: 'success', header: successHead, life: 2000, sticky: false });83 jQuery.jGrowl(data['message'], { theme: 'success', header: successHead, life: 4000, sticky: false }); 84 84 queue.increment("categories"); 85 85 } else { -
extensions/pbase2piwigo/include/functions.inc.php
r17314 r17434 11 11 // html files are cached 10000 seconds 12 12 $cache_id_prefix = str_replace('http://www.pbase.com/', null, $url); 13 $cache_id_prefix = preg_replace('#([^a-z0-9 ]+)#i', null, $cache_id_prefix);13 $cache_id_prefix = preg_replace('#([^a-z0-9-_]+)#i', null, $cache_id_prefix); 14 14 $cache_id = $cache_id_prefix.'-'.substr(time(), 0, -4); 15 15 -
extensions/pbase2piwigo/include/ws_functions.inc.php
r17314 r17434 111 111 $category = &get_current_cat($tree, $params['path']); 112 112 113 $category['title'] = pwg_db_real_escape_string($category['title']); 114 113 115 // add category 114 116 $query = ' … … 128 130 'name' => $category['title'].' <!--pbase-->', 129 131 'parent' => $params['parent_id'], 130 'comment' => $category['description'],132 'comment' => pwg_db_real_escape_string($category['description']), 131 133 ), $service); 132 134 $category_id = $category_id['id'];
Note: See TracChangeset
for help on using the changeset viewer.