update to Frost v0.4
88
view/theme/frost/contact_edit.tpl
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
|
||||
<h2>$header</h2>
|
||||
|
||||
<div id="contact-edit-wrapper" >
|
||||
|
||||
$tab_str
|
||||
|
||||
<div id="contact-edit-drop-link" >
|
||||
<a href="contacts/$contact_id/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();" title="$delete" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#}></a>
|
||||
</div>
|
||||
|
||||
<div id="contact-edit-drop-link-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-nav-wrapper" >
|
||||
<div id="contact-edit-links">
|
||||
<ul>
|
||||
<li><div id="contact-edit-rel">$relation_text</div></li>
|
||||
<li><div id="contact-edit-nettype">$nettype</div></li>
|
||||
{{ if $lost_contact }}
|
||||
<li><div id="lost-contact-message">$lost_contact</div></li>
|
||||
{{ endif }}
|
||||
{{ if $insecure }}
|
||||
<li><div id="insecure-message">$insecure</div></li>
|
||||
{{ endif }}
|
||||
{{ if $blocked }}
|
||||
<li><div id="block-message">$blocked</div></li>
|
||||
{{ endif }}
|
||||
{{ if $ignored }}
|
||||
<li><div id="ignore-message">$ignored</div></li>
|
||||
{{ endif }}
|
||||
{{ if $archived }}
|
||||
<li><div id="archive-message">$archived</div></li>
|
||||
{{ endif }}
|
||||
|
||||
<li> </li>
|
||||
|
||||
{{ if $common_text }}
|
||||
<li><div id="contact-edit-common"><a href="$common_link">$common_text</a></div></li>
|
||||
{{ endif }}
|
||||
{{ if $all_friends }}
|
||||
<li><div id="contact-edit-allfriends"><a href="allfriends/$contact_id">$all_friends</a></div></li>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
<li><a href="network/?cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
|
||||
{{ if $lblsuggest }}
|
||||
<li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
|
||||
{{ endif }}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="contact-edit-nav-end"></div>
|
||||
|
||||
|
||||
<form action="contacts/$contact_id" method="post" >
|
||||
<input type="hidden" name="contact_id" value="$contact_id">
|
||||
|
||||
{{ if $poll_enabled }}
|
||||
<div id="contact-edit-poll-wrapper">
|
||||
<div id="contact-edit-last-update-text">$lastupdtext <span id="contact-edit-last-updated">$last_update</span></div>
|
||||
<span id="contact-edit-poll-text">$updpub</span> $poll_interval <span id="contact-edit-update-now" class="button"><a href="contacts/$contact_id/update" >$udnow</a></span>
|
||||
</div>
|
||||
{{ endif }}
|
||||
<div id="contact-edit-end" ></div>
|
||||
|
||||
{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
|
||||
|
||||
<div id="contact-edit-info-wrapper">
|
||||
<h4>$lbl_info1</h4>
|
||||
<textarea id="contact-edit-info" rows="8" cols="60" name="info">$info</textarea>
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
<div id="contact-edit-info-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<h4>$lbl_vis1</h4>
|
||||
<p>$lbl_vis2</p>
|
||||
</div>
|
||||
$profile_select
|
||||
<div id="contact-edit-profile-select-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -1,6 +1,2 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "$editselect";
|
||||
contactInitEditor();
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript">contactInitEditor();</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "$editselect";
|
||||
</script>
|
||||
|
||||
|
|
@ -1,20 +1,25 @@
|
|||
<!--[if IE]>
|
||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
|
||||
<script type="text/javascript">
|
||||
{#<!--<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>-->#}
|
||||
{#<!--<script type="text/javascript">
|
||||
tinyMCE.init({ mode : "none"});
|
||||
</script>
|
||||
</script>-->#}
|
||||
|
||||
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
|
||||
|
||||
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/jquery.divgrow-1.3.1.f1.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/fk.autocomplete.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/library/colorbox/jquery.colorbox-min.js"></script>
|
||||
<!--<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>-->
|
||||
{#<!--<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>-->#}
|
||||
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/acl.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/fk.autocomplete.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/main.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/theme.min.js"></script>
|
||||
|
||||
|
|
|
|||
10
view/theme/frost/event.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{{ for $events as $event }}
|
||||
<div class="event">
|
||||
|
||||
{{ if $event.item.author_name }}<a href="$event.item.author_link" ><img src="$event.item.author_avatar" height="32" width="32" />$event.item.author_name</a>{{ endif }}
|
||||
$event.html
|
||||
{{ if $event.item.plink }}<a href="$event.plink.0" title="$event.plink.1" target="external-link" class="plink-event-link icon s22 remote-link"></a>{{ endif }}
|
||||
{{ if $event.edit }}<a href="$event.edit.0" title="$event.edit.1" class="edit-event-link tool s22 pencil"></a>{{ endif }}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{ endfor }}
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
eventInitEditor();
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript">eventInitEditor();</script>
|
||||
|
||||
|
|
|
|||
50
view/theme/frost/event_form.tpl
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<h3>$title</h3>
|
||||
|
||||
<p>
|
||||
$desc
|
||||
</p>
|
||||
|
||||
<form action="$post" method="post" >
|
||||
|
||||
<input type="hidden" name="event_id" value="$eid" />
|
||||
<input type="hidden" name="cid" value="$cid" />
|
||||
<input type="hidden" name="uri" value="$uri" />
|
||||
|
||||
<div id="event-start-text">$s_text</div>
|
||||
$s_dsel $s_tsel
|
||||
|
||||
<div id="event-finish-text">$f_text</div>
|
||||
$f_dsel $f_tsel
|
||||
|
||||
<div id="event-datetime-break"></div>
|
||||
|
||||
<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" $n_checked /> <div id="event-nofinish-text">$n_text</div>
|
||||
|
||||
<div id="event-nofinish-break"></div>
|
||||
|
||||
<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" $a_checked /> <div id="event-adjust-text">$a_text</div>
|
||||
|
||||
<div id="event-adjust-break"></div>
|
||||
|
||||
<div id="event-summary-text">$t_text</div>
|
||||
<input type="text" id="event-summary" name="summary" value="$t_orig" />
|
||||
|
||||
|
||||
<div id="event-desc-text">$d_text</div>
|
||||
<textarea id="event-desc-textarea" rows="10" cols="70" name="desc">$d_orig</textarea>
|
||||
|
||||
|
||||
<div id="event-location-text">$l_text</div>
|
||||
<textarea id="event-location-textarea" rows="10" cols="70" name="location">$l_orig</textarea>
|
||||
<br />
|
||||
|
||||
<input type="checkbox" name="share" value="1" id="event-share-checkbox" $sh_checked /> <div id="event-share-text">$sh_text</div>
|
||||
<div id="event-share-break"></div>
|
||||
|
||||
$acl
|
||||
|
||||
<div class="clear"></div>
|
||||
<input id="event-submit" type="submit" name="submit" value="$submit" />
|
||||
</form>
|
||||
|
||||
|
||||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.aclType = 'event_head';
|
||||
window.editSelect = "$editselect";
|
||||
</script>
|
||||
|
||||
|
|
|
|||
9
view/theme/frost/group_drop.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<div class="group-delete-wrapper button" id="group-delete-wrapper-$id" >
|
||||
<a href="group/drop/$id?t=$form_security_token"
|
||||
onclick="return confirmDelete();"
|
||||
id="group-delete-icon-$id"
|
||||
class="icon drophide group-delete-icon"
|
||||
{#onmouseover="imgbright(this);"
|
||||
onmouseout="imgdull(this);"#} ></a>
|
||||
</div>
|
||||
<div class="group-delete-end"></div>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<base href="$baseurl/" />
|
||||
<meta name="generator" content="$generator" />
|
||||
<link rel="stylesheet" href="$baseurl/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||
<!--<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />-->
|
||||
{#<!--<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />-->#}
|
||||
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
||||
|
|
|
|||
165
view/theme/frost/images/oxygen/LICENSE
Normal file
|
|
@ -0,0 +1,165 @@
|
|||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
BIN
view/theme/frost/images/oxygen/application-msword.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
view/theme/frost/images/oxygen/application-pdf.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
view/theme/frost/images/oxygen/application-vnd.ms-excel.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
view/theme/frost/images/oxygen/application-vnd.ms-powerpoint.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/frost/images/oxygen/application-x-compressed-tar.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
view/theme/frost/images/oxygen/application-x-deb.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
view/theme/frost/images/oxygen/application-x-font-otf.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
view/theme/frost/images/oxygen/application-x-font-ttf.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
view/theme/frost/images/oxygen/application-x-java-archive.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
BIN
view/theme/frost/images/oxygen/application-x-php.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/frost/images/oxygen/application-x-rar.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/frost/images/oxygen/application-x-rpm.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
view/theme/frost/images/oxygen/application-x-ruby.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/frost/images/oxygen/application-x-shellscript.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
view/theme/frost/images/oxygen/application-x-shockwave-flash.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
view/theme/frost/images/oxygen/application-x-tar.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
view/theme/frost/images/oxygen/application-xml.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
view/theme/frost/images/oxygen/application-zip.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/frost/images/oxygen/audio-aac.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/frost/images/oxygen/audio-mp4.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/frost/images/oxygen/audio-mpeg.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/frost/images/oxygen/audio-x-flac.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
view/theme/frost/images/oxygen/audio-x-generic.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/frost/images/oxygen/audio-x-mp2.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/frost/images/oxygen/audio-x-ms-wma.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/frost/images/oxygen/audio-x-vorbis+ogg.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/frost/images/oxygen/audio-x-wav.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
view/theme/frost/images/oxygen/image-x-generic.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
view/theme/frost/images/oxygen/text-css.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
view/theme/frost/images/oxygen/text-html.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
view/theme/frost/images/oxygen/text-x-generic-2.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
view/theme/frost/images/oxygen/text-x-tex.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
view/theme/frost/images/oxygen/unknown.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
view/theme/frost/images/oxygen/video-x-generic.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script>if(typeof window.jotInit != 'undefined') initEditor();</script>
|
||||
|
||||
<script language="javascript" type="text/javascript">if(typeof window.jotInit != 'undefined') initEditor();</script>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
<script>
|
||||
var none = "none"; // ugly hack: $editselect shouldn't be a string if TinyMCE is enabled, but should if it isn't
|
||||
window.editSelect = $editselect;
|
||||
window.editSelect = "$editselect";
|
||||
window.isPublic = "$ispublic";
|
||||
window.nickname = "$nickname";
|
||||
window.linkURL = "$linkurl";
|
||||
|
|
@ -11,7 +10,8 @@
|
|||
window.term = "$term";
|
||||
window.baseURL = "$baseurl";
|
||||
window.geoTag = function () { $geotag }
|
||||
window.ajaxType = 'jot-header';
|
||||
window.jotId = "#profile-jot-text";
|
||||
window.imageUploadButton = 'wall-image-upload';
|
||||
window.delItems = '$delitems';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@
|
|||
<div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="$attach"></a></div>
|
||||
</div>
|
||||
|
||||
<div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
|
||||
{#<!--<div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >-->#}
|
||||
<div id="profile-link-wrapper" style="display: $visitor;" >
|
||||
<a id="profile-link" class="icon link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
|
||||
</div>
|
||||
<div id="profile-video-wrapper" style="display: $visitor;" >
|
||||
|
|
@ -67,7 +68,7 @@
|
|||
$jotplugins
|
||||
</div>
|
||||
|
||||
<!-- <span id="jot-display-location" style="display: none;"></span>-->
|
||||
{#<!-- <span id="jot-display-location" style="display: none;"></span>-->#}
|
||||
|
||||
<div id="jot-preview-content" style="display:none;"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ ACL.prototype.update_view = function(){
|
|||
$j('#jot-public').show();
|
||||
$j('.profile-jot-net input').attr('disabled', false);
|
||||
if(typeof editor != 'undefined' && editor != false) {
|
||||
$j('#profile-jot-desc').html(ispublic);
|
||||
$j('#profile-jot-desc').html(window.isPublic);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
|
|||
2
view/theme/frost/js/acl.min.js
vendored
|
|
@ -84,7 +84,7 @@
|
|||
});
|
||||
|
||||
/* setup field_richtext */
|
||||
setupFieldRichtext();
|
||||
//setupFieldRichtext();
|
||||
|
||||
/* popup menus */
|
||||
function close_last_popup_menu(e) {
|
||||
|
|
@ -279,7 +279,7 @@
|
|||
}
|
||||
|
||||
function liveUpdate() {
|
||||
if((src == null) || (stopped) || (! profile_uid)) { $j('.like-rotator').hide(); return; }
|
||||
if((src == null) || (stopped) || (typeof profile_uid == 'undefined') || (! profile_uid)) { $j('.like-rotator').hide(); return; }
|
||||
if(($j('.comment-edit-text-full').length) || (in_progress)) {
|
||||
if(livetime) {
|
||||
clearTimeout(livetime);
|
||||
|
|
@ -341,6 +341,30 @@
|
|||
$j('html').height('auto');
|
||||
//$j(document).scrollTop(vScroll);
|
||||
}
|
||||
|
||||
// Add Colorbox for viewing Network page images
|
||||
$j("#" + ident + " .wall-item-body a img").each(function(){
|
||||
var aElem = $j(this).parent();
|
||||
var imgHref = aElem.attr("href");
|
||||
|
||||
// We need to make sure we only put a Colorbox on links to Friendica images
|
||||
// We'll try to do this by looking for links of the form
|
||||
// .../photo/ab803d8eg08daf85023adfec08(-0.jpg) (with nothing more following), in hopes
|
||||
// that that will be unique enough
|
||||
if(imgHref.match(/\/photo\/[a-fA-F0-9]+(-[0-9]\.[\w]+?)?$/)) {
|
||||
|
||||
// Add a unique class to all the images of a certain post, to allow scrolling through
|
||||
var cBoxClass = $j(this).closest(".wall-item-body").attr("id") + "-lightbox";
|
||||
$j(this).addClass(cBoxClass);
|
||||
|
||||
aElem.colorbox({
|
||||
maxHeight: '90%',
|
||||
photo: true,
|
||||
rel: cBoxClass
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
prev = ident;
|
||||
});
|
||||
|
||||
|
|
@ -399,13 +423,13 @@
|
|||
});
|
||||
}
|
||||
|
||||
function imgbright(node) {
|
||||
/*function imgbright(node) {
|
||||
$j(node).removeClass("drophide").addClass("drop");
|
||||
}
|
||||
|
||||
function imgdull(node) {
|
||||
$j(node).removeClass("drop").addClass("drophide");
|
||||
}
|
||||
}*/
|
||||
|
||||
// Since our ajax calls are asynchronous, we will give a few
|
||||
// seconds for the first ajax call (setting like/dislike), then
|
||||
|
|
@ -421,8 +445,6 @@
|
|||
unpause();
|
||||
$j('#like-rotator-' + ident.toString()).show();
|
||||
$j.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate );
|
||||
// if(timer) clearTimeout(timer);
|
||||
// timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
}
|
||||
|
||||
|
|
@ -666,7 +688,7 @@ function fcFileBrowser (field_name, url, type, win) {
|
|||
return false;
|
||||
}
|
||||
|
||||
function setupFieldRichtext(){
|
||||
/*function setupFieldRichtext(){
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
|
|
@ -690,7 +712,7 @@ function setupFieldRichtext(){
|
|||
theme_advanced_path : false,
|
||||
file_browser_callback : "fcFileBrowser",
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
2
view/theme/frost/js/main.min.js
vendored
|
|
@ -17,18 +17,10 @@ $j(document).ready(function() {
|
|||
});*/
|
||||
|
||||
|
||||
if(typeof window.aclInit !="undefined" && typeof acl=="undefined"){
|
||||
acl = new ACL(
|
||||
baseurl+"/acl",
|
||||
[ window.allowCID,window.allowGID,window.denyCID,window.denyGID ]
|
||||
);
|
||||
}
|
||||
|
||||
/* enable tinymce on focus and click */
|
||||
$j("#profile-jot-text").focus(enableOnUser);
|
||||
$j("#profile-jot-text").click(enableOnUser);
|
||||
|
||||
|
||||
$j('.nav-menu-list, .nav-menu-icon').hover(function() {
|
||||
showNavMenu($j(this).attr('point'));
|
||||
}, function() {
|
||||
|
|
@ -78,11 +70,81 @@ $j(document).ready(function() {
|
|||
return false;
|
||||
});*/
|
||||
|
||||
if(window.autoCompleteType == "display-head") {
|
||||
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j('#event-share-checkbox').change(function() {
|
||||
|
||||
if ($j('#event-share-checkbox').is(':checked')) {
|
||||
$j('#acl-wrapper').show();
|
||||
}
|
||||
else {
|
||||
$j('#acl-wrapper').hide();
|
||||
}
|
||||
}).trigger('change');
|
||||
|
||||
// For event_end.tpl
|
||||
/* $j('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$j('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $j(this).text();
|
||||
$j('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$j('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');*/
|
||||
|
||||
|
||||
if(typeof window.AjaxUpload != "undefined") {
|
||||
var uploader = new window.AjaxUpload(
|
||||
window.imageUploadButton,
|
||||
{ action: 'wall_upload/'+window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(window.jotId, response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
if($j('#wall-file-upload').length) {
|
||||
var file_uploader = new window.AjaxUpload(
|
||||
'wall-file-upload',
|
||||
{ action: 'wall_attach/'+window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(window.jotId, response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(typeof window.aclInit !="undefined" && typeof acl=="undefined"){
|
||||
acl = new ACL(
|
||||
baseurl+"/acl",
|
||||
[ window.allowCID,window.allowGID,window.denyCID,window.denyGID ]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
if(window.aclType == "settings-head" || window.aclType == "photos_head" || window.aclType == "event_head") {
|
||||
$j('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$j('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $j(this).text();
|
||||
$j('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$j('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$j('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$j('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
}
|
||||
|
||||
if(window.aclType == "event_head") {
|
||||
|
|
@ -144,45 +206,6 @@ $j(document).ready(function() {
|
|||
if (hash.length==2 && hash[0]=="#link") showEvent(hash[1]);
|
||||
}
|
||||
|
||||
$j('#event-share-checkbox').change(function() {
|
||||
|
||||
if ($j('#event-share-checkbox').is(':checked')) {
|
||||
$j('#acl-wrapper').show();
|
||||
}
|
||||
else {
|
||||
$j('#acl-wrapper').hide();
|
||||
}
|
||||
}).trigger('change');
|
||||
|
||||
|
||||
if(window.aclType == "settings-head" || window.aclType == "photos_head" || window.aclType == "event_head") {
|
||||
$j('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$j('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $j(this).text();
|
||||
$j('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$j('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$j('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$j('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
}
|
||||
// For event_end.tpl
|
||||
/* $j('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$j('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $j(this).text();
|
||||
$j('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$j('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');*/
|
||||
|
||||
|
||||
switch(window.autocompleteType) {
|
||||
case 'msg-header':
|
||||
|
|
@ -203,55 +226,54 @@ $j(document).ready(function() {
|
|||
});
|
||||
a.setOptions({ params: { type: 'a' }});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if(typeof window.AjaxUpload != "undefined") {
|
||||
switch(window.ajaxType) {
|
||||
case 'jot-header':
|
||||
var uploader = new window.AjaxUpload(
|
||||
'wall-image-upload',
|
||||
{ action: 'wall_upload/'+window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
var file_uploader = new window.AjaxUpload(
|
||||
'wall-file-upload',
|
||||
{ action: 'wall_attach/'+window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
break;
|
||||
case 'msg-header':
|
||||
var uploader = new window.AjaxUpload(
|
||||
'prvmail-upload',
|
||||
{ action: 'wall_upload/' + window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
case 'display-head':
|
||||
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
/* if(window.autoCompleteType == "display-head") {
|
||||
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
}*/
|
||||
|
||||
// Add Colorbox for viewing Network page images
|
||||
//var cBoxClasses = new Array();
|
||||
$j(".wall-item-body a img").each(function(){
|
||||
var aElem = $j(this).parent();
|
||||
var imgHref = aElem.attr("href");
|
||||
|
||||
// We need to make sure we only put a Colorbox on links to Friendica images
|
||||
// We'll try to do this by looking for links of the form
|
||||
// .../photo/ab803d8eg08daf85023adfec08 (with nothing more following), in hopes
|
||||
// that that will be unique enough
|
||||
if(imgHref.match(/\/photo\/[a-fA-F0-9]+(-[0-9]\.[\w]+?)?$/)) {
|
||||
|
||||
// Add a unique class to all the images of a certain post, to allow scrolling through
|
||||
var cBoxClass = $j(this).closest(".wall-item-body").attr("id") + "-lightbox";
|
||||
$j(this).addClass(cBoxClass);
|
||||
|
||||
// if( $j.inArray(cBoxClass, cBoxClasses) < 0 ) {
|
||||
// cBoxClasses.push(cBoxClass);
|
||||
// }
|
||||
|
||||
aElem.colorbox({
|
||||
maxHeight: '90%',
|
||||
photo: true, // Colorbox doesn't recognize a URL that don't end in .jpg, etc. as a photo
|
||||
rel: cBoxClass //$j(this).attr("class").match(/wall-item-body-[\d]+-lightbox/)[0]
|
||||
});
|
||||
}
|
||||
});
|
||||
/*$j.each(cBoxClasses, function(){
|
||||
$j('.'+this).colorbox({
|
||||
maxHeight: '90%',
|
||||
photo: true,
|
||||
rel: this
|
||||
});
|
||||
});*/
|
||||
|
||||
});
|
||||
|
||||
|
|
@ -274,7 +296,7 @@ $j(function(){
|
|||
$.colorbox({
|
||||
width: 800,
|
||||
height: '90%',
|
||||
href: "$baseurl/admin/themes/" + $j("#id_theme :selected").val(),
|
||||
href: baseurl + "/admin/themes/" + $("#id_theme :selected").val(),
|
||||
onComplete: function(){
|
||||
$j("div#fancybox-content form").submit(function(e){
|
||||
var url = $j(this).attr('action');
|
||||
|
|
@ -321,74 +343,12 @@ if(typeof window.photoEdit != 'undefined') {
|
|||
});
|
||||
}
|
||||
|
||||
switch(window.ajaxType) {
|
||||
case 'jot-header':
|
||||
function jotGetLink() {
|
||||
reply = prompt(window.linkURL);
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
addeditortext(data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'msg-header':
|
||||
case 'wallmsg-header':
|
||||
function jotGetLink() {
|
||||
reply = prompt(window.linkURL);
|
||||
if(reply && reply.length) {
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
function showEvent(eventid) {
|
||||
$j.get(
|
||||
baseurl + '/events/?id='+eventid,
|
||||
function(data){
|
||||
$j.colorbox({html:data});
|
||||
$j.colorbox.resize();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
@ -498,6 +458,462 @@ function hideNavMenu(menuID) {
|
|||
|
||||
|
||||
|
||||
/*
|
||||
* TinyMCE/Editor
|
||||
*/
|
||||
|
||||
function InitMCEEditor(editorData) {
|
||||
var tinyMCEInitConfig = {
|
||||
theme : "advanced",
|
||||
//mode : // SPECIFIC
|
||||
//editor_selector: // SPECIFIC
|
||||
//elements: // SPECIFIC
|
||||
plugins : "bbcode,paste,autoresize,inlinepopups",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true, // COUPLED WITH paste PLUGIN
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
//force_p_newlines : false,
|
||||
//force_br_newlines : true,
|
||||
forced_root_block : 'div',
|
||||
//convert_urls: false, //SPECIFIC?
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
file_browser_callback : "fcFileBrowser",
|
||||
//setup : // SPECIFIC
|
||||
};
|
||||
|
||||
if(window.editSelect != 'none') {
|
||||
$j.extend(tinyMCEInitConfig, editorData);
|
||||
tinyMCE.init(tinyMCEInitConfig);
|
||||
}
|
||||
else if(typeof editorData.plaintextFn == 'function') {
|
||||
(editorData.plaintextFn)();
|
||||
}
|
||||
}
|
||||
|
||||
var editor = false;
|
||||
var textlen = 0;
|
||||
|
||||
function initEditor(cb){
|
||||
if(editor==false) {
|
||||
editor = true;
|
||||
$j("#profile-jot-text-loading").show();
|
||||
|
||||
var editorData = {
|
||||
mode : "specific_textareas",
|
||||
editor_selector : "profile-jot-text",
|
||||
auto_focus : "profile-jot-text",
|
||||
//plugins : "bbcode,paste,autoresize,inlinepopups",
|
||||
//paste_text_sticky : true,
|
||||
convert_urls : false,
|
||||
setup : function(ed) {
|
||||
cPopup = null;
|
||||
ed.onKeyDown.add(function(ed,e) {
|
||||
if(cPopup !== null)
|
||||
cPopup.onkey(e);
|
||||
});
|
||||
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
match = txt.match(/@([^ \n]+)$/);
|
||||
if(match!==null) {
|
||||
if(cPopup === null) {
|
||||
cPopup = new ACPopup(this,baseurl+"/acl");
|
||||
}
|
||||
if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
|
||||
if(! cPopup.ready) cPopup = null;
|
||||
}
|
||||
else {
|
||||
if(cPopup !== null) { cPopup.close(); cPopup = null; }
|
||||
}
|
||||
|
||||
textlen = txt.length;
|
||||
if(textlen != 0 && $j('#jot-perms-icon').is('.unlock')) {
|
||||
$j('#profile-jot-desc').html(window.isPublic);
|
||||
}
|
||||
else {
|
||||
$j('#profile-jot-desc').html(' ');
|
||||
}
|
||||
|
||||
//Character count
|
||||
|
||||
if(textlen <= 140) {
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('grey');
|
||||
}
|
||||
if((textlen > 140) && (textlen <= 420)) {
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').addClass('orange');
|
||||
}
|
||||
if(textlen > 420) {
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('red');
|
||||
}
|
||||
$j('#character-counter').text(textlen);
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
$j("#profile-jot-text-loading").hide();
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
});
|
||||
|
||||
},
|
||||
plaintextFn : function() {
|
||||
$j("#profile-jot-text-loading").hide();
|
||||
$j("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$j("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
}
|
||||
};
|
||||
InitMCEEditor(editorData);
|
||||
|
||||
// setup acl popup
|
||||
$j("a#jot-perms-icon").colorbox({
|
||||
'inline' : true,
|
||||
'transition' : 'elastic'
|
||||
});
|
||||
} else {
|
||||
if (typeof cb!="undefined") cb();
|
||||
}
|
||||
}
|
||||
|
||||
function enableOnUser(){
|
||||
if (editor) return;
|
||||
$j(this).val("");
|
||||
initEditor();
|
||||
}
|
||||
|
||||
|
||||
function msgInitEditor() {
|
||||
var editorData = {
|
||||
mode : "specific_textareas",
|
||||
editor_selector : "prvmail-text",
|
||||
//plugins : "bbcode,paste",
|
||||
//paste_text_sticky : true,
|
||||
convert_urls : false,
|
||||
//theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
cPopup = null;
|
||||
ed.onKeyDown.add(function(ed,e) {
|
||||
if(cPopup !== null)
|
||||
cPopup.onkey(e);
|
||||
});
|
||||
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
match = txt.match(/@([^ \n]+)$/);
|
||||
if(match!==null) {
|
||||
if(cPopup === null) {
|
||||
cPopup = new ACPopup(this,baseurl+"/acl");
|
||||
}
|
||||
if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
|
||||
if(! cPopup.ready) cPopup = null;
|
||||
}
|
||||
else {
|
||||
if(cPopup !== null) { cPopup.close(); cPopup = null; }
|
||||
}
|
||||
|
||||
textlen = txt.length;
|
||||
if(textlen != 0 && $j('#jot-perms-icon').is('.unlock')) {
|
||||
$j('#profile-jot-desc').html(window.isPublic);
|
||||
}
|
||||
else {
|
||||
$j('#profile-jot-desc').html(' ');
|
||||
}
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $j('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$j('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
},
|
||||
plaintextFn : function() {
|
||||
$j("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
}
|
||||
InitMCEEditor(editorData);
|
||||
}
|
||||
|
||||
|
||||
function contactInitEditor() {
|
||||
var editorData = {
|
||||
mode : "exact",
|
||||
elements : "contact-edit-info",
|
||||
//plugins : "bbcode"
|
||||
}
|
||||
InitMCEEditor(editorData);
|
||||
}
|
||||
|
||||
|
||||
function eventInitEditor() {
|
||||
var editorData = {
|
||||
mode : "textareas",
|
||||
//plugins : "bbcode,paste",
|
||||
//paste_text_sticky : true,
|
||||
//theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
InitMCEEditor(editorData);
|
||||
}
|
||||
|
||||
|
||||
function profInitEditor() {
|
||||
var editorData = {
|
||||
mode : "textareas",
|
||||
//plugins : "bbcode,paste",
|
||||
//paste_text_sticky : true,
|
||||
//theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
InitMCEEditor(editorData);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Jot
|
||||
*/
|
||||
|
||||
function addeditortext(textElem, data) {
|
||||
if(window.editSelect == 'none') {
|
||||
var currentText = $j(textElem).val();
|
||||
$j(textElem).val(currentText + data);
|
||||
}
|
||||
else
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
}
|
||||
|
||||
function jotVideoURL() {
|
||||
reply = prompt(window.vidURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext("#profile-jot-text", '[video]' + reply + '[/video]');
|
||||
}
|
||||
}
|
||||
|
||||
function jotAudioURL() {
|
||||
reply = prompt(window.audURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext("#profile-jot-text", '[audio]' + reply + '[/audio]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotGetLocation() {
|
||||
|
||||
/* if(navigator.geolocation) {
|
||||
|
||||
navigator.geolocation.getCurrentPosition(function(position) {
|
||||
var lat = position.coords.latitude;
|
||||
var lng = position.coords.longitude;
|
||||
|
||||
$j.ajax({
|
||||
type: 'GET',
|
||||
url: 'http://nominatim.openstreetmap.org/reverse?format=json&lat='+lat+'&lon='+lng,
|
||||
jsonp: 'json_callback',
|
||||
contentType: 'application/json',
|
||||
dataType: 'jsonp',
|
||||
success: function(json) {
|
||||
console.log(json);
|
||||
var locationDisplay = json.address.building+', '+json.address.city+', '+json.address.state;
|
||||
$j('#jot-location').val(locationDisplay);
|
||||
$j('#jot-display-location').html('Location: '+locationDisplay);
|
||||
$j('#jot-display-location').show();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
else {
|
||||
reply = prompt(window.whereAreU, $j('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$j('#jot-location').val(reply);
|
||||
}
|
||||
}*/
|
||||
|
||||
reply = prompt(window.whereAreU, $j('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$j('#jot-location').val(reply);
|
||||
}
|
||||
}
|
||||
|
||||
function jotShare(id) {
|
||||
if ($j('#jot-popup').length != 0) $j('#jot-popup').show();
|
||||
|
||||
$j('#like-rotator-' + id).show();
|
||||
$j.get('share/' + id, function(data) {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext("#profile-jot-text", data);
|
||||
$j('#like-rotator-' + id).hide();
|
||||
$j(window).scrollTop(0);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function jotClearLocation() {
|
||||
$j('#jot-coord').val('');
|
||||
$j('#profile-nolocation-wrapper').hide();
|
||||
}
|
||||
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt(window.linkURL);
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
addeditortext(window.jotId, data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
//event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
/* if(window.jotId == "#profile-jot-text") {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(window.jotId, data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
else {*/
|
||||
addeditortext(window.jotId, data);
|
||||
$j('#profile-rotator').hide();
|
||||
// }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(typeof window.geoTag === 'function') window.geoTag();
|
||||
|
||||
|
||||
/*
|
||||
* Items
|
||||
*/
|
||||
|
||||
function confirmDelete() { return confirm(window.delItem); }
|
||||
|
||||
function deleteCheckedItems(delID) {
|
||||
if(confirm(window.delItems)) {
|
||||
var checkedstr = '';
|
||||
|
||||
$j(delID).hide();
|
||||
$j(delID + '-rotator').show();
|
||||
$j('.item-select').each( function() {
|
||||
if($j(this).is(':checked')) {
|
||||
if(checkedstr.length != 0) {
|
||||
checkedstr = checkedstr + ',' + $j(this).val();
|
||||
}
|
||||
else {
|
||||
checkedstr = $j(this).val();
|
||||
}
|
||||
}
|
||||
});
|
||||
$j.post('item', { dropitems: checkedstr }, function(data) {
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function itemTag(id) {
|
||||
reply = prompt(window.term);
|
||||
if(reply && reply.length) {
|
||||
reply = reply.replace('#','');
|
||||
if(reply.length) {
|
||||
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
|
||||
$j.get('tagger/' + id + '?term=' + reply, NavUpdate);
|
||||
/*if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function itemFiler(id) {
|
||||
|
||||
var bordercolor = $j("input").css("border-color");
|
||||
|
||||
$j.get('filer/', function(data){
|
||||
$j.colorbox({html:data});
|
||||
$j.colorbox.resize();
|
||||
$j("#id_term").keypress(function(){
|
||||
$j(this).css("border-color",bordercolor);
|
||||
})
|
||||
$j("#select_term").change(function(){
|
||||
$j("#id_term").css("border-color",bordercolor);
|
||||
})
|
||||
|
||||
$j("#filer_save").click(function(e){
|
||||
e.preventDefault();
|
||||
reply = $j("#id_term").val();
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j.get('filer/' + id + '?term=' + reply, NavUpdate);
|
||||
/* if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
$j.colorbox.close();
|
||||
} else {
|
||||
$j("#id_term").css("border-color","#FF0000");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Comments
|
||||
*/
|
||||
|
||||
function insertFormatting(comment,BBcode,id) {
|
||||
|
||||
var tmpStr = $j("#comment-edit-text-" + id).val();
|
||||
|
|
@ -535,8 +951,6 @@ function cmtBbClose(id) {
|
|||
$j("#comment-edit-bb-" + id).hide();
|
||||
}
|
||||
|
||||
function confirmDelete() { return confirm(window.delItem); }
|
||||
|
||||
function commentOpen(obj,id) {
|
||||
if(obj.value == window.commentEmptyText) {
|
||||
obj.value = "";
|
||||
|
|
@ -599,463 +1013,3 @@ function qCommentInsert(obj,id) {
|
|||
}
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
function enableOnUser(){
|
||||
if (editor) return;
|
||||
$j(this).val("");
|
||||
initEditor();
|
||||
}
|
||||
|
||||
|
||||
var editor=false;
|
||||
var textlen = 0;
|
||||
var plaintext = window.editSelect;
|
||||
var ispublic = window.isPublic;
|
||||
|
||||
function initEditor(cb){
|
||||
if (editor==false){
|
||||
$j("#profile-jot-text-loading").show();
|
||||
if(plaintext == 'none') {
|
||||
$j("#profile-jot-text-loading").hide();
|
||||
$j("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$j("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
editor = true;
|
||||
$j("a#jot-perms-icon").colorbox({
|
||||
'inline' : true,
|
||||
'transition' : 'elastic'
|
||||
});
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
return;
|
||||
}
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: window.editSelect,
|
||||
auto_focus: "profile-jot-text",
|
||||
plugins : "bbcode,paste,autoresize, inlinepopups",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
//force_p_newlines : false,
|
||||
//force_br_newlines : true,
|
||||
forced_root_block : 'div',
|
||||
convert_urls: false,
|
||||
content_css: window.baseURL + "/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
file_browser_callback : "fcFileBrowser",
|
||||
setup : function(ed) {
|
||||
cPopup = null;
|
||||
ed.onKeyDown.add(function(ed,e) {
|
||||
if(cPopup !== null)
|
||||
cPopup.onkey(e);
|
||||
});
|
||||
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
match = txt.match(/@([^ \n]+)$/);
|
||||
if(match!==null) {
|
||||
if(cPopup === null) {
|
||||
cPopup = new ACPopup(this,baseurl+"/acl");
|
||||
}
|
||||
if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
|
||||
if(! cPopup.ready) cPopup = null;
|
||||
}
|
||||
else {
|
||||
if(cPopup !== null) { cPopup.close(); cPopup = null; }
|
||||
}
|
||||
|
||||
textlen = txt.length;
|
||||
if(textlen != 0 && $j('#jot-perms-icon').is('.unlock')) {
|
||||
$j('#profile-jot-desc').html(ispublic);
|
||||
}
|
||||
else {
|
||||
$j('#profile-jot-desc').html(' ');
|
||||
}
|
||||
|
||||
//Character count
|
||||
|
||||
if(textlen <= 140) {
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('grey');
|
||||
}
|
||||
if((textlen > 140) && (textlen <= 420)) {
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').addClass('orange');
|
||||
}
|
||||
if(textlen > 420) {
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('red');
|
||||
}
|
||||
$j('#character-counter').text(textlen);
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
$j("#profile-jot-text-loading").hide();
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
editor = true;
|
||||
// setup acl popup
|
||||
$j("a#jot-perms-icon").colorbox({
|
||||
'inline' : true,
|
||||
'transition' : 'elastic'
|
||||
});
|
||||
} else {
|
||||
if (typeof cb!="undefined") cb();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function msgInitEditor() {
|
||||
if(plaintext != 'none') {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
//force_p_newlines : false,
|
||||
//force_br_newlines : true,
|
||||
forced_root_block : 'div',
|
||||
convert_urls: false,
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $j('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$j('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
$j("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
|
||||
function profInitEditor() {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : window.editSelect,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
//force_p_newlines : false,
|
||||
//force_br_newlines : true,
|
||||
forced_root_block : 'div',
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function eventInitEditor() {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
//force_p_newlines : false,
|
||||
//force_br_newlines : true,
|
||||
forced_root_block : 'div',
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function contactInitEditor () {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : window.editSelect,
|
||||
elements: "contact-edit-info",
|
||||
plugins : "bbcode",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_styles : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
//force_p_newlines : false,
|
||||
//force_br_newlines : true,
|
||||
forced_root_block : 'div',
|
||||
content_css: baseurl + "/view/custom_tinymce.css"
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function wallInitEditor() {
|
||||
var plaintext = window.editSelect;
|
||||
|
||||
if(plaintext != 'none') {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
//force_p_newlines : false,
|
||||
//force_br_newlines : true,
|
||||
forced_root_block : 'div',
|
||||
convert_urls: false,
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $j('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$j('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
$j("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
function deleteCheckedItems(delID) {
|
||||
if(confirm(window.delItems)) {
|
||||
var checkedstr = '';
|
||||
|
||||
$j(delID).hide();
|
||||
$j(delID + '-rotator').show();
|
||||
$j('.item-select').each( function() {
|
||||
if($j(this).is(':checked')) {
|
||||
if(checkedstr.length != 0) {
|
||||
checkedstr = checkedstr + ',' + $j(this).val();
|
||||
}
|
||||
else {
|
||||
checkedstr = $j(this).val();
|
||||
}
|
||||
}
|
||||
});
|
||||
$j.post('item', { dropitems: checkedstr }, function(data) {
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotVideoURL() {
|
||||
reply = prompt(window.vidURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[video]' + reply + '[/video]');
|
||||
}
|
||||
}
|
||||
|
||||
function jotAudioURL() {
|
||||
reply = prompt(window.audURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[audio]' + reply + '[/audio]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotGetLocation() {
|
||||
|
||||
/* if(navigator.geolocation) {
|
||||
|
||||
navigator.geolocation.getCurrentPosition(function(position) {
|
||||
var lat = position.coords.latitude;
|
||||
var lng = position.coords.longitude;
|
||||
|
||||
$j.ajax({
|
||||
type: 'GET',
|
||||
url: 'http://nominatim.openstreetmap.org/reverse?format=json&lat='+lat+'&lon='+lng,
|
||||
jsonp: 'json_callback',
|
||||
contentType: 'application/json',
|
||||
dataType: 'jsonp',
|
||||
success: function(json) {
|
||||
console.log(json);
|
||||
var locationDisplay = json.address.building+', '+json.address.city+', '+json.address.state;
|
||||
$j('#jot-location').val(locationDisplay);
|
||||
$j('#jot-display-location').html('Location: '+locationDisplay);
|
||||
$j('#jot-display-location').show();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
else {
|
||||
reply = prompt(window.whereAreU, $j('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$j('#jot-location').val(reply);
|
||||
}
|
||||
}*/
|
||||
|
||||
reply = prompt(window.whereAreU, $j('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$j('#jot-location').val(reply);
|
||||
}
|
||||
}
|
||||
|
||||
function jotShare(id) {
|
||||
if ($j('#jot-popup').length != 0) $j('#jot-popup').show();
|
||||
|
||||
$j('#like-rotator-' + id).show();
|
||||
$j.get('share/' + id, function(data) {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$j('#like-rotator-' + id).hide();
|
||||
$j(window).scrollTop(0);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function itemTag(id) {
|
||||
reply = prompt(window.term);
|
||||
if(reply && reply.length) {
|
||||
reply = reply.replace('#','');
|
||||
if(reply.length) {
|
||||
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
|
||||
$j.get('tagger/' + id + '?term=' + reply, NavUpdate);
|
||||
/*if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function itemFiler(id) {
|
||||
|
||||
var bordercolor = $j("input").css("border-color");
|
||||
|
||||
$j.get('filer/', function(data){
|
||||
$j.colorbox({html:data});
|
||||
$j("#id_term").keypress(function(){
|
||||
$j(this).css("border-color",bordercolor);
|
||||
})
|
||||
$j("#select_term").change(function(){
|
||||
$j("#id_term").css("border-color",bordercolor);
|
||||
})
|
||||
|
||||
$j("#filer_save").click(function(e){
|
||||
e.preventDefault();
|
||||
reply = $j("#id_term").val();
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j.get('filer/' + id + '?term=' + reply, NavUpdate);
|
||||
/* if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
$j.colorbox.close();
|
||||
} else {
|
||||
$j("#id_term").css("border-color","#FF0000");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function jotClearLocation() {
|
||||
$j('#jot-coord').val('');
|
||||
$j('#profile-nolocation-wrapper').hide();
|
||||
}
|
||||
|
||||
function addeditortext(data) {
|
||||
if(plaintext == 'none') {
|
||||
var currentText = $j("#profile-jot-text").val();
|
||||
$j("#profile-jot-text").val(currentText + data);
|
||||
}
|
||||
else
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
}
|
||||
|
||||
if(typeof window.geoTag === 'function') window.geoTag();
|
||||
|
||||
|
||||
|
|
|
|||
2
view/theme/frost/js/theme.min.js
vendored
7
view/theme/frost/like_noshare.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$id">
|
||||
<a href="#" class="tool like" title="$likethis" onclick="dolike($id,'like'); return false"></a>
|
||||
{{ if $nolike }}
|
||||
<a href="#" class="tool dislike" title="$nolike" onclick="dolike($id,'dislike'); return false"></a>
|
||||
{{ endif }}
|
||||
<img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
|
||||
</div>
|
||||
|
|
@ -67,11 +67,14 @@ div.section-wrapper {
|
|||
.field {
|
||||
margin-bottom: 2px;
|
||||
padding-bottom: 0px;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.field label {
|
||||
width: auto;
|
||||
position: absolute;
|
||||
width: 275px;
|
||||
/*position: absolute;*/
|
||||
display: inline-block;
|
||||
margin-left: 0px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
|
@ -85,30 +88,43 @@ div.section-wrapper {
|
|||
position: auto;
|
||||
/*margin-left: 100px;*/
|
||||
}
|
||||
.field.checkbox input {
|
||||
/*.field.checkbox input {
|
||||
width: auto;
|
||||
margin-left: 140px;
|
||||
}
|
||||
}*/
|
||||
|
||||
#div_id_remember {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#div_id_remember label {
|
||||
width: auto;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
/*.openid input {*/
|
||||
#id_openid_url, .openid input {
|
||||
#id_openid_url, input.openid {
|
||||
background: url(login-bg.gif) no-repeat;
|
||||
background-position: 0 50%;
|
||||
width: 182px;
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
#wrapper_username input, #wrapper_password input, #wrapper_openid_url input {
|
||||
/*#wrapper_username input, #wrapper_password input, #wrapper_openid_url input {
|
||||
margin-left: 225px;
|
||||
}
|
||||
}*/
|
||||
|
||||
#register-openid-wrapper input, #register-name-wrapper input, #register-email-wrapper input, #register-nickname-wrapper input {
|
||||
/*#register-openid-wrapper input, #register-name-wrapper input, #register-email-wrapper input, #register-nickname-wrapper input {
|
||||
margin-left: 275px;
|
||||
}*/
|
||||
|
||||
#register-openid-wrapper {
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
}
|
||||
#label-register-openid {
|
||||
display: inline-block;
|
||||
width: 275px;
|
||||
}
|
||||
|
||||
#login-name-wrapper input {
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<!--<link rel="stylesheet" href="$baseurl/view/theme/frost/login-style.css" type="text/css" media="all" />-->
|
||||
{#<!--<link rel="stylesheet" href="$baseurl/view/theme/frost/login-style.css" type="text/css" media="all" />-->#}
|
||||
|
||||
|
|
|
|||
14
view/theme/frost/mail_conv.tpl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<div class="mail-conv-outside-wrapper">
|
||||
<div class="mail-conv-sender" >
|
||||
<a href="$mail.from_url" class="mail-conv-sender-url" ><img class="mframe mail-conv-sender-photo$mail.sparkle" src="$mail.from_photo" heigth="80" width="80" alt="$mail.from_name" /></a>
|
||||
</div>
|
||||
<div class="mail-conv-detail" >
|
||||
<div class="mail-conv-sender-name" >$mail.from_name</div>
|
||||
<div class="mail-conv-date">$mail.date</div>
|
||||
<div class="mail-conv-subject">$mail.subject</div>
|
||||
<div class="mail-conv-body">$mail.body</div>
|
||||
<div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-$mail.id" ><a href="message/drop/$mail.id" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" title="$mail.delete" id="mail-conv-delete-icon-$mail.id" class="mail-conv-delete-icon" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#} ></a></div><div class="mail-conv-delete-end"></div>
|
||||
<div class="mail-conv-outside-wrapper-end"></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="mail-conv-break" />
|
||||
16
view/theme/frost/mail_list.tpl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<div class="mail-list-outside-wrapper">
|
||||
<div class="mail-list-sender" >
|
||||
<a href="$from_url" class="mail-list-sender-url" ><img class="mail-list-sender-photo$sparkle" src="$from_photo" height="80" width="80" alt="$from_name" /></a>
|
||||
</div>
|
||||
<div class="mail-list-detail">
|
||||
<div class="mail-list-sender-name" >$from_name</div>
|
||||
<div class="mail-list-date">$date</div>
|
||||
<div class="mail-list-subject"><a href="message/$id" class="mail-list-link">$subject</a></div>
|
||||
<div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-$id" >
|
||||
<a href="message/dropconv/$id" onclick="return confirmDelete();" title="$delete" class="icon drophide mail-list-delete delete-icon" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#} ></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mail-list-delete-end"></div>
|
||||
|
||||
<div class="mail-list-outside-wrapper-end"></div>
|
||||
|
|
@ -1,9 +1,3 @@
|
|||
<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<!--<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>-->
|
||||
<script type="text/javascript" src="js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
msgInitEditor();
|
||||
</script>
|
||||
|
||||
|
||||
<script language="javascript" type="text/javascript">msgInitEditor();</script>
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
<script language="javascript" type="text/javascript">
|
||||
window.nickname = "$nickname";
|
||||
window.linkURL = "$linkurl";
|
||||
var none = "none"; // ugly hack: $editselect shouldn't be a string if TinyMCE is enabled, but should if it isn't
|
||||
window.editSelect = $editselect;
|
||||
window.ajaxType = 'msg-header';
|
||||
window.editSelect = "$editselect";
|
||||
window.jotId = "#prvmail-text";
|
||||
window.imageUploadButton = 'prvmail-upload';
|
||||
window.autocompleteType = 'msg-header';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<span id="nav-link-wrapper" >
|
||||
|
||||
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
||||
{#<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->#}
|
||||
<div class="nav-button-container nav-menu-link" rel="#system-menu-list">
|
||||
<a class="system-menu-link nav-link nav-menu-icon" href="$nav.settings.0" title="Main Menu" point="#system-menu-list">
|
||||
<img class="system-menu-link" src="$baseurl/view/theme/frost/images/menu.png">
|
||||
|
|
@ -54,12 +54,12 @@
|
|||
</div>
|
||||
|
||||
{{ if $nav.notifications }}
|
||||
<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a>-->
|
||||
{#<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a>-->#}
|
||||
<div class="nav-button-container">
|
||||
<a id="nav-notifications-linkmenu" class="nav-link" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">
|
||||
<img rel="#nav-notifications-menu" src="$baseurl/view/theme/frost/images/notifications.png">
|
||||
</a>
|
||||
<span id="notify-update" class="nav-ajax-left"></span>
|
||||
<span id="notify-update" class="nav-ajax-left" rel="#nav-network-notifications-popup"></span>
|
||||
<ul id="nav-notifications-menu" class="notifications-menu-popup">
|
||||
<li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
|
||||
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
</div>
|
||||
{{ endif }}
|
||||
|
||||
<!-- <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->
|
||||
{#<!-- <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->#}
|
||||
<div class="nav-button-container nav-menu-link" rel="#contacts-menu-list">
|
||||
<a class="contacts-menu-link nav-link nav-menu-icon" href="$nav.contacts.0" title="Contacts" point="#contacts-menu-list">
|
||||
<img class="contacts-menu-link" src="$baseurl/view/theme/frost/images/contacts.png">
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
</div>
|
||||
|
||||
{{ if $nav.messages }}
|
||||
<!-- <a id="nav-messages-link" class="nav-link $nav.messages.2 $sel.messages nav-load-page-link" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a>-->
|
||||
{#<!-- <a id="nav-messages-link" class="nav-link $nav.messages.2 $sel.messages nav-load-page-link" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a>-->#}
|
||||
<div class="nav-button-container">
|
||||
<a id="nav-messages-link" class="nav-link $nav.messages.2 $sel.messages nav-load-page-link" href="$nav.messages.0" title="$nav.messages.3" >
|
||||
<img src="$baseurl/view/theme/frost/images/message.png">
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
</div>
|
||||
{{ endif }}
|
||||
|
||||
<!-- <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->
|
||||
{#<!-- <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->#}
|
||||
<div class="nav-button-container nav-menu-link" rel="#network-menu-list">
|
||||
<a class="nav-menu-icon network-menu-link nav-link" href="$nav.network.0" title="Network" point="#network-menu-list">
|
||||
<img class="network-menu-link" src="$baseurl/view/theme/frost/images/network.png">
|
||||
|
|
@ -116,12 +116,12 @@
|
|||
<li>
|
||||
<a id="nav-network-link" class="$nav.network.2 $sel.network nav-load-page-link" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a>
|
||||
</li>
|
||||
<!--<span id="net-update" class="nav-ajax-left"></span>-->
|
||||
{#<!--<span id="net-update" class="nav-ajax-left"></span>-->#}
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.home }}
|
||||
<li><a id="nav-home-link" class="$nav.home.2 $sel.home nav-load-page-link" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a></li>
|
||||
<!--<span id="home-update" class="nav-ajax-left"></span>-->
|
||||
{#<!--<span id="home-update" class="nav-ajax-left"></span>-->#}
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.community }}
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
{{ endif }}
|
||||
|
||||
</span>
|
||||
<!--<span id="nav-end"></span>-->
|
||||
{#<!--<span id="nav-end"></span>-->#}
|
||||
<span id="banner">$banner</span>
|
||||
</nav>
|
||||
|
||||
|
|
|
|||
4
view/theme/frost/photo_drop.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" >
|
||||
<a href="item/drop/$id" onclick="return confirmDelete();" class="icon drophide" title="$delete" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#} ></a>
|
||||
</div>
|
||||
<div class="wall-item-delete-end"></div>
|
||||
|
|
@ -50,9 +50,9 @@
|
|||
<div id="photo-edit-end"></div>
|
||||
</form>
|
||||
|
||||
<!--<script>
|
||||
{#<!--<script>
|
||||
$("a#photo-edit-perms-menu").colorbox({
|
||||
'inline' : true,
|
||||
'transition' : 'none'
|
||||
});
|
||||
</script>-->
|
||||
</script>-->#}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
<script type="text/javascript" src="js/country.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
profInitEditor();
|
||||
Fill_Country('$country_name');
|
||||
Fill_States('$region');
|
||||
profInitEditor();
|
||||
Fill_Country('$country_name');
|
||||
Fill_States('$region');
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ $sexual
|
|||
$lbl_about
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="profile-about-text" class="profile-edit-textarea" name="about" >$about</textarea>
|
||||
<textarea rows="10" cols="70" id="profile-about-text" class="profile-edit-textarea" name="about" >$about</textarea>
|
||||
|
||||
</div>
|
||||
<div id="about-jot-end"></div>
|
||||
|
|
@ -179,7 +179,7 @@ $lbl_about
|
|||
$lbl_hobbies
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="interest-jot-text" class="profile-edit-textarea" name="interest" >$interest</textarea>
|
||||
<textarea rows="10" cols="70" id="interest-jot-text" class="profile-edit-textarea" name="interest" >$interest</textarea>
|
||||
|
||||
</div>
|
||||
<div id="interest-jot-end"></div>
|
||||
|
|
@ -190,7 +190,7 @@ $lbl_hobbies
|
|||
$lbl_likes
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="likes-jot-text" class="profile-edit-textarea" name="likes" >$likes</textarea>
|
||||
<textarea rows="10" cols="70" id="likes-jot-text" class="profile-edit-textarea" name="likes" >$likes</textarea>
|
||||
|
||||
</div>
|
||||
<div id="likes-jot-end"></div>
|
||||
|
|
@ -201,7 +201,7 @@ $lbl_likes
|
|||
$lbl_dislikes
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="dislikes-jot-text" class="profile-edit-textarea" name="dislikes" >$dislikes</textarea>
|
||||
<textarea rows="10" cols="70" id="dislikes-jot-text" class="profile-edit-textarea" name="dislikes" >$dislikes</textarea>
|
||||
|
||||
</div>
|
||||
<div id="dislikes-jot-end"></div>
|
||||
|
|
@ -212,7 +212,7 @@ $lbl_dislikes
|
|||
$lbl_social
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="contact-jot-text" class="profile-edit-textarea" name="contact" >$contact</textarea>
|
||||
<textarea rows="10" cols="70" id="contact-jot-text" class="profile-edit-textarea" name="contact" >$contact</textarea>
|
||||
|
||||
</div>
|
||||
<div id="contact-jot-end"></div>
|
||||
|
|
@ -229,7 +229,7 @@ $lbl_social
|
|||
$lbl_music
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="music-jot-text" class="profile-edit-textarea" name="music" >$music</textarea>
|
||||
<textarea rows="10" cols="70" id="music-jot-text" class="profile-edit-textarea" name="music" >$music</textarea>
|
||||
|
||||
</div>
|
||||
<div id="music-jot-end"></div>
|
||||
|
|
@ -239,7 +239,7 @@ $lbl_music
|
|||
$lbl_book
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="book-jot-text" class="profile-edit-textarea" name="book" >$book</textarea>
|
||||
<textarea rows="10" cols="70" id="book-jot-text" class="profile-edit-textarea" name="book" >$book</textarea>
|
||||
|
||||
</div>
|
||||
<div id="book-jot-end"></div>
|
||||
|
|
@ -251,7 +251,7 @@ $lbl_book
|
|||
$lbl_tv
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="tv-jot-text" class="profile-edit-textarea" name="tv" >$tv</textarea>
|
||||
<textarea rows="10" cols="70" id="tv-jot-text" class="profile-edit-textarea" name="tv" >$tv</textarea>
|
||||
|
||||
</div>
|
||||
<div id="tv-jot-end"></div>
|
||||
|
|
@ -263,7 +263,7 @@ $lbl_tv
|
|||
$lbl_film
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="film-jot-text" class="profile-edit-textarea" name="film" >$film</textarea>
|
||||
<textarea rows="10" cols="70" id="film-jot-text" class="profile-edit-textarea" name="film" >$film</textarea>
|
||||
|
||||
</div>
|
||||
<div id="film-jot-end"></div>
|
||||
|
|
@ -280,7 +280,7 @@ $lbl_film
|
|||
$lbl_love
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="romance-jot-text" class="profile-edit-textarea" name="romance" >$romance</textarea>
|
||||
<textarea rows="10" cols="70" id="romance-jot-text" class="profile-edit-textarea" name="romance" >$romance</textarea>
|
||||
|
||||
</div>
|
||||
<div id="romance-jot-end"></div>
|
||||
|
|
@ -292,7 +292,7 @@ $lbl_love
|
|||
$lbl_work
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="work-jot-text" class="profile-edit-textarea" name="work" >$work</textarea>
|
||||
<textarea rows="10" cols="70" id="work-jot-text" class="profile-edit-textarea" name="work" >$work</textarea>
|
||||
|
||||
</div>
|
||||
<div id="work-jot-end"></div>
|
||||
|
|
@ -304,7 +304,7 @@ $lbl_work
|
|||
$lbl_school
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="education-jot-text" class="profile-edit-textarea" name="education" >$education</textarea>
|
||||
<textarea rows="10" cols="70" id="education-jot-text" class="profile-edit-textarea" name="education" >$education</textarea>
|
||||
|
||||
</div>
|
||||
<div id="education-jot-end"></div>
|
||||
|
|
|
|||
64
view/theme/frost/search_item.tpl
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<a name="$item.id" ></a>
|
||||
{#<!--<div class="wall-item-outside-wrapper $item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >-->#}
|
||||
<div class="wall-item-content-wrapper $item.indent$item.previewing" id="wall-item-content-wrapper-$item.id" >
|
||||
<div class="wall-item-info" id="wall-item-info-$item.id">
|
||||
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
||||
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||
{#<!--<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">-->#}
|
||||
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
{#<!--</div>-->#}
|
||||
</div>
|
||||
{#<!--<div class="wall-item-photo-end"></div> -->#}
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||
{{ if $item.lock }}{#<!--<div class="wall-item-lock">-->#}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" onclick="lockview(event,$item.id);" />{#<!--</div>-->#}
|
||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||
</div>
|
||||
</div>
|
||||
{#<!--<div class="wall-item-author">-->#}
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||
<div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div>
|
||||
|
||||
{#<!--</div> -->#}
|
||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||
{#<!--<div class="wall-item-title-end"></div>-->#}
|
||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body</div>
|
||||
{{ if $item.has_cats }}
|
||||
<div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name{{ if $cat.removeurl }} <a href="$cat.removeurl" title="$remove">[$remove]</a>{{ endif }} {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $item.has_folders }}
|
||||
<div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name{{ if $cat.removeurl }} <a href="$cat.removeurl" title="$remove">[$remove]</a>{{ endif }}{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
|
||||
</div>
|
||||
{{ endif }}
|
||||
</div>
|
||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||
{#<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->#}
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
{#<!--</div>-->#}
|
||||
{{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
{#<!--<div class="wall-item-delete-end"></div>-->#}
|
||||
</div>
|
||||
</div>
|
||||
{#<!--<div class="wall-item-wrapper-end"></div>-->#}
|
||||
|
||||
|
||||
<div class="wall-item-conv" id="wall-item-conv-$item.id" >
|
||||
{{ if $item.conv }}
|
||||
<a href='$item.conv.href' id='context-$item.id' title='$item.conv.title'>$item.conv.title</a>
|
||||
{{ endif }}
|
||||
</div>
|
||||
|
||||
{#<!--<div class="wall-item-outside-wrapper-end $item.indent" ></div>
|
||||
|
||||
</div>
|
||||
|
||||
-->#}
|
||||
93
view/theme/frost/smarty3/contact_edit.tpl
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<h2>{{$header}}</h2>
|
||||
|
||||
<div id="contact-edit-wrapper" >
|
||||
|
||||
{{$tab_str}}
|
||||
|
||||
<div id="contact-edit-drop-link" >
|
||||
<a href="contacts/{{$contact_id}}/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();" title="{{$delete}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}}></a>
|
||||
</div>
|
||||
|
||||
<div id="contact-edit-drop-link-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-nav-wrapper" >
|
||||
<div id="contact-edit-links">
|
||||
<ul>
|
||||
<li><div id="contact-edit-rel">{{$relation_text}}</div></li>
|
||||
<li><div id="contact-edit-nettype">{{$nettype}}</div></li>
|
||||
{{if $lost_contact}}
|
||||
<li><div id="lost-contact-message">{{$lost_contact}}</div></li>
|
||||
{{/if}}
|
||||
{{if $insecure}}
|
||||
<li><div id="insecure-message">{{$insecure}}</div></li>
|
||||
{{/if}}
|
||||
{{if $blocked}}
|
||||
<li><div id="block-message">{{$blocked}}</div></li>
|
||||
{{/if}}
|
||||
{{if $ignored}}
|
||||
<li><div id="ignore-message">{{$ignored}}</div></li>
|
||||
{{/if}}
|
||||
{{if $archived}}
|
||||
<li><div id="archive-message">{{$archived}}</div></li>
|
||||
{{/if}}
|
||||
|
||||
<li> </li>
|
||||
|
||||
{{if $common_text}}
|
||||
<li><div id="contact-edit-common"><a href="{{$common_link}}">{{$common_text}}</a></div></li>
|
||||
{{/if}}
|
||||
{{if $all_friends}}
|
||||
<li><div id="contact-edit-allfriends"><a href="allfriends/{{$contact_id}}">{{$all_friends}}</a></div></li>
|
||||
{{/if}}
|
||||
|
||||
|
||||
<li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li>
|
||||
{{if $lblsuggest}}
|
||||
<li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="contact-edit-nav-end"></div>
|
||||
|
||||
|
||||
<form action="contacts/{{$contact_id}}" method="post" >
|
||||
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
||||
|
||||
{{if $poll_enabled}}
|
||||
<div id="contact-edit-poll-wrapper">
|
||||
<div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
|
||||
<span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}} <span id="contact-edit-update-now" class="button"><a href="contacts/{{$contact_id}}/update" >{{$udnow}}</a></span>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div id="contact-edit-end" ></div>
|
||||
|
||||
{{include file="field_checkbox.tpl" field=$hidden}}
|
||||
|
||||
<div id="contact-edit-info-wrapper">
|
||||
<h4>{{$lbl_info1}}</h4>
|
||||
<textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea>
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
|
||||
</div>
|
||||
<div id="contact-edit-info-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<h4>{{$lbl_vis1}}</h4>
|
||||
<p>{{$lbl_vis2}}</p>
|
||||
</div>
|
||||
{{$profile_select}}
|
||||
<div id="contact-edit-profile-select-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -3,9 +3,5 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "{{$editselect}}";
|
||||
contactInitEditor();
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript">contactInitEditor();</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,3 +3,7 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "{{$editselect}}";
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,20 +6,25 @@
|
|||
<!--[if IE]>
|
||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
|
||||
<script type="text/javascript">
|
||||
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>-->*}}
|
||||
{{*<!--<script type="text/javascript">
|
||||
tinyMCE.init({ mode : "none"});
|
||||
</script>
|
||||
</script>-->*}}
|
||||
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
|
||||
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/jquery.divgrow-1.3.1.f1.min.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/fk.autocomplete.min.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/colorbox/jquery.colorbox-min.js"></script>
|
||||
<!--<script type="text/javascript" src="{{$baseurl}}/library/tiptip/jquery.tipTip.minified.js"></script>-->
|
||||
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/tiptip/jquery.tipTip.minified.js"></script>-->*}}
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/acl.min.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.min.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/fk.autocomplete.min.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/main.min.js" ></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/theme.min.js"></script>
|
||||
|
||||
|
|
|
|||
15
view/theme/frost/smarty3/event.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{foreach $events as $event}}
|
||||
<div class="event">
|
||||
|
||||
{{if $event.item.author_name}}<a href="{{$event.item.author_link}}" ><img src="{{$event.item.author_avatar}}" height="32" width="32" />{{$event.item.author_name}}</a>{{/if}}
|
||||
{{$event.html}}
|
||||
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" target="external-link" class="plink-event-link icon s22 remote-link"></a>{{/if}}
|
||||
{{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link tool s22 pencil"></a>{{/if}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{/foreach}}
|
||||
|
|
@ -6,7 +6,5 @@
|
|||
<script language="javascript" type="text/javascript"
|
||||
src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
eventInitEditor();
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript">eventInitEditor();</script>
|
||||
|
||||
|
|
|
|||
55
view/theme/frost/smarty3/event_form.tpl
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h3>{{$title}}</h3>
|
||||
|
||||
<p>
|
||||
{{$desc}}
|
||||
</p>
|
||||
|
||||
<form action="{{$post}}" method="post" >
|
||||
|
||||
<input type="hidden" name="event_id" value="{{$eid}}" />
|
||||
<input type="hidden" name="cid" value="{{$cid}}" />
|
||||
<input type="hidden" name="uri" value="{{$uri}}" />
|
||||
|
||||
<div id="event-start-text">{{$s_text}}</div>
|
||||
{{$s_dsel}} {{$s_tsel}}
|
||||
|
||||
<div id="event-finish-text">{{$f_text}}</div>
|
||||
{{$f_dsel}} {{$f_tsel}}
|
||||
|
||||
<div id="event-datetime-break"></div>
|
||||
|
||||
<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} /> <div id="event-nofinish-text">{{$n_text}}</div>
|
||||
|
||||
<div id="event-nofinish-break"></div>
|
||||
|
||||
<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" {{$a_checked}} /> <div id="event-adjust-text">{{$a_text}}</div>
|
||||
|
||||
<div id="event-adjust-break"></div>
|
||||
|
||||
<div id="event-summary-text">{{$t_text}}</div>
|
||||
<input type="text" id="event-summary" name="summary" value="{{$t_orig}}" />
|
||||
|
||||
|
||||
<div id="event-desc-text">{{$d_text}}</div>
|
||||
<textarea id="event-desc-textarea" rows="10" cols="70" name="desc">{{$d_orig}}</textarea>
|
||||
|
||||
|
||||
<div id="event-location-text">{{$l_text}}</div>
|
||||
<textarea id="event-location-textarea" rows="10" cols="70" name="location">{{$l_orig}}</textarea>
|
||||
<br />
|
||||
|
||||
<input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div>
|
||||
<div id="event-share-break"></div>
|
||||
|
||||
{{$acl}}
|
||||
|
||||
<div class="clear"></div>
|
||||
<input id="event-submit" type="submit" name="submit" value="{{$submit}}" />
|
||||
</form>
|
||||
|
||||
|
||||
|
|
@ -7,5 +7,6 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.aclType = 'event_head';
|
||||
window.editSelect = "{{$editselect}}";
|
||||
</script>
|
||||
|
||||
|
|
|
|||
14
view/theme/frost/smarty3/group_drop.tpl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="group-delete-wrapper button" id="group-delete-wrapper-{{$id}}" >
|
||||
<a href="group/drop/{{$id}}?t={{$form_security_token}}"
|
||||
onclick="return confirmDelete();"
|
||||
id="group-delete-icon-{{$id}}"
|
||||
class="icon drophide group-delete-icon"
|
||||
{{*onmouseover="imgbright(this);"
|
||||
onmouseout="imgdull(this);"*}} ></a>
|
||||
</div>
|
||||
<div class="group-delete-end"></div>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
<base href="{{$baseurl}}/" />
|
||||
<meta name="generator" content="{{$generator}}" />
|
||||
<link rel="stylesheet" href="{{$baseurl}}/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||
<!--<link rel="stylesheet" href="{{$baseurl}}/library/tiptip/tipTip.css" type="text/css" media="screen" />-->
|
||||
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/library/tiptip/tipTip.css" type="text/css" media="screen" />-->*}}
|
||||
<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script>if(typeof window.jotInit != 'undefined') initEditor();</script>
|
||||
|
||||
<script language="javascript" type="text/javascript">if(typeof window.jotInit != 'undefined') initEditor();</script>
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
*}}
|
||||
|
||||
<script>
|
||||
var none = "none"; // ugly hack: {{$editselect}} shouldn't be a string if TinyMCE is enabled, but should if it isn't
|
||||
window.editSelect = {{$editselect}};
|
||||
window.editSelect = "{{$editselect}}";
|
||||
window.isPublic = "{{$ispublic}}";
|
||||
window.nickname = "{{$nickname}}";
|
||||
window.linkURL = "{{$linkurl}}";
|
||||
|
|
@ -16,7 +15,8 @@
|
|||
window.term = "{{$term}}";
|
||||
window.baseURL = "{{$baseurl}}";
|
||||
window.geoTag = function () { {{$geotag}} }
|
||||
window.ajaxType = 'jot-header';
|
||||
window.jotId = "#profile-jot-text";
|
||||
window.imageUploadButton = 'wall-image-upload';
|
||||
window.delItems = '{{$delitems}}';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@
|
|||
<div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="{{$attach}}"></a></div>
|
||||
</div>
|
||||
|
||||
<div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
|
||||
{{*<!--<div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >-->*}}
|
||||
<div id="profile-link-wrapper" style="display: {{$visitor}};" >
|
||||
<a id="profile-link" class="icon link" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
|
||||
</div>
|
||||
<div id="profile-video-wrapper" style="display: {{$visitor}};" >
|
||||
|
|
@ -72,7 +73,7 @@
|
|||
{{$jotplugins}}
|
||||
</div>
|
||||
|
||||
<!-- <span id="jot-display-location" style="display: none;"></span>-->
|
||||
{{*<!-- <span id="jot-display-location" style="display: none;"></span>-->*}}
|
||||
|
||||
<div id="jot-preview-content" style="display:none;"></div>
|
||||
|
||||
|
|
|
|||
12
view/theme/frost/smarty3/like_noshare.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$id}}">
|
||||
<a href="#" class="tool like" title="{{$likethis}}" onclick="dolike({{$id}},'like'); return false"></a>
|
||||
{{if $nolike}}
|
||||
<a href="#" class="tool dislike" title="{{$nolike}}" onclick="dolike({{$id}},'dislike'); return false"></a>
|
||||
{{/if}}
|
||||
<img id="like-rotator-{{$id}}" class="like-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
|
||||
</div>
|
||||
|
|
@ -3,5 +3,5 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<!--<link rel="stylesheet" href="{{$baseurl}}/view/theme/frost/login-style.css" type="text/css" media="all" />-->
|
||||
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/view/theme/frost/login-style.css" type="text/css" media="all" />-->*}}
|
||||
|
||||
|
|
|
|||
19
view/theme/frost/smarty3/mail_conv.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="mail-conv-outside-wrapper">
|
||||
<div class="mail-conv-sender" >
|
||||
<a href="{{$mail.from_url}}" class="mail-conv-sender-url" ><img class="mframe mail-conv-sender-photo{{$mail.sparkle}}" src="{{$mail.from_photo}}" heigth="80" width="80" alt="{{$mail.from_name}}" /></a>
|
||||
</div>
|
||||
<div class="mail-conv-detail" >
|
||||
<div class="mail-conv-sender-name" >{{$mail.from_name}}</div>
|
||||
<div class="mail-conv-date">{{$mail.date}}</div>
|
||||
<div class="mail-conv-subject">{{$mail.subject}}</div>
|
||||
<div class="mail-conv-body">{{$mail.body}}</div>
|
||||
<div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-{{$mail.id}}" ><a href="message/drop/{{$mail.id}}" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" title="{{$mail.delete}}" id="mail-conv-delete-icon-{{$mail.id}}" class="mail-conv-delete-icon" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a></div><div class="mail-conv-delete-end"></div>
|
||||
<div class="mail-conv-outside-wrapper-end"></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="mail-conv-break" />
|
||||
21
view/theme/frost/smarty3/mail_list.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="mail-list-outside-wrapper">
|
||||
<div class="mail-list-sender" >
|
||||
<a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo{{$sparkle}}" src="{{$from_photo}}" height="80" width="80" alt="{{$from_name}}" /></a>
|
||||
</div>
|
||||
<div class="mail-list-detail">
|
||||
<div class="mail-list-sender-name" >{{$from_name}}</div>
|
||||
<div class="mail-list-date">{{$date}}</div>
|
||||
<div class="mail-list-subject"><a href="message/{{$id}}" class="mail-list-link">{{$subject}}</a></div>
|
||||
<div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-{{$id}}" >
|
||||
<a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mail-list-delete-end"></div>
|
||||
|
||||
<div class="mail-list-outside-wrapper-end"></div>
|
||||
|
|
@ -3,12 +3,6 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<!--<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>-->
|
||||
<script type="text/javascript" src="js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
msgInitEditor();
|
||||
</script>
|
||||
|
||||
|
||||
<script language="javascript" type="text/javascript">msgInitEditor();</script>
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@
|
|||
<script language="javascript" type="text/javascript">
|
||||
window.nickname = "{{$nickname}}";
|
||||
window.linkURL = "{{$linkurl}}";
|
||||
var none = "none"; // ugly hack: {{$editselect}} shouldn't be a string if TinyMCE is enabled, but should if it isn't
|
||||
window.editSelect = {{$editselect}};
|
||||
window.ajaxType = 'msg-header';
|
||||
window.editSelect = "{{$editselect}}";
|
||||
window.jotId = "#prvmail-text";
|
||||
window.imageUploadButton = 'prvmail-upload';
|
||||
window.autocompleteType = 'msg-header';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<span id="nav-link-wrapper" >
|
||||
|
||||
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
||||
{{*<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->*}}
|
||||
<div class="nav-button-container nav-menu-link" rel="#system-menu-list">
|
||||
<a class="system-menu-link nav-link nav-menu-icon" href="{{$nav.settings.0}}" title="Main Menu" point="#system-menu-list">
|
||||
<img class="system-menu-link" src="{{$baseurl}}/view/theme/frost/images/menu.png">
|
||||
|
|
@ -59,12 +59,12 @@
|
|||
</div>
|
||||
|
||||
{{if $nav.notifications}}
|
||||
<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>-->
|
||||
{{*<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>-->*}}
|
||||
<div class="nav-button-container">
|
||||
<a id="nav-notifications-linkmenu" class="nav-link" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">
|
||||
<img rel="#nav-notifications-menu" src="{{$baseurl}}/view/theme/frost/images/notifications.png">
|
||||
</a>
|
||||
<span id="notify-update" class="nav-ajax-left"></span>
|
||||
<span id="notify-update" class="nav-ajax-left" rel="#nav-network-notifications-popup"></span>
|
||||
<ul id="nav-notifications-menu" class="notifications-menu-popup">
|
||||
<li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
||||
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->
|
||||
{{*<!-- <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->*}}
|
||||
<div class="nav-button-container nav-menu-link" rel="#contacts-menu-list">
|
||||
<a class="contacts-menu-link nav-link nav-menu-icon" href="{{$nav.contacts.0}}" title="Contacts" point="#contacts-menu-list">
|
||||
<img class="contacts-menu-link" src="{{$baseurl}}/view/theme/frost/images/contacts.png">
|
||||
|
|
@ -99,7 +99,7 @@
|
|||
</div>
|
||||
|
||||
{{if $nav.messages}}
|
||||
<!-- <a id="nav-messages-link" class="nav-link {{$nav.messages.2}} {{$sel.messages}} nav-load-page-link" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>-->
|
||||
{{*<!-- <a id="nav-messages-link" class="nav-link {{$nav.messages.2}} {{$sel.messages}} nav-load-page-link" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>-->*}}
|
||||
<div class="nav-button-container">
|
||||
<a id="nav-messages-link" class="nav-link {{$nav.messages.2}} {{$sel.messages}} nav-load-page-link" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >
|
||||
<img src="{{$baseurl}}/view/theme/frost/images/message.png">
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->
|
||||
{{*<!-- <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->*}}
|
||||
<div class="nav-button-container nav-menu-link" rel="#network-menu-list">
|
||||
<a class="nav-menu-icon network-menu-link nav-link" href="{{$nav.network.0}}" title="Network" point="#network-menu-list">
|
||||
<img class="network-menu-link" src="{{$baseurl}}/view/theme/frost/images/network.png">
|
||||
|
|
@ -121,12 +121,12 @@
|
|||
<li>
|
||||
<a id="nav-network-link" class="{{$nav.network.2}} {{$sel.network}} nav-load-page-link" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
||||
</li>
|
||||
<!--<span id="net-update" class="nav-ajax-left"></span>-->
|
||||
{{*<!--<span id="net-update" class="nav-ajax-left"></span>-->*}}
|
||||
{{/if}}
|
||||
|
||||
{{if $nav.home}}
|
||||
<li><a id="nav-home-link" class="{{$nav.home.2}} {{$sel.home}} nav-load-page-link" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a></li>
|
||||
<!--<span id="home-update" class="nav-ajax-left"></span>-->
|
||||
{{*<!--<span id="home-update" class="nav-ajax-left"></span>-->*}}
|
||||
{{/if}}
|
||||
|
||||
{{if $nav.community}}
|
||||
|
|
@ -146,7 +146,7 @@
|
|||
{{/if}}
|
||||
|
||||
</span>
|
||||
<!--<span id="nav-end"></span>-->
|
||||
{{*<!--<span id="nav-end"></span>-->*}}
|
||||
<span id="banner">{{$banner}}</span>
|
||||
</nav>
|
||||
|
||||
|
|
|
|||
9
view/theme/frost/smarty3/photo_drop.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$id}}" >
|
||||
<a href="item/drop/{{$id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$delete}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a>
|
||||
</div>
|
||||
<div class="wall-item-delete-end"></div>
|
||||
|
|
@ -55,9 +55,9 @@
|
|||
<div id="photo-edit-end"></div>
|
||||
</form>
|
||||
|
||||
<!--<script>
|
||||
{{*<!--<script>
|
||||
$("a#photo-edit-perms-menu").colorbox({
|
||||
'inline' : true,
|
||||
'transition' : 'none'
|
||||
});
|
||||
</script>-->
|
||||
</script>-->*}}
|
||||
|
|
|
|||
|
|
@ -3,12 +3,11 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<script type="text/javascript" src="js/country.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
profInitEditor();
|
||||
Fill_Country('{{$country_name}}');
|
||||
Fill_States('{{$region}}');
|
||||
profInitEditor();
|
||||
Fill_Country('{{$country_name}}');
|
||||
Fill_States('{{$region}}');
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@
|
|||
{{$lbl_about}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="profile-about-text" class="profile-edit-textarea" name="about" >{{$about}}</textarea>
|
||||
<textarea rows="10" cols="70" id="profile-about-text" class="profile-edit-textarea" name="about" >{{$about}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="about-jot-end"></div>
|
||||
|
|
@ -184,7 +184,7 @@
|
|||
{{$lbl_hobbies}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="interest-jot-text" class="profile-edit-textarea" name="interest" >{{$interest}}</textarea>
|
||||
<textarea rows="10" cols="70" id="interest-jot-text" class="profile-edit-textarea" name="interest" >{{$interest}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="interest-jot-end"></div>
|
||||
|
|
@ -195,7 +195,7 @@
|
|||
{{$lbl_likes}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="likes-jot-text" class="profile-edit-textarea" name="likes" >{{$likes}}</textarea>
|
||||
<textarea rows="10" cols="70" id="likes-jot-text" class="profile-edit-textarea" name="likes" >{{$likes}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="likes-jot-end"></div>
|
||||
|
|
@ -206,7 +206,7 @@
|
|||
{{$lbl_dislikes}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="dislikes-jot-text" class="profile-edit-textarea" name="dislikes" >{{$dislikes}}</textarea>
|
||||
<textarea rows="10" cols="70" id="dislikes-jot-text" class="profile-edit-textarea" name="dislikes" >{{$dislikes}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="dislikes-jot-end"></div>
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
{{$lbl_social}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="contact-jot-text" class="profile-edit-textarea" name="contact" >{{$contact}}</textarea>
|
||||
<textarea rows="10" cols="70" id="contact-jot-text" class="profile-edit-textarea" name="contact" >{{$contact}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="contact-jot-end"></div>
|
||||
|
|
@ -234,7 +234,7 @@
|
|||
{{$lbl_music}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="music-jot-text" class="profile-edit-textarea" name="music" >{{$music}}</textarea>
|
||||
<textarea rows="10" cols="70" id="music-jot-text" class="profile-edit-textarea" name="music" >{{$music}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="music-jot-end"></div>
|
||||
|
|
@ -244,7 +244,7 @@
|
|||
{{$lbl_book}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="book-jot-text" class="profile-edit-textarea" name="book" >{{$book}}</textarea>
|
||||
<textarea rows="10" cols="70" id="book-jot-text" class="profile-edit-textarea" name="book" >{{$book}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="book-jot-end"></div>
|
||||
|
|
@ -256,7 +256,7 @@
|
|||
{{$lbl_tv}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="tv-jot-text" class="profile-edit-textarea" name="tv" >{{$tv}}</textarea>
|
||||
<textarea rows="10" cols="70" id="tv-jot-text" class="profile-edit-textarea" name="tv" >{{$tv}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="tv-jot-end"></div>
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
{{$lbl_film}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="film-jot-text" class="profile-edit-textarea" name="film" >{{$film}}</textarea>
|
||||
<textarea rows="10" cols="70" id="film-jot-text" class="profile-edit-textarea" name="film" >{{$film}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="film-jot-end"></div>
|
||||
|
|
@ -285,7 +285,7 @@
|
|||
{{$lbl_love}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="romance-jot-text" class="profile-edit-textarea" name="romance" >{{$romance}}</textarea>
|
||||
<textarea rows="10" cols="70" id="romance-jot-text" class="profile-edit-textarea" name="romance" >{{$romance}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="romance-jot-end"></div>
|
||||
|
|
@ -297,7 +297,7 @@
|
|||
{{$lbl_work}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="work-jot-text" class="profile-edit-textarea" name="work" >{{$work}}</textarea>
|
||||
<textarea rows="10" cols="70" id="work-jot-text" class="profile-edit-textarea" name="work" >{{$work}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="work-jot-end"></div>
|
||||
|
|
@ -309,7 +309,7 @@
|
|||
{{$lbl_school}}
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="30" id="education-jot-text" class="profile-edit-textarea" name="education" >{{$education}}</textarea>
|
||||
<textarea rows="10" cols="70" id="education-jot-text" class="profile-edit-textarea" name="education" >{{$education}}</textarea>
|
||||
|
||||
</div>
|
||||
<div id="education-jot-end"></div>
|
||||
|
|
|
|||
69
view/theme/frost/smarty3/search_item.tpl
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<a name="{{$item.id}}" ></a>
|
||||
{{*<!--<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" >-->*}}
|
||||
<div class="wall-item-content-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-content-wrapper-{{$item.id}}" >
|
||||
<div class="wall-item-info" id="wall-item-info-{{$item.id}}">
|
||||
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-{{$item.id}}"
|
||||
onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')"
|
||||
onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
|
||||
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
||||
<img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a>
|
||||
<span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
|
||||
{{*<!--<div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">-->*}}
|
||||
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
|
||||
{{$item.item_photo_menu}}
|
||||
</ul>
|
||||
{{*<!--</div>-->*}}
|
||||
</div>
|
||||
{{*<!--<div class="wall-item-photo-end"></div> -->*}}
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
|
||||
{{if $item.lock}}{{*<!--<div class="wall-item-lock">-->*}}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" />{{*<!--</div>-->*}}
|
||||
{{else}}<div class="wall-item-lock"></div>{{/if}}
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{*<!--<div class="wall-item-author">-->*}}
|
||||
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>
|
||||
<div class="wall-item-ago" id="wall-item-ago-{{$item.id}}" title="{{$item.localtime}}">{{$item.ago}}</div>
|
||||
|
||||
{{*<!--</div> -->*}}
|
||||
<div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
|
||||
<div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||
{{*<!--<div class="wall-item-title-end"></div>-->*}}
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}}</div>
|
||||
{{if $item.has_cats}}
|
||||
<div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $item.has_folders}}
|
||||
<div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}}{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
|
||||
{{*<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >-->*}}
|
||||
{{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}}
|
||||
{{*<!--</div>-->*}}
|
||||
{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}
|
||||
{{*<!--<div class="wall-item-delete-end"></div>-->*}}
|
||||
</div>
|
||||
</div>
|
||||
{{*<!--<div class="wall-item-wrapper-end"></div>-->*}}
|
||||
|
||||
|
||||
<div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" >
|
||||
{{if $item.conv}}
|
||||
<a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'>{{$item.conv.title}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{*<!--<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>
|
||||
|
||||
</div>
|
||||
|
||||
-->*}}
|
||||
21
view/theme/frost/smarty3/suggest_friends.tpl
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="profile-match-wrapper">
|
||||
<div class="profile-match-photo">
|
||||
<a href="{{$url}}">
|
||||
<img src="{{$photo}}" alt="{{$name}}" width="80" height="80" title="{{$name}} [{{$url}}]" onError="this.src='../../../images/person-48.jpg';" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="profile-match-break"></div>
|
||||
<div class="profile-match-name">
|
||||
<a href="{{$url}}" title="{{$name}}">{{$name}}</a>
|
||||
</div>
|
||||
<div class="profile-match-end"></div>
|
||||
{{if $connlnk}}
|
||||
<div class="profile-match-connect"><a href="{{$connlnk}}" title="{{$conntxt}}">{{$conntxt}}</a></div>
|
||||
{{/if}}
|
||||
<a href="{{$ignlnk}}" title="{{$ignore}}" class="icon drophide profile-match-ignore" {{*onmouseout="imgdull(this);" onmouseover="imgbright(this);" *}}onclick="return confirmDelete();" ></a>
|
||||
</div>
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
*}}
|
||||
{{if $dropping}}
|
||||
<div id="item-delete-selected-top" class="fakelink" onclick="deleteCheckedItems('#item-delete-selected-top');">
|
||||
<div id="item-delete-selected-top-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-top-icon" class="icon drophide" title="{{$dropping}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);" *}}></div>
|
||||
<div id="item-delete-selected-top-desc" >{{$dropping}}</div>
|
||||
</div>
|
||||
<img id="item-delete-selected-top-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
{{if $dropping}}
|
||||
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems('#item-delete-selected');">
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);" *}}></div>
|
||||
<div id="item-delete-selected-desc" >{{$dropping}}</div>
|
||||
</div>
|
||||
<img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
{{/if}}
|
||||
<div id="tread-wrapper-{{$item.id}}" class="tread-wrapper {{$item.toplevel}}">
|
||||
<a name="{{$item.id}}" ></a>
|
||||
<!--<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" >-->
|
||||
{{*<!--<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" >-->*}}
|
||||
<div class="wall-item-content-wrapper {{$item.indent}} {{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-content-wrapper-{{$item.id}}" >
|
||||
<div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
|
||||
{{if $item.owner_url}}
|
||||
|
|
@ -29,33 +29,33 @@
|
|||
<img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" onError="this.src='../../../images/person-48.jpg';" />
|
||||
</a>
|
||||
<span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
|
||||
<!-- <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">-->
|
||||
{{*<!-- <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">-->*}}
|
||||
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
|
||||
{{$item.item_photo_menu}}
|
||||
</ul>
|
||||
<!-- </div>-->
|
||||
{{*<!-- </div>-->*}}
|
||||
|
||||
</div>
|
||||
<!--<div class="wall-item-photo-end"></div>-->
|
||||
{{*<!--<div class="wall-item-photo-end"></div>-->*}}
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
|
||||
{{if $item.lock}}<!--<div class="wall-item-lock">--><img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /><!--</div>-->
|
||||
{{if $item.lock}}{{*<!--<div class="wall-item-lock">-->*}}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" />{{*<!--</div>-->*}}
|
||||
{{else}}<div class="wall-item-lock"></div>{{/if}}
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-author">-->
|
||||
{{*<!--<div class="wall-item-author">-->*}}
|
||||
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>{{if $item.owner_url}} {{$item.to}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}{{/if}}<br />
|
||||
<div class="wall-item-ago" id="wall-item-ago-{{$item.id}}" title="{{$item.localtime}}" ><a href="display/{{$user.nickname}}/{{$item.id}}">{{$item.ago}}</a></div>
|
||||
<!--</div>-->
|
||||
{{*<!--</div>-->*}}
|
||||
<div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
|
||||
<div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||
<!--<div class="wall-item-title-end"></div>-->
|
||||
{{*<!--<div class="wall-item-title-end"></div>-->*}}
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}}
|
||||
<!--<div class="body-tag">-->
|
||||
{{*<!--<div class="body-tag">-->*}}
|
||||
{{foreach $item.tags as $tag}}
|
||||
<span class='body-tag tag'>{{$tag}}</span>
|
||||
{{/foreach}}
|
||||
<!--</div>-->
|
||||
{{*<!--</div>-->*}}
|
||||
{{if $item.has_cats}}
|
||||
<div class="categorytags">{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||
</div>
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
{{if $item.plink}}
|
||||
<!--<div class="wall-item-links-wrapper">--><a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="wall-item-links-wrapper icon remote-link{{$item.sparkle}}"></a><!--</div>-->
|
||||
{{*<!--<div class="wall-item-links-wrapper">-->*}}<a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="wall-item-links-wrapper icon remote-link{{$item.sparkle}}"></a>{{*<!--</div>-->*}}
|
||||
{{/if}}
|
||||
{{if $item.edpost}}
|
||||
<a class="editpost tool pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
|
||||
|
|
@ -95,35 +95,35 @@
|
|||
<a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a>
|
||||
{{/if}}
|
||||
|
||||
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >-->
|
||||
{{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="{{$item.drop.delete}}" id="wall-item-delete-wrapper-{{$item.id}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}}
|
||||
<!--</div>-->
|
||||
{{*<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >-->*}}
|
||||
{{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="{{$item.drop.delete}}" id="wall-item-delete-wrapper-{{$item.id}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);" *}}></a>{{/if}}
|
||||
{{*<!--</div>-->*}}
|
||||
{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}
|
||||
<!--<div class="wall-item-delete-end"></div>-->
|
||||
{{*<!--<div class="wall-item-delete-end"></div>-->*}}
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||
{{*<!--<div class="wall-item-wrapper-end"></div>-->*}}
|
||||
<div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
|
||||
<div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
|
||||
|
||||
{{if $item.threaded}}
|
||||
{{if $item.comment}}
|
||||
<!--<div class="wall-item-comment-wrapper {{$item.indent}}" >-->
|
||||
{{*<!--<div class="wall-item-comment-wrapper {{$item.indent}}" >-->*}}
|
||||
{{$item.comment}}
|
||||
<!--</div>-->
|
||||
{{*<!--</div>-->*}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<!--<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>-->
|
||||
<!--</div>-->
|
||||
{{*<!--<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>-->*}}
|
||||
{{*<!--</div>-->*}}
|
||||
{{foreach $item.children as $child}}
|
||||
{{include file="{{$child.template}}" item=$child}}
|
||||
{{/foreach}}
|
||||
|
||||
{{if $item.flatten}}
|
||||
<!--<div class="wall-item-comment-wrapper" >-->
|
||||
{{*<!--<div class="wall-item-comment-wrapper" >-->*}}
|
||||
{{$item.comment}}
|
||||
<!--</div>-->
|
||||
{{*<!--</div>-->*}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{if $item.comment_lastcollapsed}}</div>{{/if}}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
wallInitEditor();
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript">msgInitEditor();</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "{{$editselect}}";
|
||||
window.ajaxType = "wallmsg-header";
|
||||
window.jotId = "#prvmail-text";
|
||||
window.imageUploadButton = 'prvmail-upload';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -92,12 +92,17 @@ blockquote {
|
|||
}
|
||||
|
||||
#panel {
|
||||
background-color: ivory;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
width: 30%;
|
||||
padding: 25px;
|
||||
border: 1px solid #444;
|
||||
|
||||
/* background-color: ivory;
|
||||
border: 1px solid #444;*/
|
||||
|
||||
border-radius: 7px;
|
||||
background-color: #222;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.heart {
|
||||
|
|
@ -337,6 +342,11 @@ section {
|
|||
}
|
||||
.tabs li { margin: 0px; list-style: none; }
|
||||
.tabs a {
|
||||
/* background-image: url(head.jpg);
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0px 0px;
|
||||
background-size: auto 45px;*/
|
||||
|
||||
padding: 0.4em 0.5em;
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
|
|
@ -359,6 +369,9 @@ section {
|
|||
.tab.active {
|
||||
font-weight: bold;
|
||||
|
||||
/* background-image: url(head-flipped.jpg);
|
||||
background-position: 0px -20px;*/
|
||||
|
||||
box-shadow: 2px 2px 3px #aaa inset;
|
||||
-moz-box-shadow: 2px 2px 3px #aaa inset;
|
||||
-webkit-box-shadow: 2px 2px 3px #aaa inset;
|
||||
|
|
@ -375,6 +388,12 @@ footer {
|
|||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
#maintenance-message {
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
margin-top: 10em;
|
||||
}
|
||||
|
||||
.birthday-today, .event-today {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
@ -1173,15 +1192,16 @@ input#dfrn-url {
|
|||
float: left;
|
||||
width:110px;
|
||||
margin-right:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.comment .wall-item-info {
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.wall-item-photo-wrapper {
|
||||
/*.wall-item-photo-wrapper {
|
||||
margin-bottom: 10px;
|
||||
width: 100px;
|
||||
}
|
||||
}*/
|
||||
.wall-item-photo-menu-button {
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
|
@ -1191,7 +1211,7 @@ input#dfrn-url {
|
|||
margin: 0px; padding: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: 94px; left:0px;
|
||||
top: 76px; left:0px;
|
||||
overflow: hidden;
|
||||
text-indent: 40px;
|
||||
display: none;
|
||||
|
|
@ -1203,7 +1223,7 @@ input#dfrn-url {
|
|||
background: #FFFFFF;
|
||||
position: absolute;
|
||||
/* left: 10px; top: 90px;*/
|
||||
left: 0px; top:110px;
|
||||
left: 0px; top:92px;
|
||||
display: none;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
|
@ -1219,7 +1239,7 @@ input#dfrn-url {
|
|||
left: 50px;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
top: 63px;
|
||||
width: 30px
|
||||
}
|
||||
.wallwall .wwto img {
|
||||
|
|
@ -1234,7 +1254,7 @@ input#dfrn-url {
|
|||
.wall-item-arrowphoto-wrapper {
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
top: 70px;
|
||||
top: 63px;
|
||||
z-index: 100;
|
||||
}
|
||||
.wall-item-lock {
|
||||
|
|
@ -1354,15 +1374,34 @@ input#dfrn-url {
|
|||
|
||||
.wall-item-content img {
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
/* max-width: 100%;*/
|
||||
max-width: 400px; /* to make room for the shadow */
|
||||
padding: 5px;
|
||||
|
||||
box-shadow: 0 0 10px #000;
|
||||
-moz-box-shadow: 0 0 10px #000;
|
||||
-webkit-box-shadow: 0 0 10px #000;
|
||||
}
|
||||
|
||||
.shared_content img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.comment .wall-item-content img {
|
||||
max-width: 370px;
|
||||
}
|
||||
|
||||
.wall-item-content img.smiley {
|
||||
display: inline;
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
}
|
||||
|
||||
.divgrow-showmore {
|
||||
|
|
@ -1420,7 +1459,7 @@ input#dfrn-url {
|
|||
|
||||
.comment .wall-item-tools {
|
||||
margin-left: 0px;
|
||||
margin-top: 0px;
|
||||
margin-top: 5px;
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
|
|
@ -1502,6 +1541,27 @@ input#dfrn-url {
|
|||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.shared_header {
|
||||
border-top: 1px solid #aaa;
|
||||
color: #999;
|
||||
|
||||
height: 42px; /* 32 px for the image plus 10 px for the margin around the image */
|
||||
padding-top: 0.5em;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
|
||||
}
|
||||
.shared_header img {
|
||||
float: left;
|
||||
|
||||
margin: auto 1em auto auto;
|
||||
padding: 0;
|
||||
|
||||
box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
}
|
||||
|
||||
#profile-jot-plugin-wrapper,
|
||||
#profile-jot-submit-wrapper {
|
||||
margin-top: 15px;
|
||||
|
|
@ -1925,7 +1985,10 @@ input#dfrn-url {
|
|||
}
|
||||
|
||||
.contact-edit-submit {
|
||||
margin-top: 20px;
|
||||
margin-top: 10px;
|
||||
clear: left;
|
||||
display: block;
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2372,8 +2435,10 @@ aside input[type='text'] {
|
|||
}
|
||||
|
||||
.photo-top-image-wrapper {
|
||||
/* position: relative; */
|
||||
float: left;
|
||||
/* position: relative;
|
||||
float: left;*/
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
margin-left: 15px;
|
||||
|
|
@ -2381,8 +2446,13 @@ aside input[type='text'] {
|
|||
/* width: 200px; height: 200px;
|
||||
overflow: hidden; */
|
||||
}
|
||||
.photo-top-image-wrapper img {
|
||||
max-width: 550px;
|
||||
.photo-album-image-wrapper img, .photo-top-image-wrapper img {
|
||||
max-width: 225px;
|
||||
padding: 5px;
|
||||
|
||||
box-shadow: 0 0 10px #000;
|
||||
-moz-box-shadow: 0 0 10px #000;
|
||||
-webkit-box-shadow: 0 0 10px #000;
|
||||
}
|
||||
.photo-top-album-name {
|
||||
width: 100%;
|
||||
|
|
@ -2510,9 +2580,8 @@ aside input[type='text'] {
|
|||
|
||||
#photos-upload-choosefile-outer-wrapper {
|
||||
margin-top: 35px;
|
||||
padding-top: 50px;
|
||||
padding-left: 50px;
|
||||
position: relative;
|
||||
margin-bottom: 4em;
|
||||
}
|
||||
#photos-upload-noshare-div {
|
||||
margin-top: 0px;
|
||||
|
|
@ -2578,12 +2647,13 @@ aside input[type='text'] {
|
|||
}
|
||||
|
||||
#photo-edit-delete-button {
|
||||
margin-left: 270px;
|
||||
/* margin-left: 270px;*/
|
||||
float: right;
|
||||
}
|
||||
#photos-upload-choose {
|
||||
position: absolute;
|
||||
/* position: absolute;
|
||||
top: 0px;
|
||||
left: 55px;
|
||||
left: 55px;*/
|
||||
}
|
||||
.settings-submit, .profile-edit-submit-button {
|
||||
margin-bottom: 10px;
|
||||
|
|
@ -2832,7 +2902,7 @@ aside input[type='text'] {
|
|||
}
|
||||
|
||||
#event-share-text {
|
||||
float: left;
|
||||
/* float: left;*/
|
||||
margin-top: 10px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
|
@ -2957,9 +3027,17 @@ aside input[type='text'] {
|
|||
/*#photo-photo {
|
||||
float: left;
|
||||
}*/
|
||||
#photo-photo {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
#photo-photo img {
|
||||
max-width: 555px;
|
||||
margin-left: 5px;
|
||||
/* max-width: 555px;
|
||||
margin-left: 5px;*/
|
||||
max-width: 100%;
|
||||
}
|
||||
#photo-photo-end {
|
||||
clear: both;
|
||||
|
|
@ -2989,11 +3067,18 @@ aside input[type='text'] {
|
|||
}
|
||||
|
||||
.profile-match-wrapper {
|
||||
float: left;
|
||||
display: inline-block;
|
||||
padding: 10px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
/*width: 120px;
|
||||
height: 120px;*/
|
||||
scroll: auto;
|
||||
margin-bottom: 2em;
|
||||
vertical-align: top;
|
||||
}
|
||||
.profile-match-wrapper .icon.drophide {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 1em;
|
||||
}
|
||||
#profile-match-wrapper-end {
|
||||
clear: both;
|
||||
|
|
@ -3456,6 +3541,13 @@ aside input[type='text'] {
|
|||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.icon.drophide:hover {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/drop-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 1.0;
|
||||
}
|
||||
.edit { background-position: -80px 0px;}
|
||||
/*.camera { background-position: -96px 0px;}*/
|
||||
.icon.camera{
|
||||
|
|
@ -3758,21 +3850,66 @@ aside input[type='text'] {
|
|||
}*/
|
||||
|
||||
.attachtype {
|
||||
display: block; width: 20px; height: 23px;
|
||||
display: block;
|
||||
float: left;
|
||||
background-image: url('../../../images/content-types.png');
|
||||
background-position: -80px 0px;
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
background-image: url('images/oxygen/unknown.png');
|
||||
}
|
||||
|
||||
.body-attach {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.type-video { background-position: 0px 0px; }
|
||||
/*.type-video { background-position: 0px 0px; }
|
||||
.type-image { background-position: -20px 0px; }
|
||||
.type-audio { background-position: -40px 0px; }
|
||||
.type-text { background-position: -60px 0px; }
|
||||
.type-unkn { background-position: -80px 0px; }
|
||||
.type-unkn { background-position: -80px 0px; }*/
|
||||
.type-video {
|
||||
background-image: url('images/oxygen/video-x-generic.png');
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
.type-image {
|
||||
background-image: url('images/oxygen/image-x-generic.png');
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
.type-audio { background-image: url('images/oxygen/audio-x-generic.png');
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.type-text {
|
||||
background-image: url('images/oxygen/text-x-generic-2.png');
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
.subtype-msword, .subtype-vnd-openxmlformats-officedocument-wordprocessingml-document {
|
||||
background-image: url('images/oxygen/application-msword.png');
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
.subtype-pdf {
|
||||
background-image: url('images/oxygen/application-pdf.png');
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
/*.type-unkn {
|
||||
background-image: url('images/oxygen/unknown.png');
|
||||
background-size: 100% 100%;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
/* autocomplete popup */
|
||||
|
|
@ -3852,6 +3989,33 @@ div.jGrowl-notification {
|
|||
.nav-notify.show {
|
||||
display: block;
|
||||
}
|
||||
ul#nav-network-notifications-popup {
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
|
||||
border: 1px solid #AAAAAA;
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
|
||||
-moz-box-shadow: 3px 3px 5px #555;
|
||||
-webkit-box-shadow: 3px 3px 5px #555;
|
||||
box-shadow: 3px 3px 5px #555;
|
||||
|
||||
background: #FFFFFF;
|
||||
|
||||
display: none;
|
||||
list-style: none;
|
||||
|
||||
width: 10em;
|
||||
position: absolute;
|
||||
margin: 0px;
|
||||
top: 15px;
|
||||
left: 55px;
|
||||
padding: 1em 0px;
|
||||
|
||||
z-index: 11000;
|
||||
}
|
||||
ul.notifications-menu-popup {
|
||||
position: absolute;
|
||||
display: none;
|
||||
|
|
|
|||
16
view/theme/frost/suggest_friends.tpl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<div class="profile-match-wrapper">
|
||||
<div class="profile-match-photo">
|
||||
<a href="$url">
|
||||
<img src="$photo" alt="$name" width="80" height="80" title="$name [$url]" onError="this.src='../../../images/person-48.jpg';" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="profile-match-break"></div>
|
||||
<div class="profile-match-name">
|
||||
<a href="$url" title="$name">$name</a>
|
||||
</div>
|
||||
<div class="profile-match-end"></div>
|
||||
{{ if $connlnk }}
|
||||
<div class="profile-match-connect"><a href="$connlnk" title="$conntxt">$conntxt</a></div>
|
||||
{{ endif }}
|
||||
<a href="$ignlnk" title="$ignore" class="icon drophide profile-match-ignore" {#onmouseout="imgdull(this);" onmouseover="imgbright(this);" #}onclick="return confirmDelete();" ></a>
|
||||
</div>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* Name: Frost
|
||||
* Description: Like frosted glass
|
||||
* Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0).
|
||||
* Version: Version 0.3.2
|
||||
* Version: Version 0.4
|
||||
* Author: Zach P <techcity@f.shmuz.in>
|
||||
* Maintainer: Zach P <techcity@f.shmuz.in>
|
||||
*/
|
||||
|
|
@ -30,3 +30,45 @@ function frost_content_loaded(&$a) {
|
|||
|
||||
}
|
||||
|
||||
function frost_install() {
|
||||
register_hook('prepare_body_final', 'view/theme/frost/theme.php', 'frost_item_photo_links');
|
||||
|
||||
logger("installed theme frost");
|
||||
}
|
||||
|
||||
function frost_uninstall() {
|
||||
unregister_hook('bbcode', 'view/theme/frost/theme.php', 'frost_bbcode');
|
||||
|
||||
logger("uninstalled theme frost");
|
||||
}
|
||||
|
||||
function frost_item_photo_links(&$a, &$body_info) {
|
||||
require_once('include/Photo.php');
|
||||
$phototypes = Photo::supportedTypes();
|
||||
|
||||
$occurence = 1;
|
||||
$p = bb_find_open_close($body_info['html'], "<a", ">");
|
||||
while($p !== false && ($occurence++ < 500)) {
|
||||
$link = substr($body_info['html'], $p['start'], $p['end'] - $p['start']);
|
||||
|
||||
$matches = array();
|
||||
preg_match("/\/photos\/[\w]+\/image\/([\w]+)/", $link, $matches);
|
||||
if($matches) {
|
||||
|
||||
// Replace the link for the photo's page with a direct link to the photo itself
|
||||
$newlink = str_replace($matches[0], "/photo/{$matches[1]}", $link);
|
||||
|
||||
// Add a "quiet" parameter to any redir links to prevent the "XX welcomes YY" info boxes
|
||||
$newlink = preg_replace("/href=\"([^\"]+)\/redir\/([^\"]+)&url=([^\"]+)\"/", 'href="$1/redir/$2&quiet=1&url=$3"', $newlink);
|
||||
|
||||
// Having any arguments to the link for Colorbox causes it to fetch base64 code instead of the image
|
||||
$newlink = preg_replace("/\/[?&]zrl=([^&\"]+)/", '', $newlink);
|
||||
|
||||
$body_info['html'] = str_replace($link, $newlink, $body_info['html']);
|
||||
|
||||
}
|
||||
|
||||
$p = bb_find_open_close($body_info['html'], "<a", ">", $occurence);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{{ if $dropping }}
|
||||
<div id="item-delete-selected-top" class="fakelink" onclick="deleteCheckedItems('#item-delete-selected-top');">
|
||||
<div id="item-delete-selected-top-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-top-icon" class="icon drophide" title="$dropping" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);" #}></div>
|
||||
<div id="item-delete-selected-top-desc" >$dropping</div>
|
||||
</div>
|
||||
<img id="item-delete-selected-top-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
|
||||
|
|
@ -20,7 +20,7 @@ $live_update
|
|||
|
||||
{{ if $dropping }}
|
||||
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems('#item-delete-selected');">
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="$dropping" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);" #}></div>
|
||||
<div id="item-delete-selected-desc" >$dropping</div>
|
||||
</div>
|
||||
<img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
{{endif}}
|
||||
<div id="tread-wrapper-$item.id" class="tread-wrapper $item.toplevel">
|
||||
<a name="$item.id" ></a>
|
||||
<!--<div class="wall-item-outside-wrapper $item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" >-->
|
||||
{#<!--<div class="wall-item-outside-wrapper $item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" >-->#}
|
||||
<div class="wall-item-content-wrapper $item.indent $item.previewing{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-content-wrapper-$item.id" >
|
||||
<div class="wall-item-info{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id">
|
||||
{{ if $item.owner_url }}
|
||||
|
|
@ -24,33 +24,33 @@
|
|||
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" onError="this.src='../../../images/person-48.jpg';" />
|
||||
</a>
|
||||
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||
<!-- <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">-->
|
||||
{#<!-- <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">-->#}
|
||||
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
<!-- </div>-->
|
||||
{#<!-- </div>-->#}
|
||||
|
||||
</div>
|
||||
<!--<div class="wall-item-photo-end"></div>-->
|
||||
{#<!--<div class="wall-item-photo-end"></div>-->#}
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||
{{ if $item.lock }}<!--<div class="wall-item-lock">--><img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /><!--</div>-->
|
||||
{{ if $item.lock }}{#<!--<div class="wall-item-lock">-->#}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" onclick="lockview(event,$item.id);" />{#<!--</div>-->#}
|
||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-author">-->
|
||||
{#<!--<div class="wall-item-author">-->#}
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>{{ if $item.owner_url }} $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall{{ endif }}<br />
|
||||
<div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime" ><a href="display/$user.nickname/$item.id">$item.ago</a></div>
|
||||
<!--</div>-->
|
||||
{#<!--</div>-->#}
|
||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||
<!--<div class="wall-item-title-end"></div>-->
|
||||
{#<!--<div class="wall-item-title-end"></div>-->#}
|
||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||
<!--<div class="body-tag">-->
|
||||
{#<!--<div class="body-tag">-->#}
|
||||
{{ for $item.tags as $tag }}
|
||||
<span class='body-tag tag'>$tag</span>
|
||||
{{ endfor }}
|
||||
<!--</div>-->
|
||||
{#<!--</div>-->#}
|
||||
{{ if $item.has_cats }}
|
||||
<div class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
|
||||
</div>
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
</div>
|
||||
{{ endif }}
|
||||
{{ if $item.plink }}
|
||||
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||
{#<!--<div class="wall-item-links-wrapper">-->#}<a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a>{#<!--</div>-->#}
|
||||
{{ endif }}
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost tool pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
|
|
@ -90,35 +90,35 @@
|
|||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||
{{ endif }}
|
||||
|
||||
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" id="wall-item-delete-wrapper-$item.id" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
<!--</div>-->
|
||||
{#<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->#}
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" id="wall-item-delete-wrapper-$item.id" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);" #}></a>{{ endif }}
|
||||
{#<!--</div>-->#}
|
||||
{{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
<!--<div class="wall-item-delete-end"></div>-->
|
||||
{#<!--<div class="wall-item-delete-end"></div>-->#}
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||
{#<!--<div class="wall-item-wrapper-end"></div>-->#}
|
||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
|
||||
{{ if $item.threaded }}
|
||||
{{ if $item.comment }}
|
||||
<!--<div class="wall-item-comment-wrapper $item.indent" >-->
|
||||
{#<!--<div class="wall-item-comment-wrapper $item.indent" >-->#}
|
||||
$item.comment
|
||||
<!--</div>-->
|
||||
{#<!--</div>-->#}
|
||||
{{ endif }}
|
||||
{{ endif }}
|
||||
|
||||
<!--<div class="wall-item-outside-wrapper-end $item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
{#<!--<div class="wall-item-outside-wrapper-end $item.indent" ></div>-->#}
|
||||
{#<!--</div>-->#}
|
||||
{{ for $item.children as $child }}
|
||||
{{ inc $child.template with $item=$child }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
|
||||
{{ if $item.flatten }}
|
||||
<!--<div class="wall-item-comment-wrapper" >-->
|
||||
{#<!--<div class="wall-item-comment-wrapper" >-->#}
|
||||
$item.comment
|
||||
<!--</div>-->
|
||||
{#<!--</div>-->#}
|
||||
{{ endif }}
|
||||
</div>
|
||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
wallInitEditor();
|
||||
</script>
|
||||
<script language="javascript" type="text/javascript">msgInitEditor();</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "$editselect";
|
||||
window.ajaxType = "wallmsg-header";
|
||||
window.jotId = "#prvmail-text";
|
||||
window.imageUploadButton = 'prvmail-upload';
|
||||
</script>
|
||||
|
||||
|
|
|
|||