]> git.mxchange.org Git - friendica.git/commitdiff
add new Smarty3 templates
authorZach Prezkuta <fermion@gmx.com>
Mon, 11 Feb 2013 00:11:55 +0000 (17:11 -0700)
committerZach Prezkuta <fermion@gmx.com>
Mon, 11 Feb 2013 00:11:55 +0000 (17:11 -0700)
view/theme/frost-mobile/smarty3/categories_widget.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/common_tabs.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contact_block.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/event.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/group_drop.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/like_noshare.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/mail_list.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/msg-end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/photo_drop.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/suggest_friends.tpl [new file with mode: 0644]

diff --git a/view/theme/frost-mobile/smarty3/categories_widget.tpl b/view/theme/frost-mobile/smarty3/categories_widget.tpl
new file mode 100644 (file)
index 0000000..1749fce
--- /dev/null
@@ -0,0 +1,17 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--<div id="categories-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+       
+       <ul class="categories-ul">
+               <li class="tool"><a href="{{$base}}" class="categories-link categories-all{{if $sel_all}} categories-selected{{/if}}">{{$all}}</a></li>
+               {{foreach $terms as $term}}
+                       <li class="tool"><a href="{{$base}}?f=&category={{$term.name}}" class="categories-link{{if $term.selected}} categories-selected{{/if}}">{{$term.name}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>-->*}}
diff --git a/view/theme/frost-mobile/smarty3/common_tabs.tpl b/view/theme/frost-mobile/smarty3/common_tabs.tpl
new file mode 100644 (file)
index 0000000..9fa4ed4
--- /dev/null
@@ -0,0 +1,11 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<ul class="tabs">
+       {{foreach $tabs as $tab}}
+               <li id="{{$tab.id}}"><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
+       {{/foreach}}
+       <div id="tabs-end"></div>
+</ul>
diff --git a/view/theme/frost-mobile/smarty3/contact_block.tpl b/view/theme/frost-mobile/smarty3/contact_block.tpl
new file mode 100644 (file)
index 0000000..5a0a26b
--- /dev/null
@@ -0,0 +1,17 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--<div id="contact-block">
+<h4 class="contact-block-h4">{{$contacts}}</h4>
+{{if $micropro}}
+               <a class="allcontact-link" href="viewcontacts/{{$nickname}}">{{$viewcontacts}}</a>
+               <div class='contact-block-content'>
+               {{foreach $micropro as $m}}
+                       {{$m}}
+               {{/foreach}}
+               </div>
+{{/if}}
+</div>
+<div class="clear"></div>-->*}}
diff --git a/view/theme/frost-mobile/smarty3/event.tpl b/view/theme/frost-mobile/smarty3/event.tpl
new file mode 100644 (file)
index 0000000..15c4e2b
--- /dev/null
@@ -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}}
diff --git a/view/theme/frost-mobile/smarty3/group_drop.tpl b/view/theme/frost-mobile/smarty3/group_drop.tpl
new file mode 100644 (file)
index 0000000..2693228
--- /dev/null
@@ -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>
diff --git a/view/theme/frost-mobile/smarty3/like_noshare.tpl b/view/theme/frost-mobile/smarty3/like_noshare.tpl
new file mode 100644 (file)
index 0000000..1ad1eea
--- /dev/null
@@ -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>
diff --git a/view/theme/frost-mobile/smarty3/mail_list.tpl b/view/theme/frost-mobile/smarty3/mail_list.tpl
new file mode 100644 (file)
index 0000000..0607c15
--- /dev/null
@@ -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>
diff --git a/view/theme/frost-mobile/smarty3/msg-end.tpl b/view/theme/frost-mobile/smarty3/msg-end.tpl
new file mode 100644 (file)
index 0000000..594f3f7
--- /dev/null
@@ -0,0 +1,7 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.min.js" ></script>
+
diff --git a/view/theme/frost-mobile/smarty3/photo_drop.tpl b/view/theme/frost-mobile/smarty3/photo_drop.tpl
new file mode 100644 (file)
index 0000000..96fa278
--- /dev/null
@@ -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>
diff --git a/view/theme/frost-mobile/smarty3/search_item.tpl b/view/theme/frost-mobile/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..21f4c1a
--- /dev/null
@@ -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>
+                                               {{$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>
+
+-->*}}
diff --git a/view/theme/frost-mobile/smarty3/suggest_friends.tpl b/view/theme/frost-mobile/smarty3/suggest_friends.tpl
new file mode 100644 (file)
index 0000000..8843d51
--- /dev/null
@@ -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>