ZEXP((U OFS.FolderqUFolderqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU_objectsq (}q (U meta_typeq U DTML Methodq UidqUavalehtqu}q(h UScript (Python)qhUkustutusSkriptqu}q(h h hU kustutusvormqu}q(h hhU muutmisSkriptqu}q(h h hU muutmislehtqu}q(h h hU muutmisvormqu}q(h hhU otsiKirjedqu}q(h h hU otsinguvormqu}q(h h hUstyleq u}q!(h hhU leidmisSkriptq"u}q#(U meta_typeq$U DTML Methodq%Uidq&U kustutuslehtq'u}q((h$UScript (Python)q)h&U lisamisSkriptq*u}q+(h$h%h&U lisamislehtq,u}q-(h$h%h&U lisamisvormq.u}q/(h$h%h&U vaatamislehtq0u}q1(h$h%h&U vaatamisvormq2u}q3(U meta_typeq4UFileq5Uidq6Uplaan2q7u}q8(h4h5h6Uplaan3q9u}q:(U meta_typeq;UFilequ}q?(U meta_typeq@UFileqAUidqBUplaan6qCuth2(UqD(UOFS.DTMLMethodqEU DTMLMethodqFttQU _propertiesqG(}qH(h&UtitleqIUmodeqJUwUtypeqKUstringqLu}qM(h&UloendurqNhKUintqOutU muutmisvormqP(UqQ(hEU DTMLMethodqRttQU otsiKirjedqS(UqT(U#Products.PythonScripts.PythonScriptqUU PythonScriptqVttQh>(UqW(U OFS.ImageqXUFileqYttQhC(UqZ(hXUFileq[ttQh9(Uq\(hXUFileq]ttQh(Uq^(hEU DTMLMethodq_ttQUtitleq`UU muutmisSkriptqa(Uqb(hUU PythonScriptqcttQh7(Uqd(hXUFileqettQhNKh,(Uqf(hEU DTMLMethodqgttQh'(Uqh(hEU DTMLMethodqittQhUarvestusqjh.(Uqk(hEU DTMLMethodqlttQh"(Uqm(hUU PythonScriptqnttQUstyleqo(Uqp(hEU DTMLMethodqqttQU vaatamislehtqr(Uqs(hEU DTMLMethodqtttQh(Uqu(hEU DTMLMethodqvttQU lisamisSkriptqw(Uqx(hUU PythonScriptqyttQUavalehtqz(Uq{(hEU DTMLMethodq|ttQUkustutusSkriptq}(Uq~(hUU PythonScriptqttQh(Uq(hEU DTMLMethodqttQu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U vaatamisvormq Utitleq UUglobalsq }qUrawqTI

tunniplaan


lisa

vaata hte gruppi

grupp

aine

ruum

algus

kestus


TAGASI
qU_varsq}qu. ((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U muutmisvormq Utitleq UUglobalsq }qUrawqT^

tunniplaan

<>
grupp: " />
aine: " />
ruum: " />
algus: " />
kestus: " />
qU_varsq}qu.K((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (Utunnusq Usisuq U _getattr_q U_getattrq U containerqUmUtUxUgetattrqtU co_argcountqKubU_paramsqU tunnus, sisuqUidqU otsiKirjedqU__ac_local_roles__q}qUadminq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}q(Uname_containerq hU name_subpathq!Utraverse_subpathq"U name_m_selfq#Uscriptq$U name_contextq%Ucontextq&usbU func_defaultsq'NU_codeq(TScsdZdS(Nc st}|tdd}g}xO|drB}|t||d|o||d|nq3W|SdS(Ns objectValuessFileis startswithsappend( s _getattr_s_getattrs containersmstsxsgetattrstunnusssisu( stunnusssisus _getattr_s_getattrs containersmstsxsgetattr((sScript (Python)s otsiKirjeds  "(s otsiKirjed(s otsiKirjed((sScript (Python)ssq)U_bodyq*Uum=container.objectValues('File') t=[] for x in m: if getattr(x, tunnus).startswith(sisu): t.append(x) return t q+U Script_magicq,KUwarningsq-)Uerrorsq.)U Python_magicq/U* q0u.((U OFS.ImageqUFileqtqNt.}q(UsizeqKUruumqU3-IIIqUdataqUU_EtagSupport__etagq U ts73470078.72q U__name__q Uplaan5q U _propertiesq (}q(UidqUtitleqUtypeqUstringqu}q(hU content_typeqhhu}q(hUgruppqhhu}q(hUaineqhhu}q(hhhhu}q(hUalgusqhhu}q(hUkestusqhhuthUtext/x-unknown-content-typeqhU45qhUkeemiaq U__ac_local_roles__q!}q"Uadminq#]q$UOwnerq%ashU12.00q&hUhUAU preconditionq'Uu.((U OFS.ImageqUFileqtqNt.}q(UsizeqKUruumqU1-IqUdataqUU_EtagSupport__etagq U ts73475237.71q U__name__q Uplaan6q U _propertiesq (}q(UidqUtitleqUtypeqUstringqu}q(hU content_typeqhhu}q(hUgruppqhhu}q(hUaineqhhu}q(hhhhu}q(hUalgusqhhu}q(hUkestusqhhuthUtext/x-unknown-content-typeqhU90qhUmuusikaq U__ac_local_roles__q!}q"Uadminq#]q$UOwnerq%ashU10.00q&hUhUCU preconditionq'Uu.((U OFS.ImageqUFileqtqNt.}q(UsizeqKUruumqU2-IIIqUdataqUU_EtagSupport__etagq U ts73466192.47q U__name__q Uplaan3q U _propertiesq (}q(UidqUtitleqUtypeqUstringqu}q(hU content_typeqhhu}q(hUgruppqhhu}q(hUaineqhhu}q(hhhhu}q(hUalgusqhhu}q(hUkestusqhhuthUtext/x-unknown-content-typeqhU45qhUfsikaq U__ac_local_roles__q!}q"Uadminq#]q$UOwnerq%ashU8.00q&hUhUBU preconditionq'Uu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U kustutusvormq Utitleq UUglobalsq }qUrawqT/

tunniplaan



TAGASIqU_varsq}qu.((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U kirjenimiq Ugruppq Uaineq Uruumq UalgusqUkestusqU _getattr_qU_getattrqUgetattrqUcontextqUdocqtqU co_argcountqKubU_paramsqU+kirjenimi, grupp, aine, ruum, algus, kestusqUidqU muutmisSkriptqU__ac_local_roles__q}qUadminq]qUOwnerqasU _bind_namesq (cShared.DC.Scripts.Bindings NameAssignments q!oq"}q#U_asgnsq$}q%(Uname_containerq&U containerq'U name_subpathq(Utraverse_subpathq)U name_contextq*Ucontextq+U name_m_selfq,Uscriptq-usbU func_defaultsq.NU_codeq/TAcsdZdS(s Muutmine c st}dtt|} || ddddddf|| dd|d| | dd|d| | dd|d| | dd|d| | dd|dd S( s Muutmine smanage_delPropertiessgruppsainesruumsalgusskestussmanage_addPropertysstringN( s _getattr_s_getattrsgetattrscontexts kirjenimisdocsgruppsainesruumsalgusskestus( s kirjenimisgruppsainesruumsalgusskestuss _getattr_s_getattrsgetattrscontextsdoc((sScript (Python)s muutmisSkripts %N(s muutmisSkript(s muutmisSkript((sScript (Python)ssq0U _proxy_rolesq1(UManagerq2tq3U_bodyq4T""" Muutmine """ #Ksitakse ligips kirjele doc=getattr(context, kirjenimi) # Andmed atribuutideks doc.manage_delProperties(('grupp', 'aine', 'ruum', 'algus', 'kestus')) doc.manage_addProperty('grupp', grupp, 'string') doc.manage_addProperty('aine', aine, 'string') doc.manage_addProperty('ruum', ruum, 'string') doc.manage_addProperty('algus', algus, 'string') doc.manage_addProperty('kestus', kestus, 'string') q5U Script_magicq6KUwarningsq7)Uerrorsq8)U Python_magicq9U* q:u.((U OFS.ImageqUFileqtqNt.}q(UsizeqKUruumqU3-IIqUdataqUU_EtagSupport__etagq U ts73466098.88q U__name__q Uplaan2q U _propertiesq (}q(UidqUtitleqUtypeqUstringqu}q(hU content_typeqhhu}q(hUgruppqhhu}q(hUaineqhhu}q(hhhhu}q(hUalgusqhhu}q(hUkestusqhhuthUtext/x-unknown-content-typeqhU90qhU matemaatikaq U__ac_local_roles__q!}q"Uadminq#]q$UOwnerq%ashU10.00q&hUhUAU preconditionq'Uu.W((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U lisamislehtq Utitleq UUglobalsq }qUrawqU

lisatud..

TAGASIqU_varsq}qu.Z((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U kustutuslehtq Utitleq UUglobalsq }qUrawqU

kustutatud

TAGASIqU_varsq}qu.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U lisamisvormq Utitleq UUglobalsq }qUrawqT 

tunniplaan


lisamine:
grupp:
aine:
ruum:
algus:
kestus:

grupp

aine

ruum

algus

kestus


TAGASI qU_varsq}qu.((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (U _getattr_q U_getattrq U containerq UmUtUxtU co_argcountq KubU_paramsqUUidqU leidmisSkriptqU__ac_local_roles__q}qUadminq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}q(Uname_containerqU containerqU name_subpathqUtraverse_subpathqU name_contextq Ucontextq!U name_m_selfq"Uscriptq#usbU func_defaultsq$NU_codeq%T0csdZdS(Nc st}|tdd}g}xR|drE}|||dddo||d|nq3W|SdS(Ns objectValuessFileisids startswithsplaansappend(s _getattr_s_getattrs containersmstsx(s _getattr_s_getattrs containersmstsx((sScript (Python)s leidmisSkripts  "(s leidmisSkript(s leidmisSkript((sScript (Python)ssq&U_bodyq'Umm=container.objectValues('File') t=[] for x in m: if x.id().startswith('plaan'): t.append(x) return t q(U Script_magicq)KUwarningsq*)Uerrorsq+)U Python_magicq,U* q-u.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q Ustyleq Utitleq UUglobalsq }qUrawqT]body { font-family: courier new; font-size: 12px } p { font-family: courier new; font-size: 12px } h2 { font-family: courier new; font-size: 16px } td { font-family: courier new; font-size: 12px } a.five:link {color: #000000; text-decoration: none} a.five:visited {color: #000000; text-decoration: none} a.five:hover {text-decoration: underline}qU_varsq}qu.Y((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U vaatamislehtq Utitleq UUglobalsq }qUrawqT

tunniplaan




MUUDA
AVALEHELE
qU_varsq}qu.3((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U otsinguvormq Utitleq UUglobalsq }qUrawqT

tunniplaan

grupp

aine

ruum

algus

kestus

sisesta grupp:

TAGASI qU_varsq}qu. J((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (Ugruppq Uaineq Uruumq Ualgusq UkestusqU _getitem_qU_getitemqU _getattr_qU_getattrqU containerqUnrqUstrqUidqUcontextqUgetattrqUdocqtU co_argcountqKubU_paramsqU grupp, aine, ruum, algus, kestusqUidqU lisamisSkriptqU__ac_local_roles__q}q Uadminq!]q"UOwnerq#asU _bind_namesq$(cShared.DC.Scripts.Bindings NameAssignments q%oq&}q'U_asgnsq(}q)(Uname_containerq*U containerq+U name_subpathq,Utraverse_subpathq-U name_contextq.Ucontextq/U name_m_selfq0Uscriptq1usbU func_defaultsq2NU_codeq3TcsdZdS(Nc s`t}t}|tddd} dt| } | djo |tddddn|tdd| d||| td d d | d d dd  t t| }||dd|d||dd|d||dd|d||dd|d||dd|ddS(Ns getPropertysloendurisplaansmanage_addPropertyisintsmanage_changePropertiessmanage_addProductsOFSPsmanage_addFilestitlessfilesgruppsstringsainesruumsalgusskestus(s _getitem_s_getitems _getattr_s_getattrs containersnrsstrsidscontextsgetattrsdocsgruppsainesruumsalgusskestus(sgruppsainesruumsalgusskestuss _getitem_s_getitems _getattr_s_getattrs containersnrsstrsidscontextsgetattrsdoc((sScript (Python)s lisamisSkripts #+(s lisamisSkript(s lisamisSkript((sScript (Python)ssq4U_bodyq5T# Faili nime loomine, nr=container.getProperty('loendur', 0) #Kui omadust pole, siis vrtuseks 0 id='plaan'+ str(nr) if nr==0: container.manage_addProperty('loendur', 1, 'int') else: container.manage_changeProperties(loendur=nr+1) # Faili loomine context.manage_addProduct['OFSP'].manage_addFile(id, title="", file="") #Ksitakse ligips loodud failile doc=getattr(context, id) # Andmed atribuutideks doc.manage_addProperty('grupp', grupp, 'string') doc.manage_addProperty('aine', aine, 'string') doc.manage_addProperty('ruum', ruum, 'string') doc.manage_addProperty('algus', algus, 'string') doc.manage_addProperty('kestus', kestus, 'string') q6U Script_magicq7KUwarningsq8)Uerrorsq9)U Python_magicq:U* q;u.((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q Uavalehtq Utitleq UUglobalsq }qUrawqT

tunniplaan


lisa


otsi


vaata qU_varsq}qu.Z((U#Products.PythonScripts.PythonScriptqU PythonScriptqtqNt.}q(U func_codeq(cShared.DC.Scripts.Signature FuncCode qoq}q(U co_varnamesq (UREQUESTq U _getitem_q U_getitemq U _getattr_q U_getattrqUhasattrqU containerqtU co_argcountqKubU_paramsqUREQUESTqUidqUkustutusSkriptqU__ac_local_roles__q}qUadminq]qUOwnerqasU _bind_namesq(cShared.DC.Scripts.Bindings NameAssignments qoq}qU_asgnsq}q (Uname_containerq!U containerq"U name_subpathq#Utraverse_subpathq$U name_contextq%Ucontextq&U name_m_selfq'Uscriptq(usbU func_defaultsq)NU_codeq*TJcsdZdS(Ncset}t}t|do#|td||dn|||ddddS(Ns kirjenimismanage_delObjectssRESPONSEsredirectsavaleht(s _getitem_s_getitems _getattr_s_getattrshasattrsREQUESTs container(sREQUESTs _getitem_s_getitems _getattr_s_getattrshasattrs container((sScript (Python)skustutusSkripts"&(skustutusSkript(skustutusSkript((sScript (Python)ssq+U_bodyq,Uzif hasattr(REQUEST, 'kirjenimi'): container.manage_delObjects(REQUEST['kirjenimi']) REQUEST.RESPONSE.redirect('avaleht') q-U Script_magicq.KUwarningsq/)Uerrorsq0)U Python_magicq1U* q2u.p((UOFS.DTMLMethodqU DTMLMethodqtqNt.}q(U__ac_local_roles__q}qUadminq]qUOwnerq asU__name__q U muutmislehtq Utitleq UUglobalsq }qUrawqU

muudatused salvestatud

TAGASI

qU_varsq}qu.