Browse Source

fix a few more templates for correction conversion to Smarty3 templates

pull/558/head
Zach Prezkuta 9 years ago
parent
commit
ce445a385f
4 changed files with 6 additions and 4 deletions
  1. +2
    -0
      mod/fbrowser.php
  2. +1
    -1
      view/filebrowser.tpl
  3. +2
    -2
      view/notifications_network_item.tpl
  4. +1
    -1
      view/theme/frost/filebrowser.tpl

+ 2
- 0
mod/fbrowser.php View File

@ -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'),
));
}


+ 1
- 1
view/filebrowser.tpl View File

@ -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>


+ 2
- 2
view/notifications_network_item.tpl View File

@ -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>

+ 1
- 1
view/theme/frost/filebrowser.tpl View File

@ -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