Projet

Général

Profil

Paste
Télécharger (2,08 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / adminimal_theme / templates / page--admin--appearance.tpl.php @ 87dbc3bf

1
<?php
2
/**
3
* @file
4
* Module page template. Only change is to warn if the theme is disabled.
5
*/
6
?>
7

    
8
<div id="branding" class="clearfix">
9

    
10
        <?php print $breadcrumb; ?>
11

    
12
        <?php print render($title_prefix); ?>
13

    
14
        <?php if ($title): ?>
15
                <h1 class="page-title"><?php print $title; ?></h1>
16
        <?php endif; ?>
17

    
18
        <?php print render($title_suffix); ?>
19

    
20
        <?php print render($primary_local_tasks); ?>
21

    
22
</div>
23

    
24
<div id="page">
25
        <?php if ($secondary_local_tasks): ?>
26
                <div class="tabs-secondary clearfix"><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul></div>
27
        <?php endif; ?>
28

    
29
        <?php
30
                // Get enabled themes.
31
                $active_themes = list_themes();
32

    
33
                // Check if adminimal is enabled.
34
                if ($active_themes['adminimal']->status == 0) {
35

    
36
                // Include the disabled message div.
37
                include 'adminimal-status-check.inc';
38
                }
39
        ?>
40

    
41
        <div id="content" class="clearfix">
42
                <div class="element-invisible"><a id="main-content"></a></div>
43

    
44
        <?php if ($messages): ?>
45
                <div id="console" class="clearfix"><?php print $messages; ?></div>
46
        <?php endif; ?>
47

    
48
        <?php if ($page['help']): ?>
49
                <div id="help">
50
                        <?php print render($page['help']); ?>
51
                </div>
52
        <?php endif; ?>
53

    
54
        <?php if (isset($page['content_before'])): ?>
55
                <div id="content-before">
56
                        <?php print render($page['content_before']); ?>
57
                </div>
58
        <?php endif; ?>
59

    
60
        <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
61

    
62
  <div id="content-wrapper">
63

    
64
    <?php if (isset($page['sidebar_left'])): ?>
65
      <div id="sidebar-left">
66
        <?php print render($page['sidebar_left']); ?>
67
      </div>
68
    <?php endif; ?>
69

    
70
    <div id="main-content">
71
      <?php print render($page['content']['system_main']); ?>
72
    </div>
73

    
74
    <?php if (isset($page['sidebar_right'])): ?>
75
      <div id="sidebar-right">
76
        <?php print render($page['sidebar_right']); ?>
77
      </div>
78
    <?php endif; ?>
79
  
80
  </div>
81

    
82
        <?php if (isset($page['content_after'])): ?>
83
                <div id="content-after">
84
                        <?php print render($page['content_after']); ?>
85
                </div>
86
        <?php endif; ?>
87

    
88
        </div>
89

    
90
        <div id="footer">
91
                <?php print $feed_icons; ?>
92
        </div>
93

    
94
</div>