コード例 #1
0
ファイル: themebar.php プロジェクト: vongalpha/resourcespace
            ?>
</div>
               
<div id="<?php 
            echo $header_name;
            ?>
" style="display:<?php 
            if ($smart_theme_display == 'off') {
                echo 'none';
            } else {
                echo '';
            }
            ?>
" >
                        <?php 
            $themes = get_smart_themes($headers[$n]["ref"], 0, true);
            for ($m = 0; $m < count($themes); $m++) {
                $s = $headers[$n]["name"] . ":" . $themes[$m]["name"];
                hook("themebartitlesubstitute");
                # Indent this item?
                $indent = str_pad("", $themes[$m]["indent"] * 5, " ") . ($themes[$m]["indent"] == 0 ? "" : "&#746;") . "&nbsp;";
                $indent = str_replace(" ", "&nbsp;", $indent);
                ?>
                                <br>

                                <?php 
                echo $indent;
                ?>
<a href="<?php 
                echo $baseurl;
                ?>
コード例 #2
0
ファイル: themes.php プロジェクト: vongalpha/resourcespace
			<tr class="ListviewBoxedTitleStyle">
			<td><?php 
            echo $lang["name"];
            ?>
</td>
			<?php 
            hook("beforecollectiontoolscolumnheader");
            ?>
			<td><div class="ListTools"><?php 
            echo $lang["tools"];
            ?>
</div></td>
			</tr>

			<?php 
            $themes = get_smart_themes($headers[$n]["ref"], $node);
            for ($m = 0; $m < count($themes); $m++) {
                $s = $headers[$n]["name"] . ":" . $themes[$m]["name"];
                # Indent this item?
                $indent = str_pad("", $themes[$m]["indent"] * 5, " ") . ($themes[$m]["indent"] == 0 ? "" : "&#746;") . "&nbsp;";
                $indent = str_replace(" ", "&nbsp;", $indent);
                ?>
				<tr>
				<td><div class="ListTitle"><?php 
                echo $indent;
                ?>
				<?php 
                if ($themes[$m]["children"] > 0 && $themes_category_navigate_levels) {
                    # Has children. Default action is to navigate to a deeper level.
                    ?>
					<a href="themes.php?smart_theme=<?php