blob: 8b3cede31b840cb177656a2e049bbc3564144755 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
 | <? defined("SYSPATH") or die("No direct script access."); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tranisitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>G3: Admin Dashboard</title>
    <link rel="stylesheet" href="<?= url::file("lib/yui/reset-fonts-grids.css") ?>" type="text/css" media="screen,projection">
    <link rel="stylesheet" href="<?= $theme->url("css/screen.css") ?>" type="text/css" media="screen,projection">
    <script src="<?= url::file("lib/jquery.js") ?>"></script>
    <script src="<?= url::file("lib/jquery-ui.packed.js") ?>"></script>
    <link rel="stylesheet" href="<?= $theme->url("jquery/superfish.css") ?>" type="text/css" media="screen,projection">
    <link rel="stylesheet" href="<?= $theme->url("jquery/superfish-navbar.css") ?>" type="text/css" media="screen,projection">
    <script src="<?= $theme->url("jquery/superfish.js") ?>"></script>
    <script type="text/javascript">
      $(document).ready(function(){
        $("ul.sf-menu").superfish({
          pathClass:  'current'
        });
        $("#gSiteAdminMenu li a").click(function(event) {
          $("#gContent").load(this.href);
          return false;
        });
      });
    </script>
    <style type="text/css">
      #gSiteAdminMenu {
      clear: both;
      font-size: 1.2em;
      margin: 0 20px;
      }
      #gContent {
        font-size: 1.1em;
      }
      .gBlock {
        border: 1px solid #e7e7e7;
        margin-bottom: 1em;
        padding: .4em;
      }
      .gBlock h2 {
        background-color: #e7e7e7;
        margin: -.4em;
        padding: .2em .6em;
        background: #f4f4f4 url('<?= $theme->url("images/ico-draggable.png") ?>') no-repeat center right;
        cursor: move;
      }
      .gClose {
        background-color: #f1f1f1;
        border: 1px solid #ccc;
        color: #ccc;
        display: block;
        float: right;
        padding: .1em .2em;
      }
      a.gClose:hover {
        border-color: #999;
        color: #999;
        text-decoration: none;
      }
      #gPhotoStream .gBlockContent {
        overflow: scroll;
      }
    </style>
  </head>
  <body>
    <div id="doc4" class="yui-t5 gView">
      <div id="hd">
        <div id="gHeader">
          <ul id="gLoginMenu">
            <li><?= html::anchor("albums/1", "Browse Gallery") ?></li>
            <li id="gLogoutLink"><a href="<?= url::site("logout?continue=albums/1") ?>">Logout</a></li>
          </ul>
          <img src="<?= $theme->url("images/logo.png") ?>" id="gLogo" alt="Gallery 3: Your Photos on Your Web Site" />
          <ul id="gSiteAdminMenu" class="sf-menu sf-navbar">
            <li id="dashboard">
              <a href="<?= url::site("admin/dashboard") ?>">Dashboard</a>
              <li>
            <li><a href="#">General Settings</a><li>
            <li class="current"><a href="#">Content</a>
              <ul>
                <li><a href="#">Comments</a>
                  <ul>
                    <li><a href="#">Comment moderation</a></li>
                  </ul>
                </li>
                <li><a href="#">Tags</a><li>
              </ul>
            </li>
            <li><a href=#>Modules</a></li>
            <li><a href=#>Presentation</a>
              <ul>
                <li><a href="#">Themes</a></li>
                <li><a href="#">Image sizes</a><li>
              </ul>
            </li>
            <li><a href="#">Users/Groups</a>
              <ul>
                <li><a href="<?= url::site("admin/users") ?>">List Users</a></li>
                <li><a href="#">Create new user</a><li>
                <li><a href="#">Edit Profile</a></li>
              </ul>
            </li>
            <li><a href="#">Maintenance</a><li>
            <li><a href="#">Statistics</a><li>
          </ul>
          <!--ul id="gBreadcrumbs" class="gClearFix">
            <li><a href="#">Dashboard</a></li>
          </ul-->
        </div>
      </div>
      <div id="bd">
        <div id="yui-main">
          <div class="yui-b">
            <div id="gContent" class="yui-g">
              <?= $content ?>
            </div>
          </div>
        </div>
        <div id="gSidebar" class="yui-b">
          <div id="gAvailableBlocks" class="gBlock">
            <a href="" class="gClose">X</a>
            <form class="gBlockContent">
              <fieldset>
                <legend>Add Dashboard Blocks</legend>
                <label for="">Available blocks</label>
                <select name="" id="">
                  <option>Somthing</option>
                  <option>Somthing else</option>
                </select>
              </fieldset>
            </form>
          </div>
          <div id="gPlatform" class="gBlock">
            <a href="" class="gClose">X</a>
            <h2>Gallery Stats</h2>
            <ul class="gBlockContent">
              <li>Version: 3.0</li>
              <li>Your gallery has 34 albums containing 603 photos with 26 comments.</li>
            </ul>
          </div>
          <div id="gPlatform" class="gBlock">
            <a href="" class="gClose">X</a>
            <h2>Platform Information</h2>
            <ul class="gBlockContent">
              <li>Platform
                <ul>
                  <li>Apache 2.0.24
                    <ul>
                      <li>mod_rewrite: active</li>
                    </ul>
                  </li>
                  <li>PHP 5.2.8
                    <ul>
                      <li>Memory: 32MB</li>
                      <li></li>
                      <li></li>
                    </ul>
                  </li>
                  <li>MySQL 5.0.1</li>
                  <li>Graphics Toolkits
                    <ul>
                      <li>ImageMagick 1.6</li>
                      <li>GD</li>
                      <li>FFMPEG</li>
                    </ul>
                  </li>
                </ul>
              </li>
            </ul>
            <p class="gWarning">^ Display as a tree widget</p>
          </div>
          <div id="gProjectNews" class="gBlock">
            <a href="" class="gClose">X</a>
            <h2>Gallery Project News</h2>
            <ul class="gBlockContent">
              <li>10-Apr <a href="#">Gallery 3.1 released!</a></li>
              <li>26-Feb <a href="#">New theme tutorials now available</a></li>
              <li>4-Feb <a href="#">Gallery 3.0 released!</a></li>
            </ul>
          </div>
        </div>
      </div>
      <div id="ft">
        <div id="gFooter">
          Footer
        </div>
      </div>
    </div>
  </body>
</html>
 |