Add template variable ur_jid_host

master3.3
Самоукин Алексей 14 years ago
parent 5e5ee8a754
commit a57bd2848f

@ -216,3 +216,10 @@ class fillVars(glob_attr):
else:
return "vesa"
def get_ur_jid_host(self):
"""Host Jabber пользователя"""
userJid = self.Get("ur_jid")
if userJid:
return userJid.partition('@')[2]
return ""

@ -50,7 +50,7 @@ class Data:
# Почтовый адрес пользователя
ur_mail = {'mode':"r"}
#Разрешение X по вертикали
hr_x11_height = {'mode':"w"}
@ -72,4 +72,7 @@ class Data:
# Включен ли композитный режим видеокарты on/off
hr_x11_composite = {}
# Host Jabber пользователя
ur_jid_host = {'mode':"w"}

Loading…
Cancel
Save