Skip to content

I would really like to see the variable $CONFIG_PRODUKT_NAME on each page of the Freetz WebIF #903

Answered by fraternl
fraternl asked this question in Wishlist
Discussion options

You must be logged in to vote

Well, this is working:

diff make/pkgs/mod/files/root/usr/share/skin/cuma/skin.sh

26d25
<       local pname="$(grep FREETZ_TYPE_PREFIX= /etc/.config | awk -F= '{print $2}' | tr '_' ' ' | tr -d '"'|html)"
40c39
< <div class="titlebar"><a href="https://freetz-ng.github.io" target="_blank" class="logo">${pname}</a>&nbsp;${hname}<a href="/cgi-bin/about.cgi" target="_blank">&ndash;</a>&nbsp;<span class="title">$title</span>$help &nbsp; &nbsp; $([ "$isauth" = 1 ] && echo "<small>Session timeout: $(date -d @$(( $MOD_HTTPD_SESSIONTIMEOUT + $(date +%s) )) +'%H:%M:%S')</small>") </div>
---
> <div class="titlebar"><a href="https://freetz-ng.github.io" target="_blank" class="logo">Freetz</a>&nbsp;${hn…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fraternl
Comment options

You must be logged in to vote
1 reply
@MaxineMuster
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants