added locale_string class
This commit is contained in:
parent
af4e20fe96
commit
d26589f2d9
@ -30,4 +30,8 @@ class PageApi extends \SYSTEM\PAGE\PageClass {
|
||||
return new contact();
|
||||
}
|
||||
|
||||
public static function action_pic(){
|
||||
return new pic();
|
||||
}
|
||||
|
||||
}
|
||||
@ -48,7 +48,7 @@
|
||||
${danube_page_headpic_home}
|
||||
</div>
|
||||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
|
||||
<a class="right carousel-control" href="#" url="?action=prices" url_pic)data-slide="next">›</a>
|
||||
<a class="right carousel-control" href="#" url="?action=pic" url_pic="")data-slide="next">›</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
11
danube/page/pic/pic.php
Normal file
11
danube/page/pic/pic.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
class prices extends SYSTEM\PAGE\Page {
|
||||
public function html(){
|
||||
$vars = array();
|
||||
|
||||
$vars = array_merge($vars, SYSTEM\locale::getStrings(\SYSTEM\DBD\locale_string::VALUE_CATEGORY_DASENSE));
|
||||
|
||||
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'prices/prices.tpl'), $vars);
|
||||
}
|
||||
}
|
||||
7
danube/page/pic/pic.tpl
Normal file
7
danube/page/pic/pic.tpl
Normal file
@ -0,0 +1,7 @@
|
||||
<div style="float: right; width: 58%;">
|
||||
${danube_page_offers}
|
||||
</div>
|
||||
<div style="width: 38%; border-right: 1px dotted grey; padding-right: 15px; padding-top: 10px;">
|
||||
${danube_page_prices}
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
31
dbd/tbl/locale_string.php
Normal file
31
dbd/tbl/locale_string.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace DBD;
|
||||
|
||||
class locale_string extends \SYSTEM\DBD\locale_string {
|
||||
|
||||
const VALUE_CATEGORY_DASENSE = 100;
|
||||
const VALUE_CATEGORY_DASENSE_DEFAULTPAGE = 110;
|
||||
const VALUE_CATEGORY_DASENSE_GEOPOINT = 111;
|
||||
const VALUE_CATEGORY_DASENSE_IMPRESSUM = 112;
|
||||
const VALUE_CATEGORY_DASENSE_PROJECT = 113;
|
||||
const VALUE_CATEGORY_DASENSE_SENSOR = 114;
|
||||
const VALUE_CATEGORY_DASENSE_USERLOGIN = 115;
|
||||
const VALUE_CATEGORY_DASENSE_USERLOGOUT = 116;
|
||||
const VALUE_CATEGORY_DASENSE_USER = 117;
|
||||
const VALUE_CATEGORY_DASENSE_PRESS = 118;
|
||||
const VALUE_CATEGORY_DASENSE_CONTACT = 119;
|
||||
const VALUE_CATEGORY_DASENSE_USERSTATISTICS = 120;
|
||||
const VALUE_CATEGORY_DASENSE_HIGHSCORE = 121;
|
||||
const VALUE_CATEGORY_DASENSE_DEVS = 122;
|
||||
|
||||
const VALUE_CATEGORY_DB_ADMIN_LEVEL = 200;
|
||||
const VALUE_CATEGORY_DB_BADGE_CATEGORY = 201;
|
||||
const VALUE_CATEGORY_DB_BADGE = 202;
|
||||
const VALUE_CATEGORY_DB_TITLE = 203;
|
||||
const VALUE_CATEGORY_DB_LOCALITY = 204;
|
||||
|
||||
const VALUE_CATEGORY_APP_ALL = 300;
|
||||
const VALUE_CATEGORY_APP_ANDROID = 301;
|
||||
const VALUE_CATEGORY_APP_IOS = 302;
|
||||
}
|
||||
Reference in New Issue
Block a user