+ + + {if="$is_logged_in && $template === 'linklist'"} + + + {$addDelete=['add', 'delete']} + {loop="$addDelete"} + + {/loop} + {/if} + + {if="!$is_logged_in"} +
+ +
+ {/if} +{if="!empty($newVersion) || !empty($versionError)"} +
+
+ {if="$newVersion"} +
+ Shaarli {$newVersion} + {'is available'|t}. +
+ {/if} + {if="$versionError"} +
+ {'Error'|t}: {$versionError} +
+ {/if} +
+ +
+
+{/if} + +{if="!empty($plugin_errors) && $is_logged_in"} +
+
+
+ {loop="plugin_errors"} +

{$value}

+ {/loop} +
+
+ +
+
+{/if} + +{if="!empty($global_errors)"} +
+
+
+ {loop="$global_errors"} +

{$value}

+ {/loop} +
+
+ +
+
+{/if} + +{if="!empty($global_warnings)"} +
+
+
+ {loop="global_warnings"} +

{$value}

+ {/loop} +
+
+ +
+
+{/if} + +{if="!empty($global_successes)"} +
+
+
+ {loop="$global_successes"} +

{$value}

+ {/loop} +
+
+ +
+
+{/if} + +
diff --git a/morgan/picwall.html b/morgan/picwall.html new file mode 100644 index 0000000..ac613b3 --- /dev/null +++ b/morgan/picwall.html @@ -0,0 +1,59 @@ + + + + {include="includes"} + + +{include="page.header"} + +{if="count($linksToDisplay)===0 && $is_logged_in"} +
+
+ {'There is no cached thumbnail.'|t} + {'Try to synchronize them.'|t} +
+
+{/if} + +
+
+
+ {$countPics=count($linksToDisplay)} +

{'Picture Wall'|t} - {$countPics} {'pics'|t}

+ +
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ {loop="$linksToDisplay"} +
+ {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} + + {$value.title} + {loop="$value.picwall_plugin"} + {$value} + {/loop} +
+ {/loop} +
+
+ +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+
+
+ +{include="page.footer"} + + + + diff --git a/morgan/pluginsadmin.html b/morgan/pluginsadmin.html new file mode 100644 index 0000000..c7955ba --- /dev/null +++ b/morgan/pluginsadmin.html @@ -0,0 +1,183 @@ + + + + {include="includes"} + + +{include="page.header"} + + + +
+
+
+
+

{'Plugin administration'|t}

+ +
+

{'Enabled Plugins'|t}

+ +
+ {if="count($enabledPlugins)==0"} +

{'No plugin enabled.'|t}

+ {else} + + + + + + + + + + + {loop="$enabledPlugins"} + + + + + + + + + + {/loop} + + + + + + + + + +
{'Enabled'|t}{'Name'|t}
{'Description'|t}
{'Order'|t}
+ +
+ {if="count($enabledPlugins)>1"} + + + {/if} + +
{'Enabled'|t}{'Name'|t}
{'Description'|t}
{'Order'|t}
+ {/if} +
+
+ +
+

{'Disabled Plugins'|t}

+ +
+ {if="count($disabledPlugins)==0"} +

{'No plugin disabled.'|t}

+ {else} + + + + + + + + + + {loop="$disabledPlugins"} + + + + + + + + + {/loop} + + + + + + + + +
{'Enabled'|t}{'Name'|t}
{'Description'|t}
+ +
+ +
{'Enabled'|t}{'Name'|t}
{'Description'|t}
+ {/if} +
+
+ +
+ {"More plugins available"|t} + {"in the documentation"|t}. +
+
+ +
+
+
+ +
+ +
+
+
+
+

{'Plugin configuration'|t}

+
+
+ {if="count($enabledPlugins)==0"} +

{'No plugin enabled.'|t}

+ {else} + {$nbParameters=0} + {loop="$enabledPlugins"} + {$nbParameters=$nbParameters+count($value.parameters)} + {if="count($value.parameters) > 0"} +
+

{function="str_replace('_', ' ', $key)"}

+ {loop="$value.parameters"} +
+

+ +

+
+ +
+
+ {/loop} +
+ {/if} + {/loop} + {if="$nbParameters===0"} +

{'No parameter available.'|t}

+ {else} +
+ +
+ {/if} + {/if} +
+
+
+
+ +
+ +{include="page.footer"} + + + + diff --git a/morgan/pluginscontent.html b/morgan/pluginscontent.html new file mode 100644 index 0000000..1e4f6b8 --- /dev/null +++ b/morgan/pluginscontent.html @@ -0,0 +1,13 @@ + + + + {include="includes"} + + + {include="page.header"} + + {$content} + + {include="page.footer"} + + diff --git a/morgan/server.html b/morgan/server.html new file mode 100644 index 0000000..e017408 --- /dev/null +++ b/morgan/server.html @@ -0,0 +1,129 @@ + + + + {include="includes"} + + +{include="page.header"} + +
+
+
+

{'Server administration'|t}

+ +

{'General'|t}

+ +
+
+

{'Index URL'|t}

+
+ +
+
+
+

{'Base path'|t}

+
+
+

{$base_path}

+
+
+
+
+

{'Client IP'|t}

+
+
+

{$client_ip}

+
+
+
+
+

{'Trusted reverse proxies'|t}

+
+
+ {if="count($trusted_proxies) > 0"} +

+ {loop="$trusted_proxies"} + {$value}
+ {/loop} +

+ {else} +

{'N/A'|t}

+ {/if} +
+
+ + {include="server.requirements"} + +

{'Version'|t}

+ +
+
+

{'Current version'|t}

+
+
+

{$current_version}

+
+
+ +
+
+

{'Latest release'|t}

+
+ +
+ +

{'Thumbnails'|t}

+ +
+
+

{'Thumbnails status'|t}

+
+
+

+ {if="$thumbnails_mode==='all'"} + {'All'|t} + {elseif="$thumbnails_mode==='common'"} + {'Only common media hosts'|t} + {else} + {'None'|t} + {/if} +

+
+
+ + {if="$thumbnails_mode!=='none'"} + + {/if} + +

{'Cache'|t}

+ + + + +
+
+ +{include="page.footer"} + + + diff --git a/morgan/server.requirements.html b/morgan/server.requirements.html new file mode 100644 index 0000000..85def9b --- /dev/null +++ b/morgan/server.requirements.html @@ -0,0 +1,68 @@ +
+

{'Permissions'|t}

+ + {if="count($permissions) > 0"} +

+ + {'There are permissions that need to be fixed.'|t} +

+ +

+ {loop="$permissions"} +

{$value}
+ {/loop} +

+ {else} +

+ + {'All read/write permissions are properly set.'|t} +

+ {/if} + +

PHP

+ +

+ {'Running PHP'|t} {$php_version} + {if="$php_has_reached_eol"} +
+ {'End of life: '|t} {$php_eol} + {else} +
+ {/if} +

+ + + + + + + + + + + + {loop="$php_extensions"} + + + + + + + {/loop} + +
{'Extension'|t}{'Usage'|t}{'Status'|t}{'Loaded'|t}
{$value.name}{$value.desc}{$value.required ? t('Required') : t('Optional')} + {if="$value.loaded"} + {$classLoaded="fa-color-green"} + {$strLoaded=t('Loaded')} + {else} + {$strLoaded=t('Not loaded')} + {if="$value.required"} + {$classLoaded="fa-color-red"} + {else} + {$classLoaded="fa-color-orange"} + {/if} + {/if} + + +
+
diff --git a/morgan/tag.cloud.html b/morgan/tag.cloud.html new file mode 100644 index 0000000..01b50b0 --- /dev/null +++ b/morgan/tag.cloud.html @@ -0,0 +1,72 @@ + + + + {include="includes"} + + +{include="page.header"} + +{include="tag.sort"} + +
+
+
+ {$countTags=count($tags)} +

{'Tag cloud'|t} - {$countTags} {'tags'|t}

+ {if="!empty($search_tags)"} +

+ + {'List all links with those tags'|t} + +

+ {/if} + +
+
+
+
+ + + +
+
+
+
+ +
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ {loop="tags"} + {$key}{$value.count} + {loop="$value.tag_plugin"} + {$value} + {/loop} + {/loop} +
+ +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+
+ +{include="tag.sort"} + +{include="page.footer"} + + + diff --git a/morgan/tag.list.html b/morgan/tag.list.html new file mode 100644 index 0000000..96e7fbe --- /dev/null +++ b/morgan/tag.list.html @@ -0,0 +1,91 @@ + + + + {include="includes"} + + +{include="page.header"} + +{include="tag.sort"} + +
+
+
+ {$countTags=count($tags)} +

{'Tag list'|t} - {$countTags} {'tags'|t}

+ {if="!empty($search_tags)"} +

+ + {'List all links with those tags'|t} + +

+ {/if} + +
+
+
+
+ + + +
+
+
+
+ +
+ {loop="$plugin_start_zone"} + {$value} + {/loop} +
+ +
+ {loop="tags"} +
+
+ {if="$is_logged_in===true"} +    + + + + {/if} + + {$value} + {$key} + + {loop="$value.tag_plugin"} + {$value} + {/loop} +
+ {if="$is_logged_in===true"} +
+ + +
+ {/if} +
+ {/loop} +
+ +
+ {loop="$plugin_end_zone"} + {$value} + {/loop} +
+
+
+ +{if="$is_logged_in===true"} + + + diff --git a/morgan/tag.sort.html b/morgan/tag.sort.html new file mode 100644 index 0000000..b3764e2 --- /dev/null +++ b/morgan/tag.sort.html @@ -0,0 +1,8 @@ +
+ +
diff --git a/morgan/thumbnails.html b/morgan/thumbnails.html new file mode 100644 index 0000000..504644c --- /dev/null +++ b/morgan/thumbnails.html @@ -0,0 +1,48 @@ + + + + {include="includes"} + + +{include="page.header"} + +
+
+
+

{'Thumbnails update'|t}

+ +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ +
+
+
+
+ 0 / {$ids|count} +
+
+
+ + +
+
+ +{include="page.footer"} + + + diff --git a/morgan/tools.html b/morgan/tools.html new file mode 100644 index 0000000..ec9ce93 --- /dev/null +++ b/morgan/tools.html @@ -0,0 +1,137 @@ + + + + {include="includes"} + + +{include="page.header"} + +
+
+
+

{'Settings'|t}

+ + + + {if="!$openshaarli"} + + {/if} + + + + + {loop="$tools_plugin"} +
+ {$value} +
+ {/loop} +
+ + +
+
+ +
+
+
+

{'Bookmarklets'|t}

+

+ {'Drag one of these button to your bookmarks toolbar or right-click it and "Bookmark This Link"'|t}, + {'then click on the bookmarklet in any page you want to share.'|t} +

+ + +
+
+ +
+
+
+

{'Third-party resources'|t}

+ +
+
+ +{include="page.footer"} + + +