Example #1
0
<?php

if (aMediaTools::userHasAdminPrivilege()) {
    ?>
  <?php 
    $unconfigured = aMediaTools::getEmbedServices(false);
    ?>
  <ul class="a-media-unconfigured-services">
    <?php 
    foreach ($unconfigured as $service) {
        ?>
      <?php 
        echo link_to(a_("<li>Click to configure %service%.</li>\n", array('%service%' => $service->getName())), $service->configurationHelpUrl());
        ?>
    <?php 
    }
    ?>
  </ul>
<?php 
}
Example #2
0
        echo a_('Add  ' . $typeLabel);
        ?>
</a></li>
	      <li><a href="<?php 
        echo url_for("aMedia/searchServices");
        ?>
" class="a-btn icon big a-search"><span class="icon"></span><?php 
        echo a_('Search Services');
        ?>
</a></li>
			<?php 
    }
    ?>
		</ul>
		<?php 
    if (aMediaTools::getOption('linked_accounts') && aMediaTools::userHasAdminPrivilege()) {
        ?>
			<a href="<?php 
        echo url_for("aMedia/link");
        ?>
" class="a-btn icon a-users lite mini a-align-right a-media-link-accounts alt"><span class="icon"></span><?php 
        echo a_('Linked Accounts');
        ?>
</a>
		<?php 
    }
    ?>
	</div>

	<?php 
    a_js_call('apostrophe.clickOnce(?)', '#a-save-media-selection,.a-media-select-video,.a-select-cancel');