Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
mod_feature_capping.pm [2016-09-27 08:43] – [Config File] nkukardmod_feature_capping.pm [2017-02-03 08:20] – [SMRadius-AutoTopup-$TYPE-NotifyTemplate] nkukard
Line 3: Line 3:
 Implements traffic or session time based capping defined using certain attributes that can be set at a group or user level. Implements traffic or session time based capping defined using certain attributes that can be set at a group or user level.
  
-====== Config File: smradiusd.conf ======+====== Config File ======
  
 +The following section is supported in the ''smradiusd.conf'' configuration file.
 ===== [mod_feature_capping] ===== ===== [mod_feature_capping] =====
  
Line 132: Line 133:
 ==== SMRadius-AutoTopup-$TYPE-NotifyTemplate ==== ==== SMRadius-AutoTopup-$TYPE-NotifyTemplate ====
  
-The teamplte parsing is done using Template::Toolkit.+The template parsing is done using [[http://www.template-toolkit.org/|Template::Toolkit]].
  
 Supported macro's include: Supported macro's include:
Line 154: Line 155:
 Please note that you have [% usage.limit - usage.total %]Mbyte available on username [% user.username %]. We added another [% autotopup.toAdd %] automatic topup(s) totalling [% autotopup.toAddAmount %]Mbyte to your username. Your automatic topup usage is [% autotopup.added + autotopup.toAddAmount %]Mbyte of [% autotopup.limit ? autotopup.limit : '-no-limit-' %]Mbyte. Please note that you have [% usage.limit - usage.total %]Mbyte available on username [% user.username %]. We added another [% autotopup.toAdd %] automatic topup(s) totalling [% autotopup.toAddAmount %]Mbyte to your username. Your automatic topup usage is [% autotopup.added + autotopup.toAddAmount %]Mbyte of [% autotopup.limit ? autotopup.limit : '-no-limit-' %]Mbyte.
 [% ELSE %] [% ELSE %]
-We cannot add another [% autotopup.amount %]Mbyte to your username as you have reached your automatic topup limit of [% autotopup.limit %]Mbyte. Your total usage is [% autotopup.usage.total %]Mbyte.+We cannot add another [% autotopup.amount %]Mbyte to your username as you have reached your automatic topup limit of [% autotopup.limit %]Mbyte. Your total usage is [% usage.total %]Mbyte.
 [% END %] [% END %]