Changeset 17519
- Timestamp:
- Aug 9, 2012, 10:48:01 PM (12 years ago)
- Location:
- extensions/UserCollections
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/include/UserCollection.class.php
r17178 r17519 292 292 'PUBLIC' => (bool)$this->data['public'], 293 293 'DATE_CREATION' => format_date($this->data['date_creation'], true), 294 'U_PUBLIC' => get_absolute_root_url().'collection/view/'.$this->data['public_id'],294 'U_PUBLIC' => USER_COLLEC_PUBLIC . 'view/'.$this->data['public_id'], 295 295 'IS_TEMP' => $this->data['name'] == 'temp', 296 296 ); -
extensions/UserCollections/include/collections.inc.php
r17178 r17519 289 289 } 290 290 291 $template->assign('USER_COLLEC_PATH', USER_COLLEC_PATH); 291 $template->assign(array( 292 'USER_COLLEC_PATH' => USER_COLLEC_PATH, 293 'USER_COLLEC_ABS_PATH' => realpath(USER_COLLEC_PATH).'/', 294 )); 292 295 293 296 -
extensions/UserCollections/include/events.inc.php
r17320 r17519 15 15 { 16 16 global $tokens, $page, $conf; 17 18 define('USER_COLLEC_PUBLIC', make_index_url(array('section' => 'collections')) . '/');19 17 20 18 if ($tokens[0] == 'collections') … … 204 202 $max = 6; 205 203 206 if (!defined('USER_COLLEC_PUBLIC')) define('USER_COLLEC_PUBLIC', make_index_url(array('section' => 'collections')) . '/');207 208 204 global $template, $conf, $user, $UserCollection; 209 205 $menu = &$menu_ref_arr[0]; -
extensions/UserCollections/main.inc.php
r17178 r17519 17 17 define('COLLECTION_IMAGES_TABLE',$prefixeTable.'collection_images'); 18 18 define('USER_COLLEC_ADMIN', get_root_url() . 'admin.php?page=plugin-' . basename(dirname(__FILE__))); 19 define('USER_COLLEC_PUBLIC', get_absolute_root_url() . make_index_url(array('section' => 'collections')) . '/'); 19 20 20 21 add_event_handler('init', 'user_collections_init'); -
extensions/UserCollections/template/edit.tpl
r17493 r17519 89 89 {/if} 90 90 91 {if $clear}<div style="clear: both;"></div>{/if} 91 {if $clear}<div style="clear: both;"></div> 92 </div>{/if} 92 93 </div>{* <!-- content --> *} -
extensions/UserCollections/template/list.tpl
r17493 r17519 89 89 {/if} 90 90 91 {if $clear}<div style="clear: both;"></div>{/if} 91 {if $clear}<div style="clear: both;"></div> 92 </div>{/if} 92 93 </div>{* <!-- content --> *} -
extensions/UserCollections/template/themes/simple.tpl
r17493 r17519 12 12 <div id="content"> 13 13 {$MENUBAR} 14 <div> -
extensions/UserCollections/template/themes/stripped.tpl
r17493 r17519 16 16 <div id="content" {if !$stripped.hideMenu}class="menuShown"{/if}> 17 17 {$MENUBAR} 18 <div id="content_cell"> -
extensions/UserCollections/template/view.tpl
r17493 r17519 26 26 {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} 27 27 28 {if $clear}<div style="clear: both;"></div>{/if} 28 {if $clear}<div style="clear: both;"></div> 29 </div>{/if} 29 30 </div>{* <!-- content --> *}
Note: See TracChangeset
for help on using the changeset viewer.