Changeset 17495


Ignore:
Timestamp:
Aug 9, 2012, 4:41:31 PM (8 years ago)
Author:
mistic100
Message:

better integration in simple and stripped

Location:
extensions/GuestBook
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/include/functions.inc.php

    r15940 r17495  
    3030  }
    3131  else
    32   if (1)
    3332  {
    3433    $regex = '#^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$#i';
  • extensions/GuestBook/template/guestbook.tpl

    r17317 r17495  
    1111{/if}
    1212
    13 {$MENUBAR}
    14 
    1513{footer_script}
    1614jQuery("#expandForm").click(function() {ldelim}
     
    2119{/footer_script}
    2220
    23 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
    2421
    25 <div class="titrePage">
    26         <ul class="categoryActions">
    27     {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
    28         </ul>
    29 
    30   <h2>{'GuestBook'|@translate}</h2>
    31 </div>{* <!-- titrePage --> *}
     22{* <!-- Menubar & titrePage --> *}
     23{if $themeconf.name == "stripped" or $themeconf.parent == "stripped"}
     24  {include file=$ABS_GUESTBOOK_PATH|@cat:'template/themes/stripped.tpl'}
     25  {assign var="clear" value="true"}
     26{elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"}
     27  {include file=$ABS_GUESTBOOK_PATH|@cat:'template/themes/simple.tpl'}
     28  {assign var="clear" value="true"}
     29{else}
     30  {include file=$ABS_GUESTBOOK_PATH|@cat:'template/themes/default.tpl'}
     31{/if}
    3232
    3333{if isset($errors) or not empty($infos)}
    3434{include file='infos_errors.tpl'}
    3535{/if}
     36
    3637
    3738{if isset($comment_add)}
     
    8788{/if}
    8889
    89 
     90{if $clear}<div style="clear: both;"></div>
     91</div>{/if}
    9092</div>{* <!-- content --> *}
  • extensions/GuestBook/template/style.css

    r15948 r17495  
    4949  padding:0;
    5050  list-style:none;
     51  text-align:left;
    5152}
    5253  .commentElement .description {
Note: See TracChangeset for help on using the changeset viewer.