Commit db9b309e authored by lphuberdeau's avatar lphuberdeau

[FIX] Partially broken pop-ups, style changes

parent 4cf342fb
......@@ -128,11 +128,6 @@
vertical-align: middle;
}
.opaque .box-title,
.opaque .box-data {
width: auto;
}
.calcontent {
min-height: 60px;
height: auto;
......@@ -268,4 +263,4 @@ select[name=end_Minute] {
a.prev img,
a.next img {
vertical-align: middle;
}
\ No newline at end of file
}
......@@ -245,13 +245,17 @@ $.fn.tiki_popover = function () {
.each(function () {
var element = this;
$.each(['|', ':', '<br/>', '<br>'], function (key, sep) {
var parts = $(element).attr('title').split(sep);
if (parts.length > 1) {
$(element).attr('title', parts.shift());
$(element).data('content', parts.join(sep));
}
});
if ($(this).attr('title')) {
$.each(['|', ':', '<br/>', '<br>'], function (key, sep) {
var parts = $(element).attr('title').split(sep);
if (parts.length > 1) {
$(element).attr('title', parts.shift());
$(element).data('content', parts.join(sep));
}
});
} else {
$(this).attr('title', '');
}
if (! $(this).data('trigger')) {
$(this).data('trigger', 'hover');
......
......@@ -646,17 +646,9 @@ td.calheadhighlight {
border: 1px outset #00ff00 !important;
}
.opaque {
background: #000;
}
.opaque span.box-title {
color: #00a000;
}
.focus a,
.focus a:visited,
.calmodfocus a,
.calmodfocus a:visited {
color: #00e000;
}
\ No newline at end of file
}
......@@ -787,11 +787,6 @@ body.tiki_blogs .postbody {
padding: 3px;
}
.opaque .box-title {
padding-bottom: 2px;
border-bottom: 0;
}
/***** Trackers *****/
/***** Categories, Tags *****/
/***** Tags (freetags) *****/
......
......@@ -1591,19 +1591,6 @@ a.freetag_7:hover {
font-size: 90%;
}
.opaque {
border: 1px solid #ccdceb;
background: #f8f8ff;
}
.opaque .box-title {
border-bottom: 1px solid #ccdceb;
}
.opaque a {
text-decoration: none;
}
.searchresults li .objecttype,
.searchresults li .parentname ,
.searchresults li .objectname {
......
......@@ -898,13 +898,6 @@ div.dirfooter {margin-top: 10px}
.caltoggle {font-size: 90%}
.opaque {
border-left: 1px solid #a9a9a9;
border-top: 1px solid #a9a9a9;
border-right: 1px solid #696969;
border-bottom: 1px solid #696969}
.opaque .box-title {border-bottom: 1px solid black}
.searchresults {display: inline}
.box-data .fc a.today,
......
......@@ -861,13 +861,6 @@ div.dirfooter {margin-top: 10px}
.caltoggle {font-size: 90%}
.opaque {
border-left: 1px solid #a9a9a9;
border-top: 1px solid #a9a9a9;
border-right: 1px solid #696969;
border-bottom: 1px solid #696969}
.opaque .box-title {border-bottom: 1px solid black}
.searchresults {display: inline}
.box-data .fc a.today,
......
......@@ -1277,18 +1277,6 @@ td.calheadhighlight {
font-size: 90%;
}
.opaque {
background: #fff;
border-left: 1px solid #A9A9A9;
border-top: 1px solid #A9A9A9;
border-right: 1px solid #696969;
border-bottom: 1px solid #696969;
}
.opaque .box-title {
border-bottom: 1px solid black;
}
.searchresults li .objecttype,
.searchresults li .parentname,
.searchresults li .objectname {
......
......@@ -870,16 +870,6 @@ when module used without decorations. */
padding-right: 2px;
}
.opaque .box-title,
.opaque .box-data {
width: auto;
}
.opaque .iconmenu {
display: block;
white-space: nowrap;
}
body.filegal_popup #tiki-center {
margin: 0 1em;
}
......@@ -2342,21 +2332,6 @@ p.norecords {
/***** File Galleries *****/
.opaque {
border: 1px solid;
background: #fff;
color: #000;
}
.opaque .box-title {
padding: .5em .5em .2em;
font-weight: bold;
}
.opaque .box-data {
padding: .2em .5em;
}
.thumbinfosothers {
color: #888;
font-size: 95%;
......
......@@ -2029,22 +2029,6 @@ td.calheadhighlight {
}
/* Style for OverBox */
.opaque {
background: #fff;
width: auto;
border: 1px solid #666;
padding: 5px;
text-align: left;
}
.opaque .box-title,
.opaque .box-data {
width: auto;
}
.opaque a {
text-decoration: none;
}
.sub {
padding-left: 5em !important;
......
......@@ -118,7 +118,7 @@
{else}
<div class="admin2cols adminoptionbox clearfix">
<div class="q1">
<a {popup text="{tr}Params: specific params to the module and/or general params ('lang', 'flip', 'title', 'decorations', 'section', 'overflow', 'page', 'nobox', 'bgcolor', 'color', 'theme', 'notitle', 'nopage'). Separator between params:'&amp;'. E.g. maxlen=15&amp;nonums=y.{/tr}" width=200 center=true}>
<a title="{tr}Parameters{/tr}" {popup text="{tr}Params: specific params to the module and/or general params ('lang', 'flip', 'title', 'decorations', 'section', 'overflow', 'page', 'nobox', 'bgcolor', 'color', 'theme', 'notitle', 'nopage'). Separator between params:'&amp;'. E.g. maxlen=15&amp;nonums=y.{/tr}" width=200 center=true}>
<label for="assign_params">{tr}Parameters{/tr}</label>
</a>
&nbsp;{help url="Module+Parameters" desc="{tr}Enter the parameters in URL format, e.g. 'nobox=y&class=rbox-data'{/tr}"}
......
......@@ -29,15 +29,8 @@
and (!isset($gal_info.show_action) or $gal_info.show_action neq 'n')}
{capture name=over_actions}
{strip}
<div class='opaque'>
<div class='box-title'>
{tr}Actions{/tr}
</div>
<div class='box-data'>
{include file='fgal_context_menu.tpl' menu_icon=$prefs.use_context_menu_icon menu_text=$prefs.use_context_menu_text changes=$smarty.section.changes.index}
</div>
</div>
{/strip}
{include file='fgal_context_menu.tpl' menu_icon=$prefs.use_context_menu_icon menu_text=$prefs.use_context_menu_text changes=$smarty.section.changes.index}
{/strip}
{/capture}
{/if}
......
......@@ -11,7 +11,7 @@
{assign var="help" value=$help|cat:$contributions[ix].name|cat:": "|cat:$contributions[ix].description|cat:"<br>"}
{/section}
</select>
<a {popup text=$help|replace:'"':"'" width=500}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text=$help|replace:'"':"'" width=500}>{icon _id='help'}</a>
</td>
</tr>
{if $prefs.feature_contributor_wiki eq 'y' and $section eq 'wiki page' and empty($in_comment)}
......
{* $Id$ *}
<div>
<div class='box-title'>{if $file_backlinks_title}{tr}{$file_backlinks_title}{/tr}{else}{tr}Backlinks{/tr}{/if}</div>
<div class='box-data'>
<ul>
{foreach from=$backlinks item=object}
<li><a href="{$object.itemId|sefurl:$object.type}">{$object.name|escape}</a></li>
{/foreach}
</ul>
</div>
</div>
<ul>
{foreach from=$backlinks item=object}
<li><a href="{$object.itemId|sefurl:$object.type}">{$object.name|escape}</a></li>
{/foreach}
</ul>
......@@ -54,7 +54,7 @@
{if isset($cell[w][d].items[0]) and ((isset($cell[w][d].items[0].modifiable)
and $cell[w][d].items[0].modifiable eq "y") || $cell[w][d].items[0].visible eq 'y')}
{if empty($calendar_popup) or $calendar_popup eq "y"}
<a href="{$myurl}?todate={$date}&amp;viewmode={$viewmodelink}" {if (isset($sticky_popup) and $sticky_popup eq 'y')
<a href="{$myurl}?todate={$date}&amp;viewmode={$viewmodelink}" title="{tr}View{/tr}" {if (isset($sticky_popup) and $sticky_popup eq 'y')
or ($prefs.calendar_sticky_popup eq "y" and $cell[w][d].items[0].calitemId)}{popup sticky=true fullhtml="1" text=$over|escape:"javascript"|escape:"html"}{else}{popup fullhtml="1" text=$over|escape:"javascript"|escape:"html"}{/if}>
{if isset($day_cursor)}
{$day_cursor}
......
......@@ -50,7 +50,7 @@ var account='';
{if $tiki_p_account_manage=='y'}
<tr><td colspan="2"><a href="tiki-accounting_account.php?bookId={$bookId}&action=new">{tr}Create account{/tr}</a></td></tr>{/if}
{foreach from=$accounts item=a}
<tr class="{cycle values="odd,even"}" {popup caption='{tr}Notes{/tr}' text=$a.accountNotes}>
<tr class="{cycle values="odd,even"} tips" {popup caption='{tr}Notes{/tr}' text=$a.accountNotes}>
<td class="accompactlist">
{if $tiki_p_account_manage=='y'}
<a href="tiki-accounting_account.php?bookId={$bookId}&action=edit&accountId={$a.accountId}"><img src="img/icons/edit.gif" alt="edit" border="0"></a>
......
......@@ -50,7 +50,7 @@ var account='';
{if $tiki_p_account_manage=='y'}
<tr><td colspan="2"><a href="tiki-accounting_account.php?bookId={$bookId}&action=new">{tr}Create account{/tr}</a></td></tr>{/if}
{foreach from=$accounts item=a}
<tr class="{cycle values="odd,even"}" {popup caption='{tr}Notes{/tr}' text=$a.accountNotes}>
<tr class="{cycle values="odd,even"} tips" {popup caption='{tr}Notes{/tr}' text=$a.accountNotes}>
<td class="accompactlist">
{if $tiki_p_account_manage=='y'}
<a href="tiki-accounting_account.php?bookId={$bookId}&action=edit&accountId={$a.accountId}"><img src="img/icons/edit.gif" alt="edit" border="0"></a>
......
......@@ -154,7 +154,7 @@
<div class="form-group">
<label class="col-sm-4 control-label" for="csv">{tr}CSV File{/tr}
{capture name=help}{tr}Column names on the first line:{/tr}<br>banId,mode,title,ip1,ip2,ip3,ip4,user,date_from,date_to,use_dates,created,created_readable,message,sections<br>{tr}Sections format:{/tr} {tr}section names are splitted by pipes (vertical bars). To see an example and use it as template, add one rule by hand, and export it as csv{/tr}<br>{tr}Date format:{/tr} {tr}See:{/tr} http://php.net/strtotime{/capture}
<a {popup text=$smarty.capture.help|escape}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text=$smarty.capture.help|escape}>{icon _id='help'}</a>
</label>
<div class="col-sm-8">
<input type="file" name="fileCSV" class="form-control">
......
......@@ -75,7 +75,7 @@
{if $categId <= 0}
{tab name="{tr}Batch upload{/tr}"}
<h2>{tr}Batch upload (CSV file){/tr}<a {popup text='category,description,parent&lt;br /&gt;vegetable,vegetable&lt;br /&gt;potato,,vegetable'}>{icon _id='help'}</a></h2>
<h2>{tr}Batch upload (CSV file){/tr}<a title="{tr}Help{/tr}" {popup text='category,description,parent&lt;br /&gt;vegetable,vegetable&lt;br /&gt;potato,,vegetable'}>{icon _id='help'}</a></h2>
<form action="tiki-admin_categories.php" method="post" enctype="multipart/form-data" class="form-horizontal" role="form">
<div class="form-group">
<div class="col-sm-6 col-sm-offset-3">
......
......@@ -225,7 +225,7 @@
<a class="link" href="javascript:setUserModuleFromCombo('list_polls', 'um_data');" title="{tr}Use Poll{/tr}">{icon _id='add' alt="{tr}Use{/tr}"}</a>
</td>
<td>
<a {popup text="Params: id= rate=" width=100 center=true}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text="Params: id= rate=" width=100 center=true}>{icon _id='help'}</a>
</td>
</tr>
{/if}
......@@ -246,7 +246,7 @@
<a class="link" href="javascript:setUserModuleFromCombo('list_galleries', 'um_data');" title="{tr}Use Gallery{/tr}">{icon _id='add' alt="{tr}Use{/tr}"}</a>
</td>
<td>
<a {popup text="Params: id= showgalleryname=1 hideimgname=1 hidelink=1" width=100 center=true}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text="Params: id= showgalleryname=1 hideimgname=1 hidelink=1" width=100 center=true}>{icon _id='help'}</a>
</td>
</tr>
{/if}
......@@ -266,7 +266,7 @@
<a class="link" href="javascript:setUserModuleFromCombo('list_contents', 'um_data');" title="{tr}Use Dynamic Content{/tr}">{icon _id='add' alt="{tr}Use{/tr}"}</a>
</td>
<td>
<a {popup text="Params: id=" width=100 center=true}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text="Params: id=" width=100 center=true}>{icon _id='help'}</a>
</td>
</tr>
{/if}
......@@ -286,7 +286,7 @@
<a class="link" href="javascript:setUserModuleFromCombo('list_rsss', 'um_data');" title="{tr}Use RSS Module{/tr}">{icon _id='add' alt="{tr}Use{/tr}"}</a>
</td>
<td>
<a {popup text="Params: id= max= skip=x,y " width=100 center=true}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text="Params: id= max= skip=x,y " width=100 center=true}>{icon _id='help'}</a>
</td>
</tr>
{/if}
......@@ -307,7 +307,7 @@
<a class="link" href="javascript:setUserModuleFromCombo('list_banners', 'um_data');" title="{tr}Use Banner Zone{/tr}">{icon _id='add' alt="{tr}Use{/tr}"}</a>
</td>
<td>
<a {popup text="Params: zone= target=_blank|_self|" width=100 center=true}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text="Params: zone= target=_blank|_self|" width=100 center=true}>{icon _id='help'}</a>
</td>
</tr>
{/if}
......@@ -328,7 +328,7 @@
<a class="link" href="javascript:setUserModuleFromCombo('list_wikistructures', 'um_data');" title="{tr}Use Wiki Structure{/tr}">{icon _id='add' alt="{tr}Use{/tr}"}</a>
</td>
<td>
<a {popup text="Params: id=" width=100 center=true}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text="Params: id=" width=100 center=true}>{icon _id='help'}</a>
</td>
</tr>
{/if}
......
......@@ -531,7 +531,7 @@ $("#userstracker").change(function () {
<table class="formcolor">
<tr>
<td class="auto">
{tr}CSV File{/tr}<a {popup text='user<br>user1<br>user2'}>{icon _id='help'}</a>
{tr}CSV File{/tr}<a title="{tr}Help{/tr}" {popup text='user<br>user1<br>user2'}>{icon _id='help'}</a>
</td>
<td class="auto"><input name="csvlist" type="file"></td>
</tr>
......
......@@ -116,11 +116,11 @@
<td align="center" {if ((($key +$num_subgals) / $rowImages) % 2)}class="oddthumb"{else}class="eventhumb"{/if}>
&nbsp;&nbsp;<br>
{if $prefs.feature_shadowbox eq 'y'}
<a href="show_image.php?id={$item.imageId}&amp;scalesize={$defaultscale}" rel="lightbox[gallery];type=img" title="{if $item.description neq ''}{$item.description}{elseif $item.name neq ''}{$item.name}{else}{$item.filename}{/if}" {if $prefs.gal_image_mouseover neq 'n'}{popup fullhtml="1" text=$over_info.$key|escape:"javascript"|escape:"html"}{/if} class="linkmenu">
<a href="show_image.php?id={$item.imageId}&amp;scalesize={$defaultscale}" rel="lightbox[gallery];type=img" title="{if $item.description neq ''}{$item.description}{elseif $item.name neq ''}{$item.name}{else}{$item.filename}{/if}" {if $prefs.gal_image_mouseover neq 'n'}{popup fullhtml="1" text=$over_info.$key|escape:"javascript"|escape:"html"}{/if} class="linkmenu tips">
<img class="athumb" src="show_image.php?id={$item.imageId}&amp;thumb=1">
</a>
{else}
<a href="tiki-browse_image.php?galleryId={$galleryId}&amp;sort_mode={$sort_mode}&amp;imageId={$item.imageId}&amp;scalesize={$defaultscale}" {if $prefs.gal_image_mouseover neq 'n'}{popup fullhtml="1" text=$over_info.$key|escape:"javascript"|escape:"html"}{/if} class="linkmenu">
<a href="tiki-browse_image.php?galleryId={$galleryId}&amp;sort_mode={$sort_mode}&amp;imageId={$item.imageId}&amp;scalesize={$defaultscale}" {if $prefs.gal_image_mouseover neq 'n'}{popup fullhtml="1" text=$over_info.$key|escape:"javascript"|escape:"html"}{/if} class="linkmenu tips">
<img class="athumb" src="show_image.php?id={$item.imageId}&amp;thumb=1">
</a>
{/if}
......@@ -158,7 +158,7 @@
<a class="gallink" href="{$galleryId|sefurl:gallery:with_next}remove={$item.imageId}" title="{tr}Delete{/tr}">{icon _id='cross' alt="{tr}Delete{/tr}"}</a>
<a class="gallink" href="tiki-edit_image.php?galleryId={$galleryId}&amp;edit={$item.imageId}" title="{tr}Edit{/tr}">{icon _id='page_edit'}</a>
{/if}
<a class="gallink" href="tiki-browse_image.php?galleryId={$galleryId}&amp;sort_mode={$sort_mode}&amp;imageId={$item.imageId}&amp;scalesize={$defaultscale}" {if $prefs.gal_image_mouseover neq 'n'}{popup fullhtml="1" text=$over_info.$key|escape:"javascript"|escape:"html"}{/if}>{icon _id='magnifier' alt="{tr}Details{/tr}"}</a>
<a class="gallink tips" href="tiki-browse_image.php?galleryId={$galleryId}&amp;sort_mode={$sort_mode}&amp;imageId={$item.imageId}&amp;scalesize={$defaultscale}" {if $prefs.gal_image_mouseover neq 'n'}{popup fullhtml="1" text=$over_info.$key|escape:"javascript"|escape:"html"}{/if}>{icon _id='magnifier' alt="{tr}Details{/tr}"}</a>
<a {jspopup href="tiki-browse_image.php?galleryId=$galleryId&amp;sort_mode=$sort_mode&amp;imageId="|cat:$item.imageId|cat:"&amp;scalesize=$defaultscale&amp;popup=1"} class="gallink">
{icon _id='layers' alt="{tr}popup{/tr}"}</a>
<br>
......
......@@ -10,25 +10,6 @@
{$cellprio}
</span>
{/if}
{if $prefs.calendar_sticky_popup eq "y"}
<span style="right:2px; position:absolute">
<a href="javascript:void(0)" onclick="nd();return false;">
{icon _id="close" alt="{tr}Close{/tr}" width="16" height="16"}
</a>
</span>
{/if}
</div>
{else}
<div style="float:right">
{if $prefs.calendar_sticky_popup eq "y"}
{button _noborder='y' _text="{tr}Export event{/tr}" _icon="task_submitted" href="tiki-calendar_export_ical.php" calendarItem=$cellid export='y' _auto_args="calendarItem,export"}
{if $tiki_p_change_events eq 'y' || $celluser eq $user}
{button _noborder='y' _text="{tr}Edit event{/tr}" _icon="page_edit" href="tiki-calendar_edit_item.php" calitemId=$cellid _auto_args="calitemId"}
{button _noborder='y' _text="{tr}Delete event{/tr}" _icon="cross" href="tiki-calendar_edit_item.php" calitemId=$cellid delete="y" _auto_args="calitemId,delete"}
{/if}
{button _noborder='y' _text="{tr}View event{/tr}" _icon="magnifier" href="tiki-calendar_edit_item.php" viewcalitemId=$cellid _auto_args="viewcalitemId"}
{/if}
{button _noborder='y' _text="{tr}Close{/tr}" _icon="close" href="javascript:void(0)" _onclick="nd();return false;"}
</div>
{/if}
{if $group_by_item ne 'y'}
......
<div class='opaque' style="position:absolute;top:10px;left:50%;margin-left:-150px;width:300px">
{if $prefs.calendar_sticky_popup eq "y"}
<div style="float:right"><a href="#" onClick="nd();nd();return false;">
<a href="#" onclick="nd();nd();return false;">{icon _id="minus_small" alt="{tr}Close{/tr}" width="11" height="8"}</a>
</div><br>
{/if}
{foreach key=k2 item=evt from=$currHrows}
{assign var=calendarId value=$evt.calendarId}
<div style="position:relative">
......
......@@ -51,11 +51,11 @@
{assign var=calendarId value=$cell[w][d].items[item].calendarId}
<tr valign="top">
{if is_array($cell[w][d].items[item])}
<td class="Cal{$cell[w][d].items[item].type} calId{$cell[w][d].items[item].calendarId} viewcalitemId_{$cell[w][d].items[item].calitemId}" style="padding:0px;height:14px;background-color:#{$infocals.$calendarId.custombgcolor};border-color:#{$infocals.$calendarId.customfgcolor};opacity:{if $cell[w][d].items[item].status eq '0'}0.8{else}1{/if};filter:Alpha(opacity={if $cell[w][d].items[item].status eq '0'}80{else}100{/if});text-align:left;border-width:1px {if $cell[w][d].items[item].endTimeStamp <= ($cell[w][d].day + 86400)}1{else}0{/if}px 1px {if $cell[w][d].items[item].startTimeStamp >= $cell[w][d].day}1{else}0{/if}px;cursor:pointer"
<td class="Cal{$cell[w][d].items[item].type} calId{$cell[w][d].items[item].calendarId} viewcalitemId_{$cell[w][d].items[item].calitemId} tips" style="padding:0px;height:14px;background-color:#{$infocals.$calendarId.custombgcolor};border-color:#{$infocals.$calendarId.customfgcolor};opacity:{if $cell[w][d].items[item].status eq '0'}0.8{else}1{/if};filter:Alpha(opacity={if $cell[w][d].items[item].status eq '0'}80{else}100{/if});text-align:left;border-width:1px {if $cell[w][d].items[item].endTimeStamp <= ($cell[w][d].day + 86400)}1{else}0{/if}px 1px {if $cell[w][d].items[item].startTimeStamp >= $cell[w][d].day}1{else}0{/if}px;cursor:pointer"
{if $prefs.calendar_sticky_popup eq 'y'}
{popup vauto=true hauto=true sticky=true fullhtml="1" trigger="onClick" text=$over|escape:"javascript"|escape:"html"}
{popup caption="{tr}Event{/tr}" vauto=true hauto=true sticky=true fullhtml="1" trigger="onClick" text=$over|escape:"javascript"|escape:"html"}
{else}
{popup vauto=true hauto=true sticky=false fullhtml="1" text=$over|escape:"javascript"|escape:"html"}
{popup caption="{tr}Event{/tr}" vauto=true hauto=true sticky=false fullhtml="1" text=$over|escape:"javascript"|escape:"html"}
{/if}>
{if $myurl eq "tiki-action_calendar.php" or ($cell[w][d].items[item].startTimeStamp >= $cell[w][d].day or $smarty.section.d.index eq '0' or $cell[w][d].firstDay or $infocals[$cell[w][d].items[item].calendarId].nameoneachday eq 'y')}
......
......@@ -21,7 +21,7 @@
{assign var=calendarId value=$event.calendarId}
{assign var=over value=$event.over}
{if $event.calitemId neq ''}
<div id="event_{$event.calitemId}" {if $hrows[$h][hr].calname ne ""}class="Cal{$event.type} vevent"{/if} style="position:absolute;z-index:100;top:{$event.top}px;left:{$event.left}%;width:{$event.width}%;height:{$event.duree}px;background-color:#{$infocals.$calendarId.custombgcolor};border-color:#{$infocals.$calendarId.customfgcolor};opacity:{if $event.status eq '0'}0.8{else}1{/if};filter:alpha(opacity={if $event.status eq '0'}80{else}100{/if});text-align:center;overflow:hidden;cursor:pointer"
<div id="event_{$event.calitemId}" title="{tr}Details{/tr}" {if $hrows[$h][hr].calname ne ""}class="tips Cal{$event.type} vevent"{/if} style="position:absolute;z-index:100;top:{$event.top}px;left:{$event.left}%;width:{$event.width}%;height:{$event.duree}px;background-color:#{$infocals.$calendarId.custombgcolor};border-color:#{$infocals.$calendarId.customfgcolor};opacity:{if $event.status eq '0'}0.8{else}1{/if};filter:alpha(opacity={if $event.status eq '0'}80{else}100{/if});text-align:center;overflow:hidden;cursor:pointer"
{if $prefs.calendar_sticky_popup eq "y"}
{popup vauto=true hauto=true sticky=true trigger="onClick" fullhtml="1" text=$over|escape:"javascript"|escape:"html"}
{else}
......
......@@ -25,7 +25,7 @@
<td>
{tr}CSV File{/tr}
{capture name=help}{tr}Column names on the first line:{/tr}<br>name,description,start&nbsp;date,start&nbsp;time,end&nbsp;date,end&nbsp;time,status,lang,categoryId,locationId,priority,url,categoryId<br><i>{tr _0=subject _1=name}%0 column name can be used instead of %1{/tr}</i><br>{tr}Date format:{/tr} {tr}See:{/tr} http://php.net/strtotime{/capture}
<a {popup text=$smarty.capture.help|escape}>{icon _id='help'}</a>
<a title="{tr}Help{/tr}" {popup text=$smarty.capture.help|escape}>{icon _id='help'}</a>
</td>
<td>
<input type="file" name="fileCSV" size="50">
......
......@@ -62,7 +62,8 @@
{assign var=calendarId value=$event.calendarId}
{assign var=over value=$event.over|escape:"javascript"|escape:"html"}
{if !empty($event.calitemId)}
<div id="event_{$h}_{$smarty.section.weekday.index}_{$event.calitemId}" {if $event.calname ne ""}class="Cal{$event.type} vevent"{/if} style="overflow:visible;position:absolute;top:{$event.top}px;height:{$event.duree-1}px;left:{$event.left}%;width:{$event.width}%;background-color:#{$infocals.$calendarId.custombgcolor};border-color:#{$infocals.$calendarId.customfgcolor};color:#{$infocals.$cellcalendarId.customfgcolor};opacity:{if $event.status eq '0'}0.8{else}1{/if};filter:alpha(opacity={if $event.status eq '0'}80{else}100{/if});text-align:center;overflow:hidden;cursor:pointer;{if $prefs.feature_jquery_ui eq 'y'}display:none;{/if}"
<div id="event_{$h}_{$smarty.section.weekday.index}_{$event.calitemId}" {if $event.calname ne ""}class="Cal{$event.type} vevent tips"{/if} style="overflow:visible;position:absolute;top:{$event.top}px;height:{$event.duree-1}px;left:{$event.left}%;width:{$event.width}%;background-color:#{$infocals.$calendarId.custombgcolor};border-color:#{$infocals.$calendarId.customfgcolor};color:#{$infocals.$cellcalendarId.customfgcolor};opacity:{if $event.status eq '0'}0.8{else}1{/if};filter:alpha(opacity={if $event.status eq '0'}80{else}100{/if});text-align:center;overflow:hidden;cursor:pointer;{if $prefs.feature_jquery_ui eq 'y'}display:none;{/if}"
title="{tr}Details{/tr}"
{if $prefs.calendar_sticky_popup eq "y"}
{popup vauto=true hauto=true sticky=true fullhtml="1" trigger="onClick" text=$over}
{else}
......@@ -114,6 +115,7 @@
{else}
{popup vauto=true hauto=true sticky=false fullhtml="1" text=$overMany}
{/if}
title="{tr}Details{/tr}"
>
<div style="position:absolute;top:50%;left:50%;margin-left:-40px;margin-top:-30px">
<a style="padding:0 3px;" href="{$myurl}?viewmode=day&todate={$viewWeekDays[weekday]}">
......
<div class='opaque'>
<div class='box-title'>{tr}Information{/tr}</div>
<div class='box-data'>
{if $showname eq 'y' and $file_info.name neq ''}<i>{$file_info.name}</i><br><br>{/if}
{if $showfilename eq 'y' and $file_info.filename neq ''}{tr}Filename:{/tr} {$file_info.filename}<br>{/if}
{if $showimageid eq 'y' and $file_info.imageId neq ''}{tr}ID:{/tr} {$file_info.imageId}<br>{/if}
......@@ -10,5 +7,3 @@
{if $showxysize eq 'y' and $file_info.xsize neq ''}{tr}Size (width x height):{/tr} {$file_info.xsize}x{$file_info.ysize}<br>{/if}
{if $showfilesize eq 'y' and $file_info.filesize neq ''}{tr}Filesize:{/tr} {$file_info.filesize} {tr}bytes{/tr}<br>{/if}
{if $showhits eq 'y' and $file_info.hits neq ''}{tr}Hits:{/tr} {$file_info.hits}{/if}
</div>
</div>
......@@ -48,33 +48,21 @@
{section name=ix loop=$comments}{assign var=id value=$comments[ix].threadId}
{capture name=over_actions}
{strip}
<div class='opaque'>
<div class='box-title'>{tr}Actions{/tr}</div>
<div class='box-data'>
<a href="{$comments[ix].href}">{icon _id='magnifier' alt="{tr}Display{/tr}"}</a>
<a href="{$comments[ix].href|cat:"&amp;comments_threadId=$id&amp;edit_reply=1#form"}">{icon _id='page_edit' alt="{tr}Edit{/tr}"}</a>
{self_link remove=1 checked=$id _icon='cross'}{tr}Delete{/tr}{/self_link}
</div>
</div>
<a href="{$comments[ix].href}">{icon _id='magnifier' alt="{tr}Display{/tr}"}</a>
<a href="{$comments[ix].href|cat:"&amp;comments_threadId=$id&amp;edit_reply=1#form"}">{icon _id='page_edit' alt="{tr}Edit{/tr}"}</a>
{self_link remove=1 checked=$id _icon='cross'}{tr}Delete{/tr}{/self_link}
{/strip}
{/capture}
{capture name=over_more_info}
{strip}
<div class='opaque'>
<div class='box-title'>{tr}More info{/tr}</div>
<div class='box-data'>
<div>
{foreach from=$more_info_headers key=headerKey item=headerName}
{if (isset($comments[ix].$headerKey))}
{assign var=val value=$comments[ix].$headerKey}
<b>{tr}{$headerName}{/tr}</b>: {$val}
<br>
{/if}
{/foreach}
</div>
</div>
</div>
{foreach from=$more_info_headers key=headerKey item=headerName}
{if (isset($comments[ix].$headerKey))}
{assign var=val value=$comments[ix].$headerKey}
<b>{tr}{$headerName}{/tr}</b>: {$val}
<br>
{/if}
{/foreach}
{/strip}
{/capture}
......
{* $Id$ *}
{title help="Kaltura" admpage="video"}{if $entryType eq "mix"}{tr}Remix Entries{/tr}{else}{if $view ne "browse"}{tr}List Media{/tr}{else}{tr}Browse Media{/tr}{/if}{/if}{/title}
{capture name=other_sorts}{strip}
<div class='opaque'>
<div class='box-title'><strong>{tr}Other Sorts{/tr}</strong></div>
<div class='box-data'>
<a href="tiki-list_kaltura_entries.php?list={$entryType}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq '-views'}asc_views{else}desc_views{/if}">{tr}Loads{/tr}</a>
<br>
<a href="tiki-list_kaltura_entries.php?list={$entryType}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq '-plays'}asc_plays{else}desc_plays{/if}">{tr}Plays{/tr}</a>
</div>
</div>
{/strip}{/capture}
<div class="row form-group">
<form method="post" action="{$smarty.server.PHP_SELF}" class="col-md-12 form-inline form-horizontal" role="form">
<label class="control-label col-sm-2" for="find">{tr}Find{/tr}</label>
......
{* $Id$ *}
{capture name=actions}{strip}
<div class='opaque'>
<div class='box-title'><strong>{tr}Actions{/tr}</strong></div>
<div class='box-data'>
{if $tiki_p_view_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}" title="{tr}View{/tr}"><img alt="" src="img/icons/magnifier.png" class="icon">{tr}View{/tr}</a>
{/if}
{if $tiki_p_download_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="{$item->downloadUrl}" title="{tr}Download{/tr}"><img alt="" src="img/icons/application_put.png" class="icon">{tr}Download{/tr}</a>
{/if}
{if $tiki_p_edit_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}&action=edit"><img alt="" src="img/icons/page_edit.png" class="icon">{tr}Change Details{/tr}</a>
{/if}
{if $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
{if $entryType eq "mix"} {*TODO: there must be a way to duplicate media clips as well since mixes are being deprecated in Kaltura*}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}&action=dupl"><img alt="" src="img/icons/layers.png" class="icon">{tr}Duplicate{/tr}</a>
{/if}
{/if}
{if $tiki_p_delete_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}&action=delete" class ="iconmenu" ><img alt="" src="img/icons/cross.png" class="icon">{tr}Delete{/tr}</a>
{/if}
</div>
</div>
{if $tiki_p_view_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}" title="{tr}View{/tr}"><img alt="" src="img/icons/magnifier.png" class="icon">{tr}View{/tr}</a>
{/if}
{if $tiki_p_download_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="{$item->downloadUrl}" title="{tr}Download{/tr}"><img alt="" src="img/icons/application_put.png" class="icon">{tr}Download{/tr}</a>
{/if}
{if $tiki_p_edit_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}&action=edit"><img alt="" src="img/icons/page_edit.png" class="icon">{tr}Change Details{/tr}</a>
{/if}
{if $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
{if $entryType eq "mix"} {*TODO: there must be a way to duplicate media clips as well since mixes are being deprecated in Kaltura*}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}&action=dupl"><img alt="" src="img/icons/layers.png" class="icon">{tr}Duplicate{/tr}</a>
{/if}
{/if}
{if $tiki_p_delete_videos eq 'y' or $tiki_p_admin_kaltura eq 'y' or $tiki_p_admin eq 'y'}
<a href="tiki-kaltura_video.php?{$entryType}Id={$item->id}&action=delete" class ="iconmenu" ><img alt="" src="img/icons/cross.png" class="icon">{tr}Delete{/tr}</a>
{/if}
{/strip}{/capture}
{capture name=add_info}{strip}
<div class='opaque'>
<div class='box-title'><strong>{tr}Additional Info{/tr}</strong></div>
<div class='box-data'>
<table>
{if !empty($item->description)}
<tr>
<td><strong>{tr}Description{/tr}</strong>:</td>
<td>{$item->description}</td>
</tr>
{/if}
<tr>
<td><strong>{tr}Status{/tr}</strong>:</td>
<td>{$item->statusString}</td>
</tr>
<tr>
<td><strong>{tr}Media Id{/tr}</strong>:</td>
<td><pre style="margin:0">{$item->id}</pre></td>
</tr>
<tr>
<td><strong>{tr}Media Type{/tr}</strong>:</td>
<td>{$item->mediaType}</td>
</tr>
<tr>
<td><strong>{tr}Duration{/tr}</strong>:</td>
<td>{$item->duration}s</td>
</tr>
<tr>
<td><strong>{tr}Views{/tr}</strong>:</td>
<td>{$item->views}</td>
</tr>
<tr>
<td><strong>{tr}Plays{/tr}</strong>:</td>