From c37c08ef53f937ecddbc26055071f2ddd7af5160 Mon Sep 17 00:00:00 2001 From: SirCotare Date: Mon, 11 Jun 2012 18:53:04 +0200 Subject: [PATCH] #1470 achievement admin initial --HG-- branch : gsoc2012-achievements --- code/web/app/app_achievements_admin/conf.php | 13 +++ .../app/app_achievements_admin/favicon.png | Bin 0 -> 1469 bytes code/web/app/app_achievements_admin/index.php | 37 ++++++++ code/web/app/app_achievements_admin/lang.php | 88 ++++++++++++++++++ 4 files changed, 138 insertions(+) create mode 100644 code/web/app/app_achievements_admin/conf.php create mode 100644 code/web/app/app_achievements_admin/favicon.png create mode 100644 code/web/app/app_achievements_admin/index.php create mode 100644 code/web/app/app_achievements_admin/lang.php diff --git a/code/web/app/app_achievements_admin/conf.php b/code/web/app/app_achievements_admin/conf.php new file mode 100644 index 000000000..e4e3a504e --- /dev/null +++ b/code/web/app/app_achievements_admin/conf.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/code/web/app/app_achievements_admin/favicon.png b/code/web/app/app_achievements_admin/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..0e26ec6e2ee65441d57a14ae4526fef44a7b91be GIT binary patch literal 1469 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dy%*9TgAsieWw;%dHU|?Vh4e$wZ z{r~?zP=+A*aj50Pp8AhF8{Y3IeYUCY?&iuDYqCD9NV&hd?9sC9TPsTLEX{tfF!R#V zf;$WH@6OM-xG?M1oP=w$vu@9fx-={H%*?b4Gm5o0u6|t{7ZfAGw@s7a#oe{e`@+8Vf{EplIT$fmZ0?TvxE z8-jN>gs*9eK2YVexz>MMmB+yfm$lXYyDGeQlm~7qcVAKAx2(#0Z;}17GOy)jert=| zR~ET%DsWj;;nPs~$%WZ0&=lm?Y6=@E$vuszT zIWJDPo0RD~HN$akvfZRqmpMuHlTvINGCXG_xb-I4O^LPbkM-z`cbO4s(G_dk8e`EG z?a>`+IXlFxH_Wg$(sF8`K~bb5MUt_ckGX2NskE1wrkjbOtErZoiL$M+zP+)Amw}v% zp@O-dy03<)nU0#VwzjUWhP{TkshYTqrm2ytw1%3xuBwuvhMtv@fS$6Pf{MDdvW}X( zl$M-`f`Yt}w1BLE1d&!*VE;F{4V%dE{HRGpo(m5D!5f-!unR4XD+~0>5q*TY*-j@)yHr;nm$I~$J_^Fqt1-K+6uC24nII#T1 zLmAPjsljuXs|ZNVN)T;a!@x1?sOlM^Ro<7bo_(Cc+F~-vY0d?aGoK0r{Iow8eO@zb ziSF|W8+HiZZE*Ren@dj%B0Q?`_Adt=Bs8c`B^Pj=CL&tayeQOH!J%J8zOxc=o~uMqILGjxz-a=K64_9<@nj1 mgtgVvo;^)C_|!6lfnoNKH!VeTUp@z>3IisIG()) { + die("IG disabled for admin tool!"); +} + +$DBc = ryDB::getInstance("app_achievements"); + + +echo ryzom_app_render("achievements admin", $c, $_USER->isIG()); + +?> diff --git a/code/web/app/app_achievements_admin/lang.php b/code/web/app/app_achievements_admin/lang.php new file mode 100644 index 000000000..262fceba6 --- /dev/null +++ b/code/web/app/app_achievements_admin/lang.php @@ -0,0 +1,88 @@ + + array ( + 'en' => 'Summary', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_summary_header' => + array ( + 'en' => 'Recent Achievements', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_summary_stats' => + array ( + 'en' => 'Statistics', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_summary_stats_total' => + array ( + 'en' => 'Total', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_c_neutral' => + array ( + 'en' => 'neutral', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_allegiance_neutral_cult' => + array ( + 'en' => 'While being of %s allegiance with the higher powers', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_allegiance_neutral_civ' => + array ( + 'en' => 'While being of %s allegiance with the homin civilizations', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_allegiance_neutral' => + array ( + 'en' => 'While being of %s allegiance', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_allegiance_start' => + array ( + 'en' => 'While being aligned with the ', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_allegiance_and' => + array ( + 'en' => ' and the ', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), + 'ach_allegiance_end' => + array ( + 'en' => ', accomplish the following achievements:', + 'fr' => '', + 'de' => '', + 'ru' => '', + ), +); + + +if(isset($ryzom_texts)) + $ryzom_texts = array_merge ($__texts, $ryzom_texts); +else + $ryzom_texts = $__texts; +?> \ No newline at end of file