~dont_cache() ~include('../tracker/config.tmpl') ~include('../config.tmpl') ~include('../updateuser.tmpl') ~if(! (~get('is_admin') || ~get('is_moderator')),~http_error(403)) ~set('title','Administration: Édition de #~get_filenamevar(1)') ~include("../site/header.tmpl")
~noeval('board.tmpl','admin')
~if(~getpost('Envoyer') == '',' ~include('../tracker/one.txt',~get_filenamevar(1)) ~set('title','Administration: Édition de #~get('tracker_id') ~get('tracker_title')')
~set('no_preview','yes') ~include('../tracker/new.form.tmpl')
',' ~list(~get('database'),"SELECT state FROM tracker WHERE id='~get_filenamevar(1)'",'LM',~set('old_state',~fld('state'))) ~list(~get('database'),"UPDATE tracker SET title='~addslashes(~htmlentities_decode(~strictize(~getpost('title'))))', body='~addslashes(~htmlentities_decode(~strictize(~getpost('body'))))', section_id='~addslashes(~getpost('category'))', state='~addslashes(~getpost('state'))', privilege='~addslashes(~getpost('privilege'))', assign_id='~addslashes(~getpost('assignee'))', open_timestamp=open_timestamp, update_timestamp=CURRENT_TIMESTAMP(), close_timestamp=~if(~getpost('state')=='1' && ~get('old_state')!=1,'CURRENT_TIMESTAMP()','close_timestamp') WHERE id='~get_filenamevar(1)' ")

Entrée modifiée
Retour sur l\'entrée concernée

Retour au système de suivi

~uncache('tracker/tracker,~integer(~get_filenamevar(1)).html') ')
~include("../site/footer.tmpl")