Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
225 changes: 225 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
# The following command works for downloading when using Git for Windows:
# curl -LOf http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore
#
# Download this file using PowerShell v3 under Windows with the following comand:
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore
#
# or wget:
# wget --no-check-certificate http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
x64/
[Bb]in/
[Oo]bj/
# build folder is nowadays used for build scripts and should not be ignored
#build/

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# OS generated files #
.DS_Store*
Icon?

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
modulesbin/
tempbin/

# EPiServer Site file (VPP)
AppData/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# vim
*.txt~
*.swp
*.swo

# Temp files when opening LibreOffice on ubuntu
.~lock.*

# svn
.svn

# CVS - Source Control
**/CVS/

# Remainings from resolving conflicts in Source Control
*.orig

# SQL Server files
**/App_Data/*.mdf
**/App_Data/*.ldf
**/App_Data/*.sdf


#LightSwitch generated files
GeneratedArtifacts/
_Pvt_Extensions/
ModelManifest.xml

# =========================
# Windows detritus
# =========================

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac desktop service store files
.DS_Store

# SASS Compiler cache
.sass-cache

# Visual Studio 2014 CTP
**/*.sln.ide

# Visual Studio temp something
.vs/

# dotnet stuff
project.lock.json

# VS 2015+
*.vc.vc.opendb
*.vc.db

# Rider
.idea/

# Visual Studio Code
.vscode/

# Output folder used by Webpack or other FE stuff
**/node_modules/*
**/wwwroot/*

# SpecFlow specific
*.feature.cs
*.feature.xlsx.*
*.Specs_*.html

#####
# End of core ignore list, below put you custom 'per project' settings (patterns or path)
#####
3 changes: 3 additions & 0 deletions App_LocalResources/EditReceipt.ascx.resx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@
<data name="UserName.Text" xml:space="preserve">
<value>UserName</value>
</data>
<data name="User.Text" xml:space="preserve">
<value>User</value>
</data>
<data name="UserName.Help" xml:space="preserve">
<value>Enter the username you want to add the subscription to.</value>
</data>
Expand Down
8 changes: 5 additions & 3 deletions EditPlan.ascx.vb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ Namespace Ventrian.SubscriptionTools
Private Sub BindCurrency()

Dim ctlList As New Lists.ListController
Dim colCurrency As Lists.ListEntryInfoCollection = ctlList.GetListEntryInfoCollection("Currency", "")
'Dim colCurrency As Lists.ListEntryInfoCollection = ctlList.GetListEntryInfoCollection("Currency", "")
Dim colCurrency As IEnumerable(Of DotNetNuke.Common.Lists.ListEntryInfo) = ctlList.GetListEntryInfoItems("Currency", "")

drpCurrency.DataSource = colCurrency
drpCurrency.DataBind()
Expand All @@ -74,12 +75,13 @@ Namespace Ventrian.SubscriptionTools
Private Sub BindRoles()

Dim objRoleController As New RoleController
drpRole.DataSource = objRoleController.GetRoles(Me.PortalId)

drpRole.DataSource = objRoleController.GetPortalRoles(Me.PortalId)
drpRole.DataBind()
drpRole.Items.Insert(0, New ListItem(Localization.GetString("SelectRole.Text", Me.LocalResourceFile), "-1"))

rptRoles.DataSource = objRoleController.GetPortalRoles(Me.PortalId)
'rptRoles.DataSource = objRoleController.GetPortalRoles(Me.PortalId)
rptRoles.DataSource = objRoleController.GetRoles(Me.PortalId)
rptRoles.DataBind()

End Sub
Expand Down
18 changes: 8 additions & 10 deletions EditReceipt.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,14 @@
</TR>
<TR vAlign="top">
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" width="150">
<dnn:label id="plUserName" runat="server" resourcekey="UserName" suffix=":" controlname="txtUserName"></dnn:label></TD>
<TD align="left" width="325">
<asp:textbox id="txtUserName" cssclass="NormalTextBox" runat="server" maxlength="255" columns="30"
width="325"></asp:textbox>
<asp:requiredfieldvalidator id="valUserName" cssclass="NormalRed" runat="server" resourcekey="valUserName.ErrorMessage" controltovalidate="txtUserName"
errormessage="<br>You Must Enter a Valid UserName" display="Dynamic"></asp:requiredfieldvalidator>
<asp:CustomValidator ID="valUserNameExists" CssClass="NormalRed" Runat="server" ResourceKey="ValUserNameExists.ErrorMessage" ControlToValidate="txtUserName"
errormessage="<br>UserName does not exist" Display="Dynamic" />
</TD>
<TD class="SubHead" width="150">
<dnn:label id="plUserName" runat="server" resourcekey="User" suffix=":" controlname="drpUsers"></dnn:label></TD>
<TD align="left" width="325">
<asp:dropdownlist id="drpUsers" cssclass="NormalTextBox" runat="server" DataTextField="DisplayName" DataValueField="UserID"
width="325"></asp:dropdownlist>
<asp:requiredfieldvalidator id="valUserName" cssclass="NormalRed" runat="server" resourcekey="valUserName.ErrorMessage" controltovalidate="drpUsers"
errormessage="<br>You Must Select a User" display="Dynamic"></asp:requiredfieldvalidator>
</TD>
</TR>
<TR vAlign="top">
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
Expand Down
14 changes: 7 additions & 7 deletions EditReceipt.ascx.designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading