Changeset 2515
- Timestamp:
- 05/24/09 13:54:40 (4 years ago)
- Location:
- alternc-awstats/branches/benjamin-bureaubleu
- Files:
-
- 11 edited
-
bureau/admin/aws_add.php (modified) (2 diffs)
-
bureau/admin/aws_del.php (modified) (1 diff)
-
bureau/admin/aws_edit.php (modified) (2 diffs)
-
bureau/admin/aws_list.php (modified) (4 diffs)
-
bureau/admin/aws_pass.php (modified) (3 diffs)
-
bureau/admin/aws_useradd.php (modified) (2 diffs)
-
bureau/admin/aws_userdel.php (modified) (1 diff)
-
bureau/admin/aws_users.php (modified) (4 diffs)
-
bureau/admin/menu_aws.php (modified) (1 diff)
-
bureau/locales/fr_FR/LC_MESSAGES/aws.po (modified) (3 diffs)
-
debian/changelog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_add.php
r2241 r2515 30 30 require_once("../class/config.php"); 31 31 32 $fields = array ( 33 "id" => array ("request", "integer", 0), 34 ); 35 getFields($fields); 36 32 37 if (!$id && !$quota->cancreate("aws")) { 33 38 $error=_("You cannot add any new statistics, your quota is over."); 34 39 } 35 40 36 include ("head.php");41 include_once("head.php"); 37 42 ?> 38 </head>39 <body>40 43 <h3><?php if (!$id) { __("New Statistics"); } else { __("Edit Statistics"); } ?></h3> 41 44 <?php … … 102 105 </table> 103 106 </form> 104 105 </body> 106 </html> 107 <?php include_once("foot.php"); ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_del.php
r1034 r2515 47 47 include("aws_list.php"); 48 48 exit(); 49 49 50 ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_edit.php
r1789 r2515 30 30 require_once("../class/config.php"); 31 31 32 $fields = array ( 33 "id" => array ("request", "integer", 0), 34 ); 35 getFields($fields); 36 32 37 if (!$id) { 33 38 $error=_("No Statistics selected!"); … … 44 49 $hostaliases=$r["hostaliases"]; 45 50 $public=$r["public"]; 51 46 52 include("aws_add.php"); 47 53 exit(); -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_list.php
r1051 r2515 29 29 */ 30 30 require_once("../class/config.php"); 31 include_once("head.php"); 31 32 32 33 $nosta=false; … … 36 37 } 37 38 38 include("head.php");39 39 ?> 40 </head>41 <body>42 40 <h3><?php __("Statistics List"); ?></h3> 43 41 <p> … … 69 67 <tr class="lst<?php echo $col; ?>"> 70 68 <td><input type="checkbox" class="inc" id="del_<?php echo $val["id"]; ?>" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /></td> 71 <td><a href="aws_edit.php?id=<?php echo $val["id"] ?>">< ?php __("Edit"); ?></a></td>69 <td><a href="aws_edit.php?id=<?php echo $val["id"] ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" title="<?php __("Edit"); ?>" /></a></td> 72 70 <td><label for="del_<?php echo $val["id"]; ?>"><?php echo $val["hostname"] ?></label></td> 73 71 <td><?php echo $val["users"] ?></td> … … 86 84 87 85 ?> 88 </body> 89 </html> 86 <?php include_once("foot.php"); ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_pass.php
r1781 r2515 30 30 require_once("../class/config.php"); 31 31 32 $fields = array ( 33 "login" => array ("request", "string", ""), 34 "pass" => array ("request", "string", ""), 35 ); 36 37 getFields($fields); 38 32 39 if (!$aws->login_exists($login)) { 33 40 $error=$err->errstr(); … … 41 48 } else { 42 49 include("aws_users.php"); 43 exit(); 50 exit(); 44 51 } 45 52 } 46 53 47 include("head.php"); 54 include_once("head.php"); 55 48 56 ?> 49 </head> 50 <body> 51 <h3><?php __("Change a user's password"); ?></h3 57 <h3><?php __("Change a user's password"); ?></h3> 52 58 <?php 53 59 if ($error) { … … 66 72 </table> 67 73 </form> 68 69 </body> 70 </html> 74 <?php include_once("foot.php"); ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_useradd.php
r1041 r2515 30 30 require_once("../class/config.php"); 31 31 32 $fields = array ( 33 "prefixe" => array ("request", "string", ""), 34 "login" => array ("request", "string", ""), 35 "pass" => array ("request", "string", ""), 36 ); 37 getFields($fields); 38 32 39 $r=$aws->add_login($prefixe.(($login)?"_":"").$login,$pass); 33 40 if (!$r) { … … 36 43 $error=_("The Awstat account has been successfully created"); 37 44 } 45 38 46 include("aws_users.php"); 39 47 exit(); 48 40 49 ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_userdel.php
r1042 r2515 40 40 $error.=$err->errstr()."<br />"; 41 41 } else { 42 $error.=sprintf(_("The awstat account %s has been successfully deleted"),$ r)."<br />";42 $error.=sprintf(_("The awstat account %s has been successfully deleted"),$val)."<br />"; 43 43 } 44 44 } 45 45 } 46 46 47 include("aws_users.php"); 47 48 exit(); 49 48 50 ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/aws_users.php
r1782 r2515 29 29 */ 30 30 require_once("../class/config.php"); 31 include_once("head.php"); 31 32 32 33 $nologin=false; … … 36 37 } 37 38 38 include("head.php");39 39 ?> 40 </head>41 <body>42 40 <h3><?php __("Awstats allowed user list"); ?></h3> 43 41 … … 59 57 ?> 60 58 <p class="error"><?php echo $error ?></p> 61 <?php } 59 <?php } 62 60 63 61 if (!$nologin) { … … 87 85 } 88 86 ?> 89 </body> 90 </html> 87 <?php include_once("foot.php"); ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/admin/menu_aws.php
r2137 r2515 30 30 31 31 /* ############# STATS ############# */ 32 $q=$quota->getquota("aws"); 33 $r=$quota->getquota("dom"); 34 if ($q["t"]>0 && $r["u"]>0) { 32 $q = $quota->getquota("aws"); 33 $r = $quota->getquota("dom"); 34 if (isset($q["t"]) && isset($r["u"]) && $q["t"] > 0 && $r["u"] > 0) { 35 35 36 ?> 36 <dt><?php __("Web Statistics"); ?></dt> 37 <dd><a href="aws_list.php"><?php __("Awstats"); ?></a></dd> 38 <?php } ?> 37 <div class="menu-box"> 38 <div class="menu-title"><img src="images/stat.png" alt="<?php __("Web Statistics"); ?>" /> <a href="aws_list.php"><?php __("Web Statistics"); ?></a> (<?= $q["u"]; ?>/<?= $q["t"]; ?>)</div> 39 </div> 40 <?php } ?> -
alternc-awstats/branches/benjamin-bureaubleu/bureau/locales/fr_FR/LC_MESSAGES/aws.po
r1788 r2515 9 9 "Report-Msgid-Bugs-To: i18n@alternc.org\n" 10 10 "POT-Creation-Date: 2006-05-09 18:16+0200\n" 11 "PO-Revision-Date: 200 2-06-1613:50CEST\n"11 "PO-Revision-Date: 2009-05-24 13:50CEST\n" 12 12 "Last-Translator: Benjamin Sonntag <benjamin@alternc.org>\n" 13 13 "Language-Team: French <i18n@alternc.org>\n" … … 99 99 100 100 #: admin/aws_pass.php:51 101 #, fuzzy102 101 msgid "Change a user's password" 103 msgstr "Changer le mot de passe "102 msgstr "Changer le mot de passe d'un utilisateur" 104 103 105 104 #: admin/aws_pass.php:61 admin/aws_users.php:47 admin/aws_users.php:69 … … 108 107 109 108 #: admin/aws_pass.php:64 110 #, fuzzy111 109 msgid "New Password" 112 msgstr " Mot de passe"110 msgstr "Nouveau Mot de passe" 113 111 114 112 #: admin/aws_pass.php:65 115 #, fuzzy116 113 msgid "Change this user's password" 117 msgstr "Changer le mot de passe "114 msgstr "Changer le mot de passe de cet utilisateur" 118 115 119 116 #: admin/aws_useradd.php:36 -
alternc-awstats/branches/benjamin-bureaubleu/debian/changelog
r2161 r2515 1 alternc-awstats (0.6) testing; urgency=low 2 3 * changing desktop color to blue :) 4 * misc security sanitizing patchs from alternc 0.9.10pre 5 6 -- Benjamin Sonntag <benjamin@sonntag.fr> Sat, 24 May 2009 13:38:00 +0200 7 1 8 alternc-awstats (0.5.2) testing; urgency=low 2 9
Note: See TracChangeset
for help on using the changeset viewer.
