<div class="text-sm pull-right">
		<a class="btn btn-primary" id="myShare" href="javascript:;" data-toggle="modal" data-backdrop="static"data-target="#modal" data-url="{{ path('material_lib_show_sharing_history') }}">{{'我的分享'|trans}}</a>
		<a class="btn btn-info" id="shareMaterials" href="javascript:;" data-toggle="modal" data-target="#modal" data-url="{{ path('material_lib_my_sharing') }}">{{'分享资料'|trans}}</a>
		{#<a class="btn btn-default {% if source == "upload" %} active {% endif %}" href="{{ path('material_lib_browsing', {type: type|default('all'), viewMode: viewMode|default('thumb'), source: 'upload'}) }}">来自上传</a>

		<a class="btn btn-default {% if source == "shared" %} active {% endif %}" href="{{ path('material_lib_browsing', {type: type|default('all'), viewMode: viewMode|default('thumb'), source: 'shared'}) }}">来自分享</a>

		<a class="btn btn-default {% if source == "myShareHistory" %} active {% endif %}" href="{{ path('material_lib_show_sharing_history') }}">我的分享</a>#}
	<input type="hidden" name="source" value="{{ source|default('') }}">

</div>
