diff options
| -rw-r--r-- | admin/admin_themes_manager.php | 2 | ||||
| -rw-r--r-- | admin/schema_inc.php | 4 | ||||
| -rw-r--r-- | base.css | 9 | ||||
| -rw-r--r-- | templates/admin_content_templates.tpl | 6 | ||||
| -rw-r--r-- | templates/admin_themes_manager.tpl | 4 | ||||
| -rw-r--r-- | templates/header_inc.tpl | 36 |
6 files changed, 51 insertions, 10 deletions
diff --git a/admin/admin_themes_manager.php b/admin/admin_themes_manager.php index a3545cf..4be4168 100644 --- a/admin/admin_themes_manager.php +++ b/admin/admin_themes_manager.php @@ -58,5 +58,5 @@ $biticon_display_options = array( ); $smarty->assign( "biticon_display_options", $biticon_display_options ); -$gBitSystem->display( 'bitpackage:themes/admin_themes_manager.tpl'); +$gBitSystem->display( 'bitpackage:themes/admin_themes_manager.tpl', 'Themes Manager' ); ?> diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 5c6595e..8ca2402 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -28,7 +28,7 @@ $tables = array( global $gBitInstaller; foreach( array_keys( $tables ) AS $tableName ) { - $gBitInstaller->registerSchemaTable( THEMES_PKG_DIR, $tableName, $tables[$tableName], TRUE ); + $gBitInstaller->registerSchemaTable( THEMES_PKG_NAME, $tableName, $tables[$tableName], TRUE ); } @@ -40,6 +40,6 @@ $gBitInstaller->registerPackageInfo( THEMES_PKG_NAME, array( 'dependencies' => '', ) ); -$gBitInstaller->registerSchemaTable( THEMES_PKG_DIR, '', '', TRUE ); +$gBitInstaller->registerSchemaTable( THEMES_PKG_NAME, '', '', TRUE ); ?> @@ -1,4 +1,4 @@ -/* $Header: /cvsroot/bitweaver/_bit_themes/Attic/base.css,v 1.2 2005/06/28 07:46:00 spiderr Exp $ */ +/* $Header: /cvsroot/bitweaver/_bit_themes/Attic/base.css,v 1.3 2005/07/17 17:36:18 squareing Exp $ */ /* essential and basic css settings */ body {background:#fff; margin:0; padding:0;} table {border-collapse:collapse; border-spacing:0; padding:0; margin:0; width:100%;} @@ -55,6 +55,9 @@ textarea {width:100%;} .prio5 {background:#fdc !important;} /* annoyances and grievances */ .module textarea {width:auto;} +.comment .content {overflow:auto;} +#bitleft .shoutbox,#bitright .shoutbox {width:160px; overflow:hidden;} +html>body #bitleft .shoutbox,html>body #bitright .shoutbox {width:auto;} /* tabs */ .tabsystem .tabcontainer {margin:0; padding:0; border:0; clear:both;} .tabsystem .tabcontainer ul,.tabsystem .tabcontainer li {margin:0; padding:0; border:0; list-style-type:none; display:inline;} @@ -75,6 +78,8 @@ ul.data li.item {list-style:none; margin:0; padding:0;} ul.data li.item .thumb {float:right;} li.error,li.success,li.note,li.warning {list-style:none;} ul.toc li {list-style:none;} +li.treenode {list-style:none; clear:both; border-top:1px solid #999;} +ul.tree {margin:0;padding-left:20px;} /* css driven dropdown menus - horizontal */ #nav,#nav a,#nav li,#nav ul {z-index:10000000;} @@ -116,4 +121,4 @@ a.external {background:transparent url("icons/external_link.png") no-repeat righ /* prob. doesn't belong here...*/ .stickies textarea,.stickies input[type='text'] {background:#ffc;} .stickynote .boxtitle {border-bottom: 1px solid #dda;} -.stickynote {background-color:#ffc; color:#000; width: 300px; padding: 3px;} +.stickynote {background-color:#ffc; width:300px; padding:3px;} diff --git a/templates/admin_content_templates.tpl b/templates/admin_content_templates.tpl index 19e47e8..75c4cd0 100644 --- a/templates/admin_content_templates.tpl +++ b/templates/admin_content_templates.tpl @@ -23,19 +23,19 @@ {tr}name{/tr}:
<input type="text" maxlength="255" size="40" name="name" value="{$info.name|escape}" />
</div>
- {if $gBitSystemPrefs.feature_cms_templates eq 'y'}
+ {if $gBitSystem->isFeatureActive( 'feature_cms_templates' )}
<div class="row">
{tr}use in cms{/tr}:
<input type="checkbox" name="section_cms" {if $info.section_cms eq 'y'}checked="checked"{/if} />
</div>
{/if}
- {if $gBitSystemPrefs.feature_wiki_templates eq 'y'}
+ {if $gBitSystem->isFeatureActive( 'feature_wiki_templates' )}
<div class="row">
{tr}use in wiki{/tr}:
<input type="checkbox" name="section_wiki" {if $info.section_wiki eq 'y'}checked="checked"{/if} />
</div>
{/if}
- {if $gBitSystemPrefs.feature_newsletters eq 'y'}
+ {if $gBitSystem->isFeatureActive( 'feature_newsletters' )}
<div class="row">
{tr}use in newsletters{/tr}:
<input type="checkbox" name="section_newsletters" {if $info.section_newsletters eq 'y'}checked="checked"{/if} />
diff --git a/templates/admin_themes_manager.tpl b/templates/admin_themes_manager.tpl index 7e7e4a0..7faedc5 100644 --- a/templates/admin_themes_manager.tpl +++ b/templates/admin_themes_manager.tpl @@ -57,7 +57,7 @@ <div class="row"> {formlabel label="Disable Javascript Tabs" for="disable_jstabs"} {forminput} - <input type="checkbox" name="disable_jstabs" value='y' id="disable_jstabs"{if $gBitSystemPrefs.disable_jstabs eq 'y'} checked="checked"{/if} /> + <input type="checkbox" name="disable_jstabs" value='y' id="disable_jstabs"{if $gBitSystem->isFeatureActive( 'disable_jstabs' )} checked="checked"{/if} /> {formhelp note="If you have difficulties with the javascript tabs, of you don't like them, you can disable them here."} {/forminput} </div> @@ -68,7 +68,7 @@ {/form} {/jstab} - {if $gBitSystemPrefs.package_stylist eq 'y' and $gBitUser->hasPermission( 'bit_p_use_stylist' )} + {if $gBitSystem->isPackageActive( 'stylist' ) and $gBitUser->hasPermission( 'bit_p_use_stylist' )} {jstab title="Edit Theme"} {form legend="Edit Theme" ipackage="stylist" ifile="index.php"} <div class="row"> diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl new file mode 100644 index 0000000..3ed15ec --- /dev/null +++ b/templates/header_inc.tpl @@ -0,0 +1,36 @@ +{* $Header: /cvsroot/bitweaver/_bit_themes/templates/header_inc.tpl,v 1.2 2005/07/17 17:36:43 squareing Exp $ *} +{strip} +{if $gBitLoc.styleSheet} + <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitLoc.styleSheet}" media="all" /> +{/if} +{if $gBitLoc.browserStyleSheet} + <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitLoc.browserStyleSheet}" media="all" /> +{/if} +{if $gBitLoc.customStyleSheet} + <link rel="stylesheet" title="{$style}" type="text/css" href="{$gBitLoc.custumStyleSheet}" media="all" /> +{/if} +{foreach from=$gBitLoc.altStyleSheets item=alt_path key=alt_name} + <link rel="alternate stylesheet" title="{$alt_name}" type="text/css" href="{$alt_path}" media="screen" /> +{/foreach} + +{if $gBitSystemPrefs.disable_jstabs ne 'y'} + <script type="text/javascript" src="{$gBitLoc.THEMES_PKG_URL}js/tabs/tabpane.js"></script> +{/if} +{/strip} + +{if $gBitLoc.browser.client eq 'ie'} + <!-- this wierdness fixes png display and CSS driven dropdown menus in GUESS WHAT BROWSER --> + <!--[if gte IE 5.5000]> + <script type="text/javascript" src="{$gBitLoc.THEMES_PKG_URL}js/pngfix.js"></script> + <![endif]--> + <!--[if gte IE 5.0]> + <script type="text/javascript"> + var nexusMenus = new Array(1) + nexusMenus[0] = 'nav' + {if $hoverfix} + {include file=$hoverfix} + {/if} + </script> + <script type="text/javascript" src="{$gBitLoc.THEMES_PKG_URL}js/hoverfix.js"></script> + <![endif]--> +{/if} |
