Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use url type in redirect and social dynamic objects #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
4 changes: 2 additions & 2 deletions apps/admin/conf/embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
to[type] = text
to[initial] = "http://"
to[not empty] = 1
to[regex] = "/^(https?:\/)?\/.+$/"
to[url] = 1
to[message] = Please enter a valid URL.

code[label] = Status
Expand All @@ -26,7 +26,7 @@
to[label] = Link
to[type] = text
to[initial] = "http://"
to[regex] = "/^(https?:\/)?\/.+$/"
to[url] = 1
to[message] = Please enter a valid URL.

user_type[label] = User role
Expand Down
16 changes: 8 additions & 8 deletions apps/social/conf/embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
url[label] = Link
url[type] = text
url[not empty] = 1
url[regex] = "/^http:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

[social/facebook/like-box]
Expand All @@ -20,7 +20,7 @@
url[label] = Facebook Page URL
url[type] = text
url[not empty] = 1
url[regex] = "/^http:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

width[label] = Width
Expand Down Expand Up @@ -67,7 +67,7 @@
url[label] = Link
url[type] = text
url[not empty] = 1
url[regex] = "/^http:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

[social/facebook/commentcount]
Expand All @@ -78,7 +78,7 @@
url[label] = Link
url[type] = text
url[not empty] = 1
url[regex] = "/^http:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

[social/twitter/follow]
Expand Down Expand Up @@ -127,7 +127,7 @@
url[label] = Link
url[type] = text
url[not empty] = 1
url[regex] = "/^http:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

via[label] = Twitter ID
Expand All @@ -141,7 +141,7 @@
url[label] = Link
url[type] = text
url[not empty] = 1
url[regex] = "/^http:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

[social/video/youtube]
Expand All @@ -152,7 +152,7 @@
url[label] = Link
url[type] = text
url[not empty] = 1
url[regex] = "/^https?:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

width[label] = Player width
Expand Down Expand Up @@ -242,7 +242,7 @@
url[label] = Link
url[type] = text
url[not empty] = 1
url[regex] = "/^https?:\/\/.+$/"
url[url] = 1
url[message] = Please enter a valid URL.

width[label] = Player width
Expand Down