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 000000000..0e26ec6e2 Binary files /dev/null and b/code/web/app/app_achievements_admin/favicon.png differ diff --git a/code/web/app/app_achievements_admin/index.php b/code/web/app/app_achievements_admin/index.php new file mode 100644 index 000000000..d228a16e0 --- /dev/null +++ b/code/web/app/app_achievements_admin/index.php @@ -0,0 +1,37 @@ +isIG()) { + 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