/[web]/planet/common/admin/administration.php
ViewVC logotype

Contents of /planet/common/admin/administration.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1619 - (show annotations) (download)
Mon Aug 13 10:45:23 2012 UTC (11 years, 8 months ago) by dams
File size: 1753 byte(s)
- Import moonmoon
- Create repo per langs

1 <?php
2
3 require_once dirname(__FILE__) . '/inc/auth.inc.php';
4 require_once dirname(__FILE__) . '/../app/app.php';
5
6 $opml = OpmlManager::load(dirname(__FILE__) . '/../custom/people.opml');
7 $opml_people = $opml->getPeople();
8 $page_id = 'admin-admin';
9 $header_extra = <<<"HTML"
10 <script>
11 window.onload = function(){
12 var formManage = document.getElementById('frmPurge');
13 formManage.onsubmit = function(){
14 return confirm("{$l10n->getString('Are you sure you want to purge the cache?')}");
15 }
16 }
17 </script>
18
19 HTML;
20
21 $page_content = <<<"FRAGMENT"
22
23 <div class="widget">
24 <h3>{$l10n->getString('Clear cache')}</h3>
25 <form action="purgecache.php" method="post" id="frmPurge">
26 <p><label>{$l10n->getString('Clear cache:')}</label><input type="submit" class="submit delete" name="purge" id="purge" value="{$l10n->getString('Clear')}" /></p>
27 <p class="help">{$l10n->getString('Clearing the cache will make moonmoon reload all feeds.')}</p>
28 </form>
29 </div>
30
31 <div class="widget">
32 <h3>{$l10n->getString('Change administrator password')}</h3>
33 <form action="changepassword.php" method="post" id="frmPassword">
34 <p><label for="password">{$l10n->getString('New password:')}</label> <input type="password" class="text" value="" name="password" id="password" size="20" /> <input type="submit" class="submit delete" name="changepwd" id="changepwd" value="{$l10n->getString('Change password')}" /></p>
35 </form>
36 </div>
37
38 FRAGMENT;
39
40 $footer_extra = '';
41 $admin_access = 1;
42 require_once dirname(__FILE__) . '/template.php';

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30