Projet

Général

Profil

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

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

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
</div>
21

    
22
<div id="navigation">
23

    
24
  <?php if ($primary_local_tasks): ?>
25
    <?php print render($primary_local_tasks); ?>
26
  <?php endif; ?>
27

    
28
  <?php if ($secondary_local_tasks): ?>
29
    <div class="tabs-secondary clearfix"><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul></div>
30
  <?php endif; ?>
31

    
32
</div>
33

    
34
<div id="page">
35

    
36
        <?php
37
                // Get enabled themes.
38
                $active_themes = list_themes();
39

    
40
                // Check if adminimal is enabled.
41
                if ($active_themes['adminimal']->status == 0) {
42

    
43
                // Include the disabled message div.
44
                include 'adminimal-status-check.inc';
45
                }
46
        ?>
47

    
48
        <div id="content" class="clearfix">
49
                <div class="element-invisible"><a id="main-content"></a></div>
50

    
51
        <?php if ($messages): ?>
52
                <div id="console" class="clearfix"><?php print $messages; ?></div>
53
        <?php endif; ?>
54

    
55
        <?php if ($page['help']): ?>
56
                <div id="help">
57
                        <?php print render($page['help']); ?>
58
                </div>
59
        <?php endif; ?>
60

    
61
        <?php if (isset($page['content_before'])): ?>
62
                <div id="content-before">
63
                        <?php print render($page['content_before']); ?>
64
                </div>
65
        <?php endif; ?>
66

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

    
69
  <div id="content-wrapper">
70

    
71
    <?php if (isset($page['sidebar_left'])): ?>
72
      <div id="sidebar-left">
73
        <?php print render($page['sidebar_left']); ?>
74
      </div>
75
    <?php endif; ?>
76

    
77
    <div id="main-content">
78
      <?php print render($page['content']); ?>
79
    </div>
80

    
81
    <?php if (isset($page['sidebar_right'])): ?>
82
      <div id="sidebar-right">
83
        <?php print render($page['sidebar_right']); ?>
84
      </div>
85
    <?php endif; ?>
86
  
87
  </div>
88

    
89
        <?php if (isset($page['content_after'])): ?>
90
                <div id="content-after">
91
                        <?php print render($page['content_after']); ?>
92
                </div>
93
        <?php endif; ?>
94

    
95
        </div>
96

    
97
        <div id="footer">
98
                <?php print $feed_icons; ?>
99
        </div>
100

    
101
</div>