Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PlanetRed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
PlanetRed
Commits
8f2a3540
Commit
8f2a3540
authored
15 years ago
by
Seth Meranda
Browse files
Options
Downloads
Patches
Plain Diff
Updated validation errors. The current errors left require tinkering with the Elgg engine.
parent
891efe90
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
customindex/views/default/customindex/content.php
+3
-94
3 additions, 94 deletions
customindex/views/default/customindex/content.php
customindex/views/default/customindex/css.php
+89
-0
89 additions, 0 deletions
customindex/views/default/customindex/css.php
with
92 additions
and
94 deletions
customindex/views/default/customindex/content.php
+
3
−
94
View file @
8f2a3540
...
@@ -24,97 +24,6 @@
...
@@ -24,97 +24,6 @@
<script
type=
"text/javascript"
src=
"
<?php
echo
$CONFIG
->
url
?>
mod/customindex/witw_people.js"
></script>
<script
type=
"text/javascript"
src=
"
<?php
echo
$CONFIG
->
url
?>
mod/customindex/witw_people.js"
></script>
<script
type=
"text/javascript"
src=
"
<?php
echo
$CONFIG
->
url
?>
mod/customindex/views/default/customindex/globesplash.js"
></script>
<script
type=
"text/javascript"
src=
"
<?php
echo
$CONFIG
->
url
?>
mod/customindex/views/default/customindex/globesplash.js"
></script>
<?php
echo
'<script type="text/javascript">WDN.loadJS("'
.
$vars
[
'url'
]
.
'mod/unl_theme/scripts/jquery.tools.min.js"); $(document).ready(function(){$("div.scrollable").scrollable()});</script>'
;
?>
<?php
echo
'<script type="text/javascript">WDN.loadJS("'
.
$vars
[
'url'
]
.
'mod/unl_theme/scripts/jquery.tools.min.js"); $(document).ready(function(){$("div.scrollable").scrollable()});</script>'
;
?>
<style
type=
"text/css"
>
/*
root element for the scrollable.
when scrolling occurs this element stays still.
*/
div
.scrollable
{
/* required settings */
position
:
relative
;
overflow
:
hidden
;
width
:
538px
;
height
:
90px
;
}
/*
root element for scrollable items. Must be absolutely positioned
and it should have a extremely large width to accomodate scrollable items.
it's enough that you set width and height for the root element and
not for this element.
*/
div
.scrollable
div
.items
{
/* this cannot be too large */
width
:
20000em
;
position
:
absolute
;
}
/*
a single item. must be floated in horizontal scrolling.
typically, this element is the one that *you* will style
the most.
*/
div
.scrollable
div
.items
div
{
float
:
left
;
}
/* this makes it possible to add next button beside scrollable */
.scrollable
{
float
:
left
;
}
/* prev, next, prevPage and nextPage buttons */
a
.browse
{
background
:
url
(
<?php
echo
$CONFIG
->
url
?>
mod
/
customindex
/
hori_large
.
png
)
no-repeat
;
display
:
block
;
width
:
30px
;
height
:
30px
;
float
:
left
;
margin-top
:
20px
;
cursor
:
pointer
;
font-size
:
1px
;
}
/* right */
a
.right
{
background-position
:
0
-30px
;
clear
:
right
;
margin-right
:
27px
;}
a
.right
:hover
{
background-position
:
-30px
-30px
;
}
a
.right
:active
{
background-position
:
-60px
-30px
;
}
/* left */
a
.left
{
margin-left
:
5px
;
margin-right
:
5px
;
}
a
.left
:hover
{
background-position
:
-30px
0
;
}
a
.left
:active
{
background-position
:
-60px
0
;
}
/* up and down */
a
.up
,
a
.down
{
background
:
url(http://static.flowplayer.org/tools/img/scrollable/arrow/hori_large.png)
no-repeat
;
float
:
none
;
margin
:
10px
50px
;
}
/* up */
a
.up
:hover
{
background-position
:
-30px
0
;
}
a
.up
:active
{
background-position
:
-60px
0
;
}
/* down */
a
.down
{
background-position
:
0
-30px
;
}
a
.down
:hover
{
background-position
:
-30px
-30px
;
}
a
.down
:active
{
background-position
:
-60px
-30px
;
}
/* disabled navigational button */
a
.disabled
{
visibility
:
hidden
!important
;
}
div
.items
a
.active
{
border
:
none
;
}
</style>
<!-- begin splash code from ucommcoleman/workspace/wdntempaltes/splash.shtml -->
<!-- begin splash code from ucommcoleman/workspace/wdntempaltes/splash.shtml -->
<div
id=
"splashwrapper"
>
<div
id=
"splashwrapper"
>
...
@@ -248,7 +157,7 @@ div.items a.active {
...
@@ -248,7 +157,7 @@ div.items a.active {
echo
"'Attended UNL: "
.
$user
->
profile_attended_from
.
"-"
.
$user
->
profile_attended_to
.
"'"
;
echo
"'Attended UNL: "
.
$user
->
profile_attended_from
.
"-"
.
$user
->
profile_attended_to
.
"'"
;
else
else
echo
"''"
;
echo
"''"
;
echo
",'"
.
str_replace
(
"'"
,
"\'"
,
htmlentities
(
$user
->
map_explanation
))
.
"');return false;
\"
src=
\"
mod/profile/icon.php?username="
.
$user
->
username
.
"&size=tiny
\"
/></div>"
;
echo
",'"
.
str_replace
(
"'"
,
"\'"
,
htmlentities
(
$user
->
map_explanation
))
.
"');return false;
\"
src=
\"
mod/profile/icon.php?username="
.
$user
->
username
.
"&
amp;
size=tiny
\"
/></div>"
;
}
}
else
{}
else
{}
}
}
...
@@ -346,7 +255,7 @@ div.items a.active {
...
@@ -346,7 +255,7 @@ div.items a.active {
allowfullscreen
:
"
true
"
,
allowfullscreen
:
"
true
"
,
quality
:
"
best
"
,
quality
:
"
best
"
,
wmode
:
"
transparent
"
,
wmode
:
"
transparent
"
,
file
:
"
http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4
&
"
,
file
:
"
http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4
"
,
image
:
"
mod/customindex/videoStill.jpg
"
,
image
:
"
mod/customindex/videoStill.jpg
"
,
autostart
:
false
,
autostart
:
false
,
skin
:
"
http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf
"
skin
:
"
http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf
"
...
@@ -441,7 +350,7 @@ div.items a.active {
...
@@ -441,7 +350,7 @@ div.items a.active {
$row3
=
mysql_fetch_array
(
$result3
);
$row3
=
mysql_fetch_array
(
$result3
);
if
(
!
filtrado
(
$row3
[
'name'
]
.
''
.
$row2
[
'description'
])){
if
(
!
filtrado
(
$row3
[
'name'
]
.
''
.
$row2
[
'description'
])){
echo
'<img style="clear:left;float:left" src="mod/profile/icondirect.php?username='
.
$row3
[
"username"
]
.
'&size=small" />'
;
echo
'<img style="clear:left;float:left"
alt="Profile Icon"
src="mod/profile/icondirect.php?username='
.
$row3
[
"username"
]
.
'&
amp;
size=small" />'
;
echo
'<div class="index_item" style="overflow:hidden;float:left;max-width:'
;
echo
'<div class="index_item" style="overflow:hidden;float:left;max-width:'
;
if
(
isloggedin
())
{
echo
(
'400px;'
);}
else
{
echo
(
'162px;'
);}
if
(
isloggedin
())
{
echo
(
'400px;'
);}
else
{
echo
(
'162px;'
);}
echo
'border:1px solid #dbdbdb; margin-left:14px; min-height:45px; -moz-border-radius:3px;">'
;
echo
'border:1px solid #dbdbdb; margin-left:14px; min-height:45px; -moz-border-radius:3px;">'
;
...
...
This diff is collapsed.
Click to expand it.
customindex/views/default/customindex/css.php
+
89
−
0
View file @
8f2a3540
...
@@ -249,3 +249,92 @@ span.name{font-size:1.1em;padding-top:0px;}
...
@@ -249,3 +249,92 @@ span.name{font-size:1.1em;padding-top:0px;}
span.title{font-size:0.85em;font-style:italic;}
span.title{font-size:0.85em;font-style:italic;}
span.location{font-size:0.75em;color:#3A8103;}
span.location{font-size:0.75em;color:#3A8103;}
/*
root element for the scrollable.
when scrolling occurs this element stays still.
*/
div.scrollable {
/* required settings */
position:relative;
overflow:hidden;
width: 538px;
height:90px;
}
/*
root element for scrollable items. Must be absolutely positioned
and it should have a extremely large width to accomodate scrollable items.
it's enough that you set width and height for the root element and
not for this element.
*/
div.scrollable div.items {
/* this cannot be too large */
width:20000em;
position:absolute;
}
/*
a single item. must be floated in horizontal scrolling.
typically, this element is the one that *you* will style
the most.
*/
div.scrollable div.items div {
float:left;
}
/* this makes it possible to add next button beside scrollable */
.scrollable {
float:left;
}
/* prev, next, prevPage and nextPage buttons */
a.browse {
background:url(
<?php
echo
$CONFIG
->
url
?>
mod/customindex/hori_large.png) no-repeat;
display:block;
width:30px;
height:30px;
float:left;
margin-top:20px;
cursor:pointer;
font-size:1px;
}
/* right */
a.right { background-position: 0 -30px; clear:right; margin-right: 27px;}
a.right:hover { background-position:-30px -30px; }
a.right:active { background-position:-60px -30px; }
/* left */
a.left { margin-left: 5px; margin-right: 5px; }
a.left:hover { background-position:-30px 0; }
a.left:active { background-position:-60px 0; }
/* up and down */
a.up, a.down {
background:url(http://static.flowplayer.org/tools/img/scrollable/arrow/hori_large.png) no-repeat;
float: none;
margin: 10px 50px;
}
/* up */
a.up:hover { background-position:-30px 0; }
a.up:active { background-position:-60px 0; }
/* down */
a.down { background-position: 0 -30px; }
a.down:hover { background-position:-30px -30px; }
a.down:active { background-position:-60px -30px; }
/* disabled navigational button */
a.disabled {
visibility:hidden !important;
}
div.items a.active {
border: none;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment