1
0

grey_dragon support.

This commit is contained in:
rWatcher 2011-06-22 10:54:58 -04:00
parent 557cba9147
commit 28b2b1c44c
2 changed files with 32 additions and 12 deletions

View File

@ -1,13 +1,23 @@
<?php defined("SYSPATH") or die("No direct script access.") ?> <?php defined("SYSPATH") or die("No direct script access.") ?>
<? if (module::get_var("pages", "show_sidebar")) : ?> <? if (module::get_var("pages", "show_sidebar")) : ?>
<style type="text/css"> <style type="text/css">
#g-sidebar { <? if (module::get_var("gallery", "active_site_theme") == "greydragon") : ?>
display: none; #g-column-right {
} display: none;
#g-content { }
width: 950px; .g-page-block-content {
} width: 99%;
}
<? else: ?>
#g-sidebar {
display: none;
}
#g-content {
width: 950px;
}
<? endif ?>
</style> </style>
<? print module::get_var("gallery", "active_site_theme"); ?>
<? endif ?> <? endif ?>
<div class="g-page-block"> <div class="g-page-block">
<h1> <?= $title ?> </h1> <h1> <?= $title ?> </h1>

View File

@ -1,13 +1,23 @@
<?php defined("SYSPATH") or die("No direct script access.") ?> <?php defined("SYSPATH") or die("No direct script access.") ?>
<? if (module::get_var("pages", "show_sidebar")) : ?> <? if (module::get_var("pages", "show_sidebar")) : ?>
<style type="text/css"> <style type="text/css">
#g-sidebar { <? if (module::get_var("gallery", "active_site_theme") == "greydragon") : ?>
display: none; #g-column-right {
} display: none;
#g-content { }
width: 950px; .g-page-block-content {
} width: 99%;
}
<? else: ?>
#g-sidebar {
display: none;
}
#g-content {
width: 950px;
}
<? endif ?>
</style> </style>
<? print module::get_var("gallery", "active_site_theme"); ?>
<? endif ?> <? endif ?>
<div class="g-page-block"> <div class="g-page-block">
<h1> <?= $title ?> </h1> <h1> <?= $title ?> </h1>