Browse Source

fix a few more templates for correction conversion to Smarty3 templates

pull/558/head
Zach Prezkuta 9 years ago
parent
commit
ce445a385f
  1. 2
      mod/fbrowser.php
  2. 2
      view/filebrowser.tpl
  3. 4
      view/notifications_network_item.tpl
  4. 2
      view/theme/frost/filebrowser.tpl

2
mod/fbrowser.php

@ -78,6 +78,7 @@ function fbrowser_content($a){
'$path' => $path,
'$folders' => $albums,
'$files' =>$files,
'$cancel' => t('Cancel'),
));
@ -112,6 +113,7 @@ function fbrowser_content($a){
'$path' => array( array($a->get_baseurl()."/fbrowser/image/", t("Files")) ),
'$folders' => false,
'$files' =>$files,
'$cancel' => t('Cancel'),
));
}

2
view/filebrowser.tpl

@ -77,7 +77,7 @@
</div>
</div>
<div class="mceActionPanel">
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
<input type="button" id="cancel" name="cancel" value="$cancel" onclick="tinyMCEPopup.close();" />
</div>
</body>

4
view/notifications_network_item.tpl

@ -1,3 +1,3 @@
<div class="notif-item">
<a href="{$item_link}" target="friendica-notifications"><img src="{$item_image}" class="notif-image">{$item_text} <span class="notif-when">{$item_when}</span></a>
</div>
<a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a>
</div>

2
view/theme/frost/filebrowser.tpl

@ -77,7 +77,7 @@
</div>
</div>
<div class="mceActionPanel">
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
<input type="button" id="cancel" name="cancel" value="$cancel" onclick="tinyMCEPopup.close();" />
</div>
</body>

Loading…
Cancel
Save