Changeset 17717 for extensions/GuestBook
- Timestamp:
- Sep 3, 2012, 5:02:09 PM (12 years ago)
- Location:
- extensions/GuestBook
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GuestBook/include/guestbook.inc.php
r17317 r17717 318 318 $template->assign('ABS_GUESTBOOK_PATH', dirname(__FILE__).'/../'); 319 319 $template->assign('GUESTBOOK_PATH', GUESTBOOK_PATH); 320 321 $template->assign('clear_themes', array( 322 'clear', 323 'gally-minimalist', 324 'hr_os', 325 'hr_os_xl', 326 'kardon', 327 'montblancxl', 328 'Naive', 329 'OS_glass_clear', 330 'p0w0', 331 'Pure_autumn', 332 'Pure_clear_blue', 333 'Pure_sky', 334 'Pure_tr_clear_blue', 335 'simple-white', 336 'VerticalWhite', 337 )); 338 320 339 $template->set_filename('index', dirname(__FILE__).'/../template/guestbook.tpl'); 321 340 -
extensions/GuestBook/main.inc.php
r17317 r17717 14 14 15 15 16 define('GUESTBOOK_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');16 define('GUESTBOOK_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/'); 17 17 define('GUESTBOOK_TABLE' , $prefixeTable . 'guestbook'); 18 define('GUESTBOOK_ADMIN', get_root_url().'admin.php?page=plugin-' . basename(dirname(__FILE__))); 18 define('GUESTBOOK_ADMIN', get_root_url().'admin.php?page=plugin-' . basename(dirname(__FILE__))); 19 define('GUESTBOOK_URL', get_absolute_root_url() . make_index_url(array('section' => 'guestbook'))); 19 20 20 21 add_event_handler('init', 'gb_init'); … … 47 48 function gb_menubar_apply($menu_ref_arr) 48 49 { 49 $menu = &$menu_ref_arr[0]; 50 51 define('GUESTBOOK_URL', make_index_url(array('section' => 'guestbook'))); 50 $menu = &$menu_ref_arr[0]; 52 51 53 52 if ( ($block = $menu->get_block('mbMenu')) != null ) -
extensions/GuestBook/template/guestbook.tpl
r17495 r17717 1 1 {combine_css path=$GUESTBOOK_PATH|@cat:"template/style.css"} 2 {$themeconf.name} 3 {if $themeconf.name|in_array:$clear_themes} 4 {combine_css path=$GUESTBOOK_PATH|@cat:"template/style-clear.css"} 5 {/if} 2 6 3 7 {if $comment_add.ACTIVATE_RATING} -
extensions/GuestBook/template/style.css
r17495 r17717 4 4 margin:10px auto 25px auto; 5 5 background: #333333; 6 background: -moz-linear-gradient(top, 7 background: -webkit-linear-gradient(top, #333333 0%,#252525 100%);8 background: -o-linear-gradient(top, #333333 0%,#252525 100%);9 background: -ms-linear-gradient(top, #333333 0%,#252525 100%);10 background: linear-gradient(top, #333333 0%,#252525 100%);6 background: -moz-linear-gradient(top, #333333 0%, #252525 100%); 7 background: -webkit-linear-gradient(top, #333333 0%, #252525 100%); 8 background: -o-linear-gradient(top, #333333 0%, #252525 100%); 9 background: -ms-linear-gradient(top, #333333 0%, #252525 100%); 10 background: linear-gradient(top, #333333 0%, #252525 100%); 11 11 border-radius:5px; 12 12 border:1px solid #555;
Note: See TracChangeset
for help on using the changeset viewer.