diff --git a/src/var/lib/tyto/program/html.py b/src/var/lib/tyto/program/html.py index 30f006b..f9bd9f9 100644 --- a/src/var/lib/tyto/program/html.py +++ b/src/var/lib/tyto/program/html.py @@ -314,6 +314,9 @@ def create_sidebar(option): ) continue + # Show item to add + logs.out("35", '"%s": %s'%(title, line), False) + # Create HTML list for this article link_title = '%s [@%s]'%(about, author) sidebar_list = sidebar_list + \ diff --git a/src/var/lib/tyto/program/logs.py b/src/var/lib/tyto/program/logs.py index f29befa..1b00544 100644 --- a/src/var/lib/tyto/program/logs.py +++ b/src/var/lib/tyto/program/logs.py @@ -57,6 +57,7 @@ def out(nbr, value, out): '31' : ':? Not included. %sMax items reached%s %s'%(CY, CS, value), '33' : ':D %sCreated file%s: %s'%(CG, CS, value), '34' : ':D Publish %sfile change%s %s'%(CG, CS, value), + '35' : ':D %sAdd item%s %s'%(CG, CS, value), '40' : ':/ %sInactive%s domain "%s"'%(CY, CS, value), '41' : ':? %sIncomplete%s domain "%s"'%(CR, CS, value), '42' : ':D %sActive%s domain "%s"'%(CG, CS, value),